/* ==========================================================
   Landing · Seminario 2027 (seminario-2027.php)
   Todo el estilo vive bajo el prefijo .s27 para no afectar al sitio.
   ========================================================== */

.s27-page,
.s27 {
    --s27-ink: #061131;
    --s27-navy: #001A4D;
    --s27-royal: #0B3AA8;
    --s27-blue: #2A63FF;
    --s27-gold: #FFB400;
    --s27-gold-2: #FF8A00;
    --s27-cyan: #7FE9F2;
    --s27-paper: #F4F7FC;
    --s27-line: #E2E8F3;
    --s27-text: #14203A;
    --s27-muted: #5A6A86;
    --s27-display: 'Barlow Condensed', 'Roboto', sans-serif;
    color: var(--s27-text);
    font-family: 'Roboto', sans-serif;
}

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

.s27 h1, .s27 h2, .s27 h3, .s27 h4 { margin: 0; }
.s27 p { margin: 0; }
.s27 ul { list-style: none; margin: 0; padding: 0; }
.s27 figure { margin: 0; }

/* ---------- Botones ---------- */
.s27-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    text-decoration: none;
    line-height: 1.1;
    border: 1.5px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    cursor: pointer;
    white-space: nowrap;
}
.s27-btn:hover { transform: translateY(-2px); }
.s27-btn i { font-size: 1.15em; }

.s27-btn-gold {
    background: linear-gradient(135deg, #FFC93C 0%, var(--s27-gold) 45%, var(--s27-gold-2) 100%);
    color: #1F1400;
    box-shadow: 0 10px 30px -8px rgba(255, 160, 0, .55);
}
.s27-btn-gold:hover { box-shadow: 0 16px 36px -8px rgba(255, 160, 0, .7); color: #1F1400; }

.s27-btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(6px);
}
.s27-btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; }

.s27-btn-navy {
    background: var(--s27-navy);
    color: #fff;
    box-shadow: 0 10px 26px -10px rgba(0, 26, 77, .6);
}
.s27-btn-navy:hover { background: var(--s27-royal); color: #fff; }

.s27-btn-block { width: 100%; }

/* ---------- Encabezados de sección ---------- */
.s27-section-head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.s27-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--s27-royal);
    margin-bottom: 14px;
}
.s27-section-head .s27-label::before,
.s27-section-head .s27-label::after {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
    opacity: .45;
}
.s27-section-head h2,
.s27-tray-card h2,
.s27-final h2 {
    font-family: var(--s27-display);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(2.3rem, 4.4vw, 3.5rem);
    line-height: 1;
    letter-spacing: .01em;
    color: var(--s27-navy);
    margin-bottom: 16px;
}
.s27-section-head p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--s27-muted);
}
.s27-section-head-light .s27-label { color: var(--s27-cyan); }
.s27-section-head-light h2 { color: #fff; }
.s27-section-head-light p { color: rgba(255, 255, 255, .72); }

/* ---------- Eyebrow ---------- */
.s27-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(127, 233, 242, .35);
    background: rgba(127, 233, 242, .08);
    color: var(--s27-cyan);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.s27-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: s27-pulse 2s infinite;
}
@keyframes s27-pulse {
    0% { box-shadow: 0 0 0 0 rgba(127, 233, 242, .6); }
    70% { box-shadow: 0 0 0 10px rgba(127, 233, 242, 0); }
    100% { box-shadow: 0 0 0 0 rgba(127, 233, 242, 0); }
}

/* ==========================================================
   BARRA SUPERIOR (logo) Y PIE
   ========================================================== */
body.s27-page { background: #fff; }
.s27-btn-sm { padding: 11px 20px; font-size: 14px; }
.s27-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 18px 0;
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.s27-topbar.is-scrolled {
    padding: 8px 0;
    background: rgba(6, 17, 49, .9);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.s27-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.s27-logo { display: block; line-height: 0; }
.s27-logo img {
    width: auto;
    height: 100px;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
    transition: height .35s ease;
}
.s27-topbar.is-scrolled .s27-logo img { height: 58px; }
.s27-topbar-actions { display: flex; align-items: center; gap: 18px; }
.s27-topbar-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    opacity: .9;
}
.s27-topbar-wa i { font-size: 20px; color: #25D366; }
.s27-topbar-wa:hover { opacity: 1; color: #fff; }

.s27-foot { background: var(--s27-ink); color: rgba(255, 255, 255, .65); padding: 44px 0; }
.s27-foot-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.s27-foot-inner img { height: 70px; width: auto; }
.s27-foot-inner p { flex: 1; min-width: 240px; margin: 0; font-size: 13.5px; line-height: 1.6; }
.s27-foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.s27-foot-links a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; opacity: .85; }
.s27-foot-links a:hover { opacity: 1; color: var(--s27-gold); }
.s27-foot-links i { margin-right: 6px; color: var(--s27-gold); }
.grecaptcha-badge { left: 14px !important; right: auto !important; }

/* ==========================================================
   HERO
   ========================================================== */
.s27-hero {
    position: relative;
    overflow: hidden;
    background: var(--s27-ink);
    color: #fff;
    padding: 190px 0 150px;
}
.s27-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .2;
    filter: grayscale(.4);
}
.s27-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 78% 30%, rgba(42, 99, 255, .42), transparent 65%),
        radial-gradient(700px 420px at 8% 90%, rgba(255, 180, 0, .12), transparent 70%),
        linear-gradient(180deg, rgba(6, 17, 49, .55) 0%, rgba(6, 17, 49, .85) 60%, var(--s27-ink) 100%);
    z-index: 1;
}
.s27-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(127, 233, 242, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 233, 242, .07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%);
    z-index: 1;
}
.s27-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 72px;
    align-items: center;
}
.s27-hero-kicker {
    margin-top: 26px;
    font-family: var(--s27-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.s27-hero h1 {
    margin: 10px 0 26px;
    font-family: var(--s27-display);
    font-weight: 800;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: .005em;
    color: #fff;
}
.s27-h1-top {
    display: block;
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    margin-bottom: 6px;
}
.s27-h1-main {
    display: block;
    font-size: clamp(3rem, 6.2vw, 5.6rem);
    background: linear-gradient(100deg, #FFD15C 0%, var(--s27-gold) 40%, var(--s27-gold-2) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.s27-hero-lead {
    max-width: 560px;
    font-size: 18.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}
.s27-hero-lead strong { color: #fff; }
.s27-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* Cuenta regresiva */
.s27-countdown {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 42px;
    padding: 16px 22px;
    width: fit-content;
    max-width: 100%;
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(8px);
}
.s27-countdown-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--s27-cyan);
    line-height: 1.3;
}
.s27-countdown-units { display: flex; gap: 8px; }
.s27-countdown-units div {
    min-width: 64px;
    text-align: center;
    padding: 6px 4px;
    border-left: 1px solid rgba(255, 255, 255, .1);
}
.s27-countdown-units div:first-child { border-left: 0; }
.s27-countdown-units strong {
    display: block;
    font-family: var(--s27-display);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
}
.s27-countdown-units span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .55);
}

/* Póster */
.s27-hero-poster { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.s27-poster-frame {
    position: relative;
    padding: 10px;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(127, 233, 242, .08), 0 0 120px -20px rgba(42, 99, 255, .55);
    transform: rotate(2.5deg);
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.s27-hero-poster:hover .s27-poster-frame { transform: rotate(0deg) translateY(-6px); }
.s27-poster-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}
.s27-poster-tag {
    position: absolute;
    left: -22px;
    bottom: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF5A3C, #E8202A);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 16px 30px -10px rgba(232, 32, 42, .7);
    transform: rotate(-4deg);
}

/* ==========================================================
   CIFRAS
   ========================================================== */
.s27-stats-wrap {
    position: relative;
    z-index: 3;
    margin-top: -72px;
    padding: 0;
}
.s27-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 60px -25px rgba(6, 17, 49, .35), 0 0 0 1px var(--s27-line);
    overflow: hidden;
}
.s27-stats li {
    padding: 30px 18px 28px;
    text-align: center;
    border-left: 1px solid var(--s27-line);
}
.s27-stats li:first-child { border-left: 0; }
.s27-stats strong {
    display: block;
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 54px;
    line-height: 1;
    color: var(--s27-navy);
}
.s27-stats li:nth-child(4) strong,
.s27-stats li:nth-child(5) strong { color: var(--s27-royal); }
.s27-stats span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--s27-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ==========================================================
   BUEN FIN + REGISTRO
   ========================================================== */
.s27-buenfin { padding: 80px 0 40px; background: #fff; scroll-margin-top: 70px; }
.s27-bf-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 48px;
    align-items: center;
    padding: 52px;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(125deg, #0A1640 0%, #13246A 55%, #2A1A6E 100%);
    isolation: isolate;
}
.s27-bf-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(120deg, var(--s27-gold), #FF5A3C, #C341FF, var(--s27-gold));
    background-size: 300% 100%;
    animation: s27-border 8s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: -1;
}
@keyframes s27-border { to { background-position: 300% 0; } }
.s27-bf-glow {
    position: absolute;
    left: -160px;
    top: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 180, 0, .28), transparent 65%);
    z-index: -1;
}
.s27-bf-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--s27-gold);
    background: rgba(255, 180, 0, .12);
    border: 1px solid rgba(255, 180, 0, .4);
}
.s27-bf-discount {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px 0 6px;
}
.s27-bf-discount strong {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: clamp(4.4rem, 8vw, 6.6rem);
    line-height: .85;
    white-space: nowrap;
    letter-spacing: -.01em;
    background: linear-gradient(100deg, #FFD15C 0%, var(--s27-gold) 45%, #FF7A1A 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.s27-bf-discount small { font-size: .55em; margin-left: 2px; }
.s27-bf-discount span {
    font-family: var(--s27-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
}
.s27-bf-vigencia {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0 !important;
    font-size: 14px !important;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--s27-cyan) !important;
}
.s27-bf-info h2 {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    line-height: 1.02;
    text-transform: uppercase;
    color: #fff;
    margin: 14px 0 12px;
}
.s27-bf-info > p {
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .8);
}
.s27-bf-steps {
    display: grid;
    gap: 14px;
    margin: 26px 0 0 !important;
}
.s27-bf-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}
.s27-bf-steps li > span {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 18px;
    color: #1F1400;
    background: linear-gradient(135deg, #FFD15C, var(--s27-gold-2));
}
.s27-bf-steps strong { display: block; color: #fff; font-size: 15.5px; }
.s27-bf-legal {
    margin-top: 24px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, .55) !important;
}

/* Tarjeta del formulario */
.s27-form-card {
    position: relative;
    padding: 34px 32px 28px;
    border-radius: 22px;
    background: #fff;
    color: var(--s27-text);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.s27-form h3,
.s27-success h3 {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 30px;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--s27-navy);
}
.s27-form-sub { margin: 6px 0 20px !important; font-size: 14.5px; color: var(--s27-muted); }
.s27-form-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #9B1C1C;
    background: #FEF2F2;
    border: 1px solid #FECACA;
}
.s27-field { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.s27-field label,
.s27-field legend {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--s27-navy);
}
.s27-field > label span { color: #E8202A; }
.s27-field label em { font-style: normal; font-weight: 500; color: var(--s27-muted); }
.s27-field input,
.s27-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--s27-line);
    background: #F8FAFD;
    font: inherit;
    font-size: 15.5px;
    color: var(--s27-text);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.s27-field input::placeholder { color: #9AA7BD; }
.s27-field input:focus,
.s27-field select:focus {
    outline: none;
    background: #fff;
    border-color: var(--s27-royal);
    box-shadow: 0 0 0 4px rgba(11, 58, 168, .12);
}
.s27-field input.is-invalid { border-color: #E8202A; box-shadow: 0 0 0 4px rgba(232, 32, 42, .12); }
.s27-check input.is-invalid + span { color: #9B1C1C; }
.s27-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s27-field-row-mod { grid-template-columns: 1fr 120px; }
.s27-segment {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    height: 48px;
    border-radius: 12px;
    background: #EEF2F8;
}
.s27-segment label { margin: 0; position: relative; }
.s27-segment input { position: absolute; opacity: 0; pointer-events: none; }
.s27-segment span {
    display: grid;
    place-items: center;
    height: 100%;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--s27-muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    text-align: center;
    line-height: 1.1;
}
.s27-segment input:checked + span { background: #fff; color: var(--s27-navy); box-shadow: 0 4px 12px -4px rgba(6, 17, 49, .25); }
.s27-segment input:focus-visible + span { outline: 2px solid var(--s27-royal); outline-offset: 1px; }
.s27-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 6px 0 12px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--s27-muted);
    cursor: pointer;
}
.s27-check input { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--s27-royal); }
.s27-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.s27-submit { font-size: 16px; padding: 17px 24px; margin-top: 6px; }
.s27-submit.is-loading { opacity: .8; pointer-events: none; }
.s27-submit.is-loading i { animation: s27-spin 1s linear infinite; }
.s27-submit.is-loading i::before { content: '\f110'; }
@keyframes s27-spin { to { transform: rotate(360deg); } }
.s27-form-privacy {
    margin-top: 16px !important;
    padding-top: 14px;
    border-top: 1px solid var(--s27-line);
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--s27-muted);
}
.s27-form-privacy i { color: #16A34A; margin-right: 3px; }
.s27-form-privacy strong { color: var(--s27-text); font-weight: 600; }
.s27-form-privacy a,
.s27-check a { color: var(--s27-royal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.s27-check b { color: #E8202A; }

/* Confirmación */
.s27-success { text-align: center; padding: 10px 4px; }
.s27-success-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 32px;
    color: #fff;
    background: linear-gradient(135deg, #22C55E, #15803D);
    box-shadow: 0 16px 34px -12px rgba(21, 128, 61, .6);
}
.s27-success > p { margin-top: 10px !important; font-size: 15.5px; line-height: 1.6; color: var(--s27-text); }
.s27-success .s27-success-note { font-size: 14px; color: var(--s27-muted); margin-bottom: 20px !important; }
.s27-folio {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
    padding: 12px 26px;
    border-radius: 14px;
    border: 1.5px dashed rgba(11, 58, 168, .35);
    background: #F4F7FC;
}
.s27-folio span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--s27-muted); }
.s27-folio strong { font-family: var(--s27-display); font-size: 30px; font-weight: 800; letter-spacing: .04em; color: var(--s27-navy); }

/* ==========================================================
   PROGRAMA
   ========================================================== */
.s27-programa {
    padding: 110px 0 100px;
    background:
        radial-gradient(800px 400px at 100% 0%, rgba(42, 99, 255, .07), transparent 70%),
        var(--s27-paper);
}
.s27-timeline { display: flex; flex-direction: column; gap: 22px; }
.s27-month {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--s27-line);
}
.s27-month:first-child { border-top: 0; padding-top: 0; }
.s27-month-name {
    position: sticky;
    top: 110px;
    align-self: start;
}
.s27-month-name h3 {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--s27-navy);
}
.s27-month-name span {
    display: block;
    margin-top: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3em;
    color: var(--s27-royal);
}
.s27-month-mods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.s27-mod {
    position: relative;
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--s27-line);
    border-radius: 18px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    overflow: hidden;
}
.s27-mod:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 58, 168, .35);
    box-shadow: 0 22px 40px -22px rgba(6, 17, 49, .35);
}
.s27-mod-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    padding: 10px 6px;
    border-radius: 14px;
    background: linear-gradient(160deg, var(--s27-royal), var(--s27-navy));
    color: #fff;
    text-align: center;
}
.s27-mod-date strong {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 42px;
    line-height: 1;
    color: var(--s27-gold);
}
.s27-mod-date.is-range strong { font-size: 30px; }
.s27-mod-date span {
    margin-top: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--s27-cyan);
}
.s27-mod-num {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--s27-muted);
    margin-bottom: 6px;
}
.s27-mod-info h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--s27-navy);
}
.s27-mod-nom {
    margin-top: 6px !important;
    font-size: 14px;
    color: var(--s27-muted);
}
.s27-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px !important;
}
.s27-chips li {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--s27-royal);
    background: rgba(11, 58, 168, .07);
}
.s27-chips .s27-chip-hl {
    color: #7A4A00;
    background: rgba(255, 180, 0, .18);
}

/* Tarjeta especial: Combate contra incendios */
.s27-mod-fire {
    border-color: transparent;
    background:
        linear-gradient(180deg, rgba(10, 6, 20, .55), rgba(10, 6, 20, .9)),
        url('../img/seminario-2027/practica-incendios.jpg') center 40% / cover;
    color: #fff;
}
.s27-mod-fire .s27-mod-date { background: linear-gradient(160deg, #FF7A1A, #C7261A); }
.s27-mod-fire .s27-mod-date strong { color: #fff; }
.s27-mod-fire .s27-mod-date span { color: #FFE2B8; }
.s27-mod-fire .s27-mod-num { color: rgba(255, 255, 255, .65); }
.s27-mod-fire .s27-mod-info h4 { color: #fff; }
.s27-mod-fire .s27-chips .s27-chip-hl { color: #1F1400; background: var(--s27-gold); }
.s27-mod-fire:hover { border-color: rgba(255, 138, 0, .6); box-shadow: 0 22px 44px -18px rgba(255, 90, 0, .55); }

.s27-programa-foot {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px dashed rgba(11, 58, 168, .3);
}
.s27-programa-foot p { color: var(--s27-muted); font-size: 15.5px; }
.s27-programa-foot p i { color: var(--s27-royal); margin-right: 6px; }

/* ==========================================================
   INCLUYE
   ========================================================== */
.s27-incluye {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(700px 400px at 0% 0%, rgba(42, 99, 255, .25), transparent 70%),
        radial-gradient(600px 400px at 100% 100%, rgba(255, 180, 0, .1), transparent 70%),
        var(--s27-ink);
    color: #fff;
    overflow: hidden;
}
.s27-incluye-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.s27-feature {
    padding: 32px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.s27-feature:hover {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 180, 0, .35);
    transform: translateY(-4px);
}
.s27-feature-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 22px;
    color: #1F1400;
    background: linear-gradient(135deg, #FFD15C, var(--s27-gold-2));
    margin-bottom: 22px;
}
.s27-feature h3 {
    font-family: var(--s27-display);
    font-weight: 700;
    font-size: 26px;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #fff;
    margin-bottom: 8px;
}
.s27-feature p {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .7);
}

/* ==========================================================
   INVERSIÓN
   ========================================================== */
.s27-inversion { padding: 110px 0 100px; background: #fff; }
.s27-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 940px;
    margin: 0 auto;
    align-items: stretch;
}
.s27-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 44px 38px 38px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--s27-line);
    box-shadow: 0 30px 60px -40px rgba(6, 17, 49, .4);
}
.s27-plan-featured {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(255, 180, 0, .2), transparent 70%),
        linear-gradient(160deg, var(--s27-royal) 0%, var(--s27-navy) 60%, var(--s27-ink) 100%);
    box-shadow: 0 40px 70px -30px rgba(0, 26, 77, .7);
}
.s27-plan-ribbon {
    position: absolute;
    top: -14px;
    left: 38px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1F1400;
    background: linear-gradient(135deg, #FFD15C, var(--s27-gold-2));
}
.s27-plan-ribbon-alt { color: var(--s27-royal); background: #E8EEFF; }
.s27-plan h3 {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 40px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--s27-navy);
}
.s27-plan-featured h3 { color: #fff; }
.s27-plan-sub { margin-top: 8px !important; font-size: 15px; color: var(--s27-muted); }
.s27-plan-featured .s27-plan-sub { color: rgba(255, 255, 255, .7); }
.s27-price {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 28px;
}
.s27-price-cur {
    font-family: var(--s27-display);
    font-size: 30px;
    font-weight: 700;
    margin-top: 8px;
    color: var(--s27-royal);
}
.s27-price-num {
    font-family: var(--s27-display);
    font-weight: 800;
    font-size: 76px;
    line-height: .9;
    letter-spacing: -.01em;
    color: var(--s27-navy);
}
.s27-price-tax {
    align-self: flex-end;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--s27-muted);
}
.s27-plan-featured .s27-price-cur,
.s27-plan-featured .s27-price-num { color: var(--s27-gold); }
.s27-plan-featured .s27-price-tax { color: rgba(255, 255, 255, .75); }
.s27-price-note {
    margin-top: 10px !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--s27-royal);
}
.s27-plan-featured .s27-price-note { color: var(--s27-cyan); }
.s27-plan-list {
    margin: 26px 0 32px !important;
    padding-top: 24px !important;
    border-top: 1px solid var(--s27-line);
    display: grid;
    gap: 12px;
    flex: 1;
}
.s27-plan-featured .s27-plan-list { border-top-color: rgba(255, 255, 255, .14); }
.s27-plan-list li {
    display: flex;
    gap: 12px;
    font-size: 15.5px;
    line-height: 1.45;
}
.s27-plan-list i {
    flex: 0 0 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: #fff;
    background: var(--s27-royal);
}
.s27-plan-featured .s27-plan-list i { color: #1F1400; background: var(--s27-gold); }

.s27-promo-note {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 940px;
    margin: 34px auto 0;
    padding: 20px 26px;
    border-radius: 18px;
    background: #FFF8E6;
    border: 1px solid rgba(255, 180, 0, .45);
}
.s27-promo-note > i {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: #1F1400;
    background: var(--s27-gold);
}
.s27-promo-note p { font-size: 15.5px; line-height: 1.55; color: #5C4300; }
.s27-promo-note a { color: var(--s27-royal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   GALERÍA
   ========================================================== */
.s27-galeria { padding: 100px 0 110px; background: var(--s27-paper); }
.s27-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 14px;
}
.s27-tile {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--s27-navy);
}
.s27-tile-big { grid-column: span 2; grid-row: span 2; }
.s27-tile-tall { grid-row: span 2; }
.s27-tile-wide { grid-column: span 2; }
.s27-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.s27-tile:hover img { transform: scale(1.06); }
.s27-tile figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(transparent, rgba(6, 17, 49, .85));
}

/* ==========================================================
   TRAYECTORIA
   ========================================================== */
.s27-trayectoria {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--s27-navy);
}
.s27-tray-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
}
.s27-tray-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 17, 49, .96) 0%, rgba(6, 17, 49, .85) 40%, rgba(6, 17, 49, .25) 100%);
}
.s27-tray-card { position: relative; z-index: 1; max-width: 560px; color: #fff; }
.s27-tray-card .s27-label { color: var(--s27-cyan); }
.s27-tray-card h2 { color: #fff; }
.s27-tray-list { display: grid; gap: 16px; margin-top: 26px !important; }
.s27-tray-list li {
    display: flex;
    gap: 14px;
    font-size: 16.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .85);
}
.s27-tray-list i {
    flex: 0 0 auto;
    width: 24px;
    margin-top: 3px;
    color: var(--s27-gold);
    font-size: 18px;
    text-align: center;
}

/* ==========================================================
   CTA FINAL
   ========================================================== */
.s27-final { padding: 100px 0; background: #fff; }
.s27-final-inner {
    position: relative;
    text-align: center;
    padding: 70px 40px;
    border-radius: 30px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(255, 180, 0, .22), transparent 70%),
        radial-gradient(800px 400px at 100% 100%, rgba(42, 99, 255, .35), transparent 70%),
        var(--s27-ink);
}
.s27-final-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(127, 233, 242, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 233, 242, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
            mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
    pointer-events: none;
}
.s27-final-inner > * { position: relative; z-index: 1; }
.s27-final h2 { color: #fff; margin-top: 22px; }
.s27-final p {
    max-width: 580px;
    margin: 0 auto !important;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .75);
}
.s27-final-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.s27-final .s27-final-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 26px !important;
}
.s27-final-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--s27-cyan);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.s27-final-links a:hover { color: #fff; }

/* ==========================================================
   BARRA FIJA (móvil)
   ========================================================== */
.s27-sticky { display: none; }

/* ==========================================================
   ANIMACIONES DE ENTRADA
   ========================================================== */
.s27-anim .s27-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s ease var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms);
}
.s27-anim .s27-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .s27-dot, .s27-bf-card::before { animation: none; }
    .s27-poster-frame, .s27-tile img, .s27-mod, .s27-feature, .s27-btn { transition: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
    .s27-hero-grid { gap: 48px; }
    .s27-month { grid-template-columns: 170px 1fr; gap: 24px; }
}

@media (max-width: 900px) {
    .s27-month-mods { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .s27-hero { padding-top: 170px; }
    .s27-bf-card { grid-template-columns: 1fr; gap: 36px; padding: 44px 40px; }
    .s27-hero-grid { grid-template-columns: 1fr; }
    .s27-hero-copy { text-align: center; }
    .s27-hero-lead { margin: 0 auto; }
    .s27-hero-ctas { justify-content: center; }
    .s27-countdown { margin-left: auto; margin-right: auto; }
    .s27-hero-poster { max-width: 380px; }
    .s27-stats { grid-template-columns: repeat(3, 1fr); }
    .s27-stats li:nth-child(4) { border-left: 0; }
    .s27-stats li:nth-child(n+4) { border-top: 1px solid var(--s27-line); }
    .s27-incluye-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .s27-hero { padding: 130px 0 120px; }
    .s27-topbar { padding: 10px 0; }
    .s27-logo img { height: 64px; }
    .s27-topbar.is-scrolled .s27-logo img { height: 48px; }
    .s27-topbar-wa span { display: none; }
    .s27-topbar-wa i { font-size: 26px; }
    .s27-hero-kicker { font-size: 17px; margin-top: 20px; }
    .s27-hero-lead { font-size: 16.5px; }
    .s27-countdown { flex-direction: column; gap: 10px; padding: 14px 16px; }
    .s27-countdown-label { max-width: none; }
    .s27-countdown-units div { min-width: 56px; }
    .s27-countdown-units strong { font-size: 28px; }
    .s27-poster-tag { left: 50%; bottom: -18px; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; }

    .s27-stats { grid-template-columns: repeat(2, 1fr); }
    .s27-stats li { border-left: 0; border-top: 1px solid var(--s27-line); padding: 24px 12px; }
    .s27-stats li:nth-child(1), .s27-stats li:nth-child(2) { border-top: 0; }
    .s27-stats li:nth-child(even) { border-left: 1px solid var(--s27-line); }
    .s27-stats li:last-child { grid-column: 1 / -1; border-left: 0; }
    .s27-stats strong { font-size: 44px; }

    .s27-buenfin { padding: 60px 0 20px; }
    .s27-buenfin > .container { padding: 0 12px; }
    .s27-bf-card { padding: 34px 18px 18px; border-radius: 24px; gap: 28px; }
    .s27-bf-info { padding: 0 6px; }
    .s27-bf-discount { gap: 12px; }
    .s27-bf-discount strong { font-size: 3.7rem; }
    .s27-bf-discount span { font-size: 16px; }
    .s27-form-card { padding: 26px 18px 20px; border-radius: 18px; }
    .s27-form h3, .s27-success h3 { font-size: 26px; }
    .s27-field-row, .s27-field-row-mod { grid-template-columns: 1fr; gap: 0; }
    .s27-field input, .s27-field select { font-size: 16px; }
    .s27-foot-inner { flex-direction: column; text-align: center; }
    .s27-foot-links { justify-content: center; }

    .s27-programa, .s27-incluye, .s27-inversion { padding: 80px 0; }
    .s27-galeria { padding: 80px 0; }
    .s27-section-head { margin-bottom: 40px; }
    .s27-month { grid-template-columns: 1fr; gap: 14px; }
    .s27-month-name { position: static; display: flex; align-items: baseline; gap: 12px; }
    .s27-month-name h3 { font-size: 32px; }
    .s27-mod { grid-template-columns: 72px 1fr; gap: 16px; padding: 16px; }
    .s27-mod-date { min-height: 76px; }
    .s27-mod-date strong { font-size: 34px; }
    .s27-mod-date.is-range strong { font-size: 24px; }
    .s27-mod-info h4 { font-size: 16.5px; }
    .s27-programa-foot { flex-direction: column; text-align: center; padding: 22px; }
    .s27-programa-foot .s27-btn { width: 100%; white-space: normal; }

    .s27-incluye-grid { grid-template-columns: 1fr; }
    .s27-feature { padding: 26px 24px; }

    .s27-plans { grid-template-columns: 1fr; gap: 34px; }
    .s27-plan { padding: 40px 26px 30px; }
    .s27-price-num { font-size: 64px; }
    .s27-promo-note { flex-direction: column; text-align: center; }

    .s27-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
    .s27-tile-big, .s27-tile-wide { grid-column: span 2; }
    .s27-tile figcaption { font-size: 12.5px; padding: 30px 12px 10px; }

    .s27-trayectoria { padding: 90px 0; }
    .s27-tray-photo { background-position: 70% 30%; }
    .s27-tray-photo::after { background: linear-gradient(180deg, rgba(6, 17, 49, .7), rgba(6, 17, 49, .95)); }

    .s27-final { padding: 70px 0 90px; }
    .s27-final-inner { padding: 50px 22px; border-radius: 24px; }
    .s27-final-ctas .s27-btn { width: 100%; }

    .s27-sticky {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 10px 10px 18px;
        border-radius: 18px;
        background: rgba(6, 17, 49, .94);
        backdrop-filter: blur(10px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
        color: #fff;
        transform: translateY(140%);
        transition: transform .4s cubic-bezier(.2, .7, .2, 1);
    }
    .s27-sticky.is-visible { transform: none; }
    .s27-sticky strong { display: block; font-size: 15px; }
    .s27-sticky span { display: block; font-size: 12px; color: rgba(255, 255, 255, .65); }
    .s27-sticky .s27-btn { padding: 12px 18px; font-size: 14px; }
    body.s27-sticky-on #segurito-chat-container { bottom: 100px; transition: bottom .4s ease; }
}

@media (max-width: 420px) {
    .s27-h1-top { font-size: 1.6rem; }
    .s27-h1-main { font-size: 2.6rem; }
    .s27-btn { padding: 15px 22px; }
    .s27-hero-ctas .s27-btn { width: 100%; }
    .s27-countdown-units div { min-width: 48px; }
}
