/* ===================================================================
   Gabbro Studio — styles.css
   Brand system: "Warmth" — Outfit, cream/cocoa/sunset, pill UI.
   Mobile-first, CSS custom properties, no frameworks.
   =================================================================== */

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

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

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--cocoa);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES
   ------------------------------------------------------------------ */
:root {
  /* Colors — Warmth system */
  --sunset:     #F26B21;
  --cocoa:      #3A2E26;
  --cream:      #FBF4EA;
  --apricot:    #FB8C3C;
  --terracotta: #C2410C;
  --sand:       #EAD9C3;
  --paper:      #FFFBF5;
  --stone:      #7A6E60;
  --border:     #EFE3D2;

  /* Typography */
  --font:     'Outfit', system-ui, sans-serif;
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base:1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;
  --s4: 1rem;     --s5: 1.25rem;  --s6: 1.5rem;
  --s8: 2rem;     --s10: 2.5rem;  --s12: 3rem;
  --s16: 4rem;    --s20: 5rem;    --s24: 6rem;

  /* Radii */
  --r-sm:   8px;
  --r-md:   12px;
  --r-card: 18px;
  --r-tile: 26px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(58,46,38,.06), 0 1px 2px rgba(58,46,38,.04);
  --shadow-md: 0 4px 20px rgba(58,46,38,.09), 0 2px 6px rgba(58,46,38,.05);
  --shadow-lg: 0 16px 48px rgba(58,46,38,.13), 0 4px 14px rgba(58,46,38,.07);

  /* Ease */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:    200ms var(--ease);

  /* Layout */
  --container: 1160px;
  --nav-h: 72px;
}

/* ------------------------------------------------------------------
   3. UTILITIES
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s5);
}
@media (min-width: 640px)  { .container { padding-inline: var(--s8); } }
@media (min-width: 1024px) { .container { padding-inline: var(--s12); } }

.section { padding-block: var(--s16); }
@media (min-width: 768px) { .section { padding-block: var(--s24); } }

/* ------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.65rem var(--s6);
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color var(--t), color var(--t),
              border-color var(--t), box-shadow var(--t), transform var(--t);
}
.btn:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background-color: var(--sunset);
  color: #fff;
  border: 2px solid var(--sunset);
}
.btn--primary:hover  { background-color: var(--apricot); border-color: var(--apricot); }
.btn--primary:active { background-color: var(--terracotta); border-color: var(--terracotta); }

/* Light variant — used inside dark card */
.btn--light {
  background-color: var(--paper);
  color: var(--cocoa);
  border: 2px solid var(--paper);
}
.btn--light:hover { background-color: var(--sand); border-color: var(--sand); }

.btn--ghost {
  background-color: transparent;
  color: var(--cocoa);
  border: 2px solid var(--border);
}
.btn--ghost:hover { border-color: var(--sunset); color: var(--sunset); }

.btn--outline {
  background-color: transparent;
  color: var(--cocoa);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--sunset);
  color: var(--sunset);
  background-color: rgba(242,107,33,.04);
}

.btn--lg   { padding: 0.8rem var(--s8); font-size: var(--text-lg); }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------
   5. SECTION HEADER
   ------------------------------------------------------------------ */
.section-header {
  text-align: center;
  margin-bottom: var(--s12);
}
.section-header--light { color: var(--paper); }

.section-tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sunset);
  margin-bottom: var(--s3);
}
.section-tag--light { color: var(--apricot); }

.section-title {
  font-size: var(--text-3xl);
  color: var(--cocoa);
  margin-bottom: var(--s4);
}
.section-title--light { color: var(--paper); }
@media (min-width: 768px) { .section-title { font-size: var(--text-4xl); } }

.section-desc {
  font-size: var(--text-lg);
  color: var(--stone);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* ------------------------------------------------------------------
   6. NAV
   ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  height: var(--nav-h);
  background-color: rgba(251,244,234,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--s6);
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}
.logo-mark  { width: 36px; height: 36px; }
.logo-text  { font-size: var(--text-xl); font-weight: 600; color: var(--cocoa); }
.logo-dot   { color: var(--sunset); font-size: 1.5em; line-height: 0; vertical-align: -0.1em; }

/* Desktop links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s6);
  list-style: none;
}
.nav__link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--stone);
  transition: color var(--t);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background-color: var(--sunset);
  border-radius: var(--r-pill);
  transition: width var(--t);
}
.nav__link:hover          { color: var(--cocoa); }
.nav__link:hover::after   { width: 100%; }
.nav__link:focus-visible  { outline: 2px solid var(--sunset); outline-offset: 4px; border-radius: 3px; }

/* Hamburger — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  padding: 0;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 100%; height: 2px;
  background-color: var(--cocoa);
  border-radius: var(--r-pill);
  transform-origin: center;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background-color var(--t);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav__hamburger:focus-visible { outline: 2px solid var(--sunset); outline-offset: 4px; border-radius: 3px; }

/* Mobile nav */
@media (max-width: 767px) {
  .nav__hamburger { display: flex; }

  .nav__menu {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s4) var(--s5) var(--s6);
    background-color: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--s4);
    padding-bottom: var(--s4);
  }
  .nav__link {
    display: block;
    padding: var(--s3) 0;
    font-size: var(--text-lg);
    border-bottom: 1px solid var(--border);
  }
  .nav__links li:last-child .nav__link { border-bottom: none; }
  .nav__cta { width: 100%; text-align: center; }
}

/* ------------------------------------------------------------------
   7. HERO
   ------------------------------------------------------------------ */
.hero {
  padding-top: calc(var(--s16) + var(--s8));
  padding-bottom: var(--s16);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { padding-top: calc(var(--s20) + var(--s8)); padding-bottom: var(--s20); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s12);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
  }
}

/* Hero entry animation — triggered by JS adding .hero--loaded */
.hero__content > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.hero__badge   { transition-delay:   0ms; }
.hero__heading { transition-delay:  80ms; }
.hero__sub     { transition-delay: 160ms; }
.hero__ctas    { transition-delay: 240ms; }
.hero__perks   { transition-delay: 320ms; }

.hero--loaded .hero__content > * {
  opacity: 1;
  transform: translateY(0);
}

.hero__visual {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity .8s var(--ease) 380ms, transform .8s var(--ease) 380ms;
}
.hero--loaded .hero__visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--stone);
  margin-bottom: var(--s6);
  width: fit-content;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: #22C55E;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}

/* Heading */
.hero__heading {
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.13;
  color: var(--cocoa);
  margin-bottom: var(--s5);
}
@media (min-width: 640px)  { .hero__heading { font-size: var(--text-5xl); } }
@media (min-width: 1024px) { .hero__heading { font-size: var(--text-6xl); } }

/* Subheading */
.hero__sub {
  font-size: var(--text-lg);
  color: var(--stone);
  max-width: 48ch;
  margin-bottom: var(--s8);
  line-height: 1.7;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s8);
}

/* Perks */
.hero__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.hero__perks li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--stone);
}
.perk-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background-color: rgba(242,107,33,.1);
  color: var(--sunset);
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Browser mockup */
.hero__visual { position: relative; }

.browser-mockup {
  background-color: var(--paper);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  max-width: 520px;
  margin-inline: auto;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  background-color: var(--sand);
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dots span:nth-child(1) { background-color: #FF5F57; }
.browser-dots span:nth-child(2) { background-color: #FFBD2E; }
.browser-dots span:nth-child(3) { background-color: #28CA41; }

.browser-url {
  flex: 1;
  background-color: rgba(255,255,255,.7);
  border-radius: var(--r-pill);
  padding: 3px var(--s4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--stone);
  text-align: center;
}

.browser-body {
  padding: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.mock-nav-bar {
  height: 32px;
  background-color: var(--sand);
  border-radius: var(--r-md);
}
.mock-hero-block {
  background-color: rgba(242,107,33,.06);
  border-radius: var(--r-md);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.mock-line {
  height: 11px;
  background-color: var(--sand);
  border-radius: var(--r-pill);
}
.mock-line--xl { width: 85%; }
.mock-line--lg { width: 70%; }
.mock-line--md { width: 55%; }

.mock-btn-row {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s2);
}
.mock-btn {
  width: 90px; height: 26px;
  background-color: var(--sunset);
  border-radius: var(--r-pill);
  opacity: .85;
}
.mock-btn--ghost {
  background-color: transparent;
  border: 1.5px solid var(--border);
  opacity: 1;
}

.mock-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
}
.mock-card-block {
  height: 60px;
  background-color: var(--sand);
  border-radius: var(--r-md);
}

/* Speed badge */
.speed-badge {
  position: absolute;
  bottom: -14px; right: 18px;
  background-color: var(--cocoa);
  color: #fff;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--s2);
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   8. SERVICES
   ------------------------------------------------------------------ */
.services { background-color: var(--cream); }

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}
@media (min-width: 640px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: var(--s8) var(--s6);
  transition: box-shadow var(--t), transform var(--t);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 48px; height: 48px;
  color: var(--sunset);
  margin-bottom: var(--s5);
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--s3);
}
.service-card__desc {
  font-size: var(--text-base);
  color: var(--stone);
  line-height: 1.65;
}

/* ------------------------------------------------------------------
   9. PROCESS
   ------------------------------------------------------------------ */
.process { background-color: var(--cocoa); }

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s10);
}
@media (min-width: 640px)  { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s8); } }

.process-step {
  position: relative;
  padding-top: var(--s5);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background-color: var(--sunset);
  border-radius: var(--r-pill);
}

.process-step__num {
  display: block;
  font-size: var(--text-5xl);
  font-weight: 700;
  color: rgba(251,244,234,.1);
  line-height: 1;
  margin-bottom: var(--s3);
}
.process-step__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--paper);
  margin-bottom: var(--s3);
}
.process-step__desc {
  font-size: var(--text-base);
  color: rgba(255,251,245,.6);
  line-height: 1.7;
}

/* ------------------------------------------------------------------
   10. PRICING
   ------------------------------------------------------------------ */
.pricing { background-color: var(--cream); }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}
@media (min-width: 640px)   { .pricing__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px)  { .pricing__grid { grid-template-columns: repeat(4, 1fr); } }

/* Base card */
.price-card {
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-tile);
  padding: var(--s8) var(--s6);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  transition: box-shadow var(--t), transform var(--t);
}
.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Featured (dark) */
.price-card--featured {
  background-color: var(--cocoa);
  border-color: var(--cocoa);
  padding-top: calc(var(--s8) + var(--s8));
}
.price-card--featured .price-card__name  { color: var(--paper); }
.price-card--featured .price-amount      { color: var(--apricot); }
.price-card--featured .price-currency    { color: var(--apricot); }
.price-card--featured .price-card__sub   { color: rgba(255,251,245,.55); }
.price-card--featured .price-card__features li       { color: rgba(255,251,245,.8); }
.price-card--featured .price-card__features li span  { color: var(--apricot); }

.price-card__badge-top {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: var(--sunset);
  color: #fff;
  padding: var(--s1) var(--s4);
  border-radius: var(--r-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
}

/* Custom (dashed) */
.price-card--custom {
  border: 2px dashed var(--border);
  background-color: transparent;
}
.price-card--custom:hover { border-color: var(--sunset); }

.price-card__badge-custom {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--s3);
  background-color: rgba(242,107,33,.1);
  color: var(--sunset);
  border-radius: var(--r-sm);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  width: fit-content;
}

/* Card content */
.price-card__header { display: flex; flex-direction: column; gap: var(--s2); }
.price-card__name   { font-size: var(--text-xl); font-weight: 700; color: var(--cocoa); }

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.price-amount   { font-size: var(--text-3xl); font-weight: 700; color: var(--cocoa); line-height: 1; }
.price-currency { font-size: var(--text-lg); font-weight: 500; color: var(--stone); }
.price-currency small { font-size: .75em; }
.price-card__sub { font-size: var(--text-sm); color: var(--stone); }

.price-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}
.price-card__features li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-base);
  color: var(--stone);
}
.price-card__features li span {
  color: var(--sunset);
  font-weight: 700;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------
   11. FAQ
   ------------------------------------------------------------------ */
.faq { background-color: var(--paper); }

.faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.faq-item {
  background-color: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open  { border-color: var(--sand); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--cocoa);
  text-align: left;
  transition: color var(--t);
}
.faq-q:hover { color: var(--sunset); }
.faq-q:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: -3px;
  border-radius: var(--r-card);
}
@media (min-width: 768px) { .faq-q { font-size: var(--text-lg); } }

.faq-icon {
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--sunset);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .35s var(--ease);
  display: inline-block;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Accordion — grid-template-rows trick */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 var(--s6) var(--s5);
  font-size: var(--text-base);
  color: var(--stone);
  line-height: 1.75;
}
.faq-a p strong { color: var(--cocoa); font-weight: 600; }

/* ------------------------------------------------------------------
   12. CONTACT
   ------------------------------------------------------------------ */
.contact { background-color: var(--cream); }

.contact__block {
  background-color: var(--cocoa);
  border-radius: var(--r-tile);
  padding: var(--s12) var(--s8);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .contact__block { padding: var(--s16) var(--s12); } }

/* Semi-transparent signet watermark */
.contact__bg-signet {
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  opacity: .055;
  pointer-events: none;
  user-select: none;
}
.contact__bg-signet svg { width: 100%; height: 100%; }

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s12);
}
@media (min-width: 1024px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
    align-items: start;
  }
}

.contact__title {
  font-size: var(--text-3xl);
  color: var(--paper);
  margin-bottom: var(--s4);
  line-height: 1.22;
}
@media (min-width: 768px) { .contact__title { font-size: var(--text-4xl); } }

.contact__desc {
  font-size: var(--text-lg);
  color: rgba(255,251,245,.65);
  margin-bottom: var(--s8);
  line-height: 1.65;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.contact__email {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--apricot);
  transition: color var(--t);
  word-break: break-all;
}
.contact__email:hover { color: #fff; }

.contact__call {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,251,245,.5);
  letter-spacing: .04em;
}
.contact__call svg { flex-shrink: 0; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: var(--s4); }
.form-group    { display: flex; flex-direction: column; gap: var(--s2); }

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,251,245,.75);
}
.form-label span { color: rgba(255,251,245,.4); font-weight: 400; }

.form-input {
  font-family: var(--font);
  font-size: var(--text-base);
  background-color: rgba(255,255,255,.08);
  color: var(--paper);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 0.65rem var(--s4);
  width: 100%;
  transition: border-color var(--t), background-color var(--t);
}
.form-input::placeholder { color: rgba(255,251,245,.3); }
.form-input:focus {
  outline: none;
  border-color: var(--apricot);
  background-color: rgba(255,255,255,.12);
}
.form-input.invalid { border-color: #F87171; }

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

.form-error {
  font-size: var(--text-sm);
  color: #FCA5A5;
  min-height: 1.1em;
  display: block;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  background-color: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--r-md);
  padding: var(--s4);
  color: #86EFAC;
  font-weight: 600;
  font-size: var(--text-base);
  text-align: center;
}
.form-success[hidden] { display: none; }

.form-error-msg {
  background-color: rgba(248,113,113,.15);
  border: 1px solid rgba(248,113,113,.3);
  border-radius: var(--r-md);
  padding: var(--s4);
  color: #FCA5A5;
  font-size: var(--text-sm);
  text-align: center;
}
.form-error-msg a { color: var(--apricot); text-decoration: underline; }
.form-error-msg[hidden] { display: none; }

/* ------------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------------ */
.footer { background-color: #2B2018; }

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s10);
  padding-top: var(--s12);
  padding-bottom: var(--s12);
}
@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer__logo-text { color: var(--sand); }
.footer__logo .logo-dot { color: var(--apricot); }

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(234,217,195,.5);
  line-height: 1.7;
  margin-top: var(--s4);
  max-width: 30ch;
}

.footer__nav {
  display: flex;
  gap: var(--s12);
  flex-wrap: wrap;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sand);
  margin-bottom: var(--s4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--s3); }

.footer__link {
  font-size: var(--text-sm);
  color: rgba(234,217,195,.5);
  transition: color var(--t);
}
.footer__link:hover { color: var(--apricot); }
.footer__link:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
  border-radius: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(234,217,195,.08);
  padding-block: var(--s5);
}
.footer__bottom p {
  font-size: var(--text-sm);
  color: rgba(234,217,195,.3);
  text-align: center;
}

/* ------------------------------------------------------------------
   14. SCROLL REVEAL
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid groups */
.services__grid .service-card:nth-child(1),
.process__grid  .process-step:nth-child(1),
.pricing__grid  .price-card:nth-child(1),
.faq__list      .faq-item:nth-child(1) { transition-delay:   0ms; }

.services__grid .service-card:nth-child(2),
.process__grid  .process-step:nth-child(2),
.pricing__grid  .price-card:nth-child(2),
.faq__list      .faq-item:nth-child(2) { transition-delay:  90ms; }

.services__grid .service-card:nth-child(3),
.process__grid  .process-step:nth-child(3),
.pricing__grid  .price-card:nth-child(3),
.faq__list      .faq-item:nth-child(3) { transition-delay: 180ms; }

.services__grid .service-card:nth-child(4),
.process__grid  .process-step:nth-child(4),
.pricing__grid  .price-card:nth-child(4),
.faq__list      .faq-item:nth-child(4) { transition-delay: 270ms; }

.faq__list .faq-item:nth-child(5) { transition-delay: 360ms; }

/* ------------------------------------------------------------------
   15. REDUCED MOTION
   ------------------------------------------------------------------ */
@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;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero__content > *,
  .hero__visual {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------------
   16. PRIVACY NOTE & LINK BUTTONS
   ------------------------------------------------------------------ */
.form-privacy-note {
  font-size: var(--text-sm);
  color: rgba(255,251,245,.4);
  text-align: center;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: var(--apricot);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t);
}
.link-btn:hover { color: #fff; }
.link-btn:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 2px; }

/* Footer link-btn variant */
.footer__link.link-btn { color: rgba(234,217,195,.5); }
.footer__link.link-btn:hover { color: var(--apricot); }

/* ------------------------------------------------------------------
   17. MODAL
   ------------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(30,22,14,.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s5);
  animation: fadeIn .2s var(--ease);
}
.modal-overlay[hidden] { display: none; }

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

.modal-box {
  background-color: var(--paper);
  border-radius: var(--r-tile);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideUp .25s var(--ease);
}

@keyframes slideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s6) var(--s8);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--cocoa);
}

.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--stone);
  transition: background-color var(--t), color var(--t);
  flex-shrink: 0;
}
.modal-close:hover { background-color: var(--sand); color: var(--cocoa); }
.modal-close:focus-visible { outline: 2px solid var(--sunset); outline-offset: 2px; }

.modal-body {
  padding: var(--s8);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}
.modal-body p {
  font-size: var(--text-base);
  color: var(--stone);
  line-height: 1.7;
}
.modal-body p strong {
  display: block;
  color: var(--cocoa);
  font-weight: 600;
  margin-bottom: var(--s1);
}
.modal-body a { color: var(--sunset); text-decoration: underline; text-underline-offset: 2px; }
.modal-body a:hover { color: var(--terracotta); }

.modal-updated {
  font-size: var(--text-sm) !important;
  color: rgba(122,110,96,.6) !important;
  margin-top: var(--s3);
}

/* ------------------------------------------------------------------
   18. FOCUS STYLES (global fallback)
   ------------------------------------------------------------------ */
:focus-visible {
  outline: 3px solid var(--sunset);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
