/* ── Grain texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9998;
}

/* ── Scroll fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245,239,230,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  height: 68px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(11,31,58,0.07); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.nav-wordmark { display: flex; flex-direction: column; gap: 2px; width: 330px; }
.nav-name {
  font-family: var(--font-d);
  font-size: 13.5px;
  color: var(--azul);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}
.nav-tagline {
  font-family: var(--font-m);
  font-size: 8.2px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--terracota);
  text-align: left;
  width: 100%;
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--grafite);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--terracota);
  transition: right var(--transition);
}
.nav-link:hover { color: var(--azul); }
.nav-link:hover::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--azul); font-weight: 600; }
.nav-link[aria-current="page"]::after { right: 0; background: var(--terracota); }
.nav-cta { font-size: 13px; padding: .55rem 1.2rem; }
@media (max-width: 980px) {
  .nav-links .nav-link { display: none; }
  .nav-tagline { display: none; }
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
  background: var(--papel);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.25rem; }
.page-hero h1 {
  max-width: 24ch;
  margin: 0 auto 1.5rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}
.page-hero .lead { margin: 0 auto; text-align: center; max-width: 56ch; }

/* ── HERO (home) ── */
.hero {
  padding: clamp(6rem,11vw,10rem) 0 clamp(5rem,9vw,8rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  background: var(--papel);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  max-width: 20ch;
  margin-bottom: 1.75rem;
}
.hero .lead {
  margin-bottom: 2.75rem;
  text-align: center;
  max-width: 48ch;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-d);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  color: var(--azul);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat-num em { color: var(--azul); font-style: normal; }
.hero-stat-label {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
  display: block;
}

/* ── CRED BAR ── */
.cred-bar {
  background: var(--azul);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(212,201,181,0.12);
  overflow: hidden;
}
.cred-bar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cred-label {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocre);
  flex-shrink: 0;
}
.cred-pipe {
  width: 1px;
  height: 18px;
  background: rgba(212,201,181,0.2);
  flex-shrink: 0;
}
.cred-items { display: flex; gap: 2rem; flex-wrap: wrap; }
.cred-item {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.5);
}

/* ── PROBLEM ── */
.problem-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (max-width: 700px) { .problem-intro { grid-template-columns: 1fr; gap: 1.5rem; } }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--papel);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.problem-num {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--terracota);
}
.problem-card h3 { font-size: 1.0625rem; }
.problem-card p { font-size: .9rem; line-height: 1.65; color: var(--muted); }

/* ── METHOD ── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(212,201,181,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3.5rem;
}
@media (max-width: 760px) { .method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .method-grid { grid-template-columns: 1fr; } }
.method-step {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(212,201,181,0.12);
  position: relative;
}
.method-step:last-child { border-right: none; }
.method-num {
  font-family: var(--font-d);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(245,239,230,0.08);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.method-label {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: .5rem;
  display: block;
}
.method-title {
  font-family: var(--font-d);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--papel);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.method-body { font-size: .875rem; color: rgba(245,239,230,0.6); line-height: 1.65; }
.method-connector {
  position: absolute;
  top: 2rem;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--azul);
  border: 1px solid rgba(212,201,181,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.method-connector svg { width: 12px; height: 12px; color: var(--ocre); stroke-width: 2; }
@media (max-width: 760px) { .method-connector { display: none; } }

/* ── METHOD DETAIL (sub-page only) ── */
.method-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}
.method-detail-row {
  background: var(--papel);
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: 2rem;
  padding: 2rem;
  align-items: start;
}
@media (max-width: 760px) {
  .method-detail-row { grid-template-columns: 1fr; gap: .75rem; padding: 1.75rem; }
}
.method-detail-num {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--terracota);
  line-height: 1;
  letter-spacing: -0.02em;
}
.method-detail-title { font-family: var(--font-d); font-size: 1.375rem; color: var(--azul); line-height: 1.2; }
.method-detail-meta {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-top: .5rem;
  display: block;
}
.method-detail-body { color: var(--grafite); line-height: 1.65; font-size: .9375rem; }
.method-detail-body ul { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.method-detail-body li { padding-left: 16px; position: relative; font-size: .875rem; color: var(--muted); }
.method-detail-body li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: var(--terracota); }

/* ── OFFERS / SERVICES ── */
.offers-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (max-width: 700px) { .offers-header { grid-template-columns: 1fr; gap: 1.5rem; } }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .offers-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.offers-grid-four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .offers-grid-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .offers-grid-four { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.offer-card {
  background: var(--papel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.offer-card:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(11,31,58,0.12); }
.offer-card.featured { background: var(--azul); border-color: transparent; }
.offer-badge {
  position: absolute;
  top: -1px; right: 24px;
  background: var(--terracota);
  color: var(--papel);
  font-family: var(--font-m);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0 0 2px 2px;
}
.offer-eyebrow { font-family: var(--font-m); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracota); }
.offer-eyebrow.dark { color: var(--ocre); }
.offer-duration { font-family: var(--font-m); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: -.25rem; }
.offer-duration.dark { color: rgba(245,239,230,0.4); }
.offer-title { font-family: var(--font-d); font-size: 1.375rem; font-weight: 400; color: var(--azul); }
.offer-title.dark { color: var(--papel); }
.offer-sep { height: 1px; background: var(--rule); }
.offer-sep.dark { background: rgba(212,201,181,0.12); }
.offer-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.offer-features li {
  font-size: .875rem;
  color: var(--grafite);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.offer-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 4px;
  background: var(--terracota);
}
.offer-features.dark li { color: rgba(245,239,230,0.7); }
.offer-features.dark li::before { background: var(--ocre); }
.offer-scope {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: .25rem;
  border-top: 1px dashed var(--rule);
}
.offer-scope.dark { color: rgba(245,239,230,0.5); border-top-color: rgba(212,201,181,0.18); }
.offer-card .btn { font-size: .875rem; margin-top: .25rem; }

/* ── CASES ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}
@media (max-width: 700px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .cases-grid { grid-template-columns: 1fr; } }
.case-item {
  background: var(--papel);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: background var(--transition);
}
.case-item:hover { background: var(--papel-q); }
.case-icon {
  width: 34px; height: 34px;
  background: var(--terracota);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--papel);
  flex-shrink: 0;
  margin-bottom: .25rem;
}
.case-title { font-family: var(--font-b); font-size: .9375rem; font-weight: 600; color: var(--azul); }
.case-body { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.case-meta {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-top: .5rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-body p + p { margin-top: 1rem; }
.about-body .lead { margin-top: 1.5rem; }
.about-body .about-tail { font-size: .9375rem; line-height: 1.65; color: var(--grafite); }
.about-quote {
  border-left: 2px solid var(--terracota);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.about-quote p {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--azul);
  line-height: 1.55;
}
.founder-card {
  background: var(--azul);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 3px;
  background: var(--terracota);
}
.founder-avatar {
  width: 56px; height: 56px;
  background: rgba(245,239,230,0.1);
  border: 1px solid rgba(245,239,230,0.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--papel);
}
.founder-name { font-family: var(--font-d); font-size: 1.125rem; color: var(--papel); line-height: 1.2; }
.founder-role { font-family: var(--font-m); font-size: 0.5625rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocre); }
.founder-bio { font-size: .875rem; color: rgba(245,239,230,0.65); line-height: 1.65; }
.founder-contact {
  font-family: var(--font-b);
  font-size: .875rem;
  color: var(--ocre);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .25rem;
  transition: color var(--transition);
}
.founder-contact:hover { color: var(--papel); }
.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-dot {
  width: 6px; height: 6px;
  background: var(--terracota);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.value-text { font-size: .9375rem; color: var(--grafite); line-height: 1.6; }
.value-text strong { color: var(--azul); font-weight: 600; }

/* ── MISSION ── */
.mission-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}
@media (max-width: 700px) { .mission-intro { grid-template-columns: 1fr; gap: 1.5rem; } }
.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3rem 0;
}
@media (max-width: 700px) { .mission-stats { grid-template-columns: 1fr; } }
.mission-stat { background: var(--papel); padding: 2rem; }
.mission-stat-num {
  font-family: var(--font-d);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--azul);
  letter-spacing: -0.03em;
  line-height: 1;
}
.mission-stat-num em { color: var(--terracota); font-style: normal; }
.mission-stat-label {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .75rem;
  display: block;
}
.mission-stat-source {
  font-family: var(--font-m);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: .6;
  margin-top: .35rem;
  display: block;
}
.mission-narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 760px) { .mission-narrative { grid-template-columns: 1fr; gap: 2rem; } }
.mission-narrative h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.mission-narrative p { font-size: .9375rem; line-height: 1.7; color: var(--grafite); }
.mission-narrative p + p { margin-top: 1rem; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}
@media (max-width: 760px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar { background: var(--papel); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.pillar-icon {
  width: 38px; height: 38px;
  background: rgba(194,90,58,0.1);
  color: var(--terracota);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem;
}
.pillar-num {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
}
.pillar-title { font-family: var(--font-d); font-size: 1.125rem; font-weight: 400; color: var(--azul); line-height: 1.3; }
.pillar-body { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ── HOME — Mission teaser ── */
.mission-teaser {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 760px) { .mission-teaser { grid-template-columns: 1fr; gap: 2rem; } }
.mission-teaser h2 { margin-bottom: 1rem; }
.mission-teaser .lead { margin-bottom: 1.5rem; }
.mission-teaser-card {
  background: var(--papel-q);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mission-teaser-stat {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--azul);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mission-teaser-stat em { color: var(--terracota); font-style: normal; }
.mission-teaser-label {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mission-teaser-body { color: var(--grafite); font-size: .9375rem; line-height: 1.65; }

/* ── COMING SOON (test page placeholder) ── */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--papel-q);
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  max-width: 720px;
  margin: 0 auto;
}
.coming-soon-eyebrow {
  font-family: var(--font-m);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 1.25rem;
}
.coming-soon h3 {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--azul);
  margin-bottom: 1rem;
  max-width: 24ch;
  line-height: 1.3;
}
.coming-soon p { color: var(--muted); max-width: 52ch; line-height: 1.6; }
.coming-soon p + p { margin-top: 1rem; }
.coming-soon-row {
  display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
  margin-top: 2rem;
}

/* ── ASSESSMENT ── */
.assessment {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.assessment-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 1rem;
}
@media (max-width: 760px) { .assessment-header { grid-template-columns: 1fr; gap: 1.5rem; } }
.assessment-header h2 { color: var(--papel); }
.assessment-header .lead { color: rgba(245,239,230,0.7); }
.assessment-card,
.quiz-question,
.assessment-result {
  background: rgba(245,239,230,0.05);
  border: 1px solid rgba(212,201,181,0.14);
  border-radius: var(--radius);
  padding: 2rem;
}
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) { .quiz-grid { grid-template-columns: 1fr; } }
.quiz-question {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.quiz-question legend {
  font-family: var(--font-d);
  font-size: 1.125rem;
  color: var(--papel);
  line-height: 1.3;
  margin-bottom: .8rem;
}
.quiz-question label {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: rgba(245,239,230,0.72);
  line-height: 1.45;
  font-size: .9375rem;
  cursor: pointer;
}
.quiz-question input {
  margin-top: .22rem;
  accent-color: var(--terracota);
}
.assessment-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.assessment-result {
  margin-top: 2rem;
  background: var(--papel);
  color: var(--grafite);
}
.assessment-result h3 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 18ch;
  margin-bottom: 1rem;
}
.assessment-result p {
  max-width: 68ch;
  color: var(--grafite);
  line-height: 1.65;
}
.score-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 640px) { .score-bars { grid-template-columns: 1fr; } }
.score-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-m);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.score-bar-top strong { color: var(--azul); }
.score-track {
  height: 8px;
  background: var(--papel-q);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: var(--terracota);
}

/* ── BOOKING ── */
.booking-widget {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--papel);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
  background: var(--papel-q);
}
.booking-step {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  color: var(--muted);
  border-right: 1px solid var(--rule);
}
.booking-step:last-child { border-right: none; }
.booking-step.is-active { color: var(--azul); background: var(--papel); }
.booking-step.is-completed { color: var(--terracota); }
.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-family: var(--font-m);
  font-size: .65rem;
}
.step-label {
  font-family: var(--font-m);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.booking-panel { padding: clamp(1.5rem, 4vw, 3rem); }
.booking-panel-head { margin-bottom: 2rem; }
.booking-panel-head h2 {
  max-width: 18ch;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.back-link {
  background: none;
  border: none;
  color: var(--terracota);
  font-family: var(--font-b);
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 1rem;
}
.booking-days,
.booking-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
}
.booking-slots { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
  .booking-days,
  .booking-slots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .booking-steps { grid-template-columns: 1fr; }
  .booking-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .booking-days,
  .booking-slots { grid-template-columns: 1fr; }
}
.booking-day,
.booking-slot {
  background: var(--papel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform 150ms ease;
}
.booking-day:hover,
.booking-slot:hover {
  background: var(--papel-q);
  border-color: var(--terracota);
  transform: translateY(-1px);
}
.booking-day span {
  display: block;
  font-family: var(--font-m);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: .35rem;
}
.booking-day strong,
.booking-slot {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--azul);
}
.booking-form {
  background: var(--azul);
  border-color: rgba(212,201,181,0.12);
}

/* ── CTA banner (page bottoms) ── */
.cta-banner { background: var(--azul); text-align: center; }
.cta-banner .container { display: flex; flex-direction: column; align-items: center; }
.cta-banner h2 { color: var(--papel); max-width: 22ch; margin: 0 auto 1.25rem; }
.cta-banner .lead { color: rgba(245,239,230,0.7); margin: 0 auto 2rem; text-align: center; max-width: 48ch; }
.cta-banner .eyebrow-dark { margin-bottom: 1rem; }

/* ── CONTACT / CTA SPLIT (contact page, home final) ── */
.cta-section { background: var(--azul); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; gap: 3rem; } }
.cta-left h2 { color: var(--papel); }
.cta-left .lead { color: rgba(245,239,230,0.7); margin-top: 1.25rem; max-width: 40ch; }
.cta-points { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.cta-points li { font-size: .9375rem; color: rgba(245,239,230,0.65); padding-left: 18px; position: relative; line-height: 1.5; }
.cta-points li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background: var(--ocre); border-radius: 50%; }
.contact-form {
  background: rgba(245,239,230,0.05);
  border: 1px solid rgba(212,201,181,0.12);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-label {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocre);
}
.form-input, .form-textarea {
  background: rgba(245,239,230,0.06);
  border: 1px solid rgba(212,201,181,0.18);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-family: var(--font-b);
  font-size: .9375rem;
  color: var(--papel);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(245,239,230,0.3); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--ocre);
  background: rgba(245,239,230,0.09);
}
.form-textarea { resize: vertical; min-height: 90px; font-family: var(--font-b); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-disclaimer {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  color: rgba(245,239,230,0.3);
  text-transform: uppercase;
  line-height: 1.5;
}
.form-success {
  background: rgba(217,160,91,0.1);
  border: 1px solid rgba(217,160,91,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: .9375rem;
  color: var(--ocre);
  line-height: 1.5;
}
.form-success strong {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-d);
  font-size: 1.125rem;
}

/* ── FOOTER ── */
.footer {
  background: var(--azul);
  border-top: 1px solid rgba(212,201,181,0.1);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo-wrap { display: flex; flex-direction: column; gap: .75rem; max-width: 380px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo img { width: 36px; height: 36px; object-fit: contain; }
.footer-logo-name { font-family: var(--font-d); font-size: 13px; color: var(--papel); }
.footer-disclaimer {
  font-family: var(--font-m);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(245,239,230,0.28);
  line-height: 1.7;
  text-transform: uppercase;
  margin-top: .25rem;
}
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col-label {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: .25rem;
}
.footer-link {
  font-size: .8125rem;
  color: rgba(245,239,230,0.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--ocre); }
.footer-copy {
  font-family: var(--font-m);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.2);
  margin-top: 1.5rem;
  display: block;
}

/* ── LEGAL ── */
.legal-copy {
  max-width: 820px;
}
.legal-copy h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
}
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p {
  color: var(--grafite);
  line-height: 1.75;
}
