:root {
  --cream: #f8f3ec;
  --paper: #fffdf9;
  --latte: #efe3d4;
  --sand: #dcc6ab;
  --cocoa: #5a3422;
  --cocoa-2: #3d2217;
  --cocoa-3: #7b4a30;
  --caramel: #a8703f;
  --sky: #a9cfea;
  --sky-2: #dcebf6;
  --blue: #4f86c6;
  --blue-2: #2f5f9f;
  --ink: #3d2a20;
  --muted: #86705f;
  --line: rgba(90, 52, 34, .16);
  --line-soft: rgba(90, 52, 34, .09);
  --red: #b4432f;
  --radius: 18px;
  --display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
  --cond: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong { font-weight: 700; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }

.kicker {
  margin: 0 0 8px;
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue);
}
h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 14px; color: var(--cocoa); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); }

/* ===== Logo (PNG blanco recoloreado con máscara) ===== */
.logo {
  display: block; width: 116px; aspect-ratio: 715 / 496;
  background: var(--cocoa);
  -webkit-mask: url(../img/logo-mujeres-3110.png) center / contain no-repeat;
  mask: url(../img/logo-mujeres-3110.png) center / contain no-repeat;
}
.logo-sm { width: 84px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font: 700 15px/1.2 var(--sans);
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-cocoa {
  background: linear-gradient(180deg, var(--cocoa-3), var(--cocoa) 60%, var(--cocoa-2));
  color: #fff8f0;
  box-shadow: 0 12px 28px -12px rgba(61, 34, 23, .7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-cocoa:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(61, 34, 23, .8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-blue {
  background: linear-gradient(180deg, #6c9dd6, var(--blue) 60%, var(--blue-2));
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(47, 95, 159, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-blue:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--paper); color: var(--cocoa); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cocoa-3); }
.btn-block { width: 100%; padding: 18px 26px; font-size: 16px; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .link-btn:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px;
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 48px 0 56px; display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: hidden; }
.wash {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 38% 46% at 82% 30%, rgba(169, 207, 234, .55), transparent 70%),
    radial-gradient(ellipse 30% 36% at 8% 88%, rgba(169, 207, 234, .4), transparent 70%),
    radial-gradient(ellipse 34% 30% at 18% 12%, rgba(220, 198, 171, .45), transparent 70%),
    radial-gradient(ellipse 28% 30% at 64% 96%, rgba(220, 198, 171, .5), transparent 70%);
  animation: breathe 16s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: scale(1.06) translateY(-10px); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy .logo { margin-bottom: 18px; }
.eyebrow { margin: 0 0 6px; font-family: var(--script); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--blue); }
.hero-title { margin: 0; font-family: var(--display); font-weight: 800; line-height: .9; letter-spacing: -.01em; text-transform: uppercase; color: var(--cocoa); }
.hero-title span { display: block; font-size: clamp(56px, 8.4vw, 112px); text-shadow: 5px 5px 0 rgba(169, 207, 234, .75); }
.hero-guest {
  margin: 4px 0 0 clamp(40px, 9vw, 150px);
  font-family: var(--script); font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1;
  color: var(--blue); transform: rotate(-3deg); transform-origin: left;
}
.hero-lede { max-width: 520px; margin: 24px 0 0; font-size: 17.5px; color: var(--ink); }
.hero-lede strong { color: var(--cocoa); }

.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.facts li { display: flex; align-items: center; gap: 14px; }
.facts svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--sky-2); color: var(--blue-2); }
.facts span { display: flex; flex-direction: column; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.facts b { color: var(--cocoa); font-size: 16.5px; }

.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.free-tag { font-family: var(--cond); font-size: 16px; letter-spacing: .3em; text-transform: uppercase; color: var(--cocoa-3); border-bottom: 1px solid var(--sand); padding-bottom: 2px; }

.social-proof { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 14.5px; color: var(--muted); }
.social-proof[hidden] { display: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(79,134,198,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(79,134,198,0); } 100% { box-shadow: 0 0 0 0 rgba(79,134,198,0); } }

.poster { margin: 0; position: relative; justify-self: center; max-width: 450px; }
.poster::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: 26px;
  background: linear-gradient(160deg, var(--sky), var(--sand));
}
.poster img { border-radius: 24px; box-shadow: 0 40px 70px -36px rgba(61, 34, 23, .55); }

.countdown {
  margin: 56px auto 0; max-width: 560px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 28px; border-radius: 999px;
  background: rgba(255, 253, 249, .8); border: 1px solid var(--line-soft);
  box-shadow: 0 20px 40px -30px rgba(61, 34, 23, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 56px; }
.countdown b { font-family: var(--cond); font-size: 36px; font-weight: 600; color: var(--cocoa); line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--cond); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.countdown i { width: 1px; height: 32px; background: var(--line); }
.countdown.done { justify-content: center; font-family: var(--script); font-size: 28px; font-weight: 600; color: var(--blue); }

/* ===== Mensaje ===== */
.message { padding: 100px 0 80px; text-align: center; background: var(--paper); }
.message h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.message-body { margin: 0 auto; max-width: 620px; font-size: 18px; color: var(--ink); }
.speaker {
  display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center;
  margin: 46px auto 0; max-width: 620px; padding: 18px; text-align: left;
  border-radius: 22px; background: var(--cream); border: 1px solid var(--line-soft);
}
.speaker-photo { width: 150px; height: 170px; border-radius: 16px; background: url(../img/flyer-fabiola.jpg) 60% 16% / 290% auto no-repeat; }
.speaker h3 { margin: 0; }
.speaker-from { margin: 0 0 8px; font-family: var(--script); font-size: 24px; font-weight: 600; color: var(--blue); line-height: 1.2; }
.speaker p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }
.bring { margin: 44px auto 0; max-width: 560px; font-family: var(--script); font-weight: 600; font-size: 28px; line-height: 1.25; color: var(--cocoa-3); }

/* ===== Versículo ===== */
.verse {
  padding: 70px 0; overflow: hidden;
  background: linear-gradient(180deg, var(--paper), #eef3fb 30%, #e6eefa 70%, var(--cream));
}
.verse-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; }
.verse blockquote { margin: 0; }
.verse blockquote p { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.4; color: #24314a; }
.verse cite { display: block; margin-top: 20px; font-style: normal; font-family: var(--cond); font-size: 18px; letter-spacing: .26em; text-transform: uppercase; color: var(--blue-2); }
.verse-art { width: 100%; border-radius: 22px; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 55%, transparent 100%); }

/* ===== Registro ===== */
.register { padding: 70px 0 110px; scroll-margin-top: 20px; }
.register-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: start; }

.palette { position: sticky; top: 28px; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line-soft); box-shadow: 0 30px 60px -45px rgba(61, 34, 23, .6); }
.palette img { width: 100%; }
.palette-copy { padding: 24px 26px 28px; }
.palette-copy > p:not(.kicker) { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.swatches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.swatches li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.swatches span { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

.form-card {
  position: relative;
  padding: 40px 38px;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: 0 40px 80px -50px rgba(61, 34, 23, .55);
}
.form-intro { margin: 0 0 26px; color: var(--muted); }

fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px; font-weight: 700; font-size: 16.5px; color: var(--cocoa); }
.step { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--sky-2); color: var(--blue-2); font-size: 13px; font-weight: 700; }
.opt { font-weight: 500; color: var(--muted); font-size: 13px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; color: var(--cocoa-3); }
.field .help { font-size: 12.5px; color: var(--muted); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.birth { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 10px; }
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font: 500 16px/1.4 var(--sans);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b4a30' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px;
}
select:invalid { color: rgba(134, 112, 95, .75); }
select option { color: var(--ink); }
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: rgba(134, 112, 95, .7); }
input:hover, textarea:hover, select:hover { border-color: rgba(90, 52, 34, .3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(79,134,198,.14); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field .err-msg { font-size: 12.5px; font-weight: 600; color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: rgba(180,67,47,.07); border: 1px solid rgba(180,67,47,.3); color: var(--red); font-size: 14px; }
.privacy { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

#submitBtn { position: relative; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,248,240,.35); border-top-color: #fff8f0; animation: spin .8s linear infinite; }
#submitBtn.loading .spinner { display: block; }
#submitBtn.loading .btn-label { opacity: .75; }
#submitBtn:disabled { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Confirmación ===== */
.success { text-align: center; padding: 10px 0; outline: none; }
.success-mark { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #6c9dd6, var(--blue-2)); color: #fff; box-shadow: 0 0 0 10px var(--sky-2); animation: pop .6s cubic-bezier(.3,1.6,.5,1) both; }
.success-mark svg { width: 34px; height: 34px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success-body { max-width: 440px; margin: 0 auto 24px; color: var(--ink); }
.ticket { display: grid; grid-template-columns: 1fr 1fr; margin: 0 auto 26px; max-width: 460px; border: 1.5px dashed var(--sand); border-radius: 14px; text-align: left; background: var(--cream); }
.ticket div { padding: 14px 18px; }
.ticket div + div { border-left: 1.5px dashed var(--sand); }
.ticket small { display: block; font-family: var(--cond); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.ticket b { font-size: 14.5px; color: var(--cocoa); }
.success-actions { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.link-btn { margin-top: 18px; background: none; border: 0; color: var(--muted); font: 600 14px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--cocoa); }

/* ===== Lugar ===== */
.place { padding: 90px 0 100px; background: var(--paper); border-top: 1px solid var(--line-soft); }
.place-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.place-addr { margin: 0 0 22px; font-size: 18px; }
.tips { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.tips li { position: relative; padding-left: 24px; color: var(--muted); }
.tips li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50% 0 50% 50%; transform: rotate(-45deg); background: var(--sky); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); aspect-ratio: 4 / 3; background: var(--latte); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.2) saturate(.85); }

/* ===== Footer ===== */
.footer { padding: 60px 0 110px; background: var(--cocoa-2); color: #f3e6d6; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer .logo { background: var(--sky); }
.footer-cta { margin: 6px 0 0; font-family: var(--script); font-weight: 600; font-size: 28px; line-height: 1.25; }
.footer-cta a { color: var(--sky); }
.footer-small { margin: 0; font-family: var(--cond); font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: rgba(243,230,214,.65); }

.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50;
  display: none; text-align: center; padding: 16px; border-radius: 999px;
  background: linear-gradient(180deg, var(--cocoa-3), var(--cocoa) 60%, var(--cocoa-2)); color: #fff8f0;
  font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 14px 40px -12px rgba(61,34,23,.75);
  transform: translateY(140%); transition: transform .35s ease;
}
.sticky-cta.show { transform: none; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero-guest.reveal.in { transform: rotate(-3deg); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-guest { margin-left: 0; transform-origin: center; }
  .facts { text-align: left; }
  .hero-cta { justify-content: center; }
  .poster { max-width: 340px; }
  .verse-grid { grid-template-columns: 1fr; text-align: center; }
  .verse-art { max-width: 460px; margin: 0 auto; }
  .register-grid { grid-template-columns: 1fr; }
  .palette { position: static; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; }
  .place-grid { grid-template-columns: 1fr; gap: 32px; }
  .sticky-cta { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .hero-copy .logo { width: 96px; }
  .eyebrow { font-size: 26px; }
  .hero-lede { font-size: 16px; }
  .countdown { padding: 12px 16px; margin-top: 40px; }
  .countdown div { min-width: 44px; }
  .countdown b { font-size: 28px; }
  .message { padding: 76px 0 64px; }
  .message-body { font-size: 16.5px; }
  .speaker { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; }
  .speaker-photo { width: 96px; height: 120px; }
  .bring { font-size: 25px; }
  .verse { padding: 56px 0 40px; }
  .palette { grid-template-columns: 1fr; }
  .palette-copy { padding: 20px; }
  .form-card { padding: 28px 18px; border-radius: 22px; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .birth { gap: 8px; }
  .birth select { padding-left: 12px; padding-right: 28px; background-position: right 6px center; }
  .ticket { grid-template-columns: 1fr; }
  .ticket div + div { border-left: 0; border-top: 1.5px dashed var(--sand); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .success-mark svg { stroke-dashoffset: 0; }
}
