/* ========================================
   VARIABLES Y SISTEMA DE DISEÑO PREMIUM
   ======================================== */
:root {
    --primary: #0b3b5c;
    --primary-dark: #082b44;
    --primary-light: #1a4f73;
    --secondary: #2a7f6e;
    --secondary-light: #3a9b88;
    --accent: #f4b836;
    --white: #ffffff;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(42, 127, 110, 0.2);
    border-radius: 4px;
    z-index: -1;
}

/* ========================================
   URGENCY BANNER
   ======================================== */
.urgency-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.urgency-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.urgency-content i {
    font-size: 1.5rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.countdown-timer {
    display: flex;
    gap: 12px;
}

.timer-block {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
}

.timer-number {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.timer-label {
    font-size: 0.7rem;
    opacity: 0.9;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================
   NAVBAR (Glassmorphism)
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--gray-900);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo i {
    color: var(--secondary);
    font-size: 1.3rem;
}

.logo span {
    color: var(--secondary);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ========================================
   BOTONES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 59, 92, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 59, 92, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-glow {
    animation: btnGlow 2s infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(11, 59, 92, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(42, 127, 110, 0.5); }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 80px 0 60px;
    background: radial-gradient(circle at 100% 0%, rgba(42, 127, 110, 0.03) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(42, 127, 110, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========================================
   GOOGLE PREVIEW CARD
   ======================================== */
.google-preview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.google-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.google-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.google-header i {
    color: #4285f4;
}

.result-url {
    color: #006621;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.result-title {
    color: #1a0dab;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.result-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.result-rating {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.result-rating span {
    color: var(--gray-500);
}

.google-maps-badge {
    margin-top: 1rem;
    background: var(--gray-50);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
}

/* ========================================
   PROBLEMA SECTION
   ======================================== */
.problema-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gray-900);
    max-width: 700px;
    margin: 0 auto;
}

.section-description {
    color: var(--gray-500);
    margin-top: 1rem;
    font-size: 1rem;
}

/* TABS */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.tab-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.problem-card.premium {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: rgba(42, 127, 110, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary);
}

.problem-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.problem-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.problem-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.problem-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--success);
}

/* ========================================
   TESTIMONIOS SECTION
   ======================================== */
.testimonios-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border: 2px solid var(--secondary);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 4px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* ========================================
   LEAD MAGNET SECTION
   ======================================== */
.lead-magnet-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.lead-magnet-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lead-magnet-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.lead-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.lead-text h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.lead-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

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

.lead-form input {
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    min-width: 250px;
}

.lead-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.lead-form .btn {
    background: var(--white);
    color: var(--primary);
}

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

/* ========================================
   PACKAGES SECTION (PRICING)
   ======================================== */
.packages-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.package-card.featured {
    border: 2px solid var(--secondary);
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.package-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--gray-500);
    color: var(--white);
    padding: 4px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.package-badge.premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.package-header {
    margin-bottom: 1.5rem;
}

.package-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.package-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.package-price {
    margin: 1.5rem 0;
    text-align: center;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.price-big {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--gray-500);
}

.price-desc {
    font-size: 0.8rem;
    color: var(--gray-400);
    display: block;
    margin-top: 4px;
}

.price-toggle {
    display: flex;
    gap: 8px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius-pill);
    margin: 1rem 0;
}

.price-option {
    flex: 1;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.price-option.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.package-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
    flex-grow: 1;
}

.package-features li {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.package-features i {
    color: var(--success);
    font-size: 1rem;
}

.package-card.custom {
    background: var(--gray-900);
    border-color: var(--gray-800);
}

.package-card.custom .package-name,
.package-card.custom .price-big {
    color: var(--white);
}

.package-card.custom .package-desc,
.package-card.custom .package-features li {
    color: var(--gray-400);
}

.package-card.custom .package-features i {
    color: var(--accent);
}

.package-card.custom .price-toggle {
    background: var(--gray-800);
}

.package-card.custom .price-option.active {
    background: var(--gray-700);
    color: var(--white);
}

.custom-price {
    text-align: center;
    margin: 1.5rem 0;
}

/* ========================================
   MAPS SECTION
   ======================================== */
.maps-section {
    padding: 80px 0;
    background: var(--white);
}

.maps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.maps-badge {
    background: var(--gray-100);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
}

.maps-badge i {
    color: #4285f4;
    font-size: 1.2rem;
}

.maps-container {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.maps-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.maps-preview {
    text-align: center;
    color: var(--gray-600);
}

.maps-preview i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.maps-preview p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.maps-preview span {
    font-size: 0.85rem;
}

.maps-stats {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.maps-stats .stat {
    text-align: center;
}

.maps-stats .number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.maps-stats .label {
    font-size: 0.7rem;
    color: var(--gray-500);
}

/* ========================================
   FAQ SECTION (Acordeón)
   ======================================== */
.faq-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--secondary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.2rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.cta-card {
    text-align: center;
    color: var(--white);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .btn {
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-guarantee {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-400);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--danger);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(42, 127, 110, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.checkbox input {
    width: 18px;
    height: 18px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.85rem;
}

.form-messages {
    margin-top: 1rem;
    padding: 12px;
    border-radius: var(--radius-md);
    display: none;
}

.form-messages.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-messages.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-info p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin: 0.6rem 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    margin: 0.8rem 0;
    font-size: 0.9rem;
}

.footer-contact i {
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .pill-badge {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .lead-magnet-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lead-form {
        width: 100%;
    }
    
    .lead-form input {
        width: 100%;
    }
    
    .problem-card {
        flex-direction: column;
        text-align: center;
    }
    
    .problem-stats {
        justify-content: center;
    }
    
    .urgency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .countdown-timer {
        justify-content: center;
    }
    
    .maps-header {
        flex-direction: column;
        text-align: center;
    }
    
    .maps-stats {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }
    
    .footer-grid {
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .timer-block {
        min-width: 50px;
        padding: 6px 8px;
    }
    
    .timer-number {
        font-size: 1.2rem;
    }
    
    .package-name {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .cta-card h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   ANIMACIONES DE SCROLL REVEAL
   ======================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.package-card,
.testimonial-card,
.faq-item,
.problem-card {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }