/* Fanátikos de PascalIA · página del producto. Identidad PascalIA: amarillo para actuar, grafito para cerrar, crema para calidez. */
:root {
  --yellow: #FFC107;
  --yellow-hover: #FFB300;
  --yellow-soft: #FFD54F;
  --graphite: #1F1F1F;
  --gray: #E9E9E9;
  --cream: #FFF8E1;
  --white: #FFFFFF;
  --muted: #5C5C5C;
  --gold-ink: #8A6100;
  --shadow-brand: 0 10px 30px -10px rgba(255, 193, 7, .55);
  --shadow-card: 0 8px 24px rgba(31, 31, 31, .08);
  --shadow-lift: 0 22px 48px -18px rgba(31, 31, 31, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --f-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--graphite); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--yellow-soft); color: var(--graphite); }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-head); color: var(--graphite); margin: 0; text-wrap: balance; }
h2 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em; }
h3 { font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--graphite); text-underline-offset: 3px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.fine { font-size: .875rem; color: var(--muted); }
.flor { width: 34px; height: 34px; flex: none; }
.eyebrow { font: 700 .8rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.eyebrow.on-dark { color: var(--yellow); }
.y { color: var(--yellow); }
.mark { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 90%, transparent 90%); padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Botones */
.btn { --lift: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0; font: 600 1rem/1.1 var(--f-head); text-decoration: none; cursor: pointer; transform: translateY(var(--lift)); transition: transform 200ms var(--ease), background-color 200ms, box-shadow 200ms, color 200ms; text-align: center; }
.btn-primary { background: var(--yellow); color: var(--graphite); }
.btn-primary:hover { --lift: -2px; background: var(--yellow-hover); box-shadow: var(--shadow-brand); }
.btn-ghost { background: transparent; color: var(--graphite); box-shadow: inset 0 0 0 1.5px var(--graphite); }
.btn-ghost:hover { background: var(--cream); }
.btn-outline-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); margin-top: 28px; }
.btn-outline-w:hover { --lift: -2px; box-shadow: inset 0 0 0 1.5px var(--yellow); color: var(--yellow); }
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: .9rem; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--gray); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-txt { display: grid; line-height: 1; }
.brand-txt b { font: 800 1.25rem/1 var(--f-head); letter-spacing: -.02em; }
.brand-txt span { font: 600 .74rem/1.2 var(--f-head); color: var(--muted); margin-top: 3px; }
.brand-txt i { font-style: normal; color: var(--gold-ink); font-weight: 800; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font: 600 .95rem var(--f-head); color: var(--muted); }
.nav-links a:hover { color: var(--graphite); }

/* Portada */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 64px 0 80px; }
.hero-flor { position: absolute; right: -140px; top: -120px; width: 520px; height: 520px; opacity: .22; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.pill-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--gray); font: 600 .85rem/1.3 var(--f-head); margin-bottom: 24px; }
.pill-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); } }
.hero h1 { font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.05; letter-spacing: -.02em; max-width: 14ch; }
.hero .sub { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.hero-art { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-flyer { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lift); transform: rotate(2deg); }
.hero-logo { position: absolute; left: -44px; bottom: -36px; width: 150px; border-radius: 30px; box-shadow: var(--shadow-lift); transform: rotate(-6deg); }

/* Funciones */
.features { padding: 104px 0; }
.head { max-width: 46rem; margin-bottom: 56px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feat + .feat { border-top: 1px solid var(--gray); }
.feat.flip .feat-copy { order: 2; }
.feat-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cream); margin-bottom: 18px; }
.feat-ico .i { width: 26px; height: 26px; }
.feat-copy p { margin-top: 14px; color: var(--muted); max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F1F1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { margin: 0; justify-self: center; }
.shot img { border-radius: 22px; box-shadow: var(--shadow-lift); }
.shot-flyer { width: min(100%, 400px); }
.shot-phone { width: min(100%, 300px); padding: 10px; border-radius: 36px; background: var(--graphite); }
.shot-phone img { border-radius: 28px; box-shadow: none; }

/* Patrocinios */
.sponsors { background: var(--graphite); color: #fff; padding: 96px 0; }
.sponsors h2 { color: #fff; }
.sponsors-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.sponsors .lead { margin-top: 18px; color: #D6D6D6; font-size: 1.125rem; max-width: 32em; }
.sponsor-map { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.sponsor-map li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sponsor-map li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--graphite); display: grid; place-items: center; font: 800 1.1rem var(--f-head); }
.sponsor-map b { font: 700 1.05rem var(--f-head); }
.sponsor-map span { color: #CFCFCF; font-size: .95rem; }

/* Roles */
.roles { padding: 104px 0; background: var(--white); }
.role-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.role { padding: 24px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--gray); background: #fff; }
.role h3 { font-size: 1.15rem; }
.role p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.extras { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.extras li { padding: 20px 22px; border-radius: 18px; background: var(--cream); font-size: .98rem; }
.extras b { display: block; font-family: var(--f-head); margin-bottom: 4px; }

/* Preguntas */
.faq { padding: 104px 0; background: var(--cream); }
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--gray); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font: 700 1.05rem/1.35 var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { width: 28px; height: 28px; flex: none; padding: 5px; border-radius: 50%; background: var(--cream); transition: transform 300ms var(--ease), background-color 300ms; }
.faq details[open] .faq-i { transform: rotate(45deg); background: var(--yellow); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }

/* Cierre */
.close { background: var(--graphite); color: #fff; padding: 104px 0; }
.close-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.close-copy h2 { color: #fff; font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; }
.close-copy > p { margin-top: 18px; color: #D6D6D6; font-size: 1.125rem; max-width: 30em; }
.close-alt { margin-top: 22px; color: #BDBDBD; }
.close-alt a, .close-copy a:not(.btn) { color: #fff; }
.close-form .pf { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.close-form .pf a { color: var(--graphite); }
.pf { --pf-accent: #1F1F1F; --pf-focus: #FFC107; --pf-line: #E0E0E0; --pf-muted: #5C5C5C; font-family: var(--f-body); }
.pf .pf-submit { font-family: var(--f-head); background: var(--yellow) !important; color: var(--graphite) !important; }

/* Pie */
.foot { background: #181818; color: #CFCFCF; padding: 72px 0 40px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.logo-w { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 800 1.5rem/1 var(--f-head); letter-spacing: -.03em; }
.logo-w b { color: var(--yellow); }
.foot-brand p { margin-top: 14px; }
.foot-small { font-size: .9rem; color: #A8A8A8; max-width: 26em; }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h3 { font: 700 .9rem var(--f-head); color: #fff; margin-bottom: 4px; }
.foot-col a { color: #CFCFCF; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--yellow); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid #333; padding-top: 24px; font-size: .875rem; color: #A8A8A8; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 40px 0 72px; }
  .hero-in, .feat, .sponsors-in, .faq-in, .close-in { grid-template-columns: 1fr; gap: 40px; }
  .feat.flip .feat-copy { order: 0; }
  .hero-art { width: min(100% - 40px, 360px); }
  .hero-logo { left: -20px; width: 110px; }
  .features, .roles, .faq, .close { padding: 80px 0; }
  .sponsors { padding: 80px 0; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .brand-txt span { display: none; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
