@import url('https://api.fontshare.com/v2/css?f[]=satoshi@1,900,700,500,301,701,300,501,401,901,400,2&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #626142;
    --secondary: #918042;
    --accent: #a89147;
    --background: #F5F4F0;
    --surface: #FFFFFF;
    --text: #1a1a18;
    --text-muted: #6b6b5e;
    --border: rgba(98, 97, 66, 0.12);
    --shadow-sm: 0 2px 8px rgba(98, 97, 66, 0.08);
    --shadow-md: 0 8px 24px rgba(98, 97, 66, 0.12);
    --shadow-lg: 0 20px 48px rgba(98, 97, 66, 0.16);
    --gradient-brand: linear-gradient(135deg, #626142 0%, #918042 100%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Satoshi', system-ui, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.podcast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 32px 80px;
    flex: 1;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: 'Satoshi', system-ui, sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.podcast-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.podcast-alert.success {
    background: rgba(46, 125, 50, 0.08);
    color: #256029;
    border-color: rgba(46, 125, 50, 0.16);
}

.podcast-alert.error {
    background: rgba(198, 40, 40, 0.08);
    color: #a52828;
    border-color: rgba(198, 40, 40, 0.16);
}

.podcast-grid {
    display: grid;
    gap: 18px;
}

.podcast-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.podcast-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(98, 97, 66, 0.2);
}

.podcast-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-brand);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.podcast-card:hover::before {
    transform: scaleY(1);
}

.card-body {
    padding: 24px 30px 16px;
}

.card-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.badge-channel {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(145, 128, 66, 0.1);
    padding: 3px 10px;
    border-radius: 40px;
    border: 1px solid rgba(145, 128, 66, 0.2);
}

.badge-type {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-title {
    font-family: 'Satoshi', system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.card-footer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-video {
    padding: 0 30px 18px;
}

.video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.podcast-cta-row {
    padding: 0 30px 28px;
    margin-top: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.btn-graphics-request {
    -webkit-appearance: none;
    appearance: none;
    border: 0 !important;
    outline: none;
    background: var(--gradient-brand) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 14px 22px !important;
    min-height: 56px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: 'Satoshi', system-ui, sans-serif;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(98, 97, 66, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-graphics-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(98, 97, 66, 0.28);
    opacity: 0.98;
    color: #fff !important;
}

.btn-graphics-request:focus,
.btn-graphics-request:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(145, 128, 66, 0.18), 0 10px 24px rgba(98, 97, 66, 0.22);
}

.btn-graphics-request i {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* OVERLAY */
.podcast-form-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 20, 0.52);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.18s ease;
    z-index: 1098;
}

/* MODAL CONTENEDOR */
.podcast-form-modal {
    position: fixed;
    inset: 0;
    z-index: 1099;
    display: flex;
    align-items: flex-start; /* 👈 evita que se corte arriba */
    justify-content: center;
    padding: 110px 24px 24px; /* 👈 lo baja del navbar */
    opacity: 0;
    visibility: hidden;
    transition: 0.18s ease;
    overflow-y: auto; /* 👈 scroll si es necesario */
}

/* MODAL ACTIVO */
.podcast-form-overlay.open,
.podcast-form-modal.open {
    opacity: 1;
    visibility: visible;
}

/* CAJA DEL MODAL */
.podcast-form-dialog {
    position: relative;
    width: min(760px, 100%);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    transform: translateY(8px) scale(0.98);
    transition: transform 0.18s ease;
    margin: 0 auto;
}

/* ANIMACIÓN CUANDO ABRE */
.podcast-form-modal.open .podcast-form-dialog {
    transform: translateY(0) scale(1);
}

/* BOTÓN CERRAR */
.podcast-form-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .podcast-form-modal {
        padding: 90px 16px 16px;
    }

    .podcast-form-dialog {
        border-radius: 18px;
    }
}

.podcast-form-close:hover {
    background: rgba(255,255,255,0.28);
}

.podcast-form-header {
    background: var(--gradient-brand);
    color: #fff;
    padding: 28px 28px 24px;
}

.podcast-form-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
    margin-bottom: 6px;
}

.podcast-form-header h3 {
    font-family: 'Satoshi', system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 6px;
    padding-right: 48px;
}

.podcast-form-subtitle {
    opacity: 0.88;
    font-size: 0.95rem;
}

.podcast-form {
    padding: 26px 28px 28px;
}

.podcast-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.podcast-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.podcast-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.podcast-field input {
    width: 100%;
    border: 1px solid rgba(98, 97, 66, 0.18);
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.podcast-field input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(145, 128, 66, 0.10);
}

.podcast-form-actions {
    margin-top: 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.podcast-btn-primary,
.podcast-btn-secondary {
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.podcast-btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(98, 97, 66, 0.18);
}

.podcast-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(98, 97, 66, 0.24);
}

.podcast-btn-secondary {
    background: #f4f2ec;
    color: var(--text);
    border: 1px solid rgba(98, 97, 66, 0.12);
}

.podcast-btn-secondary:hover {
    background: #ece8dc;
}

footer {
    margin-top: auto;
    width: 100%;
    padding: 18px 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .podcast-container {
        padding: 80px 16px 60px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .card-body {
        padding: 18px 16px 12px;
    }

    .card-video {
        padding: 0 16px 14px;
    }

    .podcast-cta-row {
        padding: 0 16px 18px;
    }

    .btn-graphics-request {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .podcast-form-grid {
        grid-template-columns: 1fr;
    }

    .podcast-form-header {
        padding: 24px 20px 20px;
    }

    .podcast-form {
        padding: 20px;
    }

    footer {
        padding: 16px 12px;
        font-size: 0.85rem;
    }
}

