/* ==========================================================================
   planes/css/style_v2.css
   Rediseño 'Editorial Moderno' para La Prensa Gráfica Suscripciones
   ========================================================================== */

:root {
    /* Colors */
    --color-bg-primary: #FAF9F6;      /* Off-white paper feel */
    --color-bg-secondary: #ffffff;
    --color-bg-dark: #1A1C23;         /* Deep Charcoal */
    --color-text-main: #2D3142;
    --color-text-muted: #6B7280;
    --color-primary: #009FE3;         /* Celeste LPG */
    --color-primary-hover: #0081B8;   /* Celeste Oscuro Hover */
    --color-accent: #D2A850;          /* Elegant gold/ochre touch */
    --color-border: #E5E7EB;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing & Sizes */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects: Rounded Elements */
    --radius-sm: 50px; /* Pill shaped buttons */
    --radius-md: 20px;
    --radius-lg: 30px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base size */
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-bg-dark);
    line-height: 1.2;
}

em {
    font-style: italic;
    color: var(--color-primary);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 159, 227, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    border-color: var(--color-text-main);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-main);
}
.btn-outline:hover {
    background-color: var(--color-text-main);
    color: #fff;
    border-color: var(--color-text-main);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}
.btn-full {
    width: 100%;
}

/* =========================================
   Typography Utilities (Increased Size)
   ========================================= */
.section-title {
    font-size: 3.25rem;
    margin-bottom: 1rem;
}
.section-description {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    max-width: 600px;
}
.text-light {
    color: #fff;
}
.text-light.section-description {
    color: rgba(255,255,255,0.8);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-main);
    position: relative;
    font-size: 1.1rem;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}
.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-main);
}

/* =========================================
   Hero Section (Gradient Background applied to full width)
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, rgba(0, 159, 227, 0.08) 0%, rgba(250, 249, 246, 1) 100%);
    position: relative;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.75rem;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.decorative-element {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* =========================================
   Benefits
   ========================================= */
.benefits {
    padding: var(--spacing-xl) 2rem;
    background-color: #fff;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}
.benefits-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.benefit-card {
    padding: 2.5rem;
    background: var(--color-bg-primary);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.benefit-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}
.benefit-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.benefit-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* =========================================
   Pricing Plans (Grid update for centered prominent block)
   ========================================= */
.pricing {
    padding: var(--spacing-xl) 2rem;
}
.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Swapped ratio: the center block is wider now! */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
}
.pricing-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem; /* visually drop side columns a little */
}

.pricing-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background-color: #F0F9FF;
    color: var(--color-text-main);
    border: 2px solid var(--color-primary);
    transform: scale(1.04);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured h3 {
    color: var(--color-bg-dark);
}
.pricing-card.featured .feature-item {
    border-bottom-color: rgba(0, 159, 227, 0.15);
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 0.25rem 1.25rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-header {
    margin-bottom: 2rem;
    text-align: center;
}
.plan-brand {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-weight: 600;
}
.pricing-card.featured .plan-brand {
    color: var(--color-primary);
}
.plan-name {
    font-size: 2.25rem;
    margin-top: 0.5rem;
}

.plan-features {
    margin-bottom: 2.5rem;
}
.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.1rem;
}
.feature-item:last-child {
    border-bottom: none;
}
.radio-item {
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
    padding: 1.15rem 1rem;
    margin: 0 -1rem; /* Overflow on the row nicely */
}
.radio-item:hover {
    background-color: var(--color-bg-primary);
}
.pricing-card.featured .radio-item:hover {
    background-color: rgba(0, 159, 227, 0.1);
}
.radio-item input[type="radio"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: var(--color-primary);
}
.feature-item .price {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.plan-features.condensed .feature-item {
    padding: 0.85rem 0;
}
.pricing-card.basic .plan-name {
    font-size: 1.75rem;
}
.mt-auto {
    margin-top: auto;
}

/* =========================================
   Subscription Form
   ========================================= */
.subscription-form {
    padding: var(--spacing-xl) 2rem;
    background-color: var(--color-bg-primary);
}
.form-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}
.form-text .section-title {
    margin-bottom: 1.5rem;
}
.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-method {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-md);
    border-left: 6px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    font-size: 1.1rem;
}
.contact-method i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 1rem;
    border: 1px solid var(--color-border);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 4rem 2rem 2rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}
.footer-brand .address {
    margin-top: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 300px;
    font-size: 1.1rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-link {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}
.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 1.5rem;
}
.social-links a {
    color: rgba(255,255,255,0.7);
    font-size: 2rem;
}
.social-links a:hover {
    color: #fff;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================================
   Animations
   ========================================= */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-column {
        margin-top: 0;
    }
    .form-container {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }

    .section-title {
        font-size: 1.75rem;
    }
    .section-description {
        font-size: 1.1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 120px;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .btn-large {
        font-size: 1rem;
        padding: 1rem 1.75rem;
    }
    .hero-visual {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card {
        padding: 1.5rem;
    }
    .benefit-title {
        font-size: 1.4rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }
    .plan-name {
        font-size: 1.5rem;
    }

    .contact-method {
        overflow-wrap: break-word;
        word-break: break-word;
    }
    .contact-method a {
        word-break: break-all;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .hero {
        padding: 100px 1.25rem 40px;
    }
    .benefits,
    .pricing,
    .subscription-form {
        padding: 3rem 1.25rem;
    }
    .site-footer {
        padding: 3rem 1.25rem 2rem;
    }
    .btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    .pricing-card {
        padding: 1.25rem;
    }
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
}
