/* ==========================================================================
   Jesús · Mentalista — estilos
   Tema único oscuro ("tinta y brasa"). Sin frameworks, sin build de CSS.
   Contraste verificado: papel/tinta ≈ 16:1 · muted/tinta ≈ 7:1 · tinta/brasa ≈ 5.3:1
   ========================================================================== */

:root {
  --ink: #0c0b0e;
  --ink-2: #131117;
  --ink-3: #1b1820;
  --paper: #f3eddf;
  --paper-2: #d9d1c0;
  --muted: #a59d8f;
  --ember: #c9a45d;      /* oro del logo */
  --ember-hi: #e6c47d;
  --brass: #8f7340;
  --eye: #e0262f;        /* ojo egipcio */
  --line: rgba(243, 237, 223, 0.13);
  --line-2: rgba(243, 237, 223, 0.24);

  --font-display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-caps: 'Cinzel', 'Trajan Pro', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.8rem, 6.6vw + 0.6rem, 5.9rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 3.7vw + 0.7rem, 3.5rem); }
h3 { font-size: clamp(1.45rem, 1vw + 1.1rem, 1.85rem); }
em { font-style: italic; color: var(--ember-hi); font-weight: 500; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--ember-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(12, 11, 14, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.brand__role { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand__logo { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__list { display: flex; gap: clamp(16px, 2.4vw, 34px); list-style: none; }
.nav__list a {
  text-decoration: none; font-size: 0.92rem; font-weight: 600; color: var(--paper-2);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav__list a:hover { color: var(--paper); border-color: var(--ember); }
.nav__list a[aria-current="page"] { color: var(--paper); border-color: var(--ember-hi); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2); color: var(--paper);
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; content: ''; position: relative; transition: transform .25s, opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 0.95rem/1 var(--font-body); letter-spacing: 0.01em;
  padding: 16px 26px; min-height: 48px; border-radius: 999px; border: 1px solid transparent;
  background: var(--ember); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--ember-hi); transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(201, 164, 93, 0.7); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(243, 237, 223, 0.06); border-color: var(--paper-2); box-shadow: none; }
.btn--sm { padding: 12px 20px; min-height: 42px; font-size: 0.88rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Bloques comunes ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ember-hi);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }

.lead { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem); color: var(--paper-2); max-width: 60ch; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--paper-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 32%, rgba(201, 164, 93, 0.20), transparent 62%),
    radial-gradient(50% 60% at 8% 100%, rgba(201, 164, 93, 0.10), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; text-wrap: balance; }
.hero .lead { margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.hero__proof li { display: inline-flex; align-items: center; gap: 10px; }
.hero__proof li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); flex: none; }

.hero__art { position: relative; }
.hero__art .media { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.rings { position: absolute; z-index: -1; inset: -14% -22%; pointer-events: none; }
.rings circle { fill: none; stroke: var(--brass); stroke-width: 1; transform-origin: 50% 50%; opacity: 0.35; animation: ring 9s ease-in-out infinite; }
.rings circle:nth-child(2) { animation-delay: -1.8s; }
.rings circle:nth-child(3) { animation-delay: -3.6s; }
.rings circle:nth-child(4) { animation-delay: -5.4s; }
.rings .dot { fill: var(--ember); stroke: none; opacity: 1; animation: none; }
@keyframes ring { 0%, 100% { transform: scale(0.94); opacity: 0.16; } 50% { transform: scale(1.03); opacity: 0.42; } }

/* ---------- Medios (foto / placeholder) ---------- */
.media { position: relative; margin: 0; aspect-ratio: var(--r, 4 / 3); border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  border: 1px dashed var(--line-2);
  background:
    repeating-linear-gradient(135deg, rgba(243, 237, 223, 0.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--ink-3), var(--ink-2));
  display: grid; place-items: center;
}
.ph::before, .ph::after { content: ''; position: absolute; width: 22px; height: 22px; border: 1px solid var(--brass); opacity: 0.6; }
.ph::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.ph::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.ph__label { display: grid; gap: 6px; text-align: center; padding: 20px; font-family: var(--font-mono); }
.ph__tag { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-hi); font-weight: 700; }
.ph__name { font-size: 0.86rem; color: var(--paper-2); }
.ph__size { font-size: 0.72rem; color: var(--muted); }

/* ---------- Franja de credibilidad ---------- */
.trust { border-block: 1px solid var(--line); background: var(--ink-2); padding-block: 26px; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; justify-content: space-between; }
.trust__label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 38px; list-style: none; }
.brands li { font-family: var(--font-display); font-size: 1.35rem; color: var(--paper-2); letter-spacing: -0.01em; }
.brands img { height: 30px; width: auto; filter: grayscale(1) brightness(1.6); opacity: 0.85; }

/* ---------- Servicios (cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; }
.cards > li { display: flex; }
.card {
  flex: 1; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s, border-color .3s, background .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--ember); background: var(--ink-3); }
.card .media { border-radius: 0; }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ember-hi); letter-spacing: 0.16em; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--paper-2); font-size: 0.95rem; }
.card__more { margin-top: auto; padding-top: 12px; font-size: 0.86rem; font-weight: 700; color: var(--ember-hi); }

/* ---------- Manifiesto ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pull { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw + 0.6rem, 3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px; font-weight: 400; text-wrap: balance; }
.pull::before { content: '“'; color: var(--ember); margin-right: 0.05em; }
.pull::after { content: '”'; color: var(--ember); }
.pull-by { color: var(--muted); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; list-style: none; }
.fact { border-top: 1px solid var(--line-2); padding-top: 16px; }
.fact__n { font-family: var(--font-display); font-size: clamp(2rem, 2.6vw + 1rem, 3rem); line-height: 1; letter-spacing: -0.02em; display: block; white-space: nowrap; }
.fact__n small { font-size: 0.42em; letter-spacing: 0; color: var(--paper-2); margin-left: 0.15em; font-family: var(--font-body); font-weight: 700; }
.fact__l { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 8px; display: block; line-height: 1.4; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--paper-2); background: rgba(243, 237, 223, 0.03); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; counter-reset: paso; }
.step { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); counter-increment: paso; }
.step::before { content: counter(paso, decimal-leading-zero); font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--ember); display: block; margin-bottom: 14px; font-style: italic; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--paper-2); font-size: 0.96rem; }

/* ---------- Banda CTA ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 10vw, 130px); }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 50% 100%, rgba(201, 164, 93, 0.24), transparent 70%); }
.cta-band h2 { max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.cta-band p { color: var(--paper-2); max-width: 46ch; margin-inline: auto; margin-bottom: 32px; }

/* ---------- Páginas interiores ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 80% at 92% 0%, rgba(201, 164, 93, 0.16), transparent 65%); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.4rem); margin-bottom: 0.35em; }

.show { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.show:last-of-type { border-bottom: 0; }
.show:nth-of-type(even) .show__media { order: 2; }
.show__tag { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; color: var(--ember-hi); margin-bottom: 12px; display: block; }
.show h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 2.8rem); }
.show p { color: var(--paper-2); }
.ideal { margin-top: 20px; }
.ideal h3 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.ideal ul { list-style: none; display: grid; gap: 8px; }
.ideal li { display: flex; gap: 12px; align-items: baseline; color: var(--paper-2); font-size: 0.98rem; }
.ideal li::before { content: '→'; color: var(--ember-hi); flex: none; }

.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 19px; }
.spec td { font-size: 1.02rem; color: var(--paper); }
.spec td small { display: block; color: var(--muted); margin-top: 4px; font-size: 0.86rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.note { border-left: 2px solid var(--ember); padding: 6px 0 6px 20px; color: var(--paper-2); }
.note strong { color: var(--paper); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ink-2); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--ember-hi); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--paper-2); }

.tv { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.tv__badge { display: inline-block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); border: 1px solid var(--brass); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }

.video-wrap { max-width: 960px; }
.videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 0; padding: 0; cursor: pointer; width: 100%; color: var(--paper); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6)); }
.video__play span { width: 68px; height: 68px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; color: var(--ink); }
.video__play svg { width: 26px; height: 26px; margin-left: 3px; }

.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--ink-2); }
.quote p { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; }
.quote footer { color: var(--muted); font-size: 0.86rem; font-weight: 600; }

.gallery { columns: 3 280px; column-gap: 16px; }
.gallery .media { break-inside: avoid; margin-bottom: 16px; }

/* ---------- Formulario ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 40px); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--paper-2); }
.field .req { color: var(--ember-hi); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper); background: var(--ink); min-height: 50px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a62; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember-hi); box-shadow: 0 0 0 3px rgba(230, 196, 125, 0.2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #ff6b6b; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
.field input[type="date"] { color-scheme: dark; }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form__legal { font-size: 0.8rem; color: var(--muted); max-width: 46ch; margin: 0; }
.form-status { grid-column: 1 / -1; border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: rgba(120, 200, 140, 0.12); border: 1px solid rgba(120, 200, 140, 0.5); color: #bff0cb; }
.form-status.is-err { display: block; background: rgba(255, 107, 107, 0.1); border: 1px solid rgba(255, 107, 107, 0.5); color: #ffc4c4; }
.form-status a { color: inherit; }

.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--ink-2); }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; margin-bottom: 14px; }
.aside-card p, .aside-card li { color: var(--paper-2); font-size: 0.96rem; }
.aside-card ul { list-style: none; display: grid; gap: 12px; }
.aside-card a { color: var(--paper); font-weight: 600; }


/* ---------- Paquetes y precios ---------- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; }
.packs > li { display: flex; }
.pack { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.pack--precio { border-color: var(--line-2); background: linear-gradient(170deg, var(--ink-3), var(--ink-2)); }
.pack__para { margin: 0; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pack h3 { margin: 0; }
.pack__precio { margin: 0; font-family: var(--font-display); font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem); color: var(--ember-hi); line-height: 1.1; }
.pack__precio--txt { font-size: clamp(1.35rem, 1vw + 1rem, 1.7rem); line-height: 1.2; }
.pack__sena { margin: -4px 0 0; font-size: 0.82rem; font-weight: 700; color: var(--paper-2); }
.pack__resumen { margin: 0; color: var(--paper-2); font-size: 0.95rem; }
.pack__datos { list-style: none; display: grid; gap: 6px; margin: 4px 0 6px; }
.pack__datos li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--paper-2); }
.pack__datos li::before { content: '✓'; color: var(--ember-hi); font-weight: 800; }
.pack__nota { margin: 0; font-size: 0.84rem; color: var(--muted); border-left: 2px solid var(--brass); padding-left: 12px; }
.pack .btn { margin-top: auto; align-self: flex-start; }
.packs__foot { margin: 28px 0 0; color: var(--paper-2); }
.packs__foot a { color: var(--ember-hi); font-weight: 700; }

/* ---------- Reserva ---------- */
[hidden] { display: none !important; }
.geo-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.geo-row input { flex: 1 1 240px; min-width: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form--booking { grid-template-columns: minmax(0, 1fr); gap: 36px; }
/* .step también es la tarjeta numerada de "Cómo se contrata" (home): acá se anula esa decoración. */
.form--booking .step { background: none; border-radius: 0; counter-increment: none; position: static; }
.form--booking .step::before { content: none; display: none; }
.step { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; border: 0; padding: 0; margin: 0; min-width: 0; }
.step__t { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; margin: 0; padding: 0; letter-spacing: -0.01em; }
.step__t span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ember); color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 0.9rem; flex: none; }

.paquetes__grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.paquete { display: flex; position: relative; cursor: pointer; }
.paquete input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.paquete__box { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--ink); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.paquete:hover .paquete__box { border-color: var(--paper-2); }
.paquete input:checked + .paquete__box { border-color: var(--ember-hi); background: rgba(201, 164, 93, 0.09); box-shadow: 0 0 0 1px var(--ember-hi) inset; }
.paquete input:focus-visible + .paquete__box { outline: 2px solid var(--ember-hi); outline-offset: 3px; }
.paquetes[aria-invalid="true"] .paquete__box { border-color: #ff6b6b; }
.paquete__nombre { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.paquete__para { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.paquete__resumen { color: var(--paper-2); font-size: 0.92rem; }
.paquete__dur { font-size: 0.85rem; color: var(--paper-2); font-weight: 600; }
.paquete__incluye { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.paquete__incluye li { font-size: 0.78rem; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--paper-2); }
.paquete__nota { font-size: 0.8rem; color: var(--muted); }
.paquete__precio { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-size: 1.35rem; color: var(--ember-hi); }
.paquete__sena { font-size: 0.78rem; font-weight: 700; color: var(--paper-2); }

.disp { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; color: var(--muted); background: rgba(243, 237, 223, 0.03); }
.disp[data-state="loading"] { color: var(--paper-2); }
.disp[data-state="free"] { color: #bff0cb; border-color: rgba(120, 200, 140, 0.5); background: rgba(120, 200, 140, 0.1); }
.disp[data-state="busy"] { color: #ffe0a8; border-color: rgba(230, 180, 80, 0.55); background: rgba(230, 180, 80, 0.1); }
.disp[data-state="day"] { color: #ffe0a8; border-color: rgba(230, 180, 80, 0.35); background: rgba(230, 180, 80, 0.06); }
.disp[data-state="unknown"] { color: var(--paper-2); }
.form-status .code { display: inline-block; margin: 0 2px; padding: 2px 10px; border-radius: 6px; background: rgba(243, 237, 223, 0.12); font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.08em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(48px, 6vw, 80px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer__tag { color: var(--muted); max-width: 32ch; font-size: 0.94rem; margin-top: 14px; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col li { color: var(--paper-2); font-size: 0.95rem; }
.footer__col a { text-decoration: none; color: var(--paper-2); font-size: 0.95rem; }
.footer__col a:hover { color: var(--ember-hi); }
.footer__base { border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); font-size: 0.82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Animación de entrada (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
/* Red de seguridad: si main.js nunca corre (bloqueado, error de red), el contenido aparece igual a los 3,5 s. */
.js:not(.ready) .reveal { animation: reveal-failsafe .01s 3.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }
.js .reveal[data-d="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 20px; }

  .hero__grid, .manifesto, .show, .two-col, .tv, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 420px; margin-inline: auto; width: 100%; }
  .rings { inset: -4% -14%; }
  .rings .dot { display: none; }
  .show:nth-of-type(even) .show__media { order: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .cards, .packs, .paquetes__grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fact { display: flex; align-items: baseline; gap: 14px; padding-block: 14px; }
  .fact__l { margin-top: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .trust__row { flex-direction: column; align-items: flex-start; }
  .brand__role { display: none; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rings circle { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Capa "mística" (estilo del logo del Mago Jesús: oro sobre negro, ojo, naipes, humo)
   ========================================================================== */
body { position: relative; background:
  radial-gradient(1100px 620px at 88% -8%, rgba(201, 164, 93, 0.08), transparent 62%),
  radial-gradient(900px 700px at -10% 38%, rgba(201, 164, 93, 0.045), transparent 60%),
  var(--ink); }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Marca ---------- */
.brand { align-items: center; }
.brand__logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(201, 164, 93, 0.45), 0 0 18px rgba(201, 164, 93, 0.25); flex: none; }
.brand__name { font-family: var(--font-caps); font-style: normal; font-weight: 600; font-size: 1.12rem; letter-spacing: 0.08em; color: var(--ember-hi); text-transform: uppercase; }
.brand__role { font-family: var(--font-caps); letter-spacing: 0.3em; }
.eyebrow { font-family: var(--font-caps); font-weight: 600; letter-spacing: 0.22em; }
.pack__precio, .fact__n, .paquete__precio, .step::before { font-variant-numeric: lining-nums; }

/* ---------- Portada: logo como pieza central ---------- */
.hero__logo { position: relative; margin: 0 auto; width: 100%; max-width: 540px; aspect-ratio: 1; }
.hero__logo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  mix-blend-mode: lighten; /* el negro del logo desaparece sobre el fondo */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 71%);
          mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 71%);
  filter: drop-shadow(0 0 40px rgba(201, 164, 93, 0.22));
  animation: logo-breathe 7s ease-in-out infinite;
}
@keyframes logo-breathe { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(201, 164, 93, 0.16)); } 50% { transform: scale(1.015); filter: drop-shadow(0 0 54px rgba(201, 164, 93, 0.32)); } }

/* ---------- Cartas ESP (Zener) repartidas por toda la página ---------- */
.esp-deck { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.esp {
  position: absolute; width: var(--w, 64px); height: auto; color: var(--ember);
  opacity: var(--o, 0.16); transform: rotate(var(--r, 0deg));
  animation: esp-float var(--d, 11s) ease-in-out infinite; animation-delay: var(--dl, 0s);
  filter: drop-shadow(0 0 10px rgba(201, 164, 93, 0.25));
}
.esp rect.esp__fondo { fill: rgba(12, 11, 14, 0.55); }
.esp * { vector-effect: non-scaling-stroke; }
@keyframes esp-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 5deg)); }
}

/* ---------- Ojo egipcio (Udyat) rojo detrás de los botones de reserva ---------- */
  position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none;
  width: var(--eye-w, 330px); transform: translate(-50%, -50%);
  color: var(--eye); opacity: 0.85;
  filter: drop-shadow(0 0 14px rgba(224, 38, 47, 0.55)) drop-shadow(0 0 38px rgba(224, 38, 47, 0.35));
  animation: eye-glow 3.8s ease-in-out infinite;
}
.eye__lid { transform-box: fill-box; transform-origin: center; animation: eye-blink 6s infinite; }
@keyframes eye-blink { 0%, 88%, 100% { transform: scaleY(1); } 91% { transform: scaleY(0.06); } 94% { transform: scaleY(1); } 96% { transform: scaleY(0.06); } 98% { transform: scaleY(1); } }
@keyframes eye-glow { 0%, 100% { opacity: 0.62; } 50% { opacity: 0.95; } }

@media (max-width: 860px) {
  .esp { --w: 46px !important; }
  .esp:nth-child(3n) { display: none; }
}
@media (max-width: 560px) {
}
@media (prefers-reduced-motion: reduce) {
}

/* ---------- Banners en movimiento (países, lugares, marcas) ---------- */
.banner { margin-top: clamp(34px, 5vw, 56px); }
.banner .trust__label { display: block; margin: 0 0 14px; }
.marquee {
  position: relative; overflow: hidden; padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 14px; padding-right: 14px; margin: 0; list-style: none; }
.mq-item {
  display: inline-flex; align-items: center; gap: 12px; flex: none; white-space: nowrap;
  padding: 10px 20px 10px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: linear-gradient(180deg, rgba(243, 237, 223, 0.05), rgba(243, 237, 223, 0.015));
  color: var(--paper); font-weight: 600; font-size: 0.95rem;
}
.mq-brand { font-family: var(--font-caps); font-weight: 600; letter-spacing: 0.08em; font-size: 0.98rem; color: var(--ember-hi); }
.mq-flag { display: inline-flex; width: 30px; height: 20px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(243, 237, 223, 0.2); }
.mq-flag svg { width: 100%; height: 100%; display: block; }
.mq-icon { background: var(--ink); color: var(--ember-hi); box-shadow: 0 0 0 1px rgba(201, 164, 93, 0.5); }
.mq-logo img { height: 22px; width: auto; display: block; filter: grayscale(1) brightness(1.6); }
.trust { padding-block: 22px 18px; }
.trust .trust__label { display: block; margin: 0 0 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Ojo que acompaña al visitante ---------- */
.watcher {
  position: fixed; left: 0; top: 0; z-index: 3; width: 100px; pointer-events: none;
  color: var(--eye); opacity: 0; transition: opacity 0.12s ease; will-change: transform, opacity;
  filter: drop-shadow(0 0 10px rgba(224, 38, 47, 0.55)) drop-shadow(0 0 28px rgba(224, 38, 47, 0.3));
}
.watcher.is-on { opacity: 0.92; transition: opacity 0.45s ease; }
.watcher__in { animation: eye-glow 3.8s ease-in-out infinite; }
.watcher svg { width: 100%; height: auto; display: block; overflow: visible; }
.eye__iris { transition: transform 0.18s ease-out; }

/* ---------- Cursor de mentalista ---------- */
.mind-cursor {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1.5px solid var(--ember-hi); opacity: 0;
  box-shadow: 0 0 12px rgba(201, 164, 93, 0.35), inset 0 0 8px rgba(201, 164, 93, 0.2);
  transition: width 0.25s, height 0.25s, margin 0.25s, opacity 0.3s, background 0.25s, border-color 0.25s;
}
.mind-cursor::before { /* el "tercer ojo" del centro */
  content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px;
  border-radius: 50%; background: var(--ember-hi); box-shadow: 0 0 8px var(--ember-hi);
}
.mind-cursor::after { /* órbita que gira */
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px dashed rgba(201, 164, 93, 0.45); animation: orbita 6s linear infinite;
}
.mind-cursor.is-on { opacity: 0.9; }
.mind-cursor.is-hover { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(201, 164, 93, 0.1); }
.mind-cursor.is-field { opacity: 0.25; }
.mind-cursor.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
@keyframes orbita { to { transform: rotate(360deg); } }
.mind-spark {
  position: fixed; z-index: 69; pointer-events: none; color: var(--ember-hi); font-size: 11px; line-height: 1;
  text-shadow: 0 0 6px rgba(230, 196, 125, 0.8); animation: chispa 0.85s ease-out forwards;
}
@keyframes chispa {
  from { opacity: 0.95; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 12px))) scale(0.3) rotate(90deg); }
}
.mind-whisper {
  position: fixed; left: 0; top: 0; z-index: 71; pointer-events: none; max-width: 280px;
  padding: 11px 15px; border: 1px solid rgba(201, 164, 93, 0.45); border-radius: 12px;
  background: rgba(12, 11, 14, 0.94); color: var(--paper);
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.12rem; line-height: 1.3;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.85), 0 0 26px rgba(201, 164, 93, 0.16);
  opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s;
}
.mind-whisper::before { content: '✦ '; color: var(--ember-hi); font-style: normal; }
.mind-whisper.is-on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .watcher__in, .mind-cursor::after { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Celulares y tablets (iOS / Android) ---------- */
a, button, label, summary, .paquete { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  /* en pantallas táctiles el "hover" queda pegado después de tocar: se anulan los efectos de mouse */
  .btn:hover { transform: none; box-shadow: none; }
  .card:hover { transform: none; }
  .paquete:hover .paquete__box { border-color: var(--line-2); }
  .paquete input:checked + .paquete__box { border-color: var(--ember-hi); }
  .marquee:hover .marquee__track { animation-play-state: running; }
}
