/* ============================================================
   HILO CLEANING COMPANY — MASTER STYLE SHEET
   Design System: Premium Hawaii Hybrid

   HOW TO EDIT THIS FILE:
   - To change colors: find the :root section and update hex values
   - To change fonts: update --font-heading and --font-body variables
   - To change spacing: update the --space-* variables

   SAFE TO EDIT: :root variables, color values, font-size values
   BE CAREFUL WITH: Layout rules, grid/flex properties
   ============================================================ */

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS — EDIT COLORS AND FONTS HERE
   ============================================================ */
:root {
  /* PRIMARY COLOR PALETTE — Premium Hawaii Hybrid */
  --color-ocean:       #1A3A4A;  /* Deep Ocean Navy — primary brand color */
  --color-teal:        #2E7D8C;  /* Coastal Teal — secondary brand color */
  --color-teal-light:  #3D9BAB;  /* Light Teal — hover states */
  --color-bronze:      #C4935A;  /* Warm Bronze — accent / CTA */
  --color-bronze-dark: #A87A42;  /* Dark Bronze — hover states */
  --color-bronze-pale: #E8C49A;  /* Pale Bronze — light accents */

  /* NATURE ACCENTS */
  --color-sage:        #7A9E6E;  /* Soft Sage Green — nature accent */
  --color-sage-light:  #A8C49E;  /* Light Sage — subtle backgrounds */

  /* NEUTRAL PALETTE */
  --color-charcoal:    #1E1E1E;  /* Near Black — primary text */
  --color-ink:         #2D2D2D;  /* Ink — body text */
  --color-slate:       #4A5568;  /* Slate — secondary text */
  --color-stone:       #718096;  /* Stone — muted text / captions */
  --color-border:      #D4CFC9;  /* Border — subtle dividers */
  --color-border-light:#EAE6E1;  /* Light Border — section dividers */

  /* BACKGROUND PALETTE */
  --color-white:       #FFFFFF;
  --color-offwhite:    #F9F7F4;  /* Warm Off-White — page background */
  --color-sand:        #F2EBE0;  /* Warm Sand — alternating sections */
  --color-sand-dark:   #E8DDD0;  /* Deeper Sand — cards/panels */
  --color-ocean-pale:  #EDF3F5;  /* Very Light Teal — subtle callout bg */

  /* SYSTEM COLORS */
  --color-success:     #2D7A4F;
  --color-warning:     #C4935A;
  --color-error:       #C0392B;

  /* TYPOGRAPHY */
  --font-heading:      'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* FONT SIZES — Desktop */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   1.875rem;   /* 30px */
  --text-3xl:   2.25rem;    /* 36px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */
  --text-6xl:   4.5rem;     /* 72px */

  /* FONT WEIGHTS */
  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  /* LINE HEIGHTS */
  --leading-tight:  1.2;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  /* LETTER SPACING */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-widest:  0.15em;

  /* SPACING SCALE */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* LAYOUT */
  --max-width:        1200px;
  --max-width-narrow: 760px;
  --max-width-wide:   1440px;
  --container-pad:    var(--space-6);

  /* BORDER RADIUS */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* SHADOWS */
  --shadow-sm:   0 1px 3px rgba(26, 58, 74, 0.08), 0 1px 2px rgba(26, 58, 74, 0.05);
  --shadow-md:   0 4px 12px rgba(26, 58, 74, 0.10), 0 2px 6px rgba(26, 58, 74, 0.06);
  --shadow-lg:   0 12px 32px rgba(26, 58, 74, 0.12), 0 4px 12px rgba(26, 58, 74, 0.08);
  --shadow-xl:   0 24px 48px rgba(26, 58, 74, 0.16), 0 8px 24px rgba(26, 58, 74, 0.10);
  --shadow-card: 0 2px 8px rgba(26, 58, 74, 0.08);

  /* TRANSITIONS */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* NAV HEIGHT */
  --nav-height: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-ink);
  background-color: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-ocean);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  line-height: var(--leading-relaxed);
  color: var(--color-slate);
}

.lead {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--color-slate);
}

.overline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-bronze);
}

.text-ocean   { color: var(--color-ocean); }
.text-teal    { color: var(--color-teal); }
.text-bronze  { color: var(--color-bronze); }
.text-slate   { color: var(--color-slate); }
.text-white   { color: var(--color-white); }
.text-sage    { color: var(--color-sage); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-32) 0;
}

/* GRID SYSTEM */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.grid-auto-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(249, 247, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.nav.nav-dark {
  background: rgba(26, 58, 74, 0.97);
}

.nav.nav-dark .nav-link,
.nav.nav-dark .nav-logo-text,
.nav.nav-dark .nav-dropdown-toggle {
  color: rgba(255,255,255,0.9);
}

.nav.nav-dark .nav-link:hover {
  color: var(--color-bronze-pale);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* ✏️ LOGO SIZE: Change height here to resize the nav logo */
.nav-logo-img {
  height: 48px;    /* controls nav logo height */
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  color: var(--color-ocean);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-teal);
  background: var(--color-ocean-pale);
}

.nav-link.active {
  color: var(--color-teal);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  color: var(--color-ocean);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  background: none;
  border: none;
  font-family: var(--font-body);
}

.nav-dropdown-toggle:hover {
  color: var(--color-teal);
  background: var(--color-ocean-pale);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: var(--color-sand);
}

.nav-dropdown-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
  display: block;
}

.nav-dropdown-desc {
  font-size: var(--text-xs);
  color: var(--color-stone);
  display: block;
  margin-top: 2px;
}

/* Nav CTA */
.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-ocean);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  pointer-events: none; /* prevent invisible nav from intercepting taps */
}

/* When [hidden] attribute is set by JS, always hide regardless of media query display:block override */
.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* restore tap events when nav is actually open */
}

.nav-mobile-inner {
  padding: var(--space-6) var(--container-pad) var(--space-8);
}

.nav-mobile-link {
  display: block;
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.nav-mobile-section {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-bronze);
  padding: var(--space-4) 0 var(--space-2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1;
}

/* PRIMARY — Bronze */
.btn-primary {
  background: var(--color-bronze);
  color: var(--color-white);
  border-color: var(--color-bronze);
}

.btn-primary:hover {
  background: var(--color-bronze-dark);
  border-color: var(--color-bronze-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 147, 90, 0.35);
}

/* SECONDARY — Ocean Navy outline */
.btn-secondary {
  background: transparent;
  color: var(--color-ocean);
  border-color: var(--color-ocean);
}

.btn-secondary:hover {
  background: var(--color-ocean);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* GHOST — Teal outline */
.btn-ghost {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn-ghost:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

/* WHITE — For dark backgrounds */
.btn-white {
  background: var(--color-white);
  color: var(--color-ocean);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: var(--color-sand);
  border-color: var(--color-sand);
  transform: translateY(-1px);
}

/* WHITE OUTLINE — For dark backgrounds */
.btn-white-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}

.btn-sm {
  padding: 10px var(--space-6);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 18px var(--space-10);
  font-size: var(--text-base);
}

/* Button with arrow */
.btn-arrow::after {
  content: '→';
  margin-left: var(--space-1);
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-ocean);
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D2535 0%, #1A3A4A 50%, #1E4A5C 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(46, 125, 140, 0.25) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(122, 158, 110, 0.12) 0%, transparent 55%);
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--container-pad);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--color-bronze);
}

.hero-eyebrow-text {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-bronze);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--weight-light);
  color: var(--color-white);
  line-height: 1.05;
  max-width: 700px;
  margin-bottom: var(--space-6);
}

.hero h1 em {
  font-style: italic;
  color: var(--color-bronze-pale);
}

.hero-lead {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero-trust-icon {
  width: 18px;
  height: 18px;
  color: var(--color-bronze);
  flex-shrink: 0;
}

.hero-trust-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  font-weight: var(--weight-medium);
}

/* Page Hero (smaller, for interior pages) */
.page-hero {
  background: var(--color-ocean);
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D2535 0%, #1A3A4A 60%, #1E4A5C 100%);
}

.page-hero-accent {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 125, 140, 0.2) 0%, transparent 65%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-4);
}

.page-hero .lead {
  color: rgba(255,255,255,0.72);
  max-width: 580px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.breadcrumb-item {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.breadcrumb-item a:hover {
  color: var(--color-bronze-pale);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-xs);
}

/* ============================================================
   SECTION HEADERS (Used throughout for section intros)
   ============================================================ */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header .lead {
  font-size: var(--text-md);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.section-label-line {
  width: 24px;
  height: 1px;
  background: var(--color-bronze);
}

.section-label-text {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-bronze);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: var(--space-8);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-ocean-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-teal);
}

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

/* Service Card */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
}

.service-card-image {
  height: 200px;
  background: var(--color-sand);
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-ocean-pale), var(--color-sand));
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--color-teal);
  opacity: 0.5;
}

.service-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-bronze);
  margin-bottom: var(--space-3);
}

.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-teal);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: var(--space-3);
}

/* Trust Card */
.trust-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  text-align: center;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--weight-light);
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.trust-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-slate);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Feature Card */
.feature-card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-ocean-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-teal);
}

.feature-content h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-ocean);
}

.feature-content p {
  font-size: var(--text-sm);
}

/* Testimonial Card */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 0.8;
  color: var(--color-bronze-pale);
  margin-bottom: var(--space-4);
}

.testimonial-text {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--color-ink);
  font-style: italic;
  margin-bottom: var(--space-6);
  font-family: var(--font-heading);
  font-weight: var(--weight-light);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--space-4);
}

.testimonial-star {
  color: #F4B942;
  font-size: var(--text-sm);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-ocean-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-teal);
  font-weight: var(--weight-medium);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-ocean);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-stone);
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: var(--space-6);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: var(--color-border-light);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-content {
  padding-bottom: var(--space-10);
}

.process-content h4 {
  font-size: var(--text-lg);
  color: var(--color-ocean);
  margin-bottom: var(--space-2);
}

.process-content p {
  font-size: var(--text-sm);
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.accordion-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item.open {
  border-color: var(--color-teal);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-4);
}

.accordion-question {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
  line-height: var(--leading-snug);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-teal);
  transition: transform var(--transition-base);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
}

.accordion-item.open .accordion-body {
  display: block;
}

.accordion-body p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
  letter-spacing: 0.01em;
}

label .required {
  color: var(--color-bronze);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 12px var(--space-4);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-offwhite);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-teal);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(46, 125, 140, 0.12);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-stone);
  margin-top: 2px;
}

/* Inline validation error styles */
.field-error {
  display: block;
  font-size: var(--text-xs);
  color: #C0392B;
  margin-top: 4px;
  font-weight: 500;
}

input.input-error,
select.input-error,
textarea.input-error {
  border-color: #C0392B !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

/* Submission-level error (shown above submit button if fetch fails) */
.form-submit-error {
  background: #FDF2F2;
  border: 1px solid #F5C6C6;
  border-radius: var(--radius-sm);
  color: #C0392B;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.form-upload {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  background: var(--color-offwhite);
}

.form-upload:hover {
  border-color: var(--color-teal);
  background: var(--color-ocean-pale);
}

.form-upload-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-3);
  color: var(--color-teal);
}

.form-upload p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  margin-bottom: var(--space-1);
}

.form-upload input[type="file"] {
  display: none;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-teal);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-normal);
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.form-radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-teal);
  cursor: pointer;
}

.form-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: var(--space-8) 0;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-ocean);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-teal);
  display: inline-block;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-12);
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-sage-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-success);
}

/* ============================================================
   GUARANTEE SECTION
   ============================================================ */
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  background: var(--color-ocean);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  color: var(--color-white);
}

.guarantee-icon {
  width: 72px;
  height: 72px;
  background: rgba(196, 147, 90, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(196, 147, 90, 0.5);
  flex-shrink: 0;
}

.guarantee-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-bronze);
}

.guarantee-content h3 {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.guarantee-content p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-md);
}

/* ============================================================
   SERVICE AREA / MAP SECTION
   ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-3);
}

.area-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
}

.area-item-dot {
  width: 8px;
  height: 8px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-section {
  background: var(--color-ocean);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D2535 0%, #1A3A4A 50%, #1E4A5C 100%);
}

.cta-accent {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 125, 140, 0.2) 0%, transparent 65%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-20) var(--container-pad);
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: var(--weight-light);
}

.cta-content p {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-md);
  margin-bottom: var(--space-8);
}

/* Inline CTA (within sections) */
.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  background: var(--color-ocean-pale);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  border: 1px solid rgba(46, 125, 140, 0.2);
}

.inline-cta h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.inline-cta p {
  font-size: var(--text-sm);
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-ocean);
  border-top: 2px solid var(--color-bronze);
  padding: var(--space-3) var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
}

.sticky-cta-text strong {
  color: var(--color-white);
}

.sticky-cta-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.sticky-cta-phone {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-bronze-pale);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.comparison-table th {
  background: var(--color-ocean);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  text-align: left;
}

.comparison-table th:first-child {
  width: 35%;
}

.comparison-table td {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-slate);
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: middle;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background: var(--color-offwhite);
}

.comparison-table td:first-child {
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
}

.check-yes {
  color: var(--color-sage);
  font-size: var(--text-md);
}

.check-no {
  color: var(--color-stone);
  font-size: var(--text-md);
}

/* ============================================================
   WHAT'S INCLUDED LIST
   ============================================================ */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.included-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.included-check {
  width: 20px;
  height: 20px;
  background: var(--color-sage-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.included-check svg {
  width: 12px;
  height: 12px;
  color: var(--color-sage);
  stroke-width: 3;
}

/* ============================================================
   TRUST BADGES ROW
   ============================================================ */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--color-ocean-pale);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-teal);
}

.trust-badge-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
}

/* ============================================================
   STRIPE PAYMENT SECTION
   ============================================================ */
.payment-section {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--color-border-light);
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.payment-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-offwhite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-slate);
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--color-bronze);
  padding: var(--space-2) var(--container-pad);
  text-align: center;
}

.announcement-bar p {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
}

.announcement-bar a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: var(--space-16) 0 var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand-logo {
  margin-bottom: var(--space-4);
}

.footer-brand-logo img,
.footer-brand-logo svg {
  height: 48px;
  width: auto;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--color-bronze);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-bronze-pale);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-bronze-pale);
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.footer-bottom {
  padding: var(--space-6) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-bronze-pale);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 4px var(--space-3);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-white    { background: var(--color-white); }
.bg-offwhite { background: var(--color-offwhite); }
.bg-sand     { background: var(--color-sand); }
.bg-ocean    { background: var(--color-ocean); }
.bg-teal     { background: var(--color-teal); }
.bg-pale     { background: var(--color-ocean-pale); }

.bg-ocean-gradient {
  background: linear-gradient(135deg, #0D2535 0%, #1A3A4A 50%, #1E4A5C 100%);
}

/* ============================================================
   DIVIDERS & DECORATIVE ELEMENTS
   ============================================================ */
.divider {
  width: 60px;
  height: 2px;
  background: var(--color-bronze);
  margin-bottom: var(--space-6);
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.section-wave {
  height: 60px;
  overflow: hidden;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============================================================
   DECISION HELPER / INTERACTIVE WIDGET
   ============================================================ */
.decision-helper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.decision-helper-header {
  background: var(--color-ocean);
  padding: var(--space-6) var(--space-8);
}

.decision-helper-header h3 {
  color: var(--color-white);
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.decision-helper-header p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
}

.decision-step {
  padding: var(--space-8);
  display: none;
}

.decision-step.active {
  display: block;
}

.decision-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.decision-option {
  background: var(--color-offwhite);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
}

.decision-option:hover,
.decision-option.selected {
  border-color: var(--color-teal);
  background: var(--color-ocean-pale);
}

.decision-option-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-ocean);
  margin-bottom: var(--space-1);
}

.decision-option-desc {
  font-size: var(--text-xs);
  color: var(--color-stone);
}

.decision-result {
  display: none;
  padding: var(--space-8);
  background: var(--color-ocean-pale);
  border-top: 1px solid var(--color-border-light);
}

.decision-result.active {
  display: block;
}

.decision-result-service {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.decision-result-icon {
  width: 48px;
  height: 48px;
  background: var(--color-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.decision-result-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* ============================================================
   CHECKLIST BLOCK
   ============================================================ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.checklist-dot {
  width: 24px;
  height: 24px;
  background: var(--color-teal);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist-dot svg {
  width: 12px;
  height: 12px;
  color: white;
  stroke-width: 3;
}

.checklist-text {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-normal);
  padding-top: 3px;
}

/* ============================================================
   METRICS / STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  background: var(--color-ocean);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-item {
  padding: var(--space-8);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: var(--weight-light);
  color: var(--color-bronze-pale);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   PAYMENT WORKFLOW (Visual)
   ============================================================ */
.payment-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.payment-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}

.payment-flow-icon {
  width: 48px;
  height: 48px;
  background: var(--color-ocean-pale);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-teal);
}

.payment-flow-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-teal);
}

.payment-flow-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-ocean);
  max-width: 80px;
}

.payment-flow-arrow {
  color: var(--color-bronze);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.hidden  { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

/* ============================================================
   MEDIA QUERIES — RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --container-pad: var(--space-6);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
    --container-pad: var(--space-5);
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  .section {
    padding: var(--space-16) 0;
  }

  .section-lg {
    padding: var(--space-20) 0;
  }

  .nav-menu, .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  .nav-mobile.open {
    display: block;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .guarantee-badge {
    flex-direction: column;
    text-align: center;
  }

  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: var(--space-8);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-trust-strip {
    gap: var(--space-4);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-lg);
  }

  .included-list {
    grid-template-columns: 1fr;
  }

  .decision-options {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  /* Sticky CTA: keep as a compact single row on mobile.
     A full-column layout creates a ~130px overlay that covers form
     inputs and page buttons — this is the flat row fix. */
  .sticky-cta {
    gap: var(--space-3);
    padding: var(--space-3) var(--container-pad);
  }

  .sticky-cta-text {
    display: none;
  }

  .sticky-cta-actions {
    flex: 1;
    gap: var(--space-2);
  }

  .sticky-cta-phone {
    flex: 1;
    justify-content: center;
    text-align: center;
    font-size: var(--text-xs);
  }

  .sticky-cta-actions .btn {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: var(--space-4);
  }

  .btn-lg {
    padding: 16px var(--space-8);
    font-size: var(--text-sm);
  }

  .form-section {
    padding: var(--space-6);
  }

  .payment-flow {
    flex-direction: column;
  }

  .payment-flow-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

/* ============================================================
   QUOTE PAGE LAYOUT — desktop two-column, mobile single column
   ============================================================ */
.quote-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.quote-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

/* ============================================================
   HERO WATERMARK — decorative, desktop only
   ============================================================ */
.hero-watermark {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-55%);
  pointer-events: none;
}

/* ============================================================
   CAREERS: DAYS AVAILABLE GRID
   ============================================================ */
.avail-days-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* ============================================================
   MOBILE-FIRST OVERRIDES  (≤ 900px — where the quote sidebar
   starts getting too tight before hitting the 768px breakpoint)
   ============================================================ */
@media (max-width: 900px) {
  .quote-page-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .quote-sidebar {
    position: static;
  }
}

/* ============================================================
   MOBILE OVERRIDES (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Hero watermark: hidden on mobile to prevent horizontal overflow */
  .hero-watermark {
    display: none;
  }

  /* Hero content: tighten vertical padding on mobile */
  .hero-content {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }

  /* Hero actions: stack buttons full-width on mobile */
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Trust strip: wrap more compactly */
  .hero-trust-strip {
    margin-top: var(--space-10);
    padding-top: var(--space-6);
  }

  /* Careers: days available — 2 columns instead of 4 */
  .avail-days-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Page hero: tighten up inner padding */
  .page-hero {
    padding-bottom: var(--space-12);
  }

  /* Quote form: sidebar already stacked at 900px,
     but ensure full width below 768px */
  .quote-page-layout {
    grid-template-columns: 1fr;
  }

  /* Form section: generous but not excessive padding */
  .form-section {
    padding: var(--space-8);
    border-radius: var(--radius-lg);
  }

  /* Form section titles: slightly smaller on mobile */
  .form-section-title {
    font-size: var(--text-lg);
  }

  /* Form upload area: tighter padding on mobile */
  .form-upload {
    padding: var(--space-6) var(--space-4);
  }

  /* Form checkboxes: increase tap area to 44px minimum */
  .form-checkbox {
    padding: var(--space-2) 0;
    min-height: 44px;
    align-items: center;
  }

  .form-checkbox input {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Avail-days checkboxes: ensure legible on small screens */
  .avail-days-grid .form-checkbox {
    padding: var(--space-3);
    background: var(--color-offwhite);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    justify-content: flex-start;
    min-height: 48px;
  }

  /* Select dropdowns: taller tap targets on mobile */
  select {
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 48px;
  }

  /* Text inputs: taller on mobile for easier tapping */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="number"] {
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 48px;
  }

  /* Sticky CTA bar: already handled above, but ensure quote-sidebar
     doesn't interfere with the sticky CTA z-index */
  .quote-sidebar {
    position: static;
  }

  /* Service cards: prevent any overflow */
  .service-card {
    min-width: 0;
  }

  /* CTA section buttons: full-width stack */
  .cta-section .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   SMALL MOBILE OVERRIDES (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* Headings: prevent overflow on very narrow screens */
  h1 {
    font-size: clamp(1.875rem, 8vw, 3rem);
    word-break: break-word;
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2.25rem);
  }

  h3 {
    font-size: clamp(1.25rem, 6vw, 1.875rem);
  }

  /* Form sections: tighter padding on the smallest screens */
  .form-section {
    padding: var(--space-6) var(--space-5);
  }

  /* Form row: single column already handled, but ensure gap is tighter */
  .form-row {
    gap: var(--space-4);
  }

  /* Days available: stay at 2 columns */
  .avail-days-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Prevent any element from causing horizontal scroll */
  .container {
    overflow-x: hidden;
  }

  /* Nav logo: slightly smaller on very small screens */
  .nav-logo-img {
    height: 38px;
  }

  /* Sticky CTA text is already hidden via the 768px rule above */
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .nav, .sticky-cta, .nav-mobile { display: none; }
  body { background: white; }
  .hero { min-height: auto; padding: 2rem 0; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
