/* =============================================================================
   AGENCIA DC — ESTILOS  ·  Negro & Oro
   ========================================================================== */

:root {
  --bg:        #0a0906;
  --bg-alt:    #100d08;
  --surface:   #16120b;
  --surface-2: #1e1810;
  --line:      #34291763;
  --line-solid:#342917;
  --text:      #f3ede0;
  --muted:     #a9997c;
  --gold:      #d4af37;
  --gold-lt:   #f5d67a;
  --gold-dp:   #a67c00;
  --ruby:      #c8102e;
  --gold-grad: linear-gradient(105deg, #a67c00 0%, #f5d67a 45%, #d4af37 70%, #8a6400 100%);
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 24px 70px -24px rgba(0,0,0,.8);
  --glow:      0 0 40px -8px rgba(212,175,55,.35);
  --maxw:      1140px;
  --ease:      cubic-bezier(.4,.14,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

html, body { max-width: 100%; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Cinzel", "Times New Roman", serif; line-height: 1.16; font-weight: 600; letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.1rem; letter-spacing: .02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, li { overflow-wrap: break-word; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* Evita que hijos de grid/flex (sobre todo con imágenes) desborden el ancho */
.hero__inner, .keys, .founder, .form-layout, .footer__inner,
.hero__inner > *, .keys > *, .founder > *, .form-layout > * { min-width: 0; }
.hero__emblem, .keys__art, .founder__photo { min-width: 0; }
.muted { color: var(--muted); }
.grad {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .7rem;
  font-weight: 600; color: var(--gold);
  font-family: "Cinzel", serif;
}

/* -- Botones ------------------------------------------------------------------ */
.btn {
  --pad-y: 13px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; text-transform: uppercase;
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --pad-y: 9px; --pad-x: 17px; font-size: .76rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--gold-grad); color: #1a1206;
  box-shadow: 0 10px 30px -12px rgba(212,175,55,.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(212,175,55,.6); }
.btn--ghost { background: transparent; border-color: var(--gold-dp); color: var(--gold-lt); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,.08); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--line-solid); color: var(--gold);
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-lt); }

.linklike {
  background: none; border: none; color: var(--gold); font: inherit;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0;
}

/* -- Nav -------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,9,6,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-color: var(--line-solid); background: rgba(10,9,6,.94); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line-solid); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text small { font-family: "Cinzel", serif; font-size: .58rem; letter-spacing: .38em; color: var(--muted); }
.brand__text strong { font-family: "Cinzel", serif; font-size: 1.15rem; letter-spacing: .12em; color: var(--gold-lt); font-weight: 700; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: .9rem; }
.nav__links a { color: var(--muted); transition: color .2s; letter-spacing: .02em; }
.nav__links a:hover { color: var(--gold-lt); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; }

/* -- Hero ---------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(50px, 8vw, 90px); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 680px; z-index: 0;
  background:
    radial-gradient(620px 320px at 78% 22%, rgba(212,175,55,.20), transparent 70%),
    radial-gradient(520px 300px at 15% 8%, rgba(200,16,46,.12), transparent 70%);
  filter: blur(18px);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero__title { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; margin: 18px 0 20px; }
.hero__lead { font-size: clamp(1rem, 2vw, 1.14rem); color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero__emblem { position: relative; }
.hero__emblem img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-solid);
  box-shadow: var(--shadow), var(--glow);
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  list-style: none; border-top: 1px solid var(--line-solid); padding-top: 26px;
}
.stats li { display: flex; flex-direction: column; gap: 2px; }
.stats strong { font-family: "Cinzel", serif; font-size: 1.4rem; font-weight: 700; color: var(--gold-lt); }
.stats span { font-size: .8rem; color: var(--muted); }

/* -- Secciones -------------------------------------------------------------- */
.section { padding: clamp(58px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-solid); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head h2 { margin-top: 10px; }
.section__sub { color: var(--muted); margin-top: 12px; }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line-solid);
  border-radius: var(--radius); padding: 24px;
}

/* -- Método · Las 4 Llaves ------------------------------------------------------ */
.keys { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.keys__art img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-solid); box-shadow: var(--shadow);
}
.keys__list { list-style: none; display: grid; gap: 14px; counter-reset: k; }
.keys__list li {
  counter-increment: k;
  background: var(--surface); border: 1px solid var(--line-solid);
  border-radius: var(--radius); padding: 20px 22px 20px 62px; position: relative;
  transition: border-color .25s, transform .25s var(--ease);
}
.keys__list li:hover { border-color: var(--gold-dp); transform: translateX(4px); }
.keys__list li::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 26px; height: 26px;
  background: var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 2a6 6 0 0 0-5.65 8L2 16.35V22h5.65l.7-.7V19h2.3l1.35-1.35 1.06 1.06 1.94-1.94-1.06-1.06.7-.7A6 6 0 1 0 14 2Zm2.5 5A1.5 1.5 0 1 1 18 5.5 1.5 1.5 0 0 1 16.5 7Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M14 2a6 6 0 0 0-5.65 8L2 16.35V22h5.65l.7-.7V19h2.3l1.35-1.35 1.06 1.06 1.94-1.94-1.06-1.06.7-.7A6 6 0 1 0 14 2Zm2.5 5A1.5 1.5 0 1 1 18 5.5 1.5 1.5 0 0 1 16.5 7Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.keys__list h3 { color: var(--gold-lt); margin-bottom: 4px; }
.keys__list p { color: var(--muted); font-size: .92rem; }

/* -- Servicios --------------------------------------------------------------- */
.service {
  background: var(--surface); border: 1px solid var(--line-solid);
  border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .25s, transform .25s var(--ease);
}
.service:hover { border-color: var(--gold-dp); transform: translateY(-4px); }
.service__ico {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--gold); margin-bottom: 16px;
  border: 1px solid var(--line-solid);
}
.service h3 { margin-bottom: 6px; color: var(--gold-lt); }
.service p { color: var(--muted); font-size: .92rem; }

/* -- Fundador --------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.founder__photo img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line-solid); box-shadow: var(--shadow);
}
.founder__body h2 { margin: 10px 0 6px; }
.founder__role { color: var(--gold); font-size: .9rem; margin-bottom: 16px; letter-spacing: .02em; }
.founder__body p { color: var(--muted); margin-bottom: 12px; }
.founder__body .btn { margin-top: 12px; }

/* -- Tienda -------------------------------------------------------------------- */
.promo {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(100deg, rgba(212,175,55,.12), rgba(200,16,46,.10));
  border: 1px solid var(--gold-dp); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 32px; color: var(--text);
}
.promo svg { color: var(--gold); flex-shrink: 0; }
.promo strong { display: block; font-family: "Cinzel", serif; color: var(--gold-lt); }
.promo span { font-size: .86rem; color: var(--muted); }

.lockwrap {
  text-align: center; max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line-solid);
  border-radius: var(--radius); padding: 48px 32px;
}
.lockwrap__lock {
  width: 66px; height: 66px; border-radius: 20px; margin: 0 auto 20px;
  display: grid; place-items: center; color: #1a1206; background: var(--gold-grad);
  box-shadow: var(--glow);
}
.lockwrap h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--gold-lt); }
.lockwrap p { color: var(--muted); }
.lockwrap__date { margin-top: 18px; font-size: .84rem; }

.countdown { display: flex; justify-content: center; gap: 12px; margin: 26px 0 4px; }
.countdown > div {
  min-width: 66px; padding: 14px 8px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--line-solid);
}
.countdown span { display: block; font-family: "Cinzel", serif; font-size: 1.5rem; font-weight: 700; color: var(--gold-lt); }
.countdown small { color: var(--muted); font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; }

.products { margin-top: 8px; }
.product {
  background: var(--surface); border: 1px solid var(--line-solid);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s var(--ease);
}
.product:hover { border-color: var(--gold-dp); transform: translateY(-4px); }
.product__media { aspect-ratio: 4/5; background: var(--surface-2); position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__media--empty { display: grid; place-items: center; color: var(--muted); font-size: .8rem; }
.product__body { padding: 15px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.product__name { font-family: "Cinzel", serif; font-weight: 600; }
.product__price { font-family: "Cinzel", serif; font-weight: 700; color: var(--gold-lt); white-space: nowrap; }

/* -- Formularios ---------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.form-layout__intro h2 { margin: 10px 0 14px; }
.form-layout__intro p { color: var(--muted); }
.ticks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: .92rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px;
  border-radius: 5px; background: var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m9 16.2-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z'/%3E%3C/svg%3E") center/70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m9 16.2-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z'/%3E%3C/svg%3E") center/70% no-repeat;
}

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-solid); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.16);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--ruby); }
.form__consent { font-size: .84rem; color: var(--muted); }
.form__consent label { display: flex; gap: 8px; align-items: flex-start; }
.form__hint { font-size: .78rem; color: var(--muted); text-align: center; }
.form__error { color: var(--ruby); font-size: .84rem; }

/* -- Footer ------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--line-solid); background: var(--bg-alt); padding: 46px 0 34px; }
.footer__inner { display: grid; gap: 22px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { border-radius: 10px; border: 1px solid var(--line-solid); }
.footer__brand strong { font-family: "Cinzel", serif; letter-spacing: .12em; color: var(--gold-lt); }
.footer__tag { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .86rem; }
.footer__links .linklike { color: var(--muted); text-decoration: none; }
.footer__links .linklike:hover { color: var(--gold); }
.footer__copy { color: var(--muted); font-size: .8rem; }

/* -- FAB widget ------------------------------------------------------------- */
.fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 999px; border: 1px solid var(--gold-dp);
  background: var(--surface); color: var(--gold-lt); font: inherit; font-weight: 600; font-size: .86rem;
  letter-spacing: .02em; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .18s var(--ease), border-color .2s;
}
.fab:hover { transform: translateY(-3px); border-color: var(--gold); }
.fab svg { color: var(--gold); }

/* Botón directo de WhatsApp */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 41;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .2s;
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(37,211,102,.55); }
.wa-fab:active { transform: translateY(0); }

/* -- Drawer / Modal / Admin comunes -------------------------------------------- */
.drawer, .modal, .admin { position: fixed; inset: 0; z-index: 60; display: grid; }
.drawer[hidden], .modal[hidden], .admin[hidden], [hidden] { display: none !important; }

.drawer__backdrop, .modal__backdrop {
  position: absolute; inset: 0; background: rgba(3,2,1,.72); backdrop-filter: blur(3px);
  animation: fade .2s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--surface); border-left: 1px solid var(--line-solid);
  padding: 56px 28px 32px; overflow-y: auto;
  animation: slideIn .28s var(--ease);
}
.drawer__close, .modal__close {
  position: absolute; top: 16px; right: 18px;
  background: var(--surface-2); border: 1px solid var(--line-solid); color: var(--text);
  width: 34px; height: 34px; border-radius: 9px; font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.drawer__close:hover, .modal__close:hover { border-color: var(--gold); color: var(--gold); }
.drawer .eyebrow { margin-bottom: 6px; }
.drawer h2 { font-size: 1.25rem; margin-bottom: 8px; color: var(--gold-lt); }
.drawer .form { margin-top: 20px; }

.modal__panel {
  position: relative; z-index: 1; margin: auto; width: min(560px, 92vw);
  max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-solid); border-radius: var(--radius);
  padding: 40px 34px; animation: pop .22s var(--ease);
}
.modal__panel--sm { width: min(400px, 92vw); text-align: center; }
.modal__panel--sm .form { text-align: left; margin-top: 18px; }
.modal__panel h2 { margin-bottom: 8px; color: var(--gold-lt); }
.lock-badge {
  width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 14px;
  display: grid; place-items: center; color: #1a1206; background: var(--gold-grad);
}

/* -- Panel admin --------------------------------------------------------------- */
.admin__panel {
  position: relative; z-index: 1; margin: auto;
  width: min(920px, 94vw); max-height: 92vh; overflow-y: auto;
  background: var(--bg-alt); border: 1px solid var(--line-solid); border-radius: var(--radius);
  animation: pop .22s var(--ease);
}
.admin__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 22px 26px; background: var(--bg-alt); border-bottom: 1px solid var(--line-solid);
}
.admin__head h2 { font-size: 1.25rem; margin-top: 4px; color: var(--gold-lt); }
.admin__headActions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.admin__headActions .modal__close { position: static; }
.admin__body { padding: 24px 26px 30px; }
.admin__toggle { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.admin__subhead { margin-bottom: 16px; color: var(--gold-lt); }
.admin__note { margin-top: 18px; font-size: .8rem; }
.admin__note code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

.admin__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acard { background: var(--surface); border: 1px solid var(--line-solid); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 10px; }
.acard__media { aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; background: var(--surface-2); position: relative; display: grid; place-items: center; }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard__media span { color: var(--muted); font-size: .75rem; }
.acard__row { display: flex; gap: 8px; }
.acard input[type="text"], .acard input[type="number"] {
  width: 100%; padding: 8px 10px; font: inherit; font-size: .85rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-solid); border-radius: 8px;
}
.acard input:focus { outline: none; border-color: var(--gold); }
.acard__file { position: relative; overflow: hidden; }
.acard__file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.acard__actions { display: flex; gap: 6px; }
.mini {
  flex: 1; padding: 7px 8px; font: inherit; font-size: .76rem; font-weight: 600;
  border-radius: 7px; border: 1px solid var(--line-solid); background: var(--surface-2);
  color: var(--text); cursor: pointer;
}
.mini:hover { border-color: var(--gold); color: var(--gold); }
.mini--danger:hover { border-color: var(--ruby); color: var(--ruby); }

/* -- Switch --------------------------------------------------------------------- */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch__slider {
  width: 48px; height: 27px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line-solid); position: relative; transition: background .2s, border-color .2s;
}
.switch__slider::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px;
  border-radius: 50%; background: var(--muted); transition: transform .2s var(--ease), background .2s;
}
.switch input:checked + .switch__slider { background: rgba(212,175,55,.25); border-color: var(--gold); }
.switch input:checked + .switch__slider::after { transform: translateX(21px); background: var(--gold-lt); }
.switch input:focus-visible + .switch__slider { box-shadow: 0 0 0 3px rgba(212,175,55,.28); }
.switch__label { font-size: .86rem; font-weight: 600; }

/* -- Cookies / Toast ------------------------------------------------------------ */
.cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 45;
  width: min(680px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line-solid); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow);
}
.cookie p { font-size: .84rem; color: var(--muted); flex: 1 1 320px; }
.cookie__actions { display: flex; gap: 8px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  z-index: 80; background: var(--gold-grad); color: #1a1206; font-weight: 600; font-size: .88rem;
  padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

.legal-content { color: var(--muted); font-size: .9rem; }
.legal-content h3 { color: var(--text); margin: 18px 0 6px; }
.legal-content p { margin-bottom: 10px; }
.legal-content ul { margin: 0 0 10px 20px; }

/* -- Cabecera de página interior --------------------------------------------- */
.pagehead {
  position: relative; overflow: hidden;
  padding: clamp(46px, 8vw, 86px) 0 clamp(26px, 5vw, 44px);
  background: var(--bg-alt); border-bottom: 1px solid var(--line-solid);
}
.pagehead::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 420px;
  background: radial-gradient(520px 260px at 80% 6%, rgba(212,175,55,.16), transparent 70%);
  filter: blur(20px);
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); margin: 12px 0 14px; }
.pagehead p { color: var(--muted); max-width: 620px; }

/* -- Rejilla "Explora" (index) --------------------------------------------- */
.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.explore a {
  display: block; background: var(--surface); border: 1px solid var(--line-solid);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .2s var(--ease);
}
.explore a:hover { border-color: var(--gold-dp); transform: translateY(-4px); }
.explore h3 { color: var(--gold-lt); margin-bottom: 6px; }
.explore p { color: var(--muted); font-size: .9rem; }
.explore .go { color: var(--gold); font-size: .8rem; display: inline-block; margin-top: 12px;
  letter-spacing: .04em; text-transform: uppercase; }

/* -- Banda CTA ------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin: 0 auto 22px; max-width: 520px; }

/* -- Aviso destacado ----------------------------------------------------------- */
.callout {
  background: linear-gradient(100deg, rgba(212,175,55,.10), rgba(200,16,46,.08));
  border: 1px solid var(--gold-dp); border-radius: var(--radius);
  padding: 20px 22px; color: var(--text); margin-bottom: 32px;
}

/* -- Lista de ventajas ------------------------------------------------------- */
.perks { list-style: none; display: grid; gap: 12px; margin-top: 4px; }
.perks li { position: relative; padding-left: 28px; color: var(--muted); }
.perks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px;
  background: var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m9 16.2-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m9 16.2-3.5-3.5L4 14.2 9 19l11-11-1.5-1.5z'/%3E%3C/svg%3E") center/72% no-repeat;
}

/* -- Animaciones -------------------------------------------------------------- */
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes slideIn { from { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* -- Responsive ------------------------------------------------------------------ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__emblem { max-width: 420px; }
  .keys { grid-template-columns: 1fr; gap: 28px; }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder__photo { max-width: 420px; }
}
@media (max-width: 900px) {
  .grid--3, .explore { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .form-layout { grid-template-columns: 1fr; gap: 32px; }
  .admin__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
  .nav__actions .btn--sm { display: none; }
  .nav__burger { display: inline-grid; }
  .nav.is-open .nav__links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 14px 24px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line-solid);
  }
  .nav.is-open .nav__links a { padding: 10px 0; }
  .grid--3, .admin__grid, .explore { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(1.4rem, 6vw, 1.85rem); line-height: 1.22; hyphens: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .countdown { gap: 8px; }
  .countdown > div { min-width: 0; flex: 1; padding: 12px 4px; }
  .countdown span { font-size: 1.2rem; }
  .fab span { display: none; }
  .fab { padding: 14px; }
  .wa-fab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
  .modal__panel, .drawer__panel { padding: 44px 20px 26px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
}
