:root {
    --bg: #0a0a0c;
    --bg-2: #111114;
    --ink: #f5f3ee;
    --ink-soft: #b9b4a8;
    --gold: #c9a96a;
    --gold-soft: #e9d9b3;
    --line: rgba(245, 243, 238, 0.12);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    --radius: 14px;
    --maxw: 1180px;
    --maxw-narrow: 760px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--bg); color: var(--ink); }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--maxw-narrow); }

a { color: inherit; text-decoration: none; }

/* === Topbar === */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-line { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); }
.brand-name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; letter-spacing: 0.18em; margin-top: 4px; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.topnav a { color: var(--ink-soft); transition: color .2s ease; }
.topnav a:hover { color: var(--ink); }
.btn-ghost {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 14px;
    border-radius: 999px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
}
.btn-ghost:hover { background: var(--gold); color: var(--bg) !important; }

/* === Hero === */
.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(201, 169, 106, 0.18), transparent 60%),
        linear-gradient(180deg, #0a0a0c 0%, #0c0c10 100%);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url('../img/hero-flyer.jpg') center/cover no-repeat;
    opacity: 0.10; filter: blur(2px) saturate(110%);
    pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    padding: 72px 24px;
}
.eyebrow { color: var(--gold); letter-spacing: 0.32em; text-transform: uppercase; font-size: 12px; margin-bottom: 18px; }
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(56px, 9vw, 124px);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
}
.hero h1 .serif { display: block; }
.hero h1 .italic { font-style: italic; color: var(--gold-soft); }
.lede { font-size: 17px; color: var(--ink-soft); max-width: 560px; margin-bottom: 14px; }
.lede.strong { color: var(--ink); font-weight: 500; }
.hero-dates { display: flex; gap: 16px; margin: 32px 0 28px; flex-wrap: wrap; }
.date-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    min-width: 200px;
    display: flex; flex-direction: column; gap: 4px;
}
.date-card .city { color: var(--gold); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.date-card .day { font-family: 'Cormorant Garamond', serif; font-size: 22px; }
.date-card .day strong { font-weight: 700; }
.date-card .month { color: var(--ink-soft); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.cta-primary {
    display: inline-block;
    background: var(--gold);
    color: #1a1407;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 13px;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
    box-shadow: 0 12px 30px rgba(201, 169, 106, 0.18);
    border: none; cursor: pointer;
}
.cta-primary:hover { transform: translateY(-1px); background: var(--gold-soft); }
.cta-primary.block-btn { display: block; width: 100%; padding: 18px 24px; }
.cta-primary[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.micro { color: var(--ink-soft); font-size: 12px; margin-top: 14px; letter-spacing: 0.08em; }

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.hero-image img { display: block; width: 100%; height: auto; }

/* === Sections === */
.block { padding: 96px 0; }
.block.dark { background: var(--bg-2); }
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 12px;
}
.section-title.centered, .section-sub.centered { text-align: center; }
.section-sub { color: var(--ink-soft); margin-bottom: 36px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.feature {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}
.feature .num {
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Agenda */
.agenda { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.agenda-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.02);
    align-items: start;
}
.agenda-when { display: flex; flex-direction: column; }
.agenda-when strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    color: var(--gold-soft);
}
.agenda-when span { color: var(--ink-soft); letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; margin-top: 4px; }
.agenda-what h3 { font-size: 18px; margin-bottom: 6px; }
.agenda-what p { color: var(--ink-soft); }

/* === Form === */
.form-block { padding-bottom: 120px; }
.reg-form {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    margin-top: 12px;
}
.field { margin-bottom: 22px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
    display: block;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 500;
}
.field label span { color: var(--gold); }
.field label .opt { color: var(--ink-soft); font-size: 12px; letter-spacing: 0; font-weight: 400; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
    width: 100%;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--ink);
    font: inherit;
    transition: border-color .15s ease, background .2s ease;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0,0,0,0.5);
}
.field textarea { resize: vertical; min-height: 88px; }

.phone-row {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 8px;
}
.country-code {
    width: 100%;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 8px;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                      linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
    background-position: calc(100% - 12px) center, calc(100% - 7px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 24px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.country-code:focus { outline: none; border-color: var(--gold); background-color: rgba(0,0,0,0.5); }
.country-code option { background: #111114; color: var(--ink); }
.country-code option:disabled { color: var(--ink-soft); }
@media (max-width: 600px) {
    .phone-row { grid-template-columns: 1fr; }
}

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .15s ease, background .2s ease;
    background: rgba(255,255,255,0.02);
    margin: 0;
}
.chip:hover { border-color: rgba(201, 169, 106, 0.45); }
.chip input { accent-color: var(--gold); cursor: pointer; }
.chip:has(input:checked) {
    background: rgba(201, 169, 106, 0.12);
    border-color: var(--gold);
    color: var(--gold-soft);
}

.legal {
    margin: 8px 0 22px;
    font-size: 13px;
    color: var(--ink-soft);
}
.legal label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.legal input { margin-top: 3px; accent-color: var(--gold); }

.hp { position: absolute; left: -10000px; top: -10000px; height: 0; width: 0; opacity: 0; }

.form-feedback { margin-top: 16px; font-size: 14px; min-height: 1.5em; }
.form-feedback.ok { color: #88e2a3; }
.form-feedback.err { color: #ff8c8c; }

.whatsapp-card {
    margin-top: 32px;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
    background: rgba(37, 211, 102, 0.04);
}
.whatsapp-card p { color: var(--ink-soft); margin-bottom: 14px; }
.whatsapp-card strong { color: var(--ink); }
.btn-wa {
    display: inline-block;
    background: #25D366;
    color: #08240f !important;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* === Footer === */
.footer { padding: 36px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.18em; color: var(--ink); }
.footer-orgs { display: flex; gap: 8px; align-items: center; }
.footer-orgs strong { color: var(--ink); }

/* === Success state === */
.thanks-state {
    text-align: center;
    padding: 48px 20px 20px;
}
.thanks-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(136, 226, 163, 0.12);
    color: #88e2a3;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}
.thanks-state h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: var(--gold-soft);
    margin-bottom: 12px;
}
.thanks-lead { color: var(--ink-soft); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.thanks-foot { color: var(--ink-soft); font-size: 13px; margin-top: 20px; }

.next-step {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.10), rgba(37, 211, 102, 0.04));
    border: 1px solid rgba(37, 211, 102, 0.45);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    margin: 0 auto;
    max-width: 560px;
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.10);
}
.next-step-tag {
    display: inline-block;
    background: #25D366;
    color: #08240f;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.next-step h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 600;
}
.next-step p {
    color: var(--ink-soft);
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.6;
}
.next-step p strong { color: var(--ink); }
.btn-wa-lg { padding: 16px 30px; font-size: 14px; }

/* === Tarjeta "Agrega al calendario" === */
.calendar-card {
    margin: 28px auto 0;
    max-width: 560px;
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(600px 200px at 50% 0%, rgba(201, 169, 106, 0.12), transparent 70%),
        rgba(255, 255, 255, 0.02);
    text-align: center;
}
.calendar-tag {
    display: inline-block;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.calendar-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 6px;
}
.calendar-meta {
    color: var(--ink-soft);
    font-size: 13px;
    margin-bottom: 18px;
    text-transform: capitalize;
}
.calendar-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.btn-cal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--ink) !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: border-color .15s ease, background .2s ease, transform .15s ease;
    cursor: pointer;
}
.btn-cal:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 106, 0.08);
    transform: translateY(-1px);
}
.btn-cal svg { flex-shrink: 0; }
.btn-cal-apple { color: #f5f3ee !important; }
@media (max-width: 540px) {
    .calendar-buttons { grid-template-columns: 1fr; }
}

/* === Responsive === */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; }
    .grid-3 { grid-template-columns: 1fr; }
    .agenda-row { grid-template-columns: 1fr; gap: 14px; }
    .row-2 { grid-template-columns: 1fr; }
    .topnav a:not(.btn-ghost) { display: none; }
    .block { padding: 64px 0; }
}
