/* =========================================================
   TONY'S PLUMBING CO.
   V3 MASTER SUB-PAGE
   index2.css
   ========================================================= */
/* =========================================================
   ROOT VARIABLES
   ========================================================= */ :root {
  --navy: #08263d;
  --navy-dark: #041b2b;
  --blue: #0879bd;
  --blue-dark: #05639d;
  --blue-light: #eaf5fb;
  --orange: #f28c28;
  --orange-dark: #d97513;
  --white: #ffffff;
  --gray-50: #f7f8f9;
  --gray-100: #eef1f3;
  --gray-200: #dfe4e7;
  --gray-300: #c8d0d5;
  --gray-500: #68737b;
  --gray-600: #555f66;
  --gray-700: #3f474d;
  --gray-800: #292f33;
  --border: var(--gray-200);
  --shadow-small:
    0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-medium:
    0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-large:
    0 20px 50px rgba(0, 0, 0, 0.16);
  --container: 1180px;
}
/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family:
    Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font: inherit;
}
/* ========================================================= FIX MOBILE TOP BAR TO HIDE 
HEADER Tony's Plumbing Co. v3                                LEFT TEXT AND CENTER TIME_STAMP
========================================================= */ 
@media (max-width: 600px) {

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-inner > :first-child {
    display: none;
  }

  .top-bar-inner > :last-child {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }

}
 /* ========================================================= 
SHARED CONTAINER Keeps header content aligned with the rest of the site 
========================================================= */
.site-header .container, .header-inner, .nav-inner {
  width: min(calc(100% - 40px), var(--container));
  margin-left: auto;
  margin-right: auto;
} /* ========================================================= 
TOP BAR 
========================================================= */
.top-bar {
  width: 100%;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
}
.top-bar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
} /* TOP BAR PHONE */ .phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
}
.phone-link .phone-label {
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.phone-link strong {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
}
.phone-link:hover strong {
  color: var(--orange);
}
/* ========================================================= 
TIME STAMP 
========================================================= */
@keyframes blink { 50% { visibility: hidden; } }
.service-timestamp {
  display: inline-block;
  margin-left: 0.65rem;
  font: inherit;
  color: inherit;
  white-space: normal;
}
/* ========================================================= 
MAIN HEADER INNER 
========================================================= */
.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
} /* ========================================================= 
LOGO 
========================================================= */
.logo-link {
  flex: 0 0 auto;
  display: block;
}
.site-logo {
  display: block;
  width: 79px;
  height: 108px;
  object-fit: contain;
} /* ========================================================= 
COMPANY BRAND 
========================================================= */
.header-brand {
  flex: 1;
}
.company-name {
  color: var(--navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
}
.tagline {
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 14px;
  letter-spacing: 1.5px;
} /* ========================================================= 
MAIN HEADER PHONE 
========================================================= */
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone .phone-label {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-phone a {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-phone a:hover {
  color: var(--orange);
}
.header-phone .phone-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
} 
.service-timestamp {
  display: inline-block;
  margin-left: 0.65rem;
  font: inherit;
  color: inherit;
  white-space: normal;
}/* ========================================================= 
NAVIGATION 
========================================================= */
.main-navigation {
  width: 100%;
  background: var(--navy-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-inner a {
  position: relative;
  padding: 14px 20px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-inner a:hover {
  background: var(--blue);
}
.nav-inner a.active {
  background: var(--blue);
}
.nav-inner a.active::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: var(--orange);
} /* ========================================================= 
MOBILE MENU BUTTON 
========================================================= */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: var(--navy);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
} /* ========================================================= 
TABLET 
========================================================= */
@media screen and (max-width: 900px) {
  .header-phone {
    display: none;
  }
  .nav-inner a {
    padding-left: 14px;
    padding-right: 14px;
  }
} /* ========================================================= 
MOBILE 
========================================================= */
@media screen and (max-width: 700px) {
  .header-inner {
    min-height: 85px;
  }
  .site-logo {
    width: 65px;
    height: 88px;
  }
  .company-name {
    font-size: 22px;
  }
  .tagline {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }
  .main-navigation {
    display: none;
  }
  .main-navigation.open {
    display: block;
  }
  .nav-inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-inner a {
    padding: 14px 20px;
    text-align: center;
  }
  .nav-inner a.active::after {
    left: 30%;
    right: 30%;
  }
} /* ========================================================= 
SMALL PHONES 
========================================================= */
@media screen and (max-width: 480px) {
  .top-bar-inner {
    min-height: 38px;
  }
  .top-bar-inner > span {
    font-size: .7rem;
  }
  .phone-link .phone-label {
    display: none;
  }
  .phone-link strong {
    font-size: .78rem;
  }
  .header-inner {
    width: min(calc(100% - 25px), var(--container));
    gap: 12px;
  }
  .site-logo {
    width: 58px;
    height: 78px;
  }
  .company-name {
    font-size: 19px;
  }
  .tagline {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: .7px;
  }
}
/* =========================================================
   SUBPAGE HERO
   Set --hero-image on each page's .subpage-hero element:
   style="--hero-image: url('/images/services-hero.jpg')"
   ========================================================= */
.subpage-hero {
  --hero-image: none;
  position: relative;
  display: flex;
  min-height: 480px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(4, 27, 43, 0.88) 0%, rgba(8, 38, 61, 0.62) 55%, rgba(5, 99, 157, 0.32) 100%),
    var(--hero-image),
    linear-gradient(110deg, var(--navy-dark) 0%, var(--navy) 55%, var(--blue-dark) 100%);
  background-position: center, center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}

.subpage-hero::after {
  position: absolute;
  z-index: 0;
  top: -180px;
  right: -120px;
  width: 500px;
  height: 500px;
  border: 70px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.subpage-hero .hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1000px);
  margin: 0 auto;
  padding: 80px 0;
}

.subpage-hero .eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: #8fd5f8;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 850px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.subpage-hero h1 span {
  display: block;
  color: var(--orange);
}

.subpage-hero p {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1875rem;
  line-height: 1.7;
}

.subpage-hero .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Shared heading and paragraph helpers */
.section-heading {
  max-width: 850px;
  margin-bottom: 50px;
}

.h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.h2 span,
.section-heading h2 span,
.center-heading h2 span,
.gallery-heading h2 span,
.service-area h2 span,
.testimonial-box h2 span,
.final-cta h2 span {
  display: block;
  color: var(--orange);
}

.p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}
/* =========================================================
   BUTTONS
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 27px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: var(--shadow-small);
}
.button-primary:hover {
  background: var(--orange-dark);
}
.button-secondary {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: transparent;
}
.button-secondary:hover {
  background: var(--white);
  color: var(--navy);
}
/* =========================================================
   GENERAL CONTENT
   ========================================================= */
.content-section {
  padding: 90px 0;
}
.content-container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}
.section-heading {
  max-width: 850px;
  margin-bottom: 50px;
}
.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}
.section-heading h2, .feature-copy h2, .appointment-copy h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}
.section-heading p {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
}
/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.service-card {
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  box-shadow: var(--shadow-small);
  transition:
    transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: var(--shadow-medium);
}
/*
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}
*/
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}
.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 21px;
}
.service-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
}
/* =========================================================
   FEATURE SECTION
   ========================================================= */
.feature-section {
  padding: 90px 0;
  background: var(--gray-50);
}
.feature-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 80px;
  align-items: center;
}
.feature-copy {
  max-width: 700px;
}
.feature-copy p {
  color: var(--gray-600);
  font-size: 17px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 700;
}
.text-button span {
  font-size: 22px;
  transition: transform 0.2s ease;
}
.text-button:hover span {
  transform: translateX(5px);
}
.benefit-box {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  background: var(--navy);
  box-shadow: var(--shadow-large);
}
.benefit {
  min-height: 155px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.benefit strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 22px;
}
.benefit span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}
/* =========================================================
   SERVICE AREA
   ========================================================= */
.service-area-section {
  padding: 90px 0;
  background: var(--white);
}
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.area-list span {
  padding: 10px 18px;
  color: var(--navy);
  background: #c6cedc;
  border: 1px solid #d5eaf5;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
/* =========================================================
   APPOINTMENT SECTION
   ========================================================= */
.appointment-section {
  padding: 90px 0;
  background: var(--gray-100);
}
.appointment-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
}
.appointment-copy {
  padding-top: 20px;
}
.appointment-copy p {
  color: var(--gray-600);
  font-size: 17px;
}
.contact-callout {
  margin-top: 35px;
  padding: 25px;
  border-left: 4px solid var(--orange);
  background: var(--white);
  box-shadow: var(--shadow-small);
}
.contact-callout span {
  display: block;
  margin-bottom: 5px;
  color: var(--gray-500);
  font-size: 13px;
}
.contact-callout a {
  color: var(--blue);
  font-size: 25px;
  font-weight: 700;
}
/* =========================================================
   FORM
   ========================================================= */
.txtcoral {
  color: coral;
}
.txtcoral::before {
  content: "❝Call 408-849-6883 if you do not hear from us within 24 hours❞";
}
.service-form {
  padding: 40px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: var(--shadow-medium);
}
.form-row {
  display: grid;
  grid-template-columns:
    repeat(2, 1fr);
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.form-group label span {
  color: var(--orange);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  outline: none;
  transition:
    border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input, .form-group select {
  min-height: 47px;
}
.form-group textarea {
  min-height: 140px;
  resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow:
    0 0 0 3px rgba(8, 121, 189, 0.12);
}
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid {
  border-color: #c62828;
}
.form-submit {
  width: 100%;
  min-height: 52px;
  padding: 0 25px;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: var(--blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease, transform 0.2s ease;
}
.form-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.form-note {
  margin: 15px 0 0;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1.5;
}
.form-message {
  display: none;
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: 3px;
  font-size: 14px;
}
.form-message.success {
  display: block;
  color: #245b35;
  background: #edf8f0;
  border: 1px solid #b9dfc2;
}
.form-message.error {
  display: block;
  color: #7c2020;
  background: #fff0f0;
  border: 1px solid #e6bcbc;
}
/* Email validation error */
.error-message {
  display: block;
  margin-top: 5px;
  color: #c62828;
  font-size: 0.85rem;
  line-height: 1.4;
}
.error-message:empty {
  display: none;
}
/* =========================================
   DATE PICKER
   ========================================= */
/* Main date picker container */
.date-picker {
  width: 100%;
  max-width: 600px;
  border-radius: 4px;
}
/* Date input area */
.date-picker .input {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  color: var(--gray-800);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
/* Selected date display */
.date-picker .input .result {
  flex-grow: 1;
  min-width: 0;
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
  box-sizing: border-box;
  color: gray;
  font-size: 16px;
  text-align: left;
}
/* Calendar icon image */
.date-picker .input .calendar-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: 8px;
  position: relative;
  top: 0;
  left: 0;
}
/* =========================================
   HIDE CALENDAR TOGGLE BUTTON
   ========================================= */
/* Hide the separate toggle button without
   affecting the date input or calendar panel. */
#calendar-toggle {
  display: inherit !important;
}
/* =========================================
   CALENDAR PANEL
   ========================================= */
.date-picker .calendar {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
}
/* Respect the HTML hidden attribute */
.date-picker .calendar[hidden] {
  display: none !important;
}
.date-picker .ui-datepicker-inline {
  position: relative;
  width: 100%;
}
/* Calendar header */
.date-picker .ui-datepicker-header {
  height: 100%;
  line-height: 50px;
  margin-bottom: 10px;
  color: #fff;
  background: #8392A7;
}
/* Previous and next month buttons */
.date-picker .ui-datepicker-prev, .date-picker .ui-datepicker-next {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 12px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 100%;
  text-indent: 9999px;
  cursor: pointer;
}
/* Previous month button */
.date-picker .ui-datepicker-prev {
  float: left;
  margin-left: 12px;
}
/* Next month button */
.date-picker .ui-datepicker-next {
  float: right;
  margin-right: 12px;
}
/* Navigation arrows */
.date-picker .ui-datepicker-prev::after, .date-picker .ui-datepicker-next::after {
  content: "";
  position: absolute;
  display: block;
  width: 8px;
  height: 8px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
/* Previous arrow */
.date-picker .ui-datepicker-prev::after {
  transform: rotate(45deg);
  top: 4px;
  left: 6px;
}
/* Next arrow */
.date-picker .ui-datepicker-next::after {
  transform: rotate(-135deg);
  top: 4px;
  left: 3px;
}
/* Navigation hover */
.date-picker .ui-datepicker-prev:hover, .date-picker .ui-datepicker-next:hover {
  border-color: #68768A;
}
.date-picker .ui-datepicker-prev:hover::after, .date-picker .ui-datepicker-next:hover::after {
  border-color: #68768A;
}
/* Month and year */
.date-picker .ui-datepicker-title {
  text-align: center;
}
/* =========================================
   CALENDAR DAYS
   ========================================= */
.date-picker .ui-datepicker-calendar {
  width: 100%;
  text-align: center;
}
/* Weekday labels */
.date-picker .ui-datepicker-calendar thead tr th span {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  color: #8392A7;
  font-size: 13px;
}
/* Individual dates */
.date-picker .ui-state-default {
  display: block;
  color: #4E4E4E;
  font-size: 14px;
  line-height: 40px;
  text-decoration: none;
}
/* Date hover */
.date-picker .ui-state-default:hover {
  background: rgba(0, 0, 0, 0.02);
}
/* Highlighted date */
.date-picker .ui-state-highlight {
  color: #68768A;
}
/* Selected date */
.date-picker .ui-state-active {
  color: #68768A;
  background-color: rgba(131, 146, 167, 0.12);
  font-weight: 600;
}
/* Unavailable dates */
.date-picker .ui-datepicker-unselectable .ui-state-default {
  color: crimson;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: not-allowed;
}
/* Open state */
.date-picker.open {
  max-height: 500px;
}
/* =========================================
   DATE NOTE
   ========================================= */
.date-note {
  color: gray;
  font-size: 11px;
  line-height: 0.4;
}
/* =========================================
   RESPONSIVE LAYOUT
   ========================================= */
@media (max-width: 600px) {
  .date-picker {
    padding: 5px;
  }
  .date-picker .calendar {
    font-size: 14px;
  }
}
/* =========================================================
   HONEYPOT
   ========================================================= */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  width: 100%;
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue), var(--navy));
}

/* Contained inner layout */
.final-cta-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* Company text container */
.final-cta-inner > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

/* Eyebrow */
.final-cta .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Main heading */
.final-cta h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
}

/* Orange portion of heading */
.final-cta h2 span {
  color: var(--orange);
}

/* Supporting text */
.final-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 16px;
}

/* Social buttons container */
.final-cta .cc-rockmenu {
  flex: 0 0 auto;
}

/* Final CTA action buttons */
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.final-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

.final-cta .btn-light {
  color: var(--navy);
  background: var(--white);
}

.final-cta .btn-light:hover {
  color: var(--white);
  background: var(--orange);
}

.final-cta .btn-outline-light {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .7);
}

.final-cta .btn-outline-light:hover {
  color: var(--navy);
  background: var(--white);
}

/* =========================================================
   FINAL CTA — MOBILE VISIBILITY FIX
   Must appear at the very end of the stylesheet
   ========================================================= */

@media screen and (max-width: 700px) {

  /* Keep the CTA background full width */
  .final-cta {
    width: 100%;
    padding: 45px 0;
  }

  /* Contain and stack the CTA content */
  .final-cta .top-bar-inner.final-cta-inner {
    width: calc(100% - 40px);
    max-width: 1180px;
    min-height: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
  }

  /* OVERRIDE the rule hiding the first top-bar child */
  .final-cta .top-bar-inner.final-cta-inner > div:first-child {
    display: block !important;
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
    visibility: visible;
    opacity: 1;
  }

  /* Restore the company name and heading */
  .final-cta .eyebrow,
  .final-cta h2,
  .final-cta p,
  .final-cta h2 span {
    visibility: visible;
    opacity: 1;
  }

  .final-cta h2 {
    font-size: 30px;
  }

  .final-cta h2 span {
    display: block;
  }

  /* Social buttons underneath the text */
  .final-cta .cc-rockmenu {
    display: block;
    width: 100%;
    flex: 0 0 auto;
    text-align: center;
  }

}

/* =========================================================
   FINAL CTA — MOBILE
   Company text on top, social buttons on bottom
   ========================================================= */

@media screen and (max-width: 700px) {

  .final-cta {
    padding: 55px 0;
  }

  .final-cta-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
  }

  .final-cta-inner > div:first-child {
    width: 100%;
    flex: 0 0 auto;
  }

  .final-cta h2 {
    font-size: 30px;
  }

  .final-cta .cc-rockmenu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .final-actions {
    width: 100%;
    justify-content: center;
  }

  .final-cta .btn {
    flex: 1 1 auto;
  }

}
/* =========================================
   SOCIAL BUTTON STYLE
   ========================================= */
.cc-rockmenu {
  color: #fff;
  text-align: center;
}
.cc-rockmenu .rolling {
  display: inline-block;
  cursor: pointer;
  width: 52px;
  height: 52px;
  text-align: left;
  overflow: hidden;
  border-radius: 26px;
  background: #4a97bf;
  transition: all 0.3s ease-out;
  white-space: nowrap;
}
/* Expand button when hovered */
.cc-rockmenu .rolling:hover {
  width: 175px;
}
/* Remove default link styling */
.cc-rockmenu .rolling a {
  color: #fff;
  text-decoration: none;
  display: block;
}
/* Keep link white when hovered */
.cc-rockmenu .rolling a:hover {
  color: #fff;
  text-decoration: none;
}
/* Icon */
.cc-rockmenu .rolling .rolling_icon {
  float: left;
  z-index: 9;
  display: inline-block;
  width: 52px;
  height: 52px;
  background: #bbae79;
  border-radius: 26px;
  /*border: 0px solid #fff;*/
  box-sizing: border-box;
  margin: 0 10px 0 0;
}
/* Icon hover */
.cc-rockmenu .rolling .rolling_icon:hover {
  background: #bbae79;
}
/* Hover text */
.cc-rockmenu .rolling span {
  display: block;
  padding: 13px 0;
  color: #fff;
  font-family: "Arial Narrow Bold", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.3px;
}
/* Remove underline in every link state */
.cc-rockmenu .rolling a, .cc-rockmenu .rolling a:visited, .cc-rockmenu .rolling a:hover, .cc-rockmenu .rolling a:active {
  color: #fff;
  text-decoration: none;
}
/* =========================================================
   FOOTER
   Tony's Plumbing Co. v3
   Full-width background with contained content
   ========================================================= */
.site-footer {
  width: 100%;
  color: rgba(255, 255, 255, .72);
  background: #031725;
}
/* ---------------------------------------------------------
   FOOTER CONTENT CONTAINER
   Keeps all footer text and columns aligned with
   the main site's 1180px content area.
   --------------------------------------------------------- */
.site-footer .container {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
/* ---------------------------------------------------------
   MAIN FOOTER GRID
   --------------------------------------------------------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 45px;
  padding: 70px 0;
}
/* ---------------------------------------------------------
   FOOTER BRAND
   --------------------------------------------------------- */
.footer-logo, .footer-logo .brand-text {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: contain;
}
.footer-logo .brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.footer-logo .brand-text strong {
  font-size: 1rem;
}
.footer-logo .brand-text small {
  font-size: .75rem;
  color: cadetblue;
}
.footer-grid > div {
  min-width: 0;
}
.footer-brand p {
  max-width: 300px;
  margin: 22px 0;
}
.footer-phone {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}
/* ---------------------------------------------------------
   FOOTER HEADINGS
   --------------------------------------------------------- */
.site-footer h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: .95rem;
}
/* ---------------------------------------------------------
   FOOTER LINKS
   --------------------------------------------------------- */
.footer-grid > div > a {
  display: block;
  margin: 8px 0;
  font-size: .86rem;
}
.footer-grid a:hover {
  color: var(--white);
}
/* ---------------------------------------------------------
   FOOTER TEXT
   --------------------------------------------------------- */
.footer-grid p {
  margin: 8px 0;
  font-size: .86rem;
}
/* ---------------------------------------------------------
   FOOTER BOTTOM BAR
   Background continues full width while the text
   remains contained inside the 1180px layout.
   --------------------------------------------------------- */
.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom-inner {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .72rem;
}
/* ---------------------------------------------------------
   MOBILE FOOTER
   --------------------------------------------------------- */
@media screen and (max-width: 850px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    padding: 55px 0;
  }
  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 18px 0;
  }
}
/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 900;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--blue);
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
}
.back-to-top.visible {
  display: flex;
}
.back-to-top:hover {
  background: var(--orange);
}
/* =========================================================
   TABLET
   ========================================================= */
@media screen and (max-width: 1100px) {
  .service-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }
  .feature-layout {
    gap: 45px;
  }
  .nav-inner a {
    padding-left: 14px;
    padding-right: 14px;
  }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media screen and (max-width: 850px) {
  .header-inner {
    min-height: 82px;
  }
  .site-logo {
    width: 60px;
    height: 82px;
  }
  .company-name {
    font-size: 21px;
  }
  .tagline {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .header-phone {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .main-navigation {
    display: none;
  }
  .main-navigation.open {
    display: block;
  }
  .nav-inner {
    width: 100%;
    display: block;
  }
  .nav-inner a {
    display: block;
    padding: 14px 25px;
    border-bottom:
      1px solid rgba(255, 255, 255, 0.10);
  }
  .nav-inner a.active::after {
    display: none;
  }
  .hero-content {
    padding: 65px 0;
  }
  .feature-layout, .appointment-layout {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns:
      repeat(2, 1fr);
  }
}
/* =========================================================
   SMALL MOBILE
   ========================================================= */
@media screen and (max-width: 600px) {
  .header-inner, .content-container, .hero-content, .footer-inner, .footer-bottom {
    width: calc(100% - 30px);
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .service-form {
    padding: 25px 20px;
  }
  .benefit-box {
    grid-template-columns: 1fr;
  }
  .benefit {
    min-height: 120px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
  }
  .area-list {
    justify-content: flex-start;
  }
}
/* -------------------------------------------------------
   Date Picker Wrapper
------------------------------------------------------- */
.date-picker-wrapper {
  position: relative;
  width: 100%;
}
/* -------------------------------------------------------
   Date Input
------------------------------------------------------- */
.date-picker-wrapper input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 48px 12px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 16px;
  cursor: pointer;
}
.date-picker-wrapper input::placeholder {
  color: #888;
}
.date-picker-wrapper input:focus {
  outline: none;
  border-color: #2d6cdf;
  box-shadow: 0 0 0 2px rgba(45, 108, 223, 0.12);
}
/* -------------------------------------------------------
   Calendar Icon Button
------------------------------------------------------- */
.calendar-toggle {
  position: absolute;
  top: 55%;
  right: 2px;
  width: 52px;
  height: 52px;
  padding: 6px;
  transform: translateY(-50%);
  border: none;
  border-radius: 0px;
  background: transparent;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calendar-toggle:hover {
  background: none;
  color: #222;
}
.calendar-toggle:focus {
  outline: none;
  /* box-shadow: 0 0 0 2px rgba(45, 108, 223, 0.2);*/
}
.calendar-toggle svg {
  width: 21px;
  height: 21px;
}
/* Calendar Button */
.calendar-button {
  display: inline-block;
  cursor: pointer;
  transition: all 0.2s ease;
}
/* Hover Effect */
.calendar-button:hover {
  opacity: 0.75;
  filter: brightness(0.85);
}
/* Pressed Effect */
.calendar-button:active {
  transform: scale(0.95);
  filter: brightness(0.7);
}
/* -------------------------------------------------------
   Calendar
------------------------------------------------------- */
.custom-calendar {
  width: 100%;
  max-width: 380px;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 1000;
}
.custom-calendar[hidden] {
  display: none;
}
/* -------------------------------------------------------
   Calendar Header
------------------------------------------------------- */
.calendar-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 12px;
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
}
.calendar-month-year {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #222;
}
.calendar-nav {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #333;
  font-size: 18px;
  cursor: pointer;
}
.calendar-nav:hover {
  background: #e5e5e5;
}
.calendar-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
/* -------------------------------------------------------
   Weekday Names
------------------------------------------------------- */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 10px 8px 5px;
}
.calendar-weekdays div {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #777;
}
/* -------------------------------------------------------
   Calendar Days
------------------------------------------------------- */
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 8px;
}
.calendar-day {
  position: relative;
  min-height: 40px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #222;
  font-size: 14px;
  cursor: pointer;
  transition:
    background 0.15s ease, color 0.15s ease;
}
.calendar-day:hover:not(.disabled) {
  background: #e9f3ff;
}
/* -------------------------------------------------------
   Other Month
------------------------------------------------------- */
.calendar-day.other-month {
  color: #c7c7c7;
}
/* -------------------------------------------------------
   Today
------------------------------------------------------- */
.calendar-day.today {
  box-shadow:
    inset 0 0 0 1px #2d6cdf;
}
/* -------------------------------------------------------
   Selected
------------------------------------------------------- */
.calendar-day.selected {
  background: #2d6cdf;
  color: #fff;
  font-weight: 600;
}
/* -------------------------------------------------------
   GHOSTED / UNAVAILABLE
   Used for:
   - Dates before the 3-day minimum
   - Weekends
   - Holidays
------------------------------------------------------- */
.calendar-day.disabled {
  background: #f1f1f1;
  color: #b8b8b8;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: #999;
  opacity: 1;
}
.calendar-day.disabled:hover {
  background: #f1f1f1;
  color: #b8b8b8;
}
/* -------------------------------------------------------
   HOLIDAYS
   Holidays intentionally use the SAME appearance
   as other unavailable dates.
------------------------------------------------------- */
.calendar-day.holiday {
  background: #f1f1f1;
  color: #b8b8b8;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: #999;
  opacity: 1;
}
/* -------------------------------------------------------
   Holiday disabled state
   Makes sure the browser's disabled-button styling
   does not change the holiday appearance.
------------------------------------------------------- */
.calendar-day.holiday:disabled {
  background: #f1f1f1;
  color: #b8b8b8;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: #999;
  opacity: 1;
}
/* -------------------------------------------------------
   Weekend
------------------------------------------------------- */
.calendar-day.weekend {
  color: #b8b8b8;
}
/* -------------------------------------------------------
   Calendar Footer
------------------------------------------------------- */
.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
}
.calendar-today {
  padding: 7px 12px;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
}
.calendar-today:hover {
  background: #f0f0f0;
}
.calendar-selected {
  font-size: 13px;
  color: #666;
  text-align: right;
}
/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 999;
}
/* Show button when activated by JavaScript */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* CSS arrow shaft and arrowhead */
.back-to-top-arrow {
  position: relative;
  display: block;
  width: 4px;
  height: 19px;
  background: #ffffff;
  border-radius: 3px;
}
/* Arrowhead */
.back-to-top-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 4px solid #ffffff;
  border-left: 4px solid #ffffff;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px 0 0 0;
}
/* Hover effect */
.back-to-top:hover {
  background: #f58220;
  transform: translateY(-4px);
}
/* Keyboard accessibility */
.back-to-top:focus-visible {
  outline: 3px solid #f58220;
  outline-offset: 4px;
}
/* Smaller screens */
@media (max-width: 600px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    right: 15px;
    bottom: 15px;
  }
}