/* AIRCONEKTA - Shared Styles */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #ffffff;
    color: #0f172a;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Glassmorphism light */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 24px rgba(15, 46, 80, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 46, 80, 0.12);
    border-color: rgba(14, 165, 233, 0.3);
}

.card-soft {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(15, 46, 80, 0.04), 0 4px 12px rgba(15, 46, 80, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-soft:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 46, 80, 0.1);
    border-color: rgba(14, 165, 233, 0.25);
}

.text-gradient {
    background: linear-gradient(135deg, #102e50 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, #102e50 0%, #1a3f6b 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(16, 46, 80, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16, 46, 80, 0.35);
}

.btn-outline {
    border: 2px solid #102e50;
    color: #102e50;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #102e50;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 46, 80, 0.2);
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.4);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.nav-link {
    position: relative;
    color: #475569;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

.nav-link:hover { color: #102e50; }
.nav-link:hover::after { width: 100%; }

.nav-link.active {
    color: #0ea5e9;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #102e50;
    margin: 6px 0;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.pricing-featured {
    position: relative;
    border: 2px solid #0ea5e9;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    box-shadow: 0 8px 40px rgba(14, 165, 233, 0.15);
}

.pricing-featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 0.08em;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
    pointer-events: none;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.img-rounded { border-radius: 24px; }

.counter-value {
    font-variant-numeric: tabular-nums;
}

/* Loader */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid #e2e8f0;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Speedometer */
.speed-ring {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-out;
}
.speed-ring.active { stroke-dashoffset: 60; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 16px 24px;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}

/* Coverage list */
.coverage-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.coverage-item.active {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}
.coverage-item.pending {
    background: #fefce8;
    border-color: #fde047;
    color: #854d0e;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Trust badges */
.trust-badge {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.trust-badge:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Schedule table */
.schedule-table tr {
    border-bottom: 1px solid #e2e8f0;
}
.schedule-table tr:last-child {
    border-bottom: none;
}
.schedule-table td {
    padding: 12px 16px;
}

/* ===== WHOAMI EASTER EGG ===== */
.whoami-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(11, 18, 32, 0.65);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.whoami-overlay.show {
    opacity: 1;
    visibility: visible;
}
.whoami-overlay.show .whoami-card {
    transform: translateY(0) scale(1);
}
.whoami-card {
    width: min(92vw, 520px);
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(198, 216, 255, 0.9);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 30px 90px rgba(16, 48, 96, 0.22);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.35s ease;
}
.whoami-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.whoami-avatar {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #102e50, #0ea5e9);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.whoami-name {
    font-family: 'Space Grotesk', Inter, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #0f172a;
    margin: 0;
}
.whoami-role {
    font-size: 0.9rem;
    color: #64748b;
    margin: 2px 0 0;
}
.whoami-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.whoami-actions a,
.whoami-actions button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(36, 107, 255, 0.35);
    background: rgba(255, 255, 255, 0.7);
    color: #102e50;
    cursor: pointer;
    transition: all 0.15s ease;
    backdrop-filter: blur(12px);
}
.whoami-actions a:hover,
.whoami-actions button:hover {
    border-color: rgba(36, 107, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(31, 92, 255, 0.12);
}
.whoami-actions .btn-wa {
    background: linear-gradient(135deg, #102e50, #0ea5e9);
    color: #fff;
    border-color: transparent;
}
.whoami-disclaimer {
    background: rgba(254, 242, 242, 0.85);
    border: 1px solid rgba(252, 165, 165, 0.5);
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 0.82rem;
    color: #7f1d1d;
    line-height: 1.5;
    margin: 14px 0;
}
.whoami-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(207, 224, 255, 0.6);
    flex-wrap: wrap;
}
.whoami-footer small {
    font-size: 0.75rem;
    color: #94a3b8;
}
.whoami-close {
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.whoami-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
@media (prefers-color-scheme: dark) {
    .whoami-card {
        background: rgba(15, 23, 42, 0.92);
        border-color: rgba(60, 86, 140, 0.45);
    }
    .whoami-name { color: #f1f5f9; }
    .whoami-role { color: #94a3b8; }
    .whoami-actions a,
    .whoami-actions button {
        background: rgba(255, 255, 255, 0.06);
        color: #e2e8f0;
        border-color: rgba(88, 118, 188, 0.4);
    }
    .whoami-disclaimer {
        background: rgba(69, 10, 10, 0.6);
        color: #fecaca;
        border-color: rgba(252, 165, 165, 0.25);
    }
    .whoami-close {
        background: rgba(255, 255, 255, 0.06);
        color: #cbd5e1;
        border-color: rgba(88, 118, 188, 0.4);
    }
}
