/* RadioPubli Premium Theme */
:root {
    --bg-dark: #0f0f12;
    --bg-darker: #050507;
    --bg-card: rgba(30, 30, 35, 0.6);
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --neon-pink: #ff00ff;
    --neon-green: #00ff9d;
    --text-main: #e0e0e0;
    --text-white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--text-white);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Colors */
.white-text {
    color: white;
}

.gradient-text-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-gold {
    color: var(--gold);
}

.accent-neon {
    color: var(--neon-green);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #000;
    padding: 16px 40px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 14px 38px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

.btn-nav {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
}

.btn-nav:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #bbb;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: white;
}



/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('img/radio_studio_mic_premium.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 5, 7, 0.9) 0%, rgba(5, 5, 7, 0.7) 100%);
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* Audiences / Stations Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #888;
}

.section-desc {
    text-align: center;
    color: #888;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.stations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.station-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 15px;
    padding: 50px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.station-card:hover {
    transform: translateY(-10px);
}

/* Station specifics */
.nostalgia {
    border-bottom: 4px solid var(--gold);
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/background_nostalgia.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.gozadera {
    border-bottom: 4px solid var(--neon-green);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/background_gozadera.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Ensure text is readable over backgrounds */
.station-card h3,
.station-card p,
.station-card li,
.station-card span {
    z-index: 2;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.station-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.station-header .station-icon-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Optional: filter to make them match the theme if needed, but original colors are likely better */
}

.icon-gold {
    color: var(--gold);
}

.icon-neon {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.station-slogan {
    font-style: italic;
    color: #aaa;
    margin-bottom: 30px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    padding-left: 15px;
}

.station-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nostalgia .station-features i {
    color: var(--gold);
}

.gozadera .station-features i {
    color: var(--neon-green);
}

.station-vibe {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Benefits */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-item .icon-box {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.benefit-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #999;
}



.full-width {
    width: 100%;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.detail-item i {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
}

.form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 10px;
}

.form-wrapper h3 {
    color: #111;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-wrapper button {
    cursor: pointer;
}

.checkbox-group {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #444;
    cursor: pointer;
    user-select: none;
}

.checkbox-group label a {
    color: var(--gold);
    font-weight: 600;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 60px 0;
    background: #000;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.footer-bottom {
    margin-top: 40px;
    color: #555;
    font-size: 0.85rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .stations-grid,
    .grid-3,
    .pricing-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

}

/* Special Offers Tables */
.offers-section {
    padding-bottom: 80px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.offer-card {
    background: linear-gradient(135deg, #003366 0%, #0055a5 100%);
    border-radius: 20px;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: relative;
}

.offer-logo img {
    height: 50px;
    object-fit: contain;
}

.offer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.offer-logo-gozadera {
    color: white;
    text-shadow: 0 0 10px #00B4D8;
}

.offer-logo-nostalgia {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.offer-badge {
    text-align: right;
    transform: rotate(15deg);
}

.offer-badge span {
    display: block;
    line-height: 1;
}

.offer-text {
    font-size: 1.2rem;
    color: transparent;
    -webkit-text-stroke: 1px #FFEB3B;
}

.offer-number {
    font-size: 3rem;
    font-weight: 900;
    color: #FFEB3B;
    text-shadow: 2px 2px 0px #000;
}

.location-pill {
    background: #E91E63;
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 20px;
    width: fit-content;
    display: block;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.4);
}

.pricing-table {
    margin: 0 20px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 5px;
}

.table-head {
    background: #5D9CEC;
    /* Light blue header */
    color: #000;
    font-weight: 700;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    border-radius: 4px;
}

.table-head.main-col {
    background: #8AB6F7;
    flex-direction: column;
}

.table-cell {
    background: #002244;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: default;
    font-family: inherit;
    width: 100%;
}

button.table-cell {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

button.table-cell:hover {
    background: linear-gradient(135deg, var(--gold), #f3e5ab);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

button.table-cell:hover .price-val {
    color: #000;
    transform: scale(1.1);
}

button.table-cell:hover .price-unit {
    color: #333;
}

button.table-cell:active {
    transform: scale(0.95);
}

.table-cell.row-header {
    background: #ccc;
    color: #000;
}

.price-val {
    font-size: 1.3rem;
    color: #fff;
}

.price-unit {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
}

.promo-banner {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-weight: 800;
    font-size: 0.85rem;
    margin: 20px 10px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.promo-badge {
    background: white;
    color: #2ECC71;
    font-size: 1.8rem;
    font-weight: 900;
    padding: 8px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    min-width: 80px;
}

.validity-pill {
    background: #F0E68C;
    color: #D32F2F;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 20px;
    border-radius: 50px;
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
}

@media (max-width: 600px) {
    .pricing-table {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .table-head {
        display: none;
    }

    .table-cell {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }

    /* Show labels on mobile for clarity */
    .table-cell.price-btn::before {
        content: attr(data-emissions) " Cuñas diarias: ";
        font-size: 0.9rem;
        color: #ccc;
        font-weight: 600;
        text-transform: uppercase;
        margin-right: auto;
    }

    /* Adjust price value alignment */
    .table-cell.price-btn .price-val {
        font-size: 1.2rem;
    }

    .table-cell.price-btn .price-unit {
        display: inline-block;
        font-size: 0.7rem;
        margin-left: 5px;
        color: #aaa;
    }
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Legal Pages Styling */
.legal-page {
    padding-top: 150px;
    padding-bottom: 80px;
}

.legal-content {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    border: var(--border-glass);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--gold);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: white;
}

.legal-content p {
    margin-bottom: 20px;
    color: #ccc;
    line-height: 1.8;
}

/* Limited Offer Badge */
.limited-offer-badge {
    background: linear-gradient(135deg, #ff4d4d, #b30000);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px 10px 0 0;
    margin: 0 0 20px 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.2);
}

.limited-offer-badge i {
    margin-right: 8px;
    animation: scalePulse 1.5s infinite;
}

.strikethrough {
    text-decoration: line-through;
    opacity: 0.7;
    margin-left: 5px;
}

@keyframes scalePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.back-home {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--gold);
    font-weight: 600;
}

.back-home i {
    margin-right: 8px;
}

/* Station Selector Styles */
.station-selector {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.selector-title {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.selector-options {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.selector-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    width: 320px;
    height: 320px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.selector-card img {
    height: 180px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.selector-card span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    transition: all 0.3s ease;
}

.selector-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.selector-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.selector-card.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.selector-card.active img {
    filter: grayscale(0%);
    opacity: 1;
}

.selector-card.active span {
    color: var(--gold);
}

.offers-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Location Selector Styles */
.location-selector {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-out;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 100%;
    /* Allow full width to fit all items in one row */
    margin: 0 auto;
}

.location-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.08));
    border: 2px solid rgba(212, 175, 55, 0.4);
    color: #f3e5ab;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.location-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.15));
    border-color: rgba(212, 175, 55, 0.7);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

.location-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.offers-grid {
    max-width: 1000px;
    /* Reduced since it's one card focus */
    margin: 0 auto;
}

.offers-subgrid {
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
    min-height: 400px;
    /* Prevent jumpy transitions */
}

.offers-subgrid .offer-card {
    display: none;
    /* Controlled by JS */
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.5s ease-out;
}

.offers-subgrid .offer-card.active-offer {
    display: block;
}

@media (max-width: 600px) {
    .location-selector {
        width: 100%;
    }

    .location-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .selector-options {
        flex-direction: column;
        align-items: center;
    }

    .selector-card {
        width: 100%;
        max-width: 280px;
    }
}