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

:root {
    --color-ink: #1B1D3A;
    --color-brand: #3335A8;
    --color-teal: #2E8C7D;
    --color-amber: #E3A73C;
    --color-sky: rgb(105, 134, 196);

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", sans-serif;
}

body {
    background-color: var(--color-sky);
    font-family: var(--font-body);
}

/* ========== BARRA ========== */
.top-bar {
    background-color: rgb(51, 53, 168);
    width: 100%;
    padding: clamp(0.6rem, 2vw, 1.2rem) clamp(1rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ========== LOGO CON TRANSFORM ========== */
.logo {
    width: clamp(120px, 25vw, 200px);
    height: clamp(32px, 5vw, 48px);
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 4rem);
    min-height: 78vh;
    padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 6vw, 5rem);
    background: linear-gradient(160deg, var(--color-ink) 0%, var(--color-brand) 100%);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: 50%;
    right: clamp(-4rem, 8vw, 4rem);
    width: min(60vw, 620px);
    height: min(60vw, 620px);
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(46, 140, 125, 0.55) 0%, rgba(46, 140, 125, 0) 70%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    color: white;
    animation: hero-rise 0.7s ease-out both;
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 1.4vw, 0.85rem);
    color: var(--color-amber);
    margin-bottom: 0.75rem;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 48ch;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible {
    outline: 3px solid var(--color-amber);
    outline-offset: 3px;
}

.btn--primary {
    background-color: var(--color-amber);
    color: var(--color-ink);
}

.btn--primary:hover {
    transform: translateY(-2px);
}

.btn--ghost {
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    border-color: white;
    transform: translateY(-2px);
}

.hero__visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: clamp(140px, 22vw, 280px);
}

.hero__owl {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
    animation: hero-rise 0.7s ease-out 0.15s both;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== CINTA DE HORARIO ========== */
.schedule-strip {
    position: relative;
    background-color: var(--color-amber);
    color: var(--color-ink);
    overflow: hidden;
    padding: 0.65rem 0 0.65rem;
    margin-top: 10px;
}

.schedule-strip::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background-image:
        linear-gradient(135deg, var(--color-amber) 50%, transparent 50%),
        linear-gradient(45deg, var(--color-amber) 50%, transparent 50%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 0;
    background-repeat: repeat-x;
}

.schedule-strip__track {
    display: flex;
    gap: 2.5rem;
    white-space: nowrap;
    width: max-content;
    animation: schedule-scroll 18s linear infinite;
}

.schedule-strip__track span {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.75rem, 1.6vw, 0.95rem);
    letter-spacing: 0.08em;
}

@keyframes schedule-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========== CONTENIDO ========== */
.content-section {
    padding: clamp(1rem, 3vw, 2rem);
    color: white;
    max-width: min(90%, 1200px);
    margin: 0 auto;
}

.content-section h1 {
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    text-align: center;
}

/* ========== Celulares ========== */
@media (max-width: 720px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        min-height: auto;
        padding-top: clamp(2rem, 8vw, 3rem);
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        width: clamp(90px, 30vw, 140px);
    }
}

@media (max-width: 480px) {
    .top-bar {
        justify-content: center;
    }

    .logo {
        width: clamp(100px, 40vw, 150px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__content,
    .hero__owl {
        animation: none;
    }

    .schedule-strip__track {
        animation: none;
    }
}