/* ============================================================
   OAK & ACORNS — styles.css
   Stack: HTML / CSS / Vanilla JS — Netlify hosting
   ============================================================ */

/* === DESIGN TOKENS ======================================== */
:root {
  /* Brand palette */
  --c-teal:       #32788B;
  --c-teal-mid:   #6CA7B2;
  --c-teal-light: #BDD4D3;
  --c-teal-faint: #E8F2F2;
  --c-berry:      #5A3448;
  --c-cream:      #FDF9F2;

  /* Semantic */
  --c-bg:           var(--c-cream);
  --c-bg-alt:       #F6F1E9;
  --c-surface:      #FFFFFF;
  --c-text:         #252A2D;
  --c-text-muted:   #5C6B70;
  --c-text-light:   #8A9BA0;
  --c-accent:       var(--c-teal);
  --c-accent-dark:  #286678;
  --c-border:       var(--c-teal-light);
  --c-border-faint: rgba(189, 212, 211, 0.45);

  /* Typography */
  --ff-display: 'Gilda Display', Georgia, 'Times New Roman', serif;
  --ff-body:    'Jost', 'Futura', 'Century Gothic', Arial, sans-serif;

  /* Type scale — fluid headings, fixed body */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  clamp(1.375rem, 2.5vw, 1.75rem);
  --fs-3xl:  clamp(1.75rem, 3.5vw, 2.375rem);
  --fs-4xl:  clamp(2.25rem, 5vw, 3.25rem);
  --fs-5xl:  clamp(3rem, 7vw, 4.75rem);

  /* Spacing — 4pt scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Border radius */
  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   24px;
  --r-xl:   40px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(37, 42, 45, 0.07);
  --shadow-md: 0 4px 20px rgba(37, 42, 45, 0.09);
  --shadow-lg: 0 8px 40px rgba(37, 42, 45, 0.11);

  /* Transitions — exponential easing for natural deceleration */
  --t-fast:   160ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-base:   280ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow:   520ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max:    1160px;
  --container-narrow: 740px;
  --container-px:     clamp(var(--sp-6), 6vw, var(--sp-16));
  --nav-height:       74px;
}

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

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

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-text);
}

/* === VISUALLY HIDDEN (screen reader only) ================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === SKIP LINK =========================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-teal);
  color: var(--c-cream);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: var(--sp-4);
}

/* === LAYOUT UTILITIES ==================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section-pad {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}

/* === TYPOGRAPHY ========================================== */
.label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal);
}

/* === BUTTONS ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--r-full);
  transition: background-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--c-teal);
  color: var(--c-cream);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background-color: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background-color: transparent;
  color: var(--c-teal);
  border: 1.5px solid var(--c-teal);
}

.btn--ghost:hover {
  background-color: var(--c-teal-faint);
  transform: translateY(-2px);
}

.btn--cream {
  background-color: var(--c-cream);
  color: var(--c-teal);
}

.btn--cream:hover {
  background-color: var(--c-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* === NAVIGATION ========================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: rgba(253, 249, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border-faint);
  transition: box-shadow var(--t-base), background-color var(--t-base);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(253, 249, 242, 0.97);
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.nav-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  flex-shrink: 0;
  transition: opacity var(--t-fast);
}

.nav-logo:hover {
  opacity: 0.82;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-teal);
  transition: width var(--t-base);
}

.nav-links a:hover {
  color: var(--c-teal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.nav-cta {
  padding: var(--sp-2) var(--sp-5);
  background-color: var(--c-teal);
  color: var(--c-cream);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-links a.nav-cta:hover {
  background-color: var(--c-accent-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast);
}

.nav-toggle:hover {
  background-color: var(--c-teal-faint);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--c-teal);
  border-radius: 1px;
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* === HERO ================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
  overflow: hidden; /* contains the scale(1.04) on hero-bg */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      to bottom,
      rgba(253, 249, 242, 0.08) 0%,
      rgba(253, 249, 242, 0.45) 45%,
      rgba(253, 249, 242, 0.88) 72%,
      rgba(253, 249, 242, 0.98) 100%
    ),
    url('../assets/hero-two.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--sp-24) var(--sp-20);
  text-align: center;
}

.hero-eyebrow {
  display: block;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-teal);
}

.hero h1 {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  font-size: var(--fs-5xl);
  line-height: 1.12;
  color: var(--c-text);
}

.hero-sub {
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  font-size: var(--fs-lg);
  color: var(--c-text-muted);
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-text-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-teal-mid);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* === ABOUT ================================================ */
.about {
  background-color: var(--c-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: center;
}

.about-image-wrap {
  position: relative;
  isolation: isolate;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: calc(-1 * var(--sp-6));
  right: calc(-1 * var(--sp-6));
  width: 48%;
  aspect-ratio: 1;
  background-color: var(--c-teal-faint);
  border-radius: var(--r-lg);
  z-index: -1;
}

.about-text .label {
  margin-bottom: var(--sp-5);
}

.about-text h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-6);
  color: var(--c-text);
}

.about-text p {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-5);
  max-width: 54ch;
  font-weight: 300;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

/* === QUOTE ================================================ */
.quote-section {
  background-color: var(--c-teal);
  padding-block: clamp(var(--sp-20), 10vw, var(--sp-32));
}

.quote-inner {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.quote-text {
  font-family: var(--ff-display);
  font-size: clamp(1.625rem, 3.5vw, 2.75rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-cream);
  margin-bottom: var(--sp-6);
}

.quote-attribution {
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cream);
}

/* === SOLUTIONS ============================================ */
.solutions {
  background-color: var(--c-bg-alt);
}

.solutions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 6vw, var(--sp-24));
  align-items: start;
}

.solutions-text .label {
  margin-bottom: var(--sp-5);
}

.solutions-text h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
  color: var(--c-text);
}

.solutions-text .solutions-intro {
  font-size: var(--fs-xl);
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--c-teal);
  margin-bottom: var(--sp-6);
  line-height: 1.4;
}

.solutions-text p {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-8);
  max-width: 52ch;
  font-weight: 300;
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.solutions-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  color: var(--c-text);
  font-weight: 300;
  line-height: 1.55;
}

.solutions-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.48em;
  background-color: var(--c-teal);
  border-radius: 50%;
}

.solutions-image-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.solutions-image-stack img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.solutions-image-stack img:first-child {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solutions-image-stack img:last-child {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* === PRICING ============================================= */
.pricing {
  background-color: var(--c-bg-alt);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.pricing-header .label {
  margin-bottom: var(--sp-5);
}

.pricing-header h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
  color: var(--c-text);
}

.pricing-header .pricing-subtitle {
  font-size: var(--fs-xl);
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--c-teal-mid);
  margin-bottom: var(--sp-5);
}

.pricing-header .pricing-intro {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--c-text-muted);
  font-weight: 300;
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  padding: var(--sp-10) var(--sp-8);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

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

.pricing-card--basic {
  background-color: var(--c-surface);
}

.pricing-card--featured {
  background-color: var(--c-teal);
  color: var(--c-cream);
}

.pricing-card--plan {
  background-color: var(--c-surface);
}

.card-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.pricing-card--basic .card-label { color: var(--c-teal); }
.pricing-card--featured .card-label { color: rgba(253, 249, 242, 0.75); }
.pricing-card--plan .card-label { color: var(--c-berry); }

.card-price {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.pricing-card--basic .card-price { color: var(--c-berry); }
.pricing-card--featured .card-price { color: var(--c-cream); }
.pricing-card--plan .card-price { color: var(--c-berry); }

.card-tagline {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-8);
  line-height: 1.35;
}

.pricing-card--basic .card-tagline { color: var(--c-text-muted); }
.pricing-card--featured .card-tagline { color: rgba(253, 249, 242, 0.85); }
.pricing-card--plan .card-tagline { color: var(--c-text-muted); }

.card-divider {
  width: 40px;
  height: 1px;
  margin-bottom: var(--sp-6);
}

.pricing-card--basic .card-divider { background-color: var(--c-teal-light); }
.pricing-card--featured .card-divider { background-color: rgba(253, 249, 242, 0.35); }
.pricing-card--plan .card-divider { background-color: var(--c-teal-light); }

.card-features {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: 1.55;
}

.card-features li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.5em;
  border-radius: 50%;
}

.pricing-card--basic .card-features li { color: var(--c-text); }
.pricing-card--basic .card-features li::before { background-color: var(--c-teal); }

.pricing-card--featured .card-features li { color: rgba(253, 249, 242, 0.9); }
.pricing-card--featured .card-features li::before { background-color: rgba(253, 249, 242, 0.6); }

.pricing-card--plan .card-features li { color: var(--c-text); }
.pricing-card--plan .card-features li::before { background-color: var(--c-berry); }

/* Numbered list variant — hide bullet pseudo-element, show counter */
ol.card-features {
  list-style: none;
  counter-reset: card-counter;
}

ol.card-features li {
  counter-increment: card-counter;
}

ol.card-features li::before {
  content: counter(card-counter) '.';
  display: inline;
  position: static;
  background-color: transparent;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-top: 0;
  line-height: 1.55;
  flex-shrink: 0;
}

.pricing-card--featured ol.card-features li::before,
.pricing-card--basic ol.card-features li::before,
.pricing-card--plan ol.card-features li::before {
  background-color: transparent;
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
  margin-top: 0;
}
.pricing-card--featured ol.card-features li::before { color: rgba(253, 249, 242, 0.75); }
.pricing-card--basic ol.card-features li::before    { color: var(--c-teal); }
.pricing-card--plan ol.card-features li::before     { color: var(--c-berry); }

.card-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-8);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--r-full);
  transition: background-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.pricing-card--basic .card-cta {
  background-color: var(--c-teal);
  color: var(--c-cream);
}

.pricing-card--basic .card-cta:hover {
  background-color: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pricing-card--featured .card-cta {
  background-color: var(--c-cream);
  color: var(--c-teal);
}

.pricing-card--featured .card-cta:hover {
  background-color: var(--c-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pricing-card--plan .card-cta {
  background-color: var(--c-teal);
  color: var(--c-cream);
}

.pricing-card--plan .card-cta:hover {
  background-color: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* === TESTIMONIALS ========================================= */
.testimonials {
  background-color: var(--c-bg);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.testimonials-header h2 {
  font-size: var(--fs-3xl);
  color: var(--c-text);
}

.testimonials-header .label {
  margin-bottom: var(--sp-4);
}

.testimonial-card {
  max-width: 760px;
  margin-inline: auto;
  background-color: var(--c-surface);
  border: 1px solid var(--c-border-faint);
  border-radius: var(--r-md);
  padding: clamp(var(--sp-8), 5vw, var(--sp-16));
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}

.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-attribution {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* === PRICING EXTRAS ====================================== */
.card-perfect-for {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.5;
}

.pricing-travel-note {
  text-align: center;
  margin-top: var(--sp-8);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

/* === CONTACT / FORM ====================================== */
.contact-section {
  background-color: var(--c-bg-alt);
}

.contact-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.contact-header .label {
  margin-bottom: var(--sp-5);
}

.contact-header h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-4);
  color: var(--c-berry);
}

.contact-header p {
  color: var(--c-text-muted);
  font-weight: 300;
  max-width: 46ch;
  margin-inline: auto;
}

.contact-form-wrap {
  max-width: 640px;
  margin-inline: auto;
  background-color: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-12) var(--sp-12);
  box-shadow: var(--shadow-md);
}

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

.form-row .form-group {
  margin-bottom: 0;
}

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

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.02em;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  background-color: var(--c-cream);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-size: var(--fs-base);
  font-weight: 300;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-teal);
  background-color: var(--c-surface);
  box-shadow: 0 0 0 3px rgba(50, 120, 139, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-text-light);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Phone field with dial code */
.phone-field {
  display: flex;
  gap: var(--sp-3);
}

.dial-select {
  flex: 0 0 110px;
  display: flex;
}

.dial-select select {
  flex: 1;
  width: 100%;
  padding: var(--sp-4) var(--sp-3);
  padding-right: var(--sp-8);
  background-color: var(--c-cream);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-size: var(--fs-sm);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C6B70' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.dial-select select:focus {
  outline: none;
  border-color: var(--c-teal);
  box-shadow: 0 0 0 3px rgba(50, 120, 139, 0.12);
}

.phone-number-input {
  flex: 1;
}

/* Fieldset reset */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-1);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  user-select: none;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid var(--c-border);
  background-color: var(--c-cream);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
  position: relative;
}

.checkbox-item input[type="checkbox"]:checked {
  background-color: var(--c-teal);
  border-color: var(--c-teal);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px 3px 3px 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.checkbox-item input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(50, 120, 139, 0.2);
}

.checkbox-label {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: var(--c-text);
  line-height: 1.4;
}

/* Honeypot */
.form-honeypot {
  display: none;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* Form actions */
.form-actions {
  margin-top: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.form-actions .btn {
  padding: var(--sp-4) var(--sp-10);
  font-size: var(--fs-base);
}

.form-note {
  font-size: var(--fs-xs);
  color: var(--c-text-light);
  font-weight: 300;
}

/* Form error states */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #C0392B;
  background-color: #FFF8F7;
}

.form-error-msg {
  font-size: var(--fs-xs);
  color: #C0392B;
  margin-top: var(--sp-1);
  display: none;
}

.form-error-msg.visible {
  display: block;
}

/* === FOOTER ============================================== */
.site-footer {
  background-color: var(--c-teal);
  padding-block: var(--sp-16) var(--sp-12);
  color: rgba(253, 249, 242, 0.75);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand .footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--sp-5);
  opacity: 0.9;
}

.footer-brand p {
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: 1.65;
  max-width: 32ch;
  color: rgba(253, 249, 242, 0.65);
}

.footer-col-title {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal-light);
  margin-bottom: var(--sp-5);
}

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

.footer-links a {
  font-size: var(--fs-sm);
  font-weight: 300;
  color: rgba(253, 249, 242, 0.7);
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--c-cream);
}

.footer-location {
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(253, 249, 242, 0.65);
}

.footer-bottom {
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(253, 249, 242, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: rgba(253, 249, 242, 0.45);
  font-weight: 300;
}

/* === PAGE HERO (contact / thank-you pages) =============== */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-12);
  text-align: center;
  background-color: var(--c-bg);
}

.page-hero .label {
  margin-bottom: var(--sp-5);
}

.page-hero h1 {
  font-size: var(--fs-4xl);
  color: var(--c-berry);
  margin-bottom: var(--sp-4);
}

.page-hero p {
  color: var(--c-text-muted);
  font-weight: 300;
  max-width: 48ch;
  margin-inline: auto;
}

/* === THANK YOU PAGE ====================================== */
.thank-you-section {
  min-height: calc(100svh - var(--nav-height));
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background-color: var(--c-bg);
}

.thank-you-inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  background-color: var(--c-teal-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.thank-you-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--c-teal);
}

.thank-you-inner h1 {
  font-size: var(--fs-4xl);
  color: var(--c-berry);
  margin-bottom: var(--sp-5);
}

.thank-you-inner p {
  color: var(--c-text-muted);
  font-weight: 300;
  margin-bottom: var(--sp-4);
  max-width: 44ch;
  margin-inline: auto;
}

.thank-you-inner p:last-of-type {
  margin-bottom: var(--sp-10);
}

/* === SCROLL REVEAL ======================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

  html {
    scroll-behavior: auto;
  }

  .hero-scroll {
    animation: none;
  }

  .hero-bg {
    transform: none;
    transition: none;
  }
}

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

/* Tablet — 900px */
@media (max-width: 900px) {
  :root {
    --nav-height: 68px;
  }

  /* Remove backdrop-filter on mobile — it creates a stacking context that
     traps position:fixed children inside the nav bar bounds */
  .site-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: var(--c-cream);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--sp-8);
    padding-top: var(--sp-12);
    background-color: #FDF9F2;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: var(--fs-xl);
    letter-spacing: 0.04em;
    color: var(--c-text);
  }

  .nav-links a.nav-cta {
    font-size: var(--fs-lg);
    padding: var(--sp-4) var(--sp-10);
    margin-top: var(--sp-8);
  }

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

  .about-image-wrap {
    max-width: 420px;
    margin-inline: auto;
  }

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

  .solutions-image-stack {
    flex-direction: row;
    gap: var(--sp-4);
    max-width: min(600px, 100%);
    margin-inline: auto;
  }

  .solutions-image-stack img:first-child,
  .solutions-image-stack img:last-child {
    flex: 1;
    min-width: 0;
    aspect-ratio: 3 / 4;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile — 600px */
@media (max-width: 600px) {
  :root {
    --nav-height: 62px;
  }

  /* Hero */
  .hero h1 {
    font-size: clamp(1.875rem, 7.5vw, 2.75rem);
  }

  .hero-sub {
    font-size: var(--fs-base);
    max-width: 34ch;
  }

  .hero-content {
    padding-block: var(--sp-16) var(--sp-16);
    text-align: left;
  }

  .hero-eyebrow,
  .hero h1,
  .hero-sub {
    text-align: left;
    margin-inline: 0;
  }

  /* About — hide decorative accent that causes overflow */
  .about-image-accent {
    display: none;
  }

  .about-image-wrap {
    max-width: 100%;
  }

  .about-text h2 {
    font-size: var(--fs-3xl);
  }

  /* Solutions — stack images vertically on mobile */
  .solutions-image-stack {
    flex-direction: column;
    max-width: 100%;
  }

  .solutions-image-stack img:first-child,
  .solutions-image-stack img:last-child {
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  /* Pricing */
  .pricing-grid {
    max-width: 100%;
  }

  .pricing-header h2 {
    font-size: var(--fs-3xl);
  }

  /* Contact */
  .contact-form-wrap {
    padding: var(--sp-8) var(--sp-6);
    border-radius: var(--r-md);
  }

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

  .phone-field {
    flex-direction: column;
    gap: var(--sp-3);
  }

  .dial-select {
    flex: none;
    width: 100%;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

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

  /* Form actions */
  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Quote section — reduce padding on mobile */
  .quote-section {
    padding-block: var(--sp-16);
  }

  /* Section spacing tighter on mobile */
  .section-pad {
    padding-block: var(--sp-16);
  }
}
