/* ==========================================================================
   Global Styles & Design Tokens — Infinity Home Solutions
   ========================================================================== */

:root {
  /* ── Surface scale ─────────────────────────────────────────────────────── */
  --color-surface-50:  #F3F6FC;
  --color-surface-100: #E7EDF7;
  --color-surface-150: #FFF4ED;
  --color-surface-200: #C9D8EE;
  --color-surface-300: #9AB8DF;
  --color-surface-400: #6392CD;
  --color-surface-500: #3F74B8;
  --color-surface-600: #2E5B9B;
  --color-surface-700: #274A7D;
  --color-surface-800: #233F69;
  --color-surface-900: #213555;
  --color-surface-950: #17233A;

  /* ── Text scale ────────────────────────────────────────────────────────── */
  --color-text-100: #F2F7FF;
  --color-text-200: #D4DCEC;
  --color-text-300: #6C7380;
  --color-text-400: #3D424D;
  --color-text-500: #17233A;

  /* ── Accent (orange) ───────────────────────────────────────────────────── */
  --color-accent-50:  #FDECE4;
  --color-accent-100: #FCDECF;
  --color-accent-500: #F16622;
  --color-accent-600: #CE4C0D;
  --color-accent-700: #99390A;

  /* ── Teal — used for section eyebrow labels (not in initial brief) ──────
     NOTE: Verify exact hex with designer. Approximated from screenshots.  */
  --color-teal: #3B9E95;

  /* ── Semantic aliases ──────────────────────────────────────────────────── */
  --color-background: var(--color-surface-50);
  --color-surface:    var(--color-surface-100);
  --color-text:       var(--color-text-500);
  --color-text-muted: var(--color-text-300);
  --color-primary:    var(--color-surface-500);
  --color-accent:     var(--color-accent-500);

  /* ── Typography ────────────────────────────────────────────────────────── */
  --font-heading: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Heading scale */
  --text-heading-xxl: 4.3rem;      /* 68.8px */
  --text-heading-xl:  3.583rem;    /* 57.33px */
  --text-h1:          2.986rem;    /* 47.78px */
  --text-h2:          2.488rem;    /* 39.81px */
  --text-h3:          2.074rem;    /* 33.18px */
  --text-h4:          1.728rem;    /* 27.65px */
  --text-h5:          1.44rem;     /* 23.04px */
  --text-heading-sm:  0.833rem;    /* 13.33px — uppercase label */

  /* Body scale */
  --text-body-lg: 1.2rem;    /* 19.2px */
  --text-body:    1rem;      /* 16px */
  --text-body-sm: 0.833rem;  /* 13.33px */
  --text-body-xs: 0.75rem;   /* 12px */

  /* Letter spacing */
  --tracking-heading-xxl: -0.035em;
  --tracking-heading-xl:  -0.0325em;
  --tracking-h1:          -0.0275em;
  --tracking-h2:          -0.0275em;
  --tracking-h3:          -0.025em;
  --tracking-h4:          -0.02em;
  --tracking-h5:          -0.01em;
  --tracking-heading-sm:   0.08em;
  --tracking-ghost-btn:    0.03em;
  --tracking-btn:          0.04em;

  /* Line heights */
  --leading-heading: 1.15;
  --leading-body-lg: 1.5;
  --leading-body:    1.55;
  --leading-body-sm: 1.6;

  /* Weights */
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;

  /* ── Spacing (4px grid) ────────────────────────────────────────────────── */
  --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 */

  --space-element-gap:   var(--space-4);
  --space-heading-gap:   var(--space-6);
  --space-component-gap: var(--space-16);
  --space-section-y:     var(--space-24);

  /* ── Container ─────────────────────────────────────────────────────────── */
  --container-max:     1280px;
  --container-padding: var(--space-6);

  /* ── Border radius ─────────────────────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   6px;
  --radius-lg:   9.5px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* ── Buttons ───────────────────────────────────────────────────────────── */
  --btn-height:        52px;
  --btn-bg:            var(--color-accent-500);
  --btn-bg-hover:      var(--color-accent-600);
  --btn-border-radius: var(--radius-md);
  --btn-padding:       0 1.5rem;
  --btn-font-size:     var(--text-body-sm);
  --btn-tracking:      var(--tracking-btn);

  --btn-secondary-bg:       var(--color-accent-50);
  --btn-secondary-color:    var(--color-accent-600);
  --btn-secondary-bg-hover: var(--color-accent-100);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::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-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--btn-height);
  padding: var(--btn-padding);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: var(--weight-bold);
  letter-spacing: var(--btn-tracking);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--btn-border-radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--btn-bg);
  color: #fff;
  border-color: var(--btn-bg);
}
.btn-primary:hover {
  background-color: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-color);
  border-color: var(--btn-secondary-bg);
}
.btn-secondary:hover {
  background-color: var(--btn-secondary-bg-hover);
  border-color: var(--btn-secondary-bg-hover);
}

/* ==========================================================================
   Section eyebrow label
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-heading-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-teal);
}

.eyebrow--accent { color: var(--color-accent-500); }

/* ==========================================================================
   Icon arrow button — small orange square, used in service rows and FAQ
   ========================================================================== */

.icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-500);
  color: #fff;
  transition: background-color 0.18s ease;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background-color: currentColor;
  flex-shrink: 0;
}
/* ==========================================================================
   Site Navigation — floating pill that overlays the hero, sticky on scroll
   ========================================================================== */

:root {
  --nav-height:  60px;    /* height of the pill inner */
  --nav-top:     3.5rem;  /* floating gap on page load */
}

/* ── Outer shell — transparent, full-width, pointer-events pass-through ─────── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--nav-top);
  padding-inline: var(--container-padding);
  pointer-events: none;
  /* Smooth transition as the pill floats down to sticking at the top */
  transition: padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Once scrolled — pill snaps flush to the top of the viewport */
.site-nav.is-scrolled {
  padding-top: 0;
}

/* ── Pill — the visible white card ──────────────────────────────────────────── */

.site-nav__pill {
  pointer-events: all; /* re-enable interaction on the pill itself */
  position: relative;  /* anchor for the mobile dropdown */
  max-width: var(--container-max);
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-surface-100);
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(23, 35, 58, 0.06);
  padding: 0 1.5rem;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

/* Deepen shadow once user has scrolled */
.site-nav.is-scrolled .site-nav__pill {
  box-shadow: 0 4px 32px rgba(23, 35, 58, 0.12);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.5rem;
  margin-top: 8px;

}

/* ── Inner flex row ──────────────────────────────────────────────────────────── */

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* ── Logo ────────────────────────────────────────────────────────────────────── */

.site-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav__logo-stacked {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.site-nav__logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* ── Nav links ───────────────────────────────────────────────────────────────── */

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  list-style: none;
}

.site-nav__links a {
  font-size: var(--text-heading-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-text-500);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  color: var(--color-accent-500);
}

/* ── CTA button ──────────────────────────────────────────────────────────────── */

.site-nav__cta {
  flex-shrink: 0;
}

.site-nav__cta .btn {
  height: 40px;
  padding: 0 1.25rem;
  font-size: 0.72rem;
}

/* ── Mobile toggle ───────────────────────────────────────────────────────────── */

.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-text);
  flex-shrink: 0;
}

/* ── Mobile — dropdown drops below the pill ──────────────────────────────────── */

@media (max-width: 900px) {
  .site-nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-surface-100);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(23, 35, 58, 0.1);
    padding: var(--space-3) 0;
    list-style: none;
  }

  .site-nav__links.is-open {
    display: flex;
  }

  .site-nav__links li a {
    display: block;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-surface-100);
  }

  .site-nav__links li:last-child a {
    border-bottom: none;
  }

  .site-nav__cta {
    display: none;
  }

  .site-nav__toggle {
    display: flex;
    align-items: center;
  }
}
/* ==========================================================================
   Hero — Full-viewport image behind the floating nav pill
   ========================================================================== */

.hero {
  background-color: var(--color-background);
  /* Equal spacing on all three visible sides — top matches left/right */
  padding-top: var(--container-padding);
  padding-inline: var(--container-padding);
}

.hero__inner {
  position: relative;
  /* Wider than the standard 1280px content container */
  /* max-width: 1440px; */
  margin-inline: auto;
  width: 100%;
  /* Fill the full viewport — nav floats over the top */
  height: 100svh;
  height: 100dvh;
  min-height: 600px;
  max-height: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ── Background image ──────────────────────────────────────────────────────── */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* ── Ken Burns slider (homepage) ────────────────────────────────────────────── */

.hero__bg--slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide fills the container and crossfades */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  animation: hero-ken-burns 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

/* Stagger each slide so they're at different points in the pan/zoom cycle */
.hero__slide:nth-child(1) { animation-delay:  0s; }
.hero__slide:nth-child(2) { animation-delay: -3s; }
.hero__slide:nth-child(3) { animation-delay: -6s; }
.hero__slide:nth-child(4) { animation-delay: -9s; }
.hero__slide:nth-child(5) { animation-delay: -12s; }
.hero__slide:nth-child(6) { animation-delay: -15s; }

@keyframes hero-ken-burns {
  from { transform: scale(1)    translate(0,     0); }
  to   { transform: scale(1.07) translate(-1%,  -0.5%); }
}

/* ── Gradient overlay — exact values from design spec ───────────────────────
   Two layers composited on top of the photo:
   1. A directional dark-teal gradient (206.58°) for the cinematic tint
   2. A semi-transparent solid navy darken layer on top
   (Figma exports the solid at full opacity; we apply ~45% so the image
   remains visible underneath.)
   ────────────────────────────────────────────────────────────────────────── */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(23, 35, 58, 0.45), rgba(23, 35, 58, 0.45)),
    linear-gradient(206.58deg, rgba(1, 28, 37, 0) 12.46%, rgba(8, 64, 89, 0.88) 82.72%);
}

/* ── Text content ────────────────────────────────────────────────────────────── */

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 0 var(--space-8) var(--space-20);
}

/* Eyebrow — white pill badge with teal dot */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: var(--text-heading-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-text-500);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem 0.45rem 0.75rem;
}

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

/* Headline */
.hero__headline {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h1);
  line-height: var(--leading-heading);
  color: var(--color-text-100);
  max-width: 680px;
  margin-inline: auto;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero__headline {
    font-size: var(--text-h2);
    letter-spacing: var(--tracking-h2);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-inline: var(--space-3);
  }

  .hero__inner {
    height: 92svh;
    height: 92dvh;
    min-height: 440px;
    border-radius: 10px;
  }

  .hero__content {
    padding: 0 var(--space-6) var(--space-12);
  }

  .hero__headline {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }
}
/* ==========================================================================
   Large Text Section — Eyebrow + oversized heading + body/buttons row
   ========================================================================== */

.large-text {
  background-color: #fff;
  padding-block: var(--space-section-y);
}

/* ── Eyebrow ───────────────────────────────────────────────────────────────── */

.large-text__eyebrow {
  margin-bottom: var(--space-6);
}

/* ── Heading ───────────────────────────────────────────────────────────────── */

.large-text__heading {
  font-family: var(--font-heading);
  font-size: var(--text-heading-xl);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-heading-xl);
  line-height: var(--leading-heading);
  color: var(--color-surface-900);
  margin-bottom: var(--space-16);
  max-width: 1060px;
}

/* ── Bottom row — body text left, buttons right ────────────────────────────── */

.large-text__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.large-text__body {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-text-300);
  max-width: 480px;
}

/* Inline links within the body copy */
.large-text__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease;
}

.large-text__body a:hover {
  color: var(--color-accent-500);
}

/* ── Button group ──────────────────────────────────────────────────────────── */

.large-text__buttons {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .large-text__heading {
    font-size: var(--text-h1);
    letter-spacing: var(--tracking-h1);
  }
}

@media (max-width: 768px) {
  .large-text__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
  }

  .large-text__heading {
    font-size: var(--text-h2);
    letter-spacing: var(--tracking-h2);
    margin-bottom: var(--space-10);
  }
}

@media (max-width: 480px) {
  .large-text__buttons {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .large-text__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
/* ==========================================================================
   Services Section — eyebrow + heading + row-based service list
   ========================================================================== */

.services {
  background-color: var(--color-surface-150);
  padding-top: var(--space-section-y);
  /* Extra bottom padding absorbs the pricing card's negative-margin overlap */
  padding-bottom: calc(var(--space-section-y) + 3.5rem);
}

/* ── Header ─────────────────────────────────────────────────────────────────── */

.services__eyebrow {
  margin-bottom: var(--space-5);
}

.services__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h1);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-12);
}

/* ── Services list container ─────────────────────────────────────────────────── */

.services__list {
  display: flex;
  flex-direction: column;
}

/* ── Individual item — is the <a> link itself ────────────────────────────────── */

.svc-item {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-surface-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.svc-item:last-child {
  border-bottom: 1px solid var(--color-surface-200);
}

.svc-item:hover + .svc-item {
  border-top-color: transparent;
}

.svc-item:hover {
  background-color: var(--color-surface-950);
  border-top-color: transparent;
  border-bottom-color: transparent;
}

/* Name — fixed width column */
.svc-item__name {
  flex: 0 0 300px;
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h4);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  transition: color 0.22s ease;
}

.svc-item:hover .svc-item__name {
  color: var(--color-text-100);
}

/* Description — fills remaining width */
.svc-item__desc {
  flex: 1;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
  transition: color 0.22s ease;
}

.svc-item:hover .svc-item__desc {
  color: rgba(242, 247, 255, 0.65);
}

/* Orange square icon — arrow-out on default, stays on hover/open */
.svc-item__icon {
  flex-shrink: 0;
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .services__heading {
    font-size: var(--text-h2);
    letter-spacing: var(--tracking-h2);
  }

  .svc-item {
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-4);
  }

  .svc-item__name {
    flex: 0 0 100%;
    font-size: var(--text-h5);
    letter-spacing: var(--tracking-h5);
  }

  .svc-item__desc {
    flex: 1;
    font-size: var(--text-body-sm);
  }
}
/* ==========================================================================
   Trust CTA Section — dark card that overlaps up into the services section
   ========================================================================== */

.trust {
  margin-top: -3.5rem;
  padding-bottom: var(--space-section-y);
  position: relative;
  z-index: 2;
}

/* ── Card ────────────────────────────────────────────────────────────────────── */

.trust__card {
  background-color: var(--color-surface-900);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: stretch;
  min-height: 443px;
  overflow: hidden;
  position: relative;
}

/* ── Image column — fills its half with cover ────────────────────────────────── */

.trust__image {
  flex: 0 0 494px;
  position: relative;
  overflow: hidden;
}

.trust__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Text content ────────────────────────────────────────────────────────────── */

.trust__content {
  flex: 1;
  padding: var(--space-16) var(--space-16) var(--space-16) var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trust__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-100);
  margin-bottom: var(--space-6);
}

.trust__body {
  font-size: var(--text-body-lg);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body-lg);
  color: rgba(242, 247, 255, 0.82);
  margin-bottom: var(--space-10);
  max-width: 720px;
}

.trust__body strong {
  font-weight: var(--weight-bold);
  color: var(--color-text-100);
}

/* ── CTA row ─────────────────────────────────────────────────────────────────── */

.trust__cta {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .trust__card {
    flex-direction: column;
    min-height: unset;
  }

  .trust__image {
    flex: 0 0 auto;
    height: 280px;
  }

  .trust__content {
    padding: var(--space-10) var(--space-8);
  }
}

@media (max-width: 600px) {
  .trust__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }

  .trust__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}
/* ==========================================================================
   FAQ Section — 2-column: heading left, accordion right
   ========================================================================== */

.faq {
  background-color: #fff;
  padding-block: var(--space-section-y);
}

/* ── 2-column grid ───────────────────────────────────────────────────────────── */

.faq__inner {
  display: grid;
  grid-template-columns: 5fr 8fr;
  gap: var(--space-16);
  align-items: start;
}

/* ── Left column — heading ───────────────────────────────────────────────────── */

.faq__left {
  position: sticky;
  /* When scrolled, nav is flush at top — use nav-height + small buffer */
  top: calc(var(--nav-height) + var(--space-6));
}

.faq__eyebrow {
  margin-bottom: var(--space-5);
}

.faq__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: 1.25;
  color: var(--color-text-500);
}

/* ── Right column — accordion ────────────────────────────────────────────────── */

.faq__items {
  display: flex;
  flex-direction: column;
}

/* ── Individual FAQ item ─────────────────────────────────────────────────────── */

.faq-item {
  border-top: 1px solid var(--color-surface-100);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--color-surface-100);
}

/* Trigger button */
.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-6) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-item__trigger-left {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  flex: 1;
  min-width: 0;
}

.faq-item__number {
  color: var(--color-accent-500);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  flex-shrink: 0;
}

.faq-item__question {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body);
  color: var(--color-text-500);
}

/* Square icon — orange box with + / − */
.faq-item__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--weight-regular);
  line-height: 1;
  color: #fff;
  user-select: none;
}

/* Answer panel */
.faq-item__answer {
  padding-bottom: var(--space-8);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
}

/* Paragraphs within long answers */
.faq-item__answer p + p {
  margin-top: var(--space-4);
}

/* Links within answers */
.faq-item__answer a {
  color: var(--color-accent-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}
.faq-item__answer a:hover {
  color: var(--color-accent-600);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .faq__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .faq__left {
    position: static;
  }

  .faq__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }
}
/* ==========================================================================
   About Page Styles
   ========================================================================== */

/* ── Short hero modifier ─────────────────────────────────────────────────────── */

.hero--short .hero__inner {
  height: 55svh;
  height: 55dvh;
  min-height: 420px;
  max-height: 520px;
}

@media (max-width: 768px) {
  .hero--short .hero__inner {
    height: 50svh;
    height: 50dvh;
    min-height: 320px;
  }
}

/* ── About Intro — eyebrow + xl heading + two columns ────────────────────────── */

.about-intro {
  background-color: #fff;
  padding-block: var(--space-section-y);
}

.about-intro__eyebrow {
  margin-bottom: var(--space-6);
}

/* Base heading style (kept for reuse on other pages) */
.about-intro__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-10);
}

/* XL statement heading used on the about page */
.about-intro__heading--xl {
  font-size: var(--text-heading-xl);
  letter-spacing: -0.03em;
}

/* Two-column layout below the heading */
.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-intro__body {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-text-300);
  margin-bottom: var(--space-6);
}

/* Testimonial block: stars + quote */
.about-intro__testimonial {
  margin-top: var(--space-8);
}

.about-intro__stars {
  font-size: 1.25rem;
  color: var(--color-accent-500);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.about-intro__quote {
  margin: 0;
  padding: 0;
  border: none;
}

.about-intro__quote p {
  font-size: var(--text-body-lg);
  font-weight: var(--weight-bold);
  font-style: italic;
  line-height: var(--leading-body-lg);
  color: var(--color-text-500);
  margin-bottom: var(--space-3);
}

.about-intro__quote cite {
  font-size: var(--text-body-sm);
  font-style: normal;
  font-weight: var(--weight-bold);
  color: var(--color-accent-500);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
}

/* Right column image */
.about-intro__image {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
  border-radius: var(--radius-xl);
  overflow: hidden;
  line-height: 0;
}

.about-intro__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 900px) {
  .about-intro__heading--xl {
    font-size: var(--text-h2);
    letter-spacing: var(--tracking-h2);
  }

  .about-intro__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  /* Image moves below text on mobile — show after left col */
  .about-intro__image {
    order: -1;
    position: static;
    max-height: 340px;
  }

  .about-intro__image img {
    height: 340px;
    object-fit: cover;
    object-position: center;
  }
}

/* ── About Features — 2-up card grid (image top, headline, text) ─────────────── */

.about-features {
  background-color: var(--color-surface-50);
  padding-block: var(--space-section-y);
}

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

.about-feature__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  line-height: 0;
  margin-bottom: var(--space-6);
}

.about-feature__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-feature__title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h4);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-4);
}

.about-feature__body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
}

@media (max-width: 768px) {
  .about-features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-feature__image img {
    height: 240px;
  }
}

/* ── About Values — alternating image/text cards ─────────────────────────────── */

.about-values {
  background-color: var(--color-surface-150);
  padding-block: var(--space-section-y);
}

.about-values__eyebrow {
  margin-bottom: var(--space-5);
}

.about-values__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-16);
  max-width: 600px;
}

.about-values__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

/* Each alternating card */
.about-value {
  background-color: #fff;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 380px;
}

/* Odd cards: image left, text right */
.about-value:nth-child(odd) {
  direction: ltr;
}

/* Even cards: text left, image right */
.about-value:nth-child(even) {
  direction: rtl;
}

.about-value:nth-child(even) > * {
  direction: ltr;
}

.about-value__image {
  overflow: hidden;
  line-height: 0;
}

.about-value__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-value__content {
  padding: var(--space-12) var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-value__number {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  color: var(--color-accent-500);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.about-value__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h3);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-5);
}

.about-value__body {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-text-300);
}

@media (max-width: 900px) {
  .about-value {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: unset;
  }

  .about-value:nth-child(even) {
    direction: ltr;
  }

  .about-value__image {
    height: 260px;
  }

  .about-value__content {
    padding: var(--space-8) var(--space-8);
  }

  .about-values__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }
}

/* ── Team Section ─────────────────────────────────────────────────────────────── */

.team {
  background-color: #fff;
  padding-block: var(--space-section-y);
}

.team__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: end;
  margin-bottom: var(--space-16);
}

.team__eyebrow {
  margin-bottom: var(--space-5);
}

.team__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
}

.team__subtext {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--color-text-300);
}

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

/* Individual team card */
.team-card {
  background-color: var(--color-surface-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
  background-color: var(--color-surface-100);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.team-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--color-surface-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__info {
  padding: 1.5rem 1rem;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h4);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-1);
}

.team-card__role {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-accent-500);
  margin-bottom: var(--space-4);
}

/* Kept for reuse on pages that want bio inline */
.team-card__bio {
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--color-text-300);
}

/* "Read Bio" trigger */
.team-card__read-bio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  color: var(--color-text-500);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.team-card__read-bio:hover {
  color: var(--color-accent-500);
}

/* ── Bio Modal ───────────────────────────────────────────────────────────────── */

.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(23, 35, 58, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.bio-modal__box {
  background-color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10);
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.bio-modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--color-surface-100);
  border: none;
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-300);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.bio-modal__close:hover {
  background-color: var(--color-surface-200);
  color: var(--color-text-500);
}

.bio-modal__photo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: top center;
  display: block;
  margin-bottom: var(--space-5);
}

.bio-modal__name {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h4);
  color: var(--color-text-500);
  margin-bottom: var(--space-1);
}

.bio-modal__role {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-accent-500);
  margin-bottom: var(--space-6);
}

.bio-modal__bio {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
}

.bio-modal__bio p + p {
  margin-top: var(--space-4);
}

/* Alpine transition helpers */
.bio-modal--enter,
.bio-modal--leave {
  transition: opacity 0.2s ease;
}
.bio-modal--enter-start,
.bio-modal--leave-end {
  opacity: 0;
}
.bio-modal--enter-end,
.bio-modal--leave-start {
  opacity: 1;
}

@media (max-width: 600px) {
  .bio-modal__box {
    padding: var(--space-8) var(--space-6);
  }
}

@media (max-width: 900px) {
  .team__header {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .team__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }

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

@media (max-width: 600px) {
  .team__grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Services Page — Pricing Plans + Full Service List accordion
   ========================================================================== */

/* ── Pricing Plans Section ───────────────────────────────────────────────────── */

.service-plans {
  background-color: #fff;
  padding-block: var(--space-section-y);
}

.service-plans__eyebrow {
  margin-bottom: var(--space-5);
}

.service-plans__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-5);
}

.service-plans__coverage-note {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
  max-width: 680px;
  margin-bottom: var(--space-16);
}

.service-plans__coverage-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.service-plans__coverage-note a:hover {
  color: var(--color-accent-500);
}

/* ── Billing group (Annual / Semi-annual) ────────────────────────────────────── */

.service-plans__group {
  margin-bottom: var(--space-12);
}

.service-plans__group:last-child {
  margin-bottom: 0;
}

.service-plans__group-label {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h4);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-6);
}

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

/* ── Plan card ───────────────────────────────────────────────────────────────── */

.plan-card {
  background-color: var(--color-surface-50);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.plan-card--premium {
  background-color: var(--color-surface-950);
}

.plan-card__tier {
  font-size: var(--text-heading-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-accent-500);
}

.plan-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.plan-card__amount {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h1);
  line-height: 1;
  color: var(--color-text-500);
}

.plan-card--premium .plan-card__amount {
  color: var(--color-text-100);
}

.plan-card__period {
  font-size: var(--text-body);
  color: var(--color-text-300);
}

.plan-card--premium .plan-card__period {
  color: rgba(242, 247, 255, 0.55);
}

.plan-card__includes {
  font-size: var(--text-body);
  color: var(--color-text-300);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-surface-100);
  margin-bottom: var(--space-2);
}

.plan-card--premium .plan-card__includes {
  color: rgba(242, 247, 255, 0.65);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.plan-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 960px) {
  .service-plans__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .service-plans__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

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

  .service-plans__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }
}

@media (max-width: 768px) {
  .plan-card {
    padding: var(--space-8) var(--space-8);
  }
}

/* ── Full Service List Section ───────────────────────────────────────────────── */

.service-list {
  background-color: var(--color-surface-50);
  padding-block: var(--space-section-y);
}

.service-list__header {
  margin-bottom: var(--space-12);
}

.service-list__eyebrow {
  margin-bottom: var(--space-5);
}

.service-list__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
}

/* The accordion container — overrides the FAQ's default flex to add top border */
.service-list__accordion {
  border-top: 1px solid var(--color-surface-100);
}

/* Override FAQ answer text color for service items */
.service-list__answer {
  color: var(--color-text-300);
}

/* ── Service item lists inside accordion panels ──────────────────────────────── */

.service-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-list__items li {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
  padding-left: var(--space-5);
  position: relative;
}

/* Orange dot bullet */
.service-list__items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-500);
  flex-shrink: 0;
}

.service-list__items li em {
  font-style: italic;
  color: var(--color-text-200);
}

/* Two-column list for long recurring maintenance section */
.service-list__items--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-10);
}

@media (max-width: 768px) {
  .service-list__items--two-col {
    grid-template-columns: 1fr;
  }

  .service-list__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }
}

/* ── Service list accordion icon — orange circle, white chevron ──────────────── */
/* Replaces the default .faq-item__icon in the service-list context */

.svc-list-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}

/* Chevron flips to ↑ when the item is open */
.faq-item.is-open .svc-list-icon {
  transform: rotate(180deg);
}

/* Fix helper text contrast on surface-50 background */
.service-list__items li em {
  color: var(--color-text-300);
}
/* ==========================================================================
   Communities We Serve — split header + 4-col location grid
   ========================================================================== */

.communities {
  background-color: var(--color-surface-50);
  padding-block: var(--space-section-y);
}

/* ── Header — two-column split ───────────────────────────────────────────────── */

.communities__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: end;
  margin-bottom: var(--space-12);
}

.communities__eyebrow {
  margin-bottom: var(--space-5);
}

.communities__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
}

.communities__header-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-bottom: var(--space-2);
}

.communities__body {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
}

/* ── Divider ─────────────────────────────────────────────────────────────────── */

.communities__divider {
  border: none;
  border-top: 1px solid var(--color-surface-200);
  margin-bottom: var(--space-12);
}

/* ── Location grid — 4 columns ───────────────────────────────────────────────── */

.communities__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5) var(--space-8);
}

/* ── Individual location item ────────────────────────────────────────────────── */

.communities__location {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--color-text-500);
}

/* ── Teal square pin icon ────────────────────────────────────────────────────── */

.communities__pin {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .communities__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .communities__header {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .communities__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }

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

@media (max-width: 480px) {
  .communities__grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Contact Page — Direct Contact Header + Message Form
   ========================================================================== */

/* ── Shared page background ──────────────────────────────────────────────────── */

.contact-header,
.contact-divider-wrap,
.contact-form-section {
  background-color: var(--color-surface-150);
}

/* ── Contact Header Section ──────────────────────────────────────────────────── */

.contact-header {
  padding-top: calc(var(--nav-top) + 11rem);
  padding-bottom: var(--space-16);
  text-align: center;
}

.contact-header__container {
  max-width: 680px;
  margin-inline: auto;
}

.contact-header__eyebrow {
  margin-bottom: var(--space-5);
  justify-content: center;
}

.contact-header__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h1);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-5);
}

.contact-header__sub {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
  margin-bottom: var(--space-10);
}

/* ── CTA Buttons — icon-box left, light-bordered, dark text ─────────────────── */

.contact-header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.contact-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 48px;
  border: 1px solid var(--color-surface-200);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text-500);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-btn);
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.contact-outline-btn:hover {
  border-color: var(--color-accent-500);
  box-shadow: 0 0 0 1px var(--color-accent-500);
}

/* Orange icon box on the left */
.contact-outline-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-500);
  color: #fff;
}

/* Button text — right side */
.contact-outline-btn__text {
  padding: 0 var(--space-5);
}

/* ── Section divider ─────────────────────────────────────────────────────────── */

.contact-divider {
  border: none;
  border-top: 1px solid var(--color-surface-200);
  margin: 0;
}

/* ── Form Section ────────────────────────────────────────────────────────────── */

.contact-form-section {
  padding-block: var(--space-20);
}

.contact-form-section__container {
  max-width: 520px;
  margin-inline: auto;
}

.contact-form-section__intro {
  text-align: center;
  margin-bottom: var(--space-10);
}

.contact-form-section__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: var(--color-text-500);
  margin-bottom: var(--space-4);
}

.contact-form-section__sub {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text-300);
}

/* ── Form layout ─────────────────────────────────────────────────────────────── */

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

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

/* ── Labels ──────────────────────────────────────────────────────────────────── */

.contact-form__label {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-text-500);
}

.contact-form__required {
  color: var(--color-accent-500);
  margin-left: 2px;
}

/* ── Inputs & Textarea ───────────────────────────────────────────────────────── */

.contact-form__input {
  width: 100%;
  height: 52px;
  padding: 0 var(--space-4);
  background-color: #fff;
  border: 1px solid var(--color-surface-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-500);
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
}

.contact-form__input::placeholder {
  color: var(--color-text-300);
}

.contact-form__input:focus {
  border-color: var(--color-accent-500);
}

.contact-form__textarea {
  height: auto;
  padding: var(--space-4);
  resize: vertical;
  line-height: var(--leading-body);
}

/* ── Service toggle buttons — 2×2 grid ───────────────────────────────────────── */

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

.contact-form__svc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 var(--space-4);
  background-color: #fff;
  border: 1px solid var(--color-surface-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-400);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-form__svc-btn:hover {
  border-color: var(--color-accent-500);
  color: var(--color-accent-600);
}

.contact-form__svc-btn.is-selected {
  border-color: var(--color-accent-500);
  color: var(--color-accent-600);
}

/* ── Submit button — full width ──────────────────────────────────────────────── */

.contact-form__footer {
  padding-top: var(--space-2);
}

.contact-form__submit {
  width: 100%;
  letter-spacing: var(--tracking-btn);
  text-transform: uppercase;
}

.contact-form__submit.btn-loading {
  background-color: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  opacity: 0.8;
  cursor: not-allowed;
}

/* ── Success & error states ──────────────────────────────────────────────────── */

.contact-form-success {
  text-align: center;
  padding: var(--space-12) 0;
}

.contact-form-success__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h3);
  color: var(--color-text-500);
  margin-bottom: var(--space-3);
}

.contact-form-success__body {
  font-size: var(--text-body);
  color: var(--color-text-300);
}

.contact-form-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  color: #b91c1c;
  font-size: var(--text-body-sm);
}

.contact-form-errors p {
  margin: 0;
}

/* ── Turnstile CAPTCHA widget ───────────────────────────────────────────────── */

.contact-form__turnstile {
  padding-top: var(--space-1);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .contact-header {
    padding-top: calc(var(--nav-top) + 9rem);
  }

  .contact-header__heading {
    font-size: var(--text-h2);
    letter-spacing: var(--tracking-h2);
  }

  .contact-header__btns {
    flex-direction: column;
    align-items: center;
  }

  .contact-form-section__heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }

  .contact-form__svc-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Footer — dark teal gradient background
   ========================================================================== */

.footer {
  background: linear-gradient(180deg, #094A67 0%, #084059 100%);
  padding-bottom: 2rem;
}

/* ── Top CTA bar ─────────────────────────────────────────────────────────────── */

.footer__cta {
  padding-block: var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Eyebrow on dark bg */
.footer__cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.footer__cta .eyebrow__dot {
  background-color: var(--color-teal);
}

.footer__cta-heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-h2);
  line-height: var(--leading-heading);
  color: #fff;
}

/* ── White card wrapper ──────────────────────────────────────────────────────── */

.footer__card {
  background-color: var(--color-surface-50, #ffffff);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-12) var(--space-5);
}

/* ── Columns body ────────────────────────────────────────────────────────────── */

.footer__body {
  padding-bottom: var(--space-10);
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr 1fr;
  gap: var(--space-12);
  border-bottom: 1px solid var(--color-surface-100);
  align-items: start;
}

/* Brand column */
.footer__brand-logo {
  display: block;
  margin-bottom: var(--space-5);
  width: fit-content;
}

.footer__brand-logo img {
  height: 42px;
  width: auto;
}

.footer__tagline {
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--color-text-300);
  max-width: 280px;
}

/* Nav/link columns */
.footer__col-title {
  display: block;
  font-size: var(--text-heading-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-heading-sm);
  text-transform: uppercase;
  color: var(--color-text-500);
  margin-bottom: var(--space-5);
}

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

.footer__col-links li a {
  font-size: var(--text-body-sm);
  line-height: var(--leading-body);
  color: var(--color-text-300);
  transition: color 0.15s ease;
}

.footer__col-links li a:hover {
  color: var(--color-text-500);
}

/* ── Copyright bar ───────────────────────────────────────────────────────────── */

.footer__bottom {
  padding-top: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--text-body-sm);
  color: var(--color-text-300);
}

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

.footer__legal a {
  font-size: var(--text-body-xs);
  color: var(--color-text-300);
  transition: color 0.15s ease;
}

.footer__legal a:hover {
  color: var(--color-text-500);
}

.footer__legal-sep {
  color: var(--color-text-200);
  font-size: var(--text-body-sm);
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer__card {
    padding: var(--space-10) var(--space-8) var(--space-5);
  }

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

@media (max-width: 768px) {
  .footer__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }

  .footer__cta-heading {
    font-size: var(--text-h3);
    letter-spacing: var(--tracking-h3);
  }
}

@media (max-width: 600px) {
  .footer__card {
    padding: var(--space-8) var(--space-6) var(--space-5);
  }

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

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}
/* ============================================================
   Blog — Archive (index) + Single post styles
   ============================================================ */

/* ── Archive page header ──────────────────────────────────── */
.blog-header {
    padding: 4rem 0 2.5rem;
    text-align: center;
}

.blog-header__eyebrow {
    margin-bottom: 0.75rem;
}

.blog-header__heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

/* ── Post card grid ───────────────────────────────────────── */
.blog-grid-section {
    padding: 2.5rem 0 5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 28px rgba(0,0,0,.11);
}

.blog-card__img-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-light-gray, #f5f5f5);
}

.blog-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8edf2 0%, #d0d8e4 100%);
}

.blog-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__meta {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold, #b8922a);
    margin-bottom: 0.5rem;
}

.blog-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: gap 0.2s ease;
}

.blog-card__link:hover {
    gap: 0.6rem;
}

.blog-card__link svg {
    flex-shrink: 0;
}

/* ── Empty state ──────────────────────────────────────────── */
.blog-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #777;
}

/* ── Single post ──────────────────────────────────────────── */
.post-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 7;
    overflow: hidden;
    background: var(--color-navy);
}

.post-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    display: block;
}

.post-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(10,26,46,.7) 0%, transparent 60%);
}

.post-hero__meta {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold, #b8922a);
    margin-bottom: 0.5rem;
}

.post-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.post-body-section {
    padding: 3.5rem 0 5rem;
}

.post-body-section__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* prose content */
.post-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--color-navy);
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    line-height: 1.25;
}

.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.25rem; }
.post-content h4 { font-size: 1.05rem; }

.post-content p { margin-bottom: 1.25rem; }

.post-content ul,
.post-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.post-content li { margin-bottom: 0.4rem; }

.post-content a {
    color: var(--color-navy);
    text-decoration: underline;
}

.post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content figure {
    margin: 1.5rem 0;
}

.post-content figcaption {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    margin-top: 0.4rem;
}

.post-content blockquote {
    border-left: 4px solid var(--color-gold, #b8922a);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: #fafafa;
    color: #444;
    font-style: italic;
}

.post-content strong { font-weight: 700; }

/* back link */
.post-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    transition: gap 0.2s ease;
}

.post-back:hover { gap: 0.6rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-hero {
        aspect-ratio: 4 / 3;
    }

    .post-hero__overlay {
        padding: 1.25rem;
    }
}
