/* ========== Variables ========== */
:root {
  --brand: #F5C800;
  --brand-deep: #D9AE00;
  --ink: #12141A;
  --text: #1C1F26;
  --muted: #5B6270;
  --line: #E4E7EC;
  --bg: #FFFFFF;
  --soft: #F3F4F7;
  --radius: 16px;
  --max: 1160px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font: 16px/1.6 Manrope, system-ui, sans-serif; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: Sora, Manrope, sans-serif; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-deep); }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--brand); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* ========== Botones ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; font: 700 15px Manrope, sans-serif; text-decoration: none; transition: background 0.15s, transform 0.1s, border-color 0.15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: var(--ink); }
.btn.primary:hover { background: var(--brand-deep); }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2A2E38; }
.btn.line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.line:hover { border-color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ========== Encabezado ========== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 19px Sora, sans-serif; text-decoration: none; }
.logo i { width: 14px; height: 14px; border-radius: 3px; background: var(--brand); }
.logo small { font: 500 12px Manrope, sans-serif; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav .btn { margin-left: 8px; padding: 10px 16px; color: var(--ink); }
.ext::after { content: " ↗"; font-size: 12px; }

/* ========== Hero ========== */
.hero { position: relative; display: flex; align-items: center; min-height: min(86vh, 720px); color: #fff; background: var(--ink); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 20, 26, 0.88) 0%, rgba(18, 20, 26, 0.55) 55%, rgba(18, 20, 26, 0.25) 100%); }
.hero .wrap { position: relative; padding: 72px 0 120px; }
.hero .eyebrow { color: var(--brand); }
.hero h1 { max-width: 14ch; font-size: clamp(38px, 5.6vw, 66px); }
.hero p.lead { max-width: 52ch; margin-top: 20px; font-size: 18px; color: #D6DAE2; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero .alt { margin-left: 8px; font-weight: 600; font-size: 14px; color: #D6DAE2; }

.facts { position: relative; z-index: 2; margin-top: -64px; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -28px rgba(18, 20, 26, 0.35); }
.facts li { padding: 22px 24px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font: 700 16px Sora, sans-serif; }
.facts span { font-size: 14px; color: var(--muted); }

/* ========== Espacios ========== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(18, 20, 26, 0.3); }
.card .photo { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card .body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card h3 { font-size: 22px; }
.card p { margin-top: 10px; color: var(--muted); }
.price { margin-top: 18px; font: 700 15px Sora, sans-serif; }
.price b { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #FFF4C2; }
.card .link { margin-top: auto; padding-top: 18px; font-weight: 700; text-decoration-color: var(--brand-deep); text-underline-offset: 4px; }
.note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* ========== Experiencia ========== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo { aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.points { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.points .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--brand); font: 700 15px Sora, sans-serif; }
.points strong { display: block; font: 700 17px Sora, sans-serif; }
.points p { color: var(--muted); }

/* ========== Prueba social (pendiente de contenido real) ========== */
.proof { padding: 40px; border: 2px dashed #C9CED8; border-radius: var(--radius); background: #fff; text-align: center; color: var(--muted); }
.proof strong { display: block; margin-bottom: 6px; color: var(--ink); font: 700 18px Sora, sans-serif; }
.proof .slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }
.proof .slots span { padding: 18px 8px; border-radius: 10px; background: var(--soft); font-size: 13px; font-weight: 600; }

/* ========== Comunidad ========== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(18, 20, 26, 0.85)); }
.shot .cap { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; }
.shot h3 { font-size: 20px; }
.shot p { margin-top: 6px; font-size: 14px; color: #D6DAE2; }
.shot a { text-decoration: none; }

/* ========== Portal ========== */
.portal { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px; border-radius: 24px; background: var(--ink); color: #fff; }
.portal h2 { font-size: clamp(26px, 3vw, 36px); }
.portal p.lead { margin-top: 14px; color: #C9CED8; }
.portal ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.portal li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); font-weight: 600; }
.portal li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--ink); font-size: 13px; font-weight: 800; }
.portal .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ========== FAQ ========== */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 600 17px Sora, sans-serif; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--brand-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* ========== Ubicación ========== */
.where { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.where .photo { aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.addr { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 12px 12px 0; }
.addr strong { display: block; font: 700 18px Sora, sans-serif; }
.where .btn { margin-top: 22px; }

/* ========== Cierre y pie ========== */
.cta { padding: 72px 0; background: var(--brand); color: var(--ink); text-align: center; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta p { margin: 12px auto 28px; max-width: 52ch; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.footer { padding: 56px 0 32px; background: var(--ink); color: #C9CED8; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; color: #fff; font: 700 14px Sora, sans-serif; }
.footer a { display: block; padding: 3px 0; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #272B35; font-size: 13px; color: #8C94A3; }
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: var(--ink); font: 800 14px Sora, sans-serif; text-decoration: none; box-shadow: 0 10px 24px rgba(18, 20, 26, 0.35); }

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .nav a:not(.btn) { display: none; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .gallery { grid-template-columns: 1fr; }
  .shot { aspect-ratio: 4 / 3; }
  .split, .where, .portal { grid-template-columns: 1fr; gap: 32px; }
  .portal { padding: 32px 24px; }
  .proof .slots { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ========== Utilidades de texto (antes estilos inline) ========== */
.title-lg { font-size: clamp(28px, 3.4vw, 40px); }
.lead-muted { margin-top: 14px; color: var(--muted); font-size: 17px; }
.eyebrow.on-dark { color: var(--brand); }
