/* =========================================================
   DermaIntegra — Sistema visual
   Paleta: ARENA (cálido) + GRANATE (Granada) + VERDE ALHAMBRA
   Tipografías: Fustat (palo seco, peso) + Cormorant Garamond (display sutil)
   ========================================================= */

:root {
  /* === Color === */
  /* Arena — cálido, evoca cuidado de la piel */
  --arena-50:   #F8F2E6;
  --arena-100:  #F0E7D2;
  --arena-200:  #E4D6B5;
  --arena-300:  #D4BF94;
  --arena-400:  #B89F6E;
  --arena-500:  #8E7A52;

  /* Granate — Granada, color primario */
  --granate-50:  #F6E7E9;
  --granate-100: #E3BCC2;
  --granate-300: #A23A48;
  --granate-500: #7A1F2B;   /* principal */
  --granate-700: #5A1620;
  --granate-900: #3A0F18;

  /* Verde Alhambra — secundario, mosaicos */
  --verde-50:  #E6EDE7;
  --verde-200: #A8C0AC;
  --verde-400: #4F7A5D;
  --verde-600: #2D5740;     /* principal */
  --verde-800: #1B3C2A;

  /* Neutros */
  --paper:    #FBF6EA;       /* fondo principal cálido */
  --paper-2:  #F3EBD7;
  --ink:      #1F1A14;
  --ink-2:    #3A3128;
  --muted:    #6E6354;
  --line:     #D9CBAE;
  --line-soft:#E7DCC1;

  /* Aliases semánticos (compat con código existente) */
  --cream:    var(--paper);
  --cream-2:  var(--paper-2);
  --cream-3:  var(--arena-200);
  --sage-50:  var(--verde-50);
  --sage-100: var(--verde-200);
  --sage-200: var(--verde-200);
  --sage-400: var(--verde-400);
  --sage-600: var(--verde-600);
  --sage-800: var(--granate-700);
  --peach:    var(--arena-300);
  --peach-2:  var(--arena-400);
  --peach-deep: var(--granate-500);

  /* === Type === */
  --display: "Fustat", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:    "Fustat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif:   "Cormorant Garamond", "EB Garamond", Georgia, serif;

  /* === Tokens === */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-card:  0 1px 2px rgba(58, 15, 24, .04), 0 12px 32px -16px rgba(58, 15, 24, .15);
  --shadow-float: 0 6px 16px -4px rgba(58, 15, 24, .18), 0 24px 56px -20px rgba(58, 15, 24, .25);

  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--granate-500);
  font-weight: 700;
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 54ch;
  font-weight: 400;
}
h2.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--granate-700);
  margin: 0 0 12px;
}
h2.section-title .accent { color: var(--verde-600); font-style: italic; font-family: var(--serif); font-weight: 500; }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 120px 0; position: relative; }
section + section { border-top: 1px solid var(--line-soft); }

/* ---------- Top Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 234, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-logo { display: block; }
.brand-text {
  display: flex; flex-direction: column; gap: 1px; line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--granate-700);
}
.brand-sub {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13.5px; color: var(--ink-2); font-weight: 600;
  padding: 6px 0; position: relative;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--granate-700); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--granate-500); transform: scaleX(0);
  transform-origin: left; transition: transform .35s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--granate-500); color: var(--paper);
}
.btn-primary:hover { background: var(--granate-700); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--granate-700);
  box-shadow: inset 0 0 0 1.5px var(--granate-500);
}
.btn-ghost:hover { background: var(--granate-500); color: var(--paper); }
.btn-peach {
  background: var(--arena-300); color: var(--granate-700);
}
.btn-peach:hover { background: var(--arena-400); color: var(--paper); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 80px;
  padding-bottom: 110px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--granate-700);
  margin: 24px 0 28px;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--verde-600);
  display: block;
}
.hero-sub { max-width: 48ch; font-size: 18px; color: var(--ink-2); }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-meta .item .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  color: var(--granate-700);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-meta .item .lbl {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
}

/* Hero image */
.hero-figure {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--arena-100);
  box-shadow: var(--shadow-card);
}
.hero-figure image-slot { width: 100%; height: 100%; }
.hero-figure .badge {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  padding: 10px 16px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
  font-size: 12px; font-weight: 700; color: var(--granate-700);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-figure .badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--verde-600); box-shadow: 0 0 0 4px rgba(45,87,64,.2);
}

/* Mosaic ornament behind hero */
.hero-mosaic {
  position: absolute;
  pointer-events: none;
  opacity: .35;
}
.hero-mosaic.top-right {
  top: 60px; right: -100px;
  width: 300px;
}
.hero-mosaic.bottom-left {
  bottom: -120px; left: -120px;
  width: 380px;
  opacity: .18;
}

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head.center {
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
}
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .eyebrow-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.section-head.center .eyebrow-row { justify-content: center; }
.section-head .eyebrow-row .line {
  width: 36px; height: 1px; background: var(--granate-500);
}

/* ---------- Filosofía / Identidad ---------- */
.philosophy {
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="none" stroke="%237A1F2B" stroke-width="0.5" opacity="0.5"><path d="M50 5l45 45-45 45-45-45z"/><path d="M50 15l35 35-35 35-35-35z"/><path d="M50 25l25 25-25 25-25-25z"/><circle cx="50" cy="50" r="8"/></g></svg>') no-repeat center/contain;
  opacity: .25;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.philosophy-mark {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  padding: 60px;
}
.philosophy-mark svg, .philosophy-mark img { width: 100%; height: auto; }
.team-quote-mark img, .team-quote-mark svg { width: 100%; height: auto; display: block; }

.values-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.value-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.value-item .v-mark {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--granate-500);
}
.value-item .v-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--granate-700);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.value-item .v-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 36px 30px 30px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--arena-300);
}
.service-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 4px;
  background: var(--arena-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--granate-500);
  margin-bottom: 30px;
  transition: background .3s, color .3s;
  border: 1px solid var(--arena-200);
}
.service-card:hover .icon-wrap {
  background: var(--granate-500); color: var(--paper);
  border-color: var(--granate-500);
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--granate-700);
  margin: 0 0 12px;
}
.service-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 24px;
}
.service-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  font-size: 13.5px; color: var(--muted);
}
.service-card ul li {
  padding: 5px 0; padding-left: 16px; position: relative;
}
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 1px; background: var(--granate-500);
}
.service-card .more {
  margin-top: auto;
  font-size: 12px; color: var(--granate-500); font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Sobre la doctora ---------- */
.about {
  background: var(--paper-2);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.about-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--arena-200);
  box-shadow: var(--shadow-card);
}
.about-figure image-slot { width: 100%; height: 100%; }
.about-figure .quote {
  position: absolute; right: -32px; bottom: 40px;
  background: var(--paper);
  padding: 24px 28px;
  width: 300px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.35;
  color: var(--granate-700);
}
.about-figure .quote::before {
  content: "“";
  position: absolute; left: 14px; top: -10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  color: var(--granate-300);
  line-height: 1;
}
.about h2 { margin-top: 0; }
.about .credentials {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about .credentials .row {
  display: flex; gap: 14px; align-items: flex-start;
}
.about .credentials .row .yr {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--granate-500);
  min-width: 60px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about .credentials .row .desc {
  font-size: 14px; color: var(--ink-2);
}
.about .credentials .row .desc strong {
  display: block; color: var(--granate-700); font-weight: 700; margin-bottom: 2px;
  font-size: 14.5px;
}

/* ---------- Equipo (2 médicos) ---------- */
.team {
  background: var(--paper-2);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.doctor-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--arena-300);
}
.doctor-figure {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--arena-200);
  overflow: hidden;
}
.doctor-figure image-slot { width: 100%; height: 100%; }
.doctor-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--paper);
  color: var(--granate-700);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
}
.doctor-body {
  padding: 36px 36px 38px;
  display: flex; flex-direction: column;
  flex: 1;
}
.doctor-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--granate-500);
  margin-bottom: 10px;
}
.doctor-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.025em;
  color: var(--granate-700);
  margin: 0 0 16px;
  line-height: 1.1;
}
.doctor-bio {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 24px;
}
.doctor-cred {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}
.doctor-cred li {
  display: flex;
  gap: 14px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.doctor-cred li .yr {
  flex-shrink: 0;
  width: 108px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--granate-500);
  letter-spacing: -0.01em;
}

.team-quote {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 56px 56px 56px 180px;
  box-shadow: var(--shadow-card);
}
.team-quote-mark {
  position: absolute;
  left: 32px; top: 50%;
  transform: translateY(-50%);
  width: 110px;
  color: var(--granate-500);
  opacity: .92;
}
.team-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.35;
  color: var(--granate-700);
  margin: 0 0 18px;
  letter-spacing: -0.005em;
  max-width: 56ch;
}
.team-quote-signature {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-quote {
    padding: 48px 32px 36px;
    text-align: left;
  }
  .team-quote-mark {
    position: static;
    transform: none;
    width: 72px;
    margin-bottom: 20px;
  }
}
@media (max-width: 560px) {
  .doctor-body { padding: 28px 24px 30px; }
  .doctor-name { font-size: 26px; }
}

/* ---------- Antes / Después ---------- */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.ba-text h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  color: var(--granate-700);
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.ba-text > p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
}
.ba-text .disclaimer {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 2px solid var(--granate-500);
  background: var(--paper);
  font-size: 13.5px;
  color: var(--ink-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.ba-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  user-select: none;
  cursor: ew-resize;
  background: var(--arena-200);
}
.ba-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ba-img { background-size: contain; background-position: center; background-repeat: no-repeat; background-color: var(--arena-100); }
.ba-before {
  background:
    repeating-linear-gradient(135deg, rgba(122,31,43,.06) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #E2CDB4 0%, #C9AE89 100%);
}
.ba-after {
  background:
    repeating-linear-gradient(135deg, rgba(45,87,64,.06) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #E0D9C0 0%, #B8C2A8 100%);
  clip-path: inset(0 0 0 50%);
}
.ba-img .tag {
  position: absolute; top: 18px;
  padding: 6px 12px; border-radius: 4px;
  transition: opacity .15s ease;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--granate-700);
  font-weight: 700;
}
.ba-before .tag { left: 18px; }
.ba-after  .tag { right: 18px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%; width: 2px; background: var(--paper);
  transform: translateX(-1px);
  box-shadow: 0 0 0 1px rgba(58, 15, 24, .15);
  pointer-events: none;
}
.ba-handle .knob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--granate-700);
  box-shadow: var(--shadow-float);
  pointer-events: auto;
}
.ba-thumbs {
  display: flex; gap: 10px; margin-top: 18px;
}
.ba-variants { display: flex; gap: 8px; margin-top: 12px; }
.ba-variant-btn {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--arena-300);
  background: var(--paper); color: var(--ink); opacity: .7; font-size: 12.5px;
  font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s;
}
.ba-variant-btn.active { opacity: 1; border-color: var(--granate-500); background: var(--granate-50); color: var(--granate-700); }
.ba-thumb {
  flex: 1;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: left;
  transition: border-color .2s, background .2s;
}
.ba-thumb strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--granate-700);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.ba-thumb.active {
  border-color: var(--granate-500);
  background: var(--granate-50);
}

/* ---------- Quiz ---------- */
.quiz {
  background: var(--granate-700);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.quiz::before {
  content: "";
  position: absolute;
  top: 50%; left: -120px; transform: translateY(-50%);
  width: 300px; height: 300px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="none" stroke="%23E4D6B5" stroke-width="0.5"><path d="M50 5l45 45-45 45-45-45z"/><path d="M50 15l35 35-35 35-35-35z"/><path d="M50 25l25 25-25 25-25-25z"/><circle cx="50" cy="50" r="8"/></g></svg>') no-repeat center/contain;
  opacity: .15;
}
.quiz::after {
  content: "";
  position: absolute;
  bottom: -120px; right: -100px;
  width: 360px; height: 360px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="none" stroke="%23E4D6B5" stroke-width="0.5"><path d="M50 5l45 45-45 45-45-45z"/><path d="M50 15l35 35-35 35-35-35z"/><path d="M50 25l25 25-25 25-25-25z"/></g></svg>') no-repeat center/contain;
  opacity: .12;
}
.quiz h2.section-title { color: var(--paper); }
.quiz h2.section-title .accent { color: var(--arena-300); }
.quiz .eyebrow { color: var(--arena-300); }
.quiz .section-head .lead { color: rgba(251,246,234,.8); }
.quiz-card {
  margin-top: 56px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 48px;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
  backdrop-filter: blur(8px);
  position: relative;
}
.quiz-progress {
  display: flex; gap: 6px; margin-bottom: 32px;
}
.quiz-progress span {
  flex: 1; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.14);
  transition: background .3s;
}
.quiz-progress span.done { background: var(--arena-300); }
.quiz-question {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--paper);
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quiz-option {
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--paper);
  text-align: left;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s;
}
.quiz-option:hover {
  border-color: var(--arena-300);
  background: rgba(228,214,181,.08);
  transform: translateY(-1px);
}
.quiz-result {
  text-align: center;
  display: none;
}
.quiz-result.show { display: block; }
.quiz-result .label {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--arena-300); margin-bottom: 16px; font-weight: 700;
}
.quiz-result h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--arena-300);
}
.quiz-result p {
  font-size: 16px; line-height: 1.65;
  color: rgba(251,246,234,.88);
  max-width: 52ch; margin: 0 auto 32px;
}
.quiz-restart {
  font-size: 13px; color: var(--arena-300);
  text-decoration: underline; text-underline-offset: 4px;
  font-weight: 600;
}

/* ---------- Testimonios ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 36px 32px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.testimonial .stars {
  display: flex; gap: 3px; margin-bottom: 18px;
  color: var(--granate-500);
}
.testimonial blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.32;
  color: var(--granate-700);
}
.testimonial .author {
  display: flex; align-items: center; gap: 14px;
}
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--arena-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--granate-700);
}
.testimonial .meta .name {
  font-weight: 700; font-size: 14px; color: var(--ink);
}
.testimonial .meta .desc {
  font-size: 12.5px; color: var(--muted); margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--granate-700);
  letter-spacing: -0.01em;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { content: ""; }
.faq-q:hover { color: var(--granate-500); }
.faq-q .plus {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .3s;
  color: var(--granate-700);
}
.faq-q .plus svg { transition: transform .3s; }
details[open] .faq-q .plus { background: var(--granate-500); color: var(--paper); }
details[open] .faq-q .plus svg { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  font-size: 15px; color: var(--ink-2); line-height: 1.65;
  animation: faqSlide .35s ease;
}
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-a-inner { padding: 0 0 24px; max-width: 60ch; }

/* ---------- Mapa + Reserva ---------- */
.contact {
  background: var(--paper-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.contact-info {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 48px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.contact-info h2 { margin-top: 0; }
.contact-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ic {
  width: 38px; height: 38px; border-radius: 4px;
  background: var(--arena-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--granate-500);
  flex-shrink: 0;
  border: 1px solid var(--arena-200);
}
.contact-row .lbl {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 4px;
}
.contact-row .val { font-size: 15px; color: var(--ink); font-weight: 600; }
.contact-row .val small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; font-size: 13px; }

.booking {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.booking-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
}
.booking-head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--granate-700);
  margin: 0;
}
.booking-month {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.booking-days {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin-bottom: 24px;
}
.booking-day {
  padding: 12px 0;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  transition: all .2s;
  font-size: 13px;
}
.booking-day .dow {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 600;
  display: block; margin-bottom: 4px;
}
.booking-day .dn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--granate-700);
}
.booking-day:hover { border-color: var(--granate-500); background: var(--granate-50); }
.booking-day.active { border-color: var(--granate-500); background: var(--granate-500); }
.booking-day.active .dow { color: var(--arena-100); }
.booking-day.active .dn { color: var(--paper); }
.booking-day.dis { opacity: .35; cursor: not-allowed; }

.booking-slots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 24px;
}
.booking-slot {
  padding: 11px 0;
  text-align: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  transition: all .2s;
}
.booking-slot:hover { border-color: var(--granate-500); color: var(--granate-700); }
.booking-slot.active { background: var(--verde-600); border-color: var(--verde-600); color: var(--paper); }
.booking-slot.taken { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.booking .btn-primary { width: 100%; justify-content: center; }
.booking-foot {
  margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center;
}

/* Mapa */
.map-card {
  margin-top: 18px;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, var(--verde-200) 0 18%, transparent 18%),
    radial-gradient(circle at 70% 60%, var(--arena-200) 0 22%, transparent 22%),
    linear-gradient(180deg, #E5DDC8 0%, #D8C9A6 100%);
  border: 1px solid var(--line-soft);
}
.map-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 48%;
  transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--granate-500);
}
.map-pin .pulse {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--granate-500);
  position: relative;
}
.map-pin .pulse::before, .map-pin .pulse::after {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--granate-500);
  animation: pulse 2.4s ease-out infinite;
}
.map-pin .pulse::after { animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(.5); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}
.map-pin .pin-lbl {
  background: var(--paper); padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; color: var(--granate-700);
  letter-spacing: 0.04em;
  white-space: nowrap; box-shadow: var(--shadow-card);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 14px;
  background: #1F8A5B;
  color: white;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-float);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform .3s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float .ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--granate-900);
  color: var(--paper);
  padding: 90px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="none" stroke="%23E4D6B5" stroke-width="0.5"><path d="M50 5l45 45-45 45-45-45z"/><path d="M50 15l35 35-35 35-35-35z"/><path d="M50 25l25 25-25 25-25-25z"/><circle cx="50" cy="50" r="8"/></g></svg>') no-repeat center/contain;
  opacity: .08;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-sub { color: var(--arena-300); }
.footer-brand p {
  max-width: 38ch; margin: 22px 0 0;
  color: rgba(251,246,234,.7); font-size: 14px; line-height: 1.65;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--arena-300); font-weight: 700;
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 11px; font-size: 14px; color: rgba(251,246,234,.75); }
.footer ul a {
  color: rgba(251,246,234,.75);
  transition: color .2s;
}
.footer ul a:hover { color: var(--arena-300); }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: rgba(251,246,234,.5);
  position: relative; z-index: 1;
}

/* ---------- Image slot styling ---------- */
image-slot {
  --is-bg: var(--arena-100);
  --is-border: transparent;
  --is-text: var(--granate-500);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .hero-grid, .about-grid, .ba-wrap, .contact-grid, .faq-grid, .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: clamp(40px, 9vw, 64px); }
  .quiz-options { grid-template-columns: 1fr; }
  .booking-slots { grid-template-columns: repeat(3, 1fr); }
  .about-figure .quote { right: 16px; bottom: 16px; width: 240px; }
  .values-list { grid-template-columns: 1fr; }
  .philosophy-mark { padding: 32px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr !important; }
  .price-grid > div { border-right: none !important; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .contact-info, .booking { padding: 28px; }
  .quiz-card { padding: 28px; }
  .brand-text .brand-sub { display: none; }
}
