:root {
    --ibero-blue: #249bc3;
    --ibero-teal: #169b88;
    --ibero-orange: #f26334;
    --ibero-yellow: #f4c451;
    --ibero-magenta: #c458aa;
    --ibero-ink: #17222d;
    --ibero-muted: #5f6d78;
    --ibero-surface: #ffffff;
    --ibero-background: #f5f8fa;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ibero-background);
}

.sponsor-page {
    min-height: 100vh;
    padding-top: 80px;
    color: var(--ibero-ink);
    background:
        radial-gradient(circle at 8% 12%, rgba(36, 155, 195, 0.13), transparent 27rem),
        radial-gradient(circle at 92% 28%, rgba(196, 88, 170, 0.10), transparent 24rem),
        var(--ibero-background);
}

.sponsor-hero {
    padding: clamp(2.25rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 4vw, 4.5rem);
    border: 1px solid rgba(23, 34, 45, 0.08);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1.5rem 4rem rgba(34, 67, 85, 0.13);
}

.hero-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 0.45rem;
    content: "";
    background: linear-gradient(90deg,
        var(--ibero-blue) 0 20%,
        var(--ibero-teal) 20% 40%,
        var(--ibero-orange) 40% 60%,
        var(--ibero-yellow) 60% 80%,
        var(--ibero-magenta) 80% 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.event-brand {
    text-align: center;
}

.event-logo-crop {
    width: min(100%, 31rem);
    height: clamp(13rem, 21vw, 16rem);
    margin: 0 auto 1.35rem;
    overflow: hidden;
}

.event-logo-crop img {
    display: block;
    width: 100%;
    height: auto;
}

.event-date,
.event-location {
    margin: 0;
}

.event-date {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
}

.event-location {
    margin-top: 0.25rem;
    color: var(--ibero-muted);
    font-size: 1.05rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--ibero-teal);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 13ch;
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 43rem;
    margin: 1.5rem 0 0;
    color: var(--ibero-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.event-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.event-stats div {
    display: flex;
    min-height: 6.25rem;
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(23, 34, 45, 0.08);
    border-radius: 1rem;
    background: #f9fbfc;
}

.event-stats strong {
    color: var(--ibero-blue);
    font-size: 1.8rem;
    line-height: 1;
}

.event-stats span {
    margin-top: 0.45rem;
    color: var(--ibero-muted);
    font-size: 0.85rem;
    line-height: 1.25;
}

.hero-actions,
.proposal-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 2rem;
}

.sponsor-primary,
.sponsor-secondary {
    padding: 0.75rem 1.2rem;
    border-radius: 0.75rem;
    font-weight: 700;
}

.sponsor-primary {
    border-color: var(--ibero-teal);
    color: #fff;
    background: var(--ibero-teal);
}

.sponsor-primary:hover,
.sponsor-primary:focus {
    border-color: #0e7d6e;
    color: #fff;
    background: #0e7d6e;
    text-decoration: none;
}

.sponsor-secondary {
    border: 1px solid rgba(23, 34, 45, 0.2);
    color: var(--ibero-ink);
    background: #fff;
}

.sponsor-secondary:hover,
.sponsor-secondary:focus {
    border-color: var(--ibero-blue);
    color: #157b9e;
    background: #f2fbfe;
    text-decoration: none;
}

.proposal-section {
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 7rem);
}

.proposal-heading {
    max-width: 52rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.proposal-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.proposal-heading > p:not(.eyebrow) {
    margin: 1rem auto 0;
    color: var(--ibero-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.proposal-actions {
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-link {
    padding: 0.7rem 0.5rem;
    color: #157b9e;
    font-weight: 700;
}

.pdf-shell {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.65rem;
    border: 1px solid rgba(23, 34, 45, 0.13);
    border-radius: 1.25rem;
    background: #e8edf0;
    box-shadow: 0 1rem 3rem rgba(34, 67, 85, 0.12);
}

.pdf-viewer {
    display: block;
    width: 100%;
    height: min(82vh, 68rem);
    min-height: 44rem;
    border: 0;
    border-radius: 0.75rem;
    background: #fff;
}

.pdf-mobile-fallback {
    display: none;
    padding: 2.5rem 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    background: #fff;
}

.pdf-mobile-fallback h3 {
    margin: 1rem 0 0.5rem;
    font-weight: 800;
}

.pdf-mobile-fallback p {
    max-width: 28rem;
    margin: 0 auto 1.25rem;
    color: var(--ibero-muted);
}

.document-icon {
    display: inline-flex;
    width: 4rem;
    height: 4.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    color: #fff;
    background: var(--ibero-magenta);
    box-shadow: 0.35rem 0.35rem 0 #8f3c7d;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .event-logo-crop {
        height: clamp(12rem, 35vw, 16rem);
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy h1,
    .hero-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .sponsor-page {
        padding-top: 70px;
    }

    .hero-card {
        border-radius: 1.25rem;
    }

    .event-logo-crop {
        width: min(100%, 23rem);
        height: 11rem;
    }

    .event-stats {
        grid-template-columns: 1fr;
    }

    .event-stats div {
        min-height: auto;
    }

    .hero-actions,
    .proposal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .proposal-actions .btn {
        width: 100%;
    }

    .pdf-viewer {
        display: none;
    }

    .pdf-mobile-fallback {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
