/* Diamond Tub Refinishing — shared site styles (used across all pages) */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Exempt the header's scroll-shrink pill: it's a small, contained
     UI transition (not a page-scale motion effect), so it keeps
     easing even for reduced-motion users — matches NAV-HERO TEMPLATE,
     which never mutes it. */
  .nav-pill {
    transition:
      width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      max-width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      margin-top 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      height 0.35s ease !important;
  }

  .nav-pill::before {
    transition: opacity 0.4s ease !important;
  }

  .brand {
    transition: color 0.35s ease !important;
  }

  .brand span em {
    transition: color 0.35s ease !important;
  }

  .nav-link {
    transition: color 0.35s ease !important;
  }

  .mobile-toggle .bar {
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      background-color 0.35s ease !important;
  }

  .mobile-menu {
    transition: right 0.35s cubic-bezier(0.77, 0.2, 0.05, 1) !important;
  }
}

/* ---------- Tokens ---------- */
:root {
  --teal: #aae0e0;
  --teal-bright: #00dde1;
  --teal-soft: #c9ecec;
  --cream: #f5f6f2;
  --heron: #f0f1ea;
  --peach: #f8e4d1;
  --peach-deep: #e8a765;
  --ink: #212930;
  --ink-soft: #57646f;
  --white: #ffffff;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Poppins", ui-sans-serif, system-ui, sans-serif;

  --fs-h1: clamp(2.3rem, 1.7rem + 2.6vw, 3.6rem);
  --fs-h2: clamp(1.9rem, 1.5rem + 1.7vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.65rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.4vw, 1.35rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  --fs-small: clamp(0.82rem, 0.8rem + 0.1vw, 0.92rem);
  --fs-eyebrow: clamp(0.76rem, 0.74rem + 0.08vw, 0.82rem);

  --space-3xs: clamp(0.4rem, 0.35rem + 0.2vw, 0.6rem);
  --space-2xs: clamp(0.65rem, 0.55rem + 0.4vw, 0.95rem);
  --space-xs: clamp(0.9rem, 0.8rem + 0.5vw, 1.3rem);
  --space-sm: clamp(1.3rem, 1.05rem + 1vw, 1.85rem);
  --space-md: clamp(1.85rem, 1.4rem + 1.8vw, 2.9rem);
  --space-lg: clamp(2.6rem, 1.8rem + 3.2vw, 4.75rem);
  --space-xl: clamp(3.6rem, 2.3rem + 5.2vw, 7.5rem);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --container: min(1240px, 92vw);
  --header-height: 76px;
  --shadow-card: 0 1.2rem 3rem -1.4rem rgba(33, 41, 48, 0.35);
  --shadow-lift: 0 1.6rem 3.5rem -1.2rem rgba(33, 41, 48, 0.4);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  text-wrap: balance;
  font-weight: 700;
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
}
p {
  text-wrap: pretty;
  max-width: 62ch;
}
em {
  font-style: italic;
  font-weight: 500;
}
::selection {
  background: var(--peach);
  color: var(--ink);
}
:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach-deep);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-xs);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach-deep);
  flex: none;
}
.section {
  padding-block: var(--space-xl);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(33, 41, 48, 0.3);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(33, 41, 48, 0.05);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.1rem;
  background: var(--teal);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 2px solid var(--teal);
  border-radius: 10px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0.9rem 1.8rem -1rem rgba(33, 41, 48, 0.28);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--peach-deep);
  border-color: var(--peach-deep);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 1.2rem 2.2rem -1rem rgba(33, 41, 48, 0.35);
}
.btn-primary:active {
  transform: translateY(-1px);
}
.btn-header {
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
}
.btn-primary--onDark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.btn-primary--onDark:hover,
.btn-primary--onDark:focus-visible {
  background: var(--peach-deep);
  border-color: var(--peach-deep);
  color: var(--ink);
}

/* ---------- Icon sprite ---------- */
.icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  pointer-events: none;
}
.nav-pill {
  position: relative;
  pointer-events: all;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  height: var(--header-height);
  transition:
    width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    max-width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    margin-top 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.35s ease;
}
.nav-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(33, 41, 48, 0.08);
  border-top: none;
  border-radius: 0 0 18px 18px;
  background-color: rgba(245, 246, 242, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 32px rgba(33, 41, 48, 0.18),
    0 2px 8px rgba(33, 41, 48, 0.12);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.nav-pill.scrolled::before {
  opacity: 1;
}
.nav-pill.scrolled {
  width: calc(100% - 48px);
  max-width: 1140px;
  margin-top: -2px;
  height: calc(var(--header-height) - 14px);
}
.header-inner {
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 100%;
  padding-inline: clamp(20px, 3vw, 44px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
  color: var(--ink);
  position: relative;
}
.brand .icon {
  width: 30px;
  height: 30px;
}
.brand span em {
  color: var(--teal-bright);
  font-style: normal;
}

/* Desktop nav + mega dropdown */
.nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 0.9rem + 1vw, 2rem);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding-block: 1.5rem;
  cursor: pointer;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1.1rem;
  height: 2px;
  background: var(--teal-bright);
  transition: right 0.25s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  right: 0;
}
.nav-link .chevron {
  font-size: 10px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
.nav-item:hover .nav-link .chevron {
  transform: rotate(180deg);
}

.nav-item {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border: 1px solid rgba(33, 41, 48, 0.08);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  width: max-content;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  display: flex;
  gap: 2.2rem;
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  width: max-content;
  min-width: 190px;
}
.nav-dropdown-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peach-deep);
  margin-bottom: 1rem;
}
.nav-sub-link {
  display: block;
  padding: 0.6rem;
  margin: 0 -0.6rem 0.2rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-sub-link:hover,
.nav-sub-link:focus-visible {
  background: var(--heron);
}
.nav-sub-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.nav-sub-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.8rem + 1vw, 1.8rem);
}
/* Mobile hamburger toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
  border: none;
  background: none;
  padding: 4px;
}
.mobile-toggle .bar {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile off-canvas drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--cream);
  padding: calc(var(--space-lg) + 20px) var(--space-md) var(--space-md);
  transition: right 0.35s cubic-bezier(0.77, 0.2, 0.05, 1);
  z-index: 1000;
  overflow-y: auto;
}
.mobile-menu.active {
  right: 0;
}
.mobile-item {
  border-bottom: 1px solid rgba(33, 41, 48, 0.1);
}
a.mobile-header {
  display: block;
}
.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.mobile-header.open {
  color: var(--peach-deep);
}
.mobile-chevron {
  font-size: 11px;
  flex: none;
  transition: transform 0.3s ease;
}
.mobile-header.open .mobile-chevron {
  transform: rotate(180deg);
  color: var(--peach-deep);
}
.mobile-sub {
  display: none;
  padding: 0 0 1rem 0.5rem;
}
.mobile-sub.open {
  display: block;
}
.mobile-link {
  display: block;
  padding: 0.55rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.mobile-link:hover {
  color: var(--ink);
}
.mobile-actions {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.mobile-actions .btn-primary {
  text-align: center;
}
@media (max-width: 1010px) {
  .nav {
    display: none;
  }
  .header-actions .btn-header {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ---------- Page hero ---------- */
.stub-hero {
  background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%);
  padding-top: calc((var(--space-xl) + 110px) / 2);
  padding-bottom: calc(var(--space-lg) / 2);
  text-align: center;
}
.stub-hero + .section {
  padding-top: calc(var(--space-xl) / 2);
}
.stub-hero .eyebrow {
  justify-content: center;
}
.stub-hero h1 {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: var(--space-sm);
}
.stub-hero-lead {
  max-width: 42rem;
  margin-inline: auto;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}
.stub-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}

/* ---------- Page content ---------- */
.stub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.stub-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lift);
}
.stub-media--full {
  aspect-ratio: 16/9;
  margin-bottom: var(--space-md);
}
.stub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stub-copy p {
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}
.stub-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: var(--space-md);
}
.stub-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--ink);
}
.stub-checklist .icon {
  width: 18px;
  height: 18px;
  stroke: var(--peach-deep);
  stroke-width: 3;
  margin-top: 2px;
  flex: none;
}
.stub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
}
@media (max-width: 600px) {
  .stub-hero-actions,
  .stub-actions {
    gap: 2.25rem;
  }
}
@media (max-width: 900px) {
  .stub-grid {
    grid-template-columns: 1fr;
  }
  .stub-media {
    order: -1;
    aspect-ratio: 16/10;
  }
}

/* ---------- Shared section helpers ---------- */
.section--heron {
  background: var(--heron);
}
.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-lg);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  color: var(--ink-soft);
  margin-inline: auto;
  margin-top: var(--space-xs);
}
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: none;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.icon-badge .icon {
  width: 26px;
  height: 26px;
}
.section--tight {
  padding-block: var(--space-lg);
}
.section--peach {
  background: linear-gradient(180deg, var(--peach) 0%, var(--cream) 100%);
}
.section-head--center p {
  margin-inline: auto;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-lg);
}
.why-item {
  display: flex;
  gap: var(--space-sm);
}
.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.why-item p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0;
}
@media (max-width: 720px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Before & after slider ---------- */
.ba-wrap {
  max-width: 780px;
  margin-inline: auto;
}
.ba-wrap--full {
  max-width: none;
}
.ba-wrap--full .ba-media {
  aspect-ratio: 21/9;
}
@media (max-width: 640px) {
  .ba-wrap--full .ba-media {
    aspect-ratio: 4/3;
  }
}
.ba-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lift);
  --reveal: 50%;
}
.ba-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.ba-img-before {
  filter: saturate(0.75) brightness(0.92) sepia(0.12);
}
.ba-img-after {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(33, 41, 48, 0.15);
  z-index: 2;
}
.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}
.ba-handle-grip .icon {
  width: 22px;
  height: 22px;
  stroke: var(--ink);
  stroke-width: 2.4;
}
.ba-drag-zone {
  position: absolute;
  inset: 0;
  cursor: ew-resize;
  z-index: 3;
  touch-action: none;
}
.ba-tag {
  position: absolute;
  top: 16px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(33, 41, 48, 0.68);
  color: var(--white);
  z-index: 1;
  pointer-events: none;
}
.ba-tag-before {
  left: 16px;
}
.ba-tag-after {
  right: 16px;
}
.ba-caption {
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin-top: var(--space-sm);
}

/* ---------- Vertical process list ---------- */
.process-list-v {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 760px;
  margin-inline: auto;
}
.process-step-v {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: start;
}
.process-num-v {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}
.process-step-v h3 {
  margin-bottom: 0.4rem;
}
.process-step-v p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Materials grid ---------- */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.material-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-card);
}
.material-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.material-card p {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin: 0;
}
@media (max-width: 900px) {
  .materials-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Care list ---------- */
.care-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.care-list li {
  padding: 1.1rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: var(--ink-soft);
  font-size: var(--fs-small);
}
.care-list li strong {
  color: var(--ink);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.testimonial-stars {
  color: var(--peach-deep);
  letter-spacing: 0.15em;
}
.testimonial-quote {
  color: var(--ink-soft);
  font-size: var(--fs-small);
  margin: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--ink);
  margin: 0;
}
@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}
.faq-item {
  border: 1px solid rgba(33, 41, 48, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}
.faq-chevron {
  flex: none;
  font-size: 12px;
  color: var(--peach-deep);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 1.5rem 1.2rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 100%);
  text-align: center;
}
.final-cta-copy {
  max-width: 42rem;
  margin-inline: auto;
}
.final-cta-copy p {
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  margin-top: var(--space-xs);
}
.final-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--heron);
  padding-block: var(--space-lg) var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-brand .brand {
  color: var(--cream);
}
.footer-brand .brand .icon path:first-child {
  fill: var(--peach);
}
.footer-brand p {
  color: rgba(240, 241, 234, 0.72);
  margin-top: var(--space-xs);
  font-size: 0.92rem;
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-divider {
  height: 1px;
  background: rgba(240, 241, 234, 0.15);
  margin: 0.15rem 0;
}
.site-footer a,
.site-footer li {
  color: rgba(240, 241, 234, 0.82);
  font-size: 0.95rem;
}
.site-footer a:hover {
  color: var(--peach);
}
.footer-bottom {
  border-top: 1px solid rgba(240, 241, 234, 0.15);
  padding-top: var(--space-sm);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(240, 241, 234, 0.6);
}
@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Homepage only ---------- */
body.is-home {
  /* Homepage-only: header floats over the hero photo until scrolled,
     so nav text starts light and switches to ink once the pill solidifies */
  .brand,
  .nav-link {
    color: var(--cream);
  }

  .mobile-toggle .bar {
    background: var(--cream);
  }

  .nav-pill.scrolled .brand,
  .nav-pill.scrolled .nav-link {
    color: var(--ink);
  }

  .nav-pill.scrolled .brand span em {
    color: var(--teal-bright);
  }

  .nav-pill.scrolled .mobile-toggle .bar {
    background: var(--ink);
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 520px;
    padding-top: 130px;
    padding-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    background: var(--ink);
  }

  .hero-media {
    position: absolute;
    inset: 0;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
  }

  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      105deg,
      rgba(33, 41, 48, 0.85) 0%,
      rgba(33, 41, 48, 0.45) 32%,
      rgba(170, 224, 224, 0.35) 66%,
      rgba(170, 224, 224, 0.08) 100%
    );
  }

  .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(20, 24, 28, 0.55) 0,
      rgba(20, 24, 28, 0) 170px
    );
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    width: var(--container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }

  .hero-copy h1 {
    color: var(--cream);
    margin-bottom: var(--space-sm);
  }

  .hero-copy h1 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    color: var(--peach);
  }

  .hero-copy p {
    font-size: var(--fs-lead);
    color: rgba(245, 246, 242, 0.9);
    max-width: 34rem;
  }

  .quote-card {
    background: rgba(245, 246, 242, 0.97);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem);
    box-shadow: var(--shadow-lift);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  .quote-card .eyebrow {
    margin-bottom: var(--space-3xs);
  }

  .quote-card h3 {
    margin-bottom: var(--space-2xs);
  }

  .quote-card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
    margin-bottom: var(--space-2xs);
  }

  .quote-card .fine {
    font-size: var(--fs-small);
    color: var(--ink-soft);
    opacity: 0.85;
  }

  .quote-card .btn-primary {
    width: 100%;
    margin-block: var(--space-sm) var(--space-md);
    font-size: 0.86rem;
  }

  .trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
  }

  .trust-row li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--ink);
  }

  .trust-row .icon {
    width: 16px;
    height: 16px;
    stroke: var(--peach-deep);
    stroke-width: 3;
  }

  /* ---------- Hero quote form (two-step) ---------- */
  .quote-card [hidden],
  .quote-modal-dialog [hidden] {
    display: none !important;
  }

  .quote-intro,
  .quote-step,
  .quote-success {
    animation: quoteFadeIn 0.35s ease;
  }

  @keyframes quoteFadeIn {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .photo-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-block: var(--space-sm) var(--space-2xs);
  }

  .photo-slot {
    position: relative;
    min-width: 0;
  }

  .photo-slot-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    aspect-ratio: 1;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1.5px dashed rgba(33, 41, 48, 0.3);
    background-color: var(--cream);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    padding: 0.5rem;
    text-align: center;
    overflow: hidden;
    transition: border-color 0.2s ease;
  }

  .photo-slot-trigger:hover {
    border-color: var(--ink);
  }

  .photo-slot-trigger .icon {
    width: 22px;
    height: 22px;
    stroke: var(--ink-soft);
  }

  .photo-slot-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-soft);
  }

  .photo-slot.has-image .photo-slot-trigger {
    border-style: solid;
    border-color: var(--teal);
    justify-content: flex-end;
  }

  .photo-slot.has-image .photo-slot-trigger .icon {
    display: none;
  }

  .photo-slot.has-image .photo-slot-text {
    background: rgba(33, 41, 48, 0.72);
    color: var(--cream);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .photo-slot-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--ink);
    color: var(--cream);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -4px rgba(33, 41, 48, 0.5);
  }

  .photo-slot-remove:hover {
    background: var(--peach-deep);
  }

  .quote-step .field {
    margin-bottom: var(--space-2xs);
  }

  .quote-step .field label {
    font-size: 0.8rem;
  }

  .quote-step .field input,
  .quote-step .field textarea {
    padding: 0.7rem 0.9rem;
  }

  .quote-step .field textarea {
    min-height: 70px;
  }

  .quote-step .btn-primary {
    width: 100%;
    margin-top: var(--space-2xs);
  }

  .quote-step .btn-primary[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
  }

  .quote-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  .quote-error {
    font-size: 0.85rem;
    font-weight: 600;
    color: #b3311e;
    margin-top: 0.6rem;
  }

  .quote-success {
    text-align: center;
    padding-block: var(--space-sm);
  }

  .quote-success .icon {
    width: 42px;
    height: 42px;
    stroke: var(--peach-deep);
    stroke-width: 3;
    margin-bottom: var(--space-2xs);
  }

  .quote-success h3 {
    margin-bottom: var(--space-3xs);
  }

  .quote-success p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-inline: auto;
  }

  .quote-success .btn {
    margin-top: var(--space-sm);
  }

  @media (max-width: 900px) {
    .hero {
      aspect-ratio: auto;
      min-height: unset;
      padding-top: calc((var(--space-lg) + 130px) * 0.56);
      padding-bottom: var(--space-lg);
    }

    .hero-inner {
      grid-template-columns: 1fr;
    }
  }

  /* ---------- Photo quote modal ---------- */
  .quote-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    overflow-y: auto;
  }

  .quote-modal[hidden] {
    display: none;
  }

  .quote-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 28, 0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .quote-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow-y: auto;
    margin: auto;
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem);
    box-shadow: var(--shadow-lift);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .quote-modal.active .quote-modal-backdrop {
    opacity: 1;
  }

  .quote-modal.active .quote-modal-dialog {
    opacity: 1;
    transform: none;
  }

  .quote-modal-close {
    position: absolute;
    top: var(--space-2xs);
    right: var(--space-2xs);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--heron);
    color: var(--ink);
    cursor: pointer;
    z-index: 2;
  }

  .quote-modal-close:hover,
  .quote-modal-close:focus-visible {
    background: var(--teal);
  }

  .quote-modal-close .icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
  }

  @media (max-width: 600px) {
    .quote-modal {
      padding: 0;
    }

    .quote-modal-dialog {
      max-width: none;
      max-height: 100vh;
      border-radius: 0;
    }
  }

  /* ---------- Trust strip ---------- */
  .strip {
    background: var(--teal);
    padding-block: var(--space-md);
  }

  .strip ul {
    width: var(--container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }

  .strip li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
  }

  .strip .icon {
    color: var(--ink);
    width: 30px;
    height: 30px;
  }

  .strip strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
  }

  .strip span {
    font-size: var(--fs-small);
    color: var(--ink-soft);
  }

  @media (max-width: 720px) {
    .strip ul {
      grid-template-columns: 1fr;
      gap: var(--space-xs);
    }
  }

  /* ---------- Services ---------- */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
  }

  .service-card .icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
  }

  .service-card .icon-badge .icon {
    width: 30px;
    height: 30px;
  }

  .service-card p {
    color: var(--ink-soft);
    font-size: 0.96rem;
  }

  .service-card .card-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .service-card .card-link .icon {
    width: 15px;
    height: 15px;
    stroke-width: 3;
    transition: transform 0.25s ease;
  }

  .service-card .card-link:hover .icon {
    transform: translateX(4px);
  }

  .service-card .card-sublink {
    font-size: 0.85rem;
    color: var(--ink-soft);
    text-decoration: underline;
  }

  @media (max-width: 900px) {
    .card-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ---------- Process ---------- */
  .process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    counter-reset: step;
    position: relative;
  }

  .process-list::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12%;
    right: 12%;
    height: 1.5px;
    background: repeating-linear-gradient(
      90deg,
      rgba(33, 41, 48, 0.28) 0 10px,
      transparent 10px 20px
    );
  }

  .process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
  }

  .process-num {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--white);
    border: 2.5px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    position: relative;
    z-index: 1;
  }

  .process-step p {
    color: var(--ink-soft);
    font-size: 0.96rem;
  }

  @media (max-width: 900px) {
    .process-list {
      grid-template-columns: 1fr;
    }

    .process-list::before {
      display: none;
    }
  }

  /* ---------- About ---------- */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
  }

  .about-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lift);
  }

  .about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(33, 41, 48, 0.5), transparent 40%);
  }

  .about-copy h2 {
    margin-bottom: var(--space-sm);
  }

  .about-copy p {
    color: var(--ink-soft);
    margin-bottom: var(--space-sm);
  }

  .about-copy p:last-of-type {
    margin-bottom: var(--space-md);
  }

  @media (max-width: 900px) {
    .about-grid {
      grid-template-columns: 1fr;
    }

    .about-media {
      order: -1;
      aspect-ratio: 16/10;
    }
  }

  /* ---------- Service of the month ---------- */
  .service-month {
    background: var(--teal);
    padding-block: var(--space-xl);
  }

  .service-month-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--space-lg);
    align-items: center;
  }

  .service-month-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lift);
  }

  .service-month-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-month-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: var(--heron);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    box-shadow: 0 0.6rem 1.4rem -0.6rem rgba(33, 41, 48, 0.5);
  }

  .service-month-badge .icon {
    width: 16px;
    height: 16px;
    stroke: var(--ink);
    stroke-width: 3;
  }

  .service-month-copy .eyebrow {
    color: var(--ink);
  }

  .service-month-copy .eyebrow::before {
    background: var(--ink);
  }

  .service-month-copy h2 {
    margin-bottom: var(--space-sm);
  }

  .service-month-copy p {
    color: var(--ink-soft);
    margin-bottom: var(--space-sm);
    max-width: 42rem;
  }

  .service-month-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    margin-bottom: var(--space-md);
  }

  .service-month-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--ink);
  }

  .service-month-list .icon {
    width: 18px;
    height: 18px;
    stroke: var(--ink);
    stroke-width: 3;
  }

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

    .service-month-media {
      order: -1;
      aspect-ratio: 16/10;
    }
  }

  /* ---------- Form fields (shared) ---------- */
  .field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: var(--space-sm);
  }

  .field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
  }

  .field input,
  .field select,
  .field textarea {
    border: 1.5px solid rgba(33, 41, 48, 0.18);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    background: var(--cream);
    font-size: 0.96rem;
    transition:
      border-color 0.2s ease,
      background 0.2s ease;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-color: var(--ink);
    background: var(--white);
    outline: none;
  }

  /* Browser autofill (e.g. Name/Phone/Email) defaults to a light-blue
     highlight; override via the box-shadow trick since background
     can't be set directly on autofilled fields. */
  .field input:-webkit-autofill,
  .field input:-webkit-autofill:hover,
  .field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #b6f1f0 inset;
    box-shadow: 0 0 0 1000px #b6f1f0 inset;
    -webkit-text-fill-color: var(--ink);
    caret-color: var(--ink);
    transition: background-color 5000s ease-in-out 0s;
  }

  .field textarea {
    resize: vertical;
    min-height: 90px;
  }

  /* ---------- Tile replacement ---------- */
  .tile-service-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 21/9;
    box-shadow: var(--shadow-card);
    margin-bottom: var(--space-lg);
  }

  .tile-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .tile-service-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
  }

  .tile-service-col h3 {
    margin-bottom: var(--space-2xs);
  }

  .tile-service-col p {
    color: var(--ink-soft);
  }

  .tile-service-cta {
    text-align: center;
  }

  .tile-service-cta .btn-primary {
    min-width: 220px;
  }

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

  @media (max-width: 900px) {
    .tile-service-media {
      aspect-ratio: 16/10;
    }
  }
}
