/* 2da Feria Vocacional Cañete 2026 — estilos compartidos */
:root {
    --feria-brand: #0150AC;
    --feria-brand-dark: #013a7d;
    --feria-red: #e53935;
    --feria-yellow: #ffc107;
    --feria-green: #43a047;
    --feria-light: #f4f7fb;
    --feria-text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--feria-light);
    color: var(--feria-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Barra superior: menú + organizadores */
.feria-topbar {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.feria-topbar-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
    min-width: 200px;
    background: var(--feria-brand-dark);
    padding: 0.75rem 1.5rem;
}

.feria-topbar-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.92;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.feria-topbar-nav a:hover,
.feria-topbar-nav a.active {
    opacity: 1;
    text-decoration: underline;
    font-weight: 600;
}

.feria-topbar-organizers {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0.55rem 1rem 0.55rem 1.25rem;
    flex: 1;
    min-width: 0;
}

.feria-topbar-right {
    display: flex;
    align-items: stretch;
    flex: 1;
    justify-content: flex-end;
    background: #fff;
    border-bottom: 3px solid var(--feria-brand);
    min-width: 0;
}

.feria-topbar-unmsm {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-left: 1px solid #e0e6ef;
    flex-shrink: 0;
    background: #fff;
}

.feria-topbar-unmsm img {
    height: 50px;
    width: auto;
    max-width: 68px;
    object-fit: contain;
    display: block;
}

.feria-topbar-organizers .organizado-label {
    color: var(--feria-brand);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.feria-topbar-logos {
    display: flex;
    align-items: center;
    gap: 0.85rem 1.25rem;
    flex-wrap: wrap;
}

.feria-topbar-logos img {
    height: 44px;
    max-width: 130px;
    object-fit: contain;
}

.feria-topbar-logos img.topbar-logo-cerseu {
    height: 44px;
    width: 44px;
    max-width: 44px;
    border-radius: 50%;
    object-fit: cover;
}

/* Landing — título + hero en 2 columnas */
.feria-landing-hero {
    background: #fff;
    padding: 2rem 1.25rem 2.5rem;
    border-bottom: 1px solid #e8eef5;
}

.feria-main-title {
    text-align: center;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 800;
    color: var(--feria-brand);
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.feria-main-subtitle {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1.75rem;
}

.hero-split {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.hero-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(1, 80, 172, 0.18);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

.hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--feria-brand);
    text-align: center;
}

.countdown-label i {
    color: var(--feria-yellow);
    margin-right: 0.35rem;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

.countdown-item {
    background: var(--feria-brand);
    color: #fff;
    border-radius: 12px;
    padding: 0.85rem 0.5rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(1, 80, 172, 0.25);
}

.countdown-value {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
}

.countdown-unit {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.countdown.ended .countdown-item {
    background: var(--feria-green);
}

.hero-event-details {
    background: var(--feria-light);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    border-left: 4px solid var(--feria-brand);
}

.hero-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.55rem 0;
}

.hero-detail:not(:last-child) {
    border-bottom: 1px solid #dde6f0;
    margin-bottom: 0.35rem;
    padding-bottom: 0.75rem;
}

.hero-detail i {
    color: var(--feria-brand);
    font-size: 1.1rem;
    width: 22px;
    margin-top: 3px;
}

.hero-detail strong {
    display: block;
    color: var(--feria-brand);
    font-size: 0.95rem;
}

.hero-detail span {
    display: block;
    font-size: 0.88rem;
    color: #555;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-whatsapp-promo {
    background: linear-gradient(135deg, #e8f9ee 0%, #f0fdf4 100%);
    border: 2px solid #25d366;
    border-radius: 14px;
    padding: 1rem 1.15rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1rem;
}

.hero-whatsapp-promo-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
}

.hero-whatsapp-promo-text > i {
    font-size: 2rem;
    color: #25d366;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.hero-whatsapp-promo-text strong {
    display: block;
    color: var(--feria-brand);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.hero-whatsapp-promo-text span {
    display: block;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.4;
}

.hero-whatsapp-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #fff;
    padding: 0.75rem 1.35rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.hero-whatsapp-number:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.hero-whatsapp-number i {
    font-size: 1.35rem;
}

.hero-cta .btn-feria-primary {
    background: var(--feria-brand);
    color: #fff;
}

.hero-cta .btn-feria-primary:hover {
    background: var(--feria-brand-dark);
}

/* Hero compacto (inscripción / contacto) */
.feria-hero {
    background: var(--feria-brand);
    color: #fff;
    text-align: center;
    padding: 1.75rem 1.5rem;
}

.feria-hero .content {
    max-width: 900px;
    margin: 0 auto;
}

.feria-hero .subtitle {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.feria-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.feria-hero .badge-year {
    display: inline-block;
    background: var(--feria-yellow);
    color: #1a1a1a;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.feria-hero--compact {
    padding: 0.75rem 1rem;
}

.feria-hero--compact .content {
    max-width: 100%;
}

.feria-hero--compact h1 {
    font-size: clamp(1.05rem, 2.8vw, 1.35rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .feria-hero--compact h1 {
        font-size: 0.95rem;
        white-space: normal;
    }
}

.btn-feria {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Poppins', sans-serif;
    border: none;
    cursor: pointer;
}

.btn-feria-primary {
    background: var(--feria-brand);
    color: #fff;
}

.btn-feria-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-feria-secondary {
    background: var(--feria-green);
    color: #fff;
}

.btn-feria-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 160, 71, 0.4);
}

/* Carrusel de universidades */
.logo-marquee {
    background: #fff;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100px;
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
}

.logo-marquee-inner {
    display: inline-flex;
    animation: scrollLogos 35s linear infinite;
}

.logo-marquee-inner:hover {
    animation-play-state: paused;
}

.logo-marquee img {
    height: 72px;
    margin: 14px 24px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Secciones principales */
.feria-main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--feria-brand);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title i {
    color: var(--feria-yellow);
    margin-right: 0.35rem;
}

/* Landing — fotos del evento */
.landing-photos {
    margin-bottom: 2.5rem;
}

.photo-main {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(1, 80, 172, 0.2);
    margin-bottom: 1.25rem;
}

.photo-main img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.photo-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.photo-secondary {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(1, 80, 172, 0.15);
}

.photo-secondary img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.flyer-wrap {
    max-width: 100%;
    min-width: 0;
}

.flyer-image-wrap {
    overflow: hidden;
    background: #fff;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(1, 80, 172, 0.18);
    border: 1px solid #e8eef5;
}

.flyer-image-wrap--portrait {
    max-width: min(100%, 420px);
    aspect-ratio: 1080 / 1528;
}

.flyer-image-link {
    display: block;
    line-height: 0;
    width: 100%;
    height: 100%;
}

.flyer-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center top;
    background: #fff;
}

.flyer-image--sharp {
    image-rendering: -webkit-optimize-contrast;
}

.flyer-html-link {
    text-align: center;
    margin-top: 0.65rem;
    font-size: 0.85rem;
}

.flyer-html-link a {
    color: var(--feria-brand);
    text-decoration: none;
    font-weight: 600;
}

.flyer-html-link a:hover {
    text-decoration: underline;
}

/* legacy iframe embed (no usado en inscripción) */
.flyer-html-embed {
    overflow: hidden;
    aspect-ratio: 1080 / 1528;
    background: #E5342B;
    position: relative;
    min-height: 320px;
}

.flyer-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.flyer-html-embed.is-html-ready .flyer-poster {
    display: none;
}

.flyer-html-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1080px;
    height: 1528px;
    border: none;
    display: block;
    transform-origin: top left;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.flyer-html-embed.is-html-ready iframe {
    opacity: 1;
    pointer-events: auto;
}

.info-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.info-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--feria-brand);
}

.info-card h3 {
    color: var(--feria-brand);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card h3 i {
    color: var(--feria-yellow);
}

.info-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.info-detail i {
    color: var(--feria-brand);
    width: 20px;
    margin-top: 3px;
}

.info-detail strong {
    color: var(--feria-brand);
}

.highlight-free {
    display: inline-block;
    background: var(--feria-red);
    color: #fff;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.feature-box {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateY(-4px);
}

.feature-box i {
    font-size: 2rem;
    color: var(--feria-brand);
    margin-bottom: 0.75rem;
}

.feature-box h4 {
    color: var(--feria-brand);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: #666;
}

/* Inscripción — layout formulario */
.inscripcion-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.form-section {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(1, 80, 172, 0.12);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header img {
    height: 70px;
    margin-bottom: 0.75rem;
}

.form-header h1 {
    color: var(--feria-brand);
    font-size: 1.45rem;
    font-weight: 700;
}

.form-header p {
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--feria-brand);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 0.35rem;
    color: var(--feria-yellow);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--feria-brand);
    box-shadow: 0 0 0 3px rgba(1, 80, 172, 0.12);
}

.required-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
}

.required-note span {
    color: var(--feria-red);
}

.form-note {
    background: #e8f4fd;
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--feria-brand);
}

.form-note i {
    color: var(--feria-green);
    margin-right: 0.35rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--feria-brand) 0%, var(--feria-brand-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 80, 172, 0.35);
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.success-message {
    display: none;
    text-align: center;
    padding: 0.25rem 0 1.5rem;
    scroll-margin-top: var(--feria-sticky-offset, 6.5rem);
}

.success-scroll-anchor {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    outline: none;
}

.success-message.show {
    display: block;
}

.form-section.form-section--success {
    align-self: start;
    padding-top: 1.25rem;
    scroll-margin-top: var(--feria-sticky-offset, 6.5rem);
}

.success-message > i {
    font-size: 3.5rem;
    color: var(--feria-green);
    margin-bottom: 1rem;
}

.success-message h2 {
    color: var(--feria-brand);
    margin-bottom: 0.5rem;
}

.success-contact-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.success-contact-note strong {
    color: var(--feria-brand);
}

.success-details {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    margin: 1.25rem 0;
}

.success-details p {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.success-details p i {
    color: var(--feria-green);
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sophia-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(1, 80, 172, 0.12);
    text-align: center;
}

.sophia-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--feria-brand), #0288d1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: #fff;
}

.sophia-card h2 {
    color: var(--feria-brand);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.sophia-card .role {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.sophia-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
    text-align: left;
}

.contact-topics {
    text-align: left;
    margin: 1.25rem 0;
}

.contact-topics li {
    list-style: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.contact-topics li i {
    color: var(--feria-brand);
    margin-top: 3px;
}

.whatsapp-big {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #25d366;
    color: #fff;
    padding: 0.9rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    transition: transform 0.2s, background 0.2s;
}

.whatsapp-big:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.faq-section {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(1, 80, 172, 0.12);
}

.faq-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    color: var(--feria-brand);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h4 i {
    color: var(--feria-yellow);
}

.faq-item p {
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
.feria-footer {
    background: var(--feria-brand);
    color: #fff;
    margin-top: auto;
}

.footer-organizers {
    padding: 1.75rem 1rem 1.25rem;
    text-align: center;
}

.footer-organizers .label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 1rem;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.footer-logos img {
    height: 56px;
    max-width: 180px;
    object-fit: contain;
}

.footer-logos img.footer-logo-unmsm {
    height: 62px;
    max-width: 72px;
    mix-blend-mode: lighten;
}

.footer-logos img.footer-logo-cerseu {
    height: 56px;
    width: 56px;
    max-width: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-copy {
    text-align: center;
    padding: 0.85rem;
    font-size: 0.78rem;
    opacity: 0.85;
}

/* Utilidades */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

.notification.error { background: var(--feria-red); }
.notification.success { background: var(--feria-green); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-photo img {
        min-height: 260px;
        max-height: 360px;
    }

    .landing-grid,
    .inscripcion-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .inscripcion-layout .flyer-wrap {
        order: 2;
    }

    .inscripcion-layout .form-section {
        order: 1;
    }

    .feria-topbar {
        flex-direction: column;
    }

    .feria-topbar-nav {
        justify-content: center;
        gap: 1.25rem;
        width: 100%;
    }

    .feria-topbar-organizers {
        justify-content: center;
        width: 100%;
    }

    .feria-topbar-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .feria-topbar-unmsm {
        border-left: none;
        border-top: 1px solid #e0e6ef;
        padding: 0.5rem 1rem;
    }

    .feria-topbar-unmsm img {
        height: 44px;
        max-width: 60px;
        margin: 0 auto;
    }

    .photo-secondary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-whatsapp-promo {
        flex-direction: column;
        text-align: center;
    }

    .hero-whatsapp-promo-text {
        flex-direction: column;
        align-items: center;
    }

    .hero-whatsapp-number {
        width: 100%;
        justify-content: center;
        font-size: 1.15rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-feria {
        justify-content: center;
        width: 100%;
    }

    .feria-topbar-nav {
        gap: 0.85rem;
        font-size: 0.88rem;
    }

    .feria-topbar-logos img {
        height: 34px;
        max-width: 90px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 1.5rem;
    }

    .footer-logos img {
        height: 44px;
    }
}
