/* ============================================
   ATX BACKFLOW
   OTM Background Build Standard
   Warm taupe frames over dark locked background
   Water blue accent (plumbing/utility brand color)
   ============================================ */

:root {
  /* ===== Dark element palette (used for hero, nav, marquee, footer, dark sub-cards) ===== */
  --color-ink: #1a1410;          /* deep espresso text on warm frames, never pure black */
  --color-espresso: #221b16;     /* deepest dark used for footer / marquee / nav */
  --color-charcoal: #2c241d;     /* secondary dark */

  /* ===== Warm taupe frame palette ===== */
  --color-taupe-primary: #3a3128;     /* base for emphasis (CTA strip, stats, footer) */
  --color-taupe-frame: #d8cdbf;       /* primary warm frame fill (taupe, grounded) */
  --color-taupe-frame-soft: #e2d8cb;  /* lighter frame variant */
  --color-taupe-deep: #2e2620;        /* deepest warm tone, marquee/CTA strip emphasis */
  --color-taupe-line: rgba(58, 49, 40, 0.18);
  --color-warm-text-muted: #5a4d40;   /* muted text on warm frames */

  /* Frame fills with alpha for floating over locked bg */
  --frame-fill: rgba(216, 205, 191, 0.93);       /* warm taupe primary at 93% alpha */
  --frame-fill-soft: rgba(226, 216, 203, 0.94);  /* lighter sub-card / inner */
  --frame-fill-deep: rgba(58, 49, 40, 0.92);     /* deep emphasis frame (stats, CTA, marquee) */
  --frame-fill-deepest: rgba(34, 27, 22, 0.95);  /* deepest, used for footer */

  /* ===== Accent: water blue (plumbing brand) ===== */
  --accent: #1d8acb;
  --accent-bright: #38a8e8;
  --accent-deep: #0d6ba3;
  --accent-soft: rgba(29, 138, 203, 0.16);

  /* ===== Surfaces ===== */
  --color-cream: #f4ece1;              /* lightest accent surface for hover states */
  --color-text-on-dark: #ece4d8;       /* warm-tinted light text on dark surfaces */
  --color-text-on-dark-muted: #b8aa97;

  /* Form input fields (sit inside warm frames, need a clean readable surface) */
  --form-surface: #f8f2e8;
  --form-border: #b8a890;

  /* ===== Shadows ===== */
  --shadow-soft: 0 6px 18px rgba(20, 12, 6, 0.22), 0 1px 2px rgba(0, 0, 0, 0.12);
  --shadow-lift: 0 18px 42px rgba(15, 9, 4, 0.35), 0 4px 10px rgba(0, 0, 0, 0.18);
  --shadow-deep: 0 28px 60px rgba(10, 6, 2, 0.5);

  /* ===== Layout ===== */
  --container-max: 1240px;
  --radius-card: 12px;
  --radius-sub: 10px;
  --radius-pill: 999px;

  /* ===== Transitions ===== */
  --t-fast: 150ms ease;
  --t-base: 220ms ease;
  --t-slow: 380ms cubic-bezier(0.5, 0, 0.2, 1);
}

/* ============================================
   RESET / BASE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-espresso);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

/* Locked body background. body::before ONLY. No body::after overlay (per spec). */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('assets/body-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6) saturate(0.95);
  will-change: transform;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Rajdhani', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  color: var(--color-ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); letter-spacing: 0.015em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); letter-spacing: 0.04em; }
h4 { font-size: 1.15rem; letter-spacing: 0.06em; }

p { margin: 0 0 1.1em; color: var(--color-ink); }
p:last-child { margin-bottom: 0; }

.lede, .hero__lede, .cta-strip p { text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 4px;
}

/* Symmetric eyebrow (used on CTA strip): line on both sides */
.eyebrow--centered {
  display: block;
  text-align: center;
  margin-bottom: 1.1rem;
}
.eyebrow--centered::before,
.eyebrow--centered::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 12px 4px;
}

/* Text on dark surfaces (hero, marquee, CTA strip, footer, deep frames) */
.on-dark { color: var(--color-text-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--color-text-on-dark); }
.on-dark p { color: var(--color-text-on-dark); }
.on-dark .muted { color: var(--color-text-on-dark-muted); }

.muted { color: var(--color-warm-text-muted); }

/* ============================================
   LAYOUT PRIMITIVES
   Warm frame floating over locked background
   ============================================ */

.section {
  padding: 90px 0;
  position: relative;
  background: transparent;
}

.section--tight { padding: 60px 0; }

.container {
  width: calc(100% - 48px);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* THE CORE PATTERN: warm floating frame.
   Applied to .section .container via the .section-card class on the section.
   Every content frame carries a 3px accent top border (frame top trim). */
.section-card .container {
  background: var(--frame-fill);
  color: var(--color-ink);
  padding: 70px 60px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  border-top: 3px solid var(--accent);
  position: relative;
}

/* Deeper warm frame for emphasis sections (stats, CTA strip) */
.section-card--deep .container {
  background: var(--frame-fill-deep);
  color: var(--color-text-on-dark);
  padding: 60px 50px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-deep);
  border-top: 3px solid var(--accent);
}

/* CTA strip with a background image. Image sits under a warm dark scrim
   so the headline, blue accents, and trust strip stay legible. */
.section-card--deep.has-bg .container {
  background:
    linear-gradient(rgba(34, 27, 22, 0.86), rgba(34, 27, 22, 0.9)),
    url('assets/cta-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  overflow: hidden;
}

.section-card--deep .container h1,
.section-card--deep .container h2,
.section-card--deep .container h3,
.section-card--deep .container h4 { color: var(--color-text-on-dark); }
.section-card--deep .container p { color: var(--color-text-on-dark); }
.section-card--deep .container .eyebrow { color: var(--accent-bright); }
.section-card--deep .container .muted { color: var(--color-text-on-dark-muted); }

/* ============================================
   HERO-TO-CONTENT TRANSITION (inner pages)
   Accent line flush on the hero bottom edge + a small
   center tab on the first content frame. No floating rail.
   Pages WITH a marquee skip this (marquee handles it).
   ============================================ */

/* Accent line sits flush along the bottom edge of inner-page heros */
.hero--page { border-bottom: 3px solid var(--accent); }

/* Center accent tab poking up from the first content frame's top edge */
.frame-tab > .container::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background: var(--accent-bright);
  box-shadow: 0 0 14px rgba(56, 168, 232, 0.5);
  border-radius: 0 0 3px 3px;
}

/* Tab variant for the booking form-shell (not a .container, has its own top border) */
.frame-tab .form-shell { position: relative; }
.frame-tab .form-shell::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background: var(--accent-bright);
  box-shadow: 0 0 14px rgba(56, 168, 232, 0.5);
  border-radius: 0 0 3px 3px;
  z-index: 2;
}

/* ============================================
   NAV
   Full-width bar, no backdrop-filter (panel positioning hazard).
   Solid-ish dark background gives the premium feel.
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 20, 16, 0.94);
  border-bottom: 1px solid rgba(216, 205, 191, 0.1);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--color-text-on-dark);
}

.nav__brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--color-espresso);
  border: 1px solid rgba(216, 205, 191, 0.12);
}

.nav__brand strong {
  font-weight: 400;
  color: var(--color-text-on-dark);
}

.nav__brand strong em {
  font-style: normal;
  color: var(--accent-bright);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav__link:hover { color: var(--color-text-on-dark); background: rgba(216, 205, 191, 0.06); }
.nav__link.is-active { color: var(--accent-bright); }

.nav__cta {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
  background: var(--accent-bright);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 4px 14px rgba(29, 138, 203, 0.4);
}

.nav__cta:hover { background: var(--color-cream); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(29, 138, 203, 0.55); }

/* ============================================
   PREMIUM HAMBURGER + SLIDE-IN MOBILE MENU
   ============================================ */

.nav__hamburger {
  display: none;
  width: 48px;
  height: 48px;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 8px;
  z-index: 220;
  cursor: pointer;
}

.nav__hamburger span {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2.5px;
  background: var(--accent-bright);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.5, 0, 0.2, 1),
              opacity 0.2s ease,
              top 0.3s cubic-bezier(0.5, 0, 0.2, 1);
}

.nav__hamburger span:nth-child(1) { top: 16px; }
.nav__hamburger span:nth-child(2) { top: 22.75px; }
.nav__hamburger span:nth-child(3) { top: 29.5px; }

body.nav-open .nav__hamburger span:nth-child(1) { top: 22.75px; transform: rotate(45deg); }
body.nav-open .nav__hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__hamburger span:nth-child(3) { top: 22.75px; transform: rotate(-45deg); }

/* Backdrop dimming overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 200;
}

body.nav-open .nav-backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Slide-in panel */
.nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(78vw, 360px);
  background: linear-gradient(165deg, var(--color-espresso) 0%, var(--color-charcoal) 60%, var(--color-taupe-primary) 100%);
  border-left: 3px solid var(--accent);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.45);
  padding: 96px 32px 50px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.2, 1);
  z-index: 210;
  flex-direction: column;
  gap: 0;
}

body.nav-open .nav-panel {
  display: flex;
  transform: translateX(0);
}

.nav-panel__link {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.1em;
  color: var(--color-text-on-dark);
  padding: 18px 0;
  border-bottom: 1px solid rgba(56, 168, 232, 0.18);
  transition: color 0.3s cubic-bezier(0.5, 0, 0.2, 1),
              padding-left 0.3s cubic-bezier(0.5, 0, 0.2, 1);
}

.nav-panel__link:hover,
.nav-panel__link.is-active {
  color: var(--accent-bright);
  padding-left: 10px;
}

.nav-panel__cta {
  margin-top: auto;
  display: block;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink);
  background: var(--accent-bright);
  padding: 16px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(29, 138, 203, 0.4);
}

/* ============================================
   HERO
   Full-bleed. Only element allowed to break gutters.
   ============================================ */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero--page { min-height: 52vh; padding: 90px 0 44px; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 20, 16, 0.15) 0%, rgba(26, 20, 16, 0.55) 60%, rgba(26, 20, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(26, 20, 16, 0.7) 0%, rgba(26, 20, 16, 0.15) 55%, transparent 100%);
}

.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  width: calc(100% - 48px);
  position: relative;
  z-index: 2;
}

.hero__content { max-width: 720px; }

.hero h1 {
  color: var(--color-text-on-dark);
  margin-bottom: 0.4em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
}

.hero__lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--color-text-on-dark);
  max-width: 580px;
  margin-bottom: 2rem;
  font-weight: 400;
  text-wrap: pretty;
}

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

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--t-base);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1;
}

.btn--primary {
  background: var(--accent-bright);
  color: var(--color-ink);
  box-shadow: 0 6px 18px rgba(29, 138, 203, 0.4);
}
.btn--primary:hover { background: var(--color-cream); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(29, 138, 203, 0.55); }

.btn--ghost {
  background: rgba(236, 228, 216, 0.06);
  color: var(--color-text-on-dark);
  border-color: rgba(236, 228, 216, 0.22);
}
.btn--ghost:hover { background: rgba(236, 228, 216, 0.12); border-color: var(--accent-bright); color: var(--accent-bright); }

.btn--dark {
  background: var(--color-ink);
  color: var(--color-text-on-dark);
  border-color: var(--color-ink);
}
.btn--dark:hover { background: var(--color-charcoal); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn--outline:hover { background: var(--color-ink); color: var(--color-text-on-dark); transform: translateY(-2px); }

.btn--block { display: flex; width: 100%; }

/* ============================================
   MARQUEE (full-bleed, deep warm tone, accent borders)
   ============================================ */

.marquee {
  background: var(--color-taupe-deep);
  border-top: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
  box-shadow:
    0 -8px 24px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  width: max-content;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--color-text-on-dark);
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.marquee__item::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  margin-left: 26px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================
   INTRO GRID
   ============================================ */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.intro-grid__media {
  position: relative;
  border-radius: var(--radius-sub);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-deep);
}

.intro-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-grid__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--accent-bright);
  color: var(--color-ink);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

/* ============================================
   SERVICES GRID (warm sub-cards inside warm frame)
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--frame-fill-soft);
  border: 1px solid var(--color-taupe-line);
  border-radius: var(--radius-sub);
  padding: 36px 32px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 14px rgba(29, 138, 203, 0.32);
}

.service-card h3 {
  color: var(--color-ink);
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.service-card p {
  color: var(--color-warm-text-muted);
  font-size: 1rem;
  margin: 0;
  line-height: 1.55;
}

.service-card__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card__list li {
  font-size: 0.95rem;
  color: var(--color-warm-text-muted);
  padding-left: 18px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Values card with permanent left-edge accent stripe (used on about page) */
.value-card {
  position: relative;
  border-left: 3px solid var(--accent);
}

/* Service area tile (used on services page) */
.service-area-tile {
  padding: 14px 18px;
  background: var(--frame-fill-soft);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-weight: 600;
  color: var(--color-ink);
}

/* ============================================
   PRICING (warm sub-cards inside warm frame)
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.price-card {
  background: var(--frame-fill-soft);
  color: var(--color-ink);
  border-radius: var(--radius-sub);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--color-taupe-line);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.price-card__label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.price-card__amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.6rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.price-card__divider {
  width: 56px;
  height: 2px;
  background: var(--accent);
  margin: 22px auto;
}

.price-card__desc {
  font-size: 0.98rem;
  color: var(--color-warm-text-muted);
  line-height: 1.55;
  margin: 0 0 8px;
}

.price-card__note {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-warm-text-muted);
  margin-top: auto;
  padding-top: 18px;
  opacity: 0.75;
}

/* ============================================
   STATS (contained, deep warm frame)
   ============================================ */

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(236, 228, 216, 0.12);
}

.stat__value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

.stat__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sub);
  overflow: hidden;
  position: relative;
  background: var(--color-espresso);
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-item:hover img { transform: scale(1.04); }

/* ============================================
   FEATURE GRID (image + content)
   ============================================ */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature--reverse .feature__media { order: 2; }

.feature__media {
  border-radius: var(--radius-sub);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-deep);
}

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

/* ============================================
   CTA STRIP (contained warm frame, dense layout)
   Eyebrow with symmetric line marks, headline, lede,
   dual CTAs, 3-item trust strip below
   ============================================ */

.cta-strip__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.cta-strip__lede {
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

.cta-strip__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(236, 228, 216, 0.15);
  margin-top: 8px;
}

.cta-trust__item { text-align: center; }

.cta-trust__value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.cta-trust__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

/* ============================================
   FORM
   Light side: warm frame fill. Dark side: deep warm.
   ============================================ */

.form-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border-top: 3px solid var(--accent);
}

.form-shell__form {
  background: var(--frame-fill);
  padding: 56px 48px;
}

.form-shell__form h2 { color: var(--color-ink); margin-bottom: 28px; }

.form-shell__sidebar {
  background: var(--frame-fill-deep);
  color: var(--color-text-on-dark);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-shell__sidebar h3 {
  color: var(--accent-bright);
  margin-bottom: 8px;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.form-shell__sidebar p,
.form-shell__sidebar a {
  color: var(--color-text-on-dark);
  font-size: 1rem;
  margin: 0;
}

.form-shell__sidebar a:hover { color: var(--accent-bright); }

.form-shell__contact-block { border-top: 1px solid rgba(236, 228, 216, 0.12); padding-top: 22px; }
.form-shell__contact-block:first-of-type { border-top: 0; padding-top: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row--single { grid-template-columns: 1fr; }

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-warm-text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--form-border);
  border-radius: 8px;
  background: var(--form-surface);
  color: var(--color-ink);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-submit { margin-top: 12px; }

/* ============================================
   FOOTER (full-bleed, deepest warm tone)
   3px accent top border to mirror frame trim and close the loop
   ============================================ */

.footer {
  background: var(--frame-fill-deepest);
  border-top: 3px solid var(--accent);
  padding: 70px 0 28px;
  color: var(--color-text-on-dark-muted);
  position: relative;
  z-index: 3;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__brand img {
  width: 44px; height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(236, 228, 216, 0.1);
}

.footer__brand-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--color-text-on-dark);
}

.footer__brand-text em { font-style: normal; color: var(--accent-bright); }

.footer__tagline { font-size: 0.95rem; max-width: 280px; line-height: 1.55; color: var(--color-text-on-dark-muted); }

.footer__col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  margin-bottom: 16px;
}

.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a, .footer__list span { font-size: 0.95rem; color: var(--color-text-on-dark-muted); transition: color var(--t-fast); }
.footer__list a:hover { color: var(--accent-bright); }

.footer__bottom {
  max-width: var(--container-max);
  margin: 50px auto 0;
  padding: 22px 24px 0;
  border-top: 1px solid rgba(236, 228, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.footer__credits { color: var(--color-text-on-dark-muted); }
.footer__credits a { color: var(--color-text-on-dark); border-bottom: 1px solid rgba(236, 228, 216, 0.15); }
.footer__credits a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

.footer__social { display: flex; gap: 10px; }

.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(236, 228, 216, 0.05);
  border: 1px solid rgba(236, 228, 216, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.footer__social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer__social svg { width: 16px; height: 16px; }

/* ============================================
   THANK-YOU
   ============================================ */

.thanks {
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.thanks__card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--frame-fill);
  color: var(--color-ink);
  border-radius: var(--radius-card);
  padding: 70px 56px;
  text-align: center;
  box-shadow: var(--shadow-deep);
  border-top: 3px solid var(--accent);
}

.thanks__check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-bright);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 22px rgba(29, 138, 203, 0.4);
}

.thanks__check svg { width: 32px; height: 32px; stroke-width: 3; }

.thanks h1 { color: var(--color-ink); margin-bottom: 14px; }
.thanks p { color: var(--color-warm-text-muted); font-size: 1.05rem; margin-bottom: 22px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1100px) {
  .form-shell { grid-template-columns: 1fr; }
  .feature, .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature--reverse .feature__media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .stat:nth-child(2)::after { display: none; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__hamburger { display: block; }

  .section { padding: 70px 0; }
  .section-card .container,
  .section-card--deep .container { padding: 50px 36px; }

  .hero { min-height: 70vh; padding: 90px 0 60px; }
  .hero--page { min-height: 44vh; padding: 70px 0 50px; }
  .hero__lede { font-size: 1.05rem; }

  .pricing-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .form-shell__form, .form-shell__sidebar { padding: 40px 28px; }
  .cta-trust { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-card .container,
  .section-card--deep .container { padding: 36px 22px; }
  .hero { min-height: 64vh; padding: 70px 0 50px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .services-grid, .pricing-grid, .gallery-grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat:not(:last-child)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .thanks__card { padding: 50px 28px; }
  .nav__brand { font-size: 1.3rem; }
  .nav__brand-mark { width: 34px; height: 34px; }
  .cta-strip__actions { flex-direction: column; align-items: stretch; }
}