/* ─────────────────────────────────────────────
   Nexo Aprende — Organic Warm Design System
   ───────────────────────────────────────────── */

:root {
  --bg:          #FAF3E7;
  --bg-alt:      #F2E6D0;
  --bg-deep:     #E8D7B8;
  --fg:          #2A1F17;
  --fg-soft:     #4A3A2E;
  --muted:       #8A7560;
  --accent:      #C8643E;
  --accent-deep: #9E4A2A;
  --sage:        #6B8E5A;
  --ochre:       #D9A441;
  --border:      rgba(42, 31, 23, 0.12);
  --border-soft: rgba(42, 31, 23, 0.06);

  --serif: 'Lora', ui-serif, Georgia, serif;
  --sans:  'Nunito', ui-sans-serif, system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 32px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: var(--bg); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}

h1 { font-size: clamp(3.5rem, 10vw, 9rem); letter-spacing: -0.03em; line-height: 0.98; font-weight: 400; }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.04; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0 0 1.2em; line-height: 1.78; }
em, .accent-word { font-style: italic; color: var(--accent); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-block;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* Sections */
section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--fg); color: var(--bg); }
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4 { color: var(--bg); }
.section-deep .eyebrow { color: var(--ochre); }

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 243, 231, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 4px 24px -12px rgba(42, 31, 23, 0.12);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ochre), var(--accent) 70%, var(--accent-deep));
  position: relative;
  flex-shrink: 0;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--bg);
  opacity: 0.18;
}
.nav { display: none; gap: 36px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
@media (min-width: 900px) { .nav { display: flex; } }

.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
}
.menu-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--fg);
  position: relative;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top:  6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 900px) { .menu-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 32px 24px;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease), opacity 0.3s;
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--fg);
}
.mobile-menu .btn { margin-top: 32px; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 4px 18px -6px rgba(42, 31, 23, 0.45);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(200, 100, 62, 0.55);
}
.btn--accent {
  background: var(--accent);
  color: var(--bg);
}
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--light {
  background: var(--bg);
  color: var(--fg);
}
.btn--light:hover { background: var(--accent); color: var(--bg); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.text-link:hover { gap: 14px; color: var(--accent); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 60px 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 80px; }
}
.hero__content { max-width: 640px; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .accent-word {
  display: inline-block;
  position: relative;
}
.hero h1 .accent-word::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 4%;
  height: 14%;
  background: rgba(217, 164, 65, 0.32);
  border-radius: 9999px;
  z-index: -1;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--fg-soft);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center;
}
.hero__meta {
  margin-top: 48px;
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero__meta-item .num {
  font-family: var(--serif);
  font-size: 2rem;
  display: block;
  color: var(--fg);
  line-height: 1;
}
.hero__meta-item .lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 80vh;
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(42, 31, 23, 0.32);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 8s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1);    }
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero__blob--1 { width: 320px; height: 320px; background: var(--ochre); top: -80px; right: -80px; }
.hero__blob--2 { width: 260px; height: 260px; background: var(--sage); bottom: -100px; left: -60px; opacity: 0.4; }

.hero__chip {
  position: absolute;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 36px -8px rgba(42, 31, 23, 0.18);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.hero__chip--1 { top: 8%; left: -6%; }
.hero__chip--2 { bottom: 12%; right: -8%; animation-delay: 1.2s; }
.hero__chip-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: grid; place-items: center;
  font-size: 18px;
}
.hero__chip-text { font-size: 13px; line-height: 1.3; }
.hero__chip-text strong { display: block; font-family: var(--serif); font-size: 15px; color: var(--fg); }
.hero__chip-text span { color: var(--muted); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__photo img { animation: none; }
  .hero__chip { animation: none; }
}

/* ─── Section heading ─── */
.section-head {
  max-width: 780px;
  margin-bottom: 72px;
}
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { color: var(--fg-soft); font-size: 1.1rem; max-width: 620px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }

/* ─── Features Grid ─── */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px)  { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px -4px rgba(42, 31, 23, 0.06);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -10px rgba(42, 31, 23, 0.18);
  border-color: var(--border);
}
.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--bg-alt);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--accent-deep);
  font-size: 24px;
  position: relative;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }
.feature-card .badge {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
}

/* ─── How it works ─── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  position: relative;
  border: 1px solid var(--border-soft);
}
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 3.2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step__line {
  display: none;
}
@media (min-width: 900px) {
  .step__line {
    display: block;
    position: absolute;
    top: 64px; right: -16px;
    width: 32px; height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
  }
  .steps .step:last-child .step__line { display: none; }
}

/* ─── Manifesto ─── */
.manifesto {
  text-align: center;
  padding: clamp(120px, 16vw, 200px) 0;
}
.manifesto__quote-mark {
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 12px;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin: 0 auto;
  color: var(--bg);
  font-weight: 400;
}
.manifesto p em { color: var(--ochre); }
.manifesto__attr {
  margin-top: 56px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
}

/* ─── Pricing ─── */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -12px rgba(42, 31, 23, 0.18);
}
.plan--featured {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: scale(1.02);
  box-shadow: 0 24px 60px -16px rgba(42, 31, 23, 0.32);
}
.plan--featured h3, .plan--featured .plan__price { color: var(--bg); }
.plan--featured .plan__features li { color: rgba(250, 243, 231, 0.84); }
.plan--featured .plan__features li::before { background: var(--ochre); }
.plan__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.plan--featured .plan__tag { color: var(--ochre); }
.plan h3 { font-size: 1.6rem; margin-bottom: 8px; }
.plan__sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.plan--featured .plan__sub { color: rgba(250, 243, 231, 0.72); }
.plan__price {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 4px;
}
.plan__price span {
  font-size: 0.95rem;
  font-family: var(--sans);
  color: var(--muted);
  font-weight: 400;
}
.plan--featured .plan__price span { color: rgba(250, 243, 231, 0.6); }
.plan__price-note {
  font-size: 13px; color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}
.plan--featured .plan__price-note { color: rgba(250, 243, 231, 0.6); border-color: rgba(250, 243, 231, 0.14); }
.plan__features {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
  flex-grow: 1;
}
.plan__features li {
  font-size: 15px;
  color: var(--fg-soft);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ─── Stack / Logos ─── */
.stack {
  text-align: center;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
@media (min-width: 700px)  { .stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stack-grid { grid-template-columns: repeat(6, 1fr); } }

.stack-item {
  background: var(--bg);
  padding: 36px 16px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--fg-soft);
  transition: background 0.3s, color 0.3s;
}
.stack-item:hover { background: var(--bg-alt); color: var(--accent-deep); }

/* ─── Testimonials ─── */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px)  { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -8px rgba(42, 31, 23, 0.16);
}
.testimonial__rating { color: var(--ochre); margin-bottom: 18px; letter-spacing: 0.12em; }
.testimonial__quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 28px;
  flex-grow: 1;
}
.testimonial__author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__info strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--fg);
  font-weight: 500;
}
.testimonial__info span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

/* ─── CTA ─── */
.cta {
  position: relative;
  text-align: center;
  padding: clamp(120px, 14vw, 180px) 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.cta__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}
.cta__blob--1 { width: 380px; height: 380px; background: var(--ochre); top: -120px; left: 10%; }
.cta__blob--2 { width: 320px; height: 320px; background: var(--accent); bottom: -100px; right: 8%; }
.cta__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta h2 { margin-bottom: 24px; }
.cta p {
  font-size: 1.15rem;
  color: var(--fg-soft);
  max-width: 540px;
  margin: 0 auto 40px;
}
.cta__form {
  display: flex; gap: 12px; flex-wrap: wrap;
  max-width: 480px;
  margin: 0 auto;
  justify-content: center;
}
.cta__form input {
  flex: 1; min-width: 220px;
  padding: 14px 20px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.3s;
}
.cta__form input:focus { border-color: var(--accent); }
.cta__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

/* ─── Footer ─── */
.footer {
  background: var(--fg);
  color: rgba(250, 243, 231, 0.75);
  padding: 80px 0 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 243, 231, 0.12);
}
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer__brand .brand { color: var(--bg); margin-bottom: 18px; }
.footer__about {
  font-size: 14px; line-height: 1.7;
  max-width: 320px;
  color: rgba(250, 243, 231, 0.6);
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  color: rgba(250, 243, 231, 0.7);
  font-size: 14.5px;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--ochre); }
.footer__col p { font-size: 14px; color: rgba(250, 243, 231, 0.6); margin: 0 0 8px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(250, 243, 231, 0.5);
}
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ochre); }

/* ─── Cookie Popup ─── */
.cookie-popup {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  background: rgba(42, 31, 23, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 36px 36px 32px;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  transition: transform 0.4s var(--ease);
}
.cookie-popup[data-open="true"] .cookie-popup__card { transform: translateY(0); }
.cookie-popup__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-popup__card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.cookie-popup__card p {
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.6;
  margin-bottom: 0;
}
.cookie-popup__actions {
  display: flex; gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cookie-popup__actions button {
  flex: 1; min-width: 140px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cookie-popup__actions button[data-cookie="decline"] {
  background: transparent;
  color: var(--fg);
}
.cookie-popup__actions button[data-cookie="decline"]:hover {
  background: var(--bg-alt);
}
.cookie-popup__actions button[data-cookie="accept"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-popup__actions button[data-cookie="accept"]:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── Page Hero (interior pages) ─── */
.page-hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero__inner { max-width: 880px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 24px;
}
.page-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--fg-soft);
  max-width: 640px;
}
.page-hero__blob {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--ochre);
  filter: blur(80px);
  opacity: 0.32;
  top: 20%; right: -120px;
  z-index: 0;
}

/* ─── Service list ─── */
.service-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border-soft);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}
@media (min-width: 800px) {
  .service-row { grid-template-columns: 80px 1.2fr 1.6fr 180px; gap: 40px; align-items: center; padding: 56px 0; }
}
.service-row__num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  font-style: italic;
}
.service-row h3 { font-size: 1.6rem; }
.service-row p { color: var(--fg-soft); margin: 0; font-size: 15.5px; }
.service-row__cta { display: flex; justify-content: flex-start; }
@media (min-width: 800px) { .service-row__cta { justify-content: flex-end; } }

/* ─── Reviews page extras ─── */
.review-stat-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0 56px;
}
@media (min-width: 800px) { .review-stat-bar { grid-template-columns: repeat(4, 1fr); padding: 44px 48px; } }
.review-stat .num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--accent-deep);
  display: block; line-height: 1;
}
.review-stat .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) { .review-card { grid-template-columns: 220px 1fr; gap: 40px; } }
.review-card__person { display: flex; gap: 16px; align-items: center; }
.review-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__person strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.review-card__person span { font-size: 13px; color: var(--muted); }
.review-card__rating { color: var(--ochre); letter-spacing: 0.12em; margin-top: 4px; }
.review-card__body p { color: var(--fg-soft); font-size: 16px; line-height: 1.7; margin: 0; }
.review-card__body p:first-child { font-family: var(--serif); font-size: 1.2rem; color: var(--fg); margin-bottom: 14px; line-height: 1.5; }

/* ─── About page ─── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (min-width: 800px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value {
  padding: 32px 24px;
  border-left: 2px solid var(--accent);
  background: var(--bg);
}
.value__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
}
.value h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 14.5px; margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-alt);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.team-card__role { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.team-card p { font-size: 15px; color: var(--muted); margin-top: 14px; line-height: 1.65; }

.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) { .about-split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-split__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(42, 31, 23, 0.24);
}
.about-split__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-split h2 { margin-bottom: 24px; }
.about-split p { color: var(--fg-soft); font-size: 1.05rem; }

/* ─── Legal page styles ─── */
.legal {
  padding: clamp(80px, 12vw, 140px) 0;
}
.legal__inner {
  max-width: 760px;
}
.legal h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.legal__date { font-size: 13px; color: var(--muted); margin-bottom: 56px; letter-spacing: 0.08em; text-transform: uppercase; }
.legal h2 { font-size: 1.6rem; margin: 48px 0 16px; }
.legal h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--fg-soft); font-size: 16px; line-height: 1.78; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-deep); border-bottom: 1px solid currentColor; }
.legal a:hover { color: var(--accent); }

/* ─── Thank you ─── */
.thanks {
  min-height: 80vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 100px 0;
}
.thanks__inner { max-width: 620px; }
.thanks h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 24px; }
.thanks p { font-size: 1.15rem; color: var(--fg-soft); margin-bottom: 36px; }
.thanks__icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid; place-items: center;
  margin: 0 auto 32px;
  color: var(--accent);
  font-size: 36px;
}

/* ─── Decorative SVG blob ─── */
.blob-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
