/* ==========================================================================
   CONEXIÓN FIBRA - BRAND DESIGN SYSTEM
   Vanilla CSS Styling
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    /* Brand Colors */
    --color-primary: #008443;       /* Brand Green */
    --color-primary-dark: #006633;  
    --color-primary-light: #e6f6ee; 
    --color-secondary: #009fe3;     /* Brand Blue */
    --color-secondary-dark: #007cb2;
    --color-secondary-light: #e6f5fc;
    
    /* Neutrals */
    --color-dark-900: #0f172a;      /* Slate 900 */
    --color-dark-800: #1e293b;      /* Slate 800 */
    --color-dark-700: #334155;      /* Slate 700 */
    --color-light-50: #f8fafc;      /* Slate 50 */
    --color-light-100: #f1f5f9;     /* Slate 100 */
    --color-light-200: #e2e8f0;     /* Slate 200 */
    
    /* Utilities */
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-primary: 0 10px 15px -3px rgba(0, 132, 67, 0.2);
    --shadow-secondary: 0 10px 15px -3px rgba(0, 159, 227, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 72px;
    
    /* Border Radii (Highly rounded, organic design) */
    --border-radius-sm: 50px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    
    /* Fonts */
    --font-title: 'Arial', sans-serif;
    --font-text: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-text);
    background-color: var(--color-white);
    color: var(--color-dark-700);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .btn, .nav-link, .tab-btn, .admin-tab-btn, .price-amount, .balance-amount, .stat-value {
    font-family: var(--font-title);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Top Bar Styles */
.top-bar {
    background-color: var(--color-dark-900);
    color: var(--color-light-200);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--color-secondary);
}

.contact-info a:hover {
    color: var(--color-white);
}

/* 3. Header & Navigation */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: var(--header-height);
}

.main-header.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    height: 60px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-brand img {
    height: 56px;
    width: auto;
    transition: var(--transition-normal);
}

.main-header.scrolled .logo-brand img {
    height: 48px;
}

.logo-dark {
    display: none; /* Only used in dark contexts if needed, but logo is white bg default */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark-800);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Sucursal Virtual — outlined button style */
.portal-nav-link {
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary) !important;
    padding: 7px 16px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.portal-nav-link::after {
    display: none !important; /* sin subrayado animado */
}

.portal-nav-link:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
}

/* Navbar spacing adjustments for medium desktop viewports to prevent wrapping */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-menu {
        gap: 15px;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .btn.nav-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 132, 67, 0.35);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -5px rgba(0, 159, 227, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-light-200);
    color: var(--color-dark-800);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

/* 4. Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0a1020 0%, #0e1628 50%, #172237 100%);
    color: var(--color-white);
    padding: 20px 0 0 0;
    min-height: 600px;
    overflow: hidden;
}

#fiber-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
}

.bg-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.blob-green {
    background-color: var(--color-primary);
    top: -10%;
    left: -10%;
    animation: drift-slow 22s infinite alternate ease-in-out;
}

.blob-blue {
    background-color: var(--color-secondary);
    bottom: -10%;
    right: -10%;
    animation: drift-slow 18s infinite alternate-reverse ease-in-out;
}

@keyframes drift-slow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 80px) scale(1.15); }
    100% { transform: translate(-60px, 120px) scale(0.95); }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(0, 159, 227, 0.12) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, rgba(0, 132, 67, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-bottom: 0;
    min-height: 540px;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 159, 227, 0.15);
    border: 1px solid rgba(0, 159, 227, 0.3);
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    text-transform: uppercase;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.hero-title span {
    background: linear-gradient(to right, var(--color-secondary), var(--color-success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;          /* Fuerza línea propia */
    white-space: nowrap;     /* Evita quiebre de línea */
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 30px;
    max-width: 520px;
    font-weight: 400;
    line-height: 1.65;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.hero-feat-item i {
    color: var(--color-success);
    font-size: 1.2rem;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

/* Hero Text Content */
.hero-text-content {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
    padding-top: 0;
}

/* Benefits Strip — inline, below CTAs */
.hero-benefits-strip {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 480px;
}

.hero-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.hero-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.35);
}

.hero-benefit-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
}

.hero-benefit-item span {
    display: block;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

.hero-benefit-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 16px;
    flex-shrink: 0;
}

/* Hero Visual Content */
.hero-visual-content {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    /* Let figure overflow to the right edge */
    overflow: visible;
}

/* -----------------------------------------------
   Orbit icons floating around the gamer figure
----------------------------------------------- */
.hero-orbit-icons {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.orbit-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}

/* Individual icon positions & colors */
.orbit-1 { /* WiFi — top left */
    top: 8%;  left: 4%;
    background: linear-gradient(135deg, #008443, #005a2d);
    animation: orbitFloat1 5s ease-in-out infinite;
}
.orbit-2 { /* TV — top right */
    top: 5%;  right: 6%;
    background: linear-gradient(135deg, #009fe3, #0068a5);
    animation: orbitFloat2 6s ease-in-out infinite 0.8s;
}
.orbit-3 { /* Bolt — mid left */
    top: 38%; left: 0%;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    animation: orbitFloat1 4.5s ease-in-out infinite 1.2s;
}
.orbit-4 { /* Gamepad — mid right */
    top: 32%; right: 2%;
    background: linear-gradient(135deg, #7c3aed, #4c1d95);
    animation: orbitFloat2 5.5s ease-in-out infinite 0.4s;
}
.orbit-5 { /* Play — lower left */
    bottom: 28%; left: 3%;
    background: linear-gradient(135deg, #e30613, #7f0009);
    animation: orbitFloat1 5s ease-in-out infinite 2s;
}
.orbit-6 { /* Shield — lower right */
    bottom: 24%; right: 4%;
    background: linear-gradient(135deg, #008443, #009fe3);
    animation: orbitFloat2 6.5s ease-in-out infinite 1.5s;
}
.orbit-7 { /* Mobile — bottom left */
    bottom: 8%; left: 8%;
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    animation: orbitFloat1 4s ease-in-out infinite 0.6s;
}
.orbit-8 { /* Network — bottom right */
    bottom: 10%; right: 8%;
    background: linear-gradient(135deg, #10b981, #065f46);
    animation: orbitFloat2 5.8s ease-in-out infinite 1s;
}

/* Two alternating float keyframes for variety */
@keyframes orbitFloat1 {
    0%   { transform: translateY(0px)    rotate(0deg); }
    40%  { transform: translateY(-12px)  rotate(5deg); }
    70%  { transform: translateY(-6px)   rotate(-3deg); }
    100% { transform: translateY(0px)    rotate(0deg); }
}
@keyframes orbitFloat2 {
    0%   { transform: translateY(0px)    rotate(0deg); }
    35%  { transform: translateY(10px)   rotate(-6deg); }
    65%  { transform: translateY(4px)    rotate(3deg); }
    100% { transform: translateY(0px)    rotate(0deg); }
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    /* Pull figure down so feet touch the hero bottom */
    margin-bottom: -80px;
    /* Overflow column for maximum visual presence */
    width: 150%;
    margin-right: -60px;
    margin-left: -20px;
}

.hero-main-img {
    /* Pure cutout — no frame */
    border-radius: 0;
    box-shadow: none;
    border: none;
    /* Blend residual dark pixels into background */
    mix-blend-mode: lighten;
    /* Soft fade only at the very bottom so legs blend into ground */
    -webkit-mask-image: linear-gradient(to bottom, black 65%, rgba(0,0,0,0.4) 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 65%, rgba(0,0,0,0.4) 88%, transparent 100%);
    /* Gentle float animation */
    animation: heroFloat 6s ease-in-out infinite;
    /* Full natural size — no height cap */
    width: 100%;
    height: auto;
    max-height: none;
    /* Cinematic glow around the figure */
    filter:
        brightness(1.12)
        contrast(1.05)
        drop-shadow(0 0 30px rgba(0, 159, 227, 0.45))
        drop-shadow(0 0 70px rgba(0, 132, 67, 0.25))
        drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

@keyframes heroFloat {
    0%   { transform: translateY(0px) scale(1); }
    50%  { transform: translateY(-14px) scale(1.01); }
    100% { transform: translateY(0px) scale(1); }
}

.floating-card {
    position: absolute;
    background-color: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    z-index: 4;
}

/* Floating stat cards — hidden (replaced by benefits strip) */
.ping-card,
.speed-card {
    display: none;
}

/* Ambient radial glow behind the hero figure */
.hero-glow-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 60% 80%, rgba(0, 159, 227, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(0, 132, 67, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.floating-card i {
    font-size: 1.8rem;
    padding: 10px;
    border-radius: var(--border-radius-sm);
}

.ping-card i {
    color: var(--color-secondary);
    background-color: rgba(0, 159, 227, 0.1);
}

.speed-card i {
    color: var(--color-success);
    background-color: rgba(0, 132, 67, 0.1);
}

.floating-card h4 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--color-light-200);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Curved Divider */
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-divider .shape-fill {
    fill: var(--color-white);
}

/* 5. Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-tag.text-blue {
    color: var(--color-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-dark-900);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-dark-700);
}

.text-white .section-title {
    color: var(--color-white);
}
.text-slate-300 {
    color: var(--color-light-200);
}

/* 6. Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: var(--color-white);
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('assets/tech_pattern.png');
    background-repeat: repeat;
    background-size: 400px 400px;
    background-position: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.benefit-icon-wrapper.icon-green {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.benefit-icon-wrapper.icon-blue {
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--color-dark-700);
}

/* 7. Mid CTA Banner */
.mid-cta-banner {
    padding: 80px 0;
    background-color: var(--color-light-50);
    border-top: 1px solid var(--color-light-200);
    border-bottom: 1px solid var(--color-light-200);
}

.mid-cta-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.mid-cta-image {
    position: relative;
}

.flyer-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.mid-cta-text h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-dark-900);
    line-height: 1.25;
    margin-bottom: 20px;
}

.mid-cta-text p {
    color: var(--color-dark-700);
    margin-bottom: 35px;
}

.mid-cta-info-block {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

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

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

.info-item .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark-700);
    text-transform: uppercase;
    margin-top: 5px;
}

.info-item:nth-child(2) .number {
    color: var(--color-secondary);
}

/* 8. News Section */
.news-section {
    padding: 100px 0;
    background:
        radial-gradient(circle at top left, rgba(0, 159, 227, 0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(0, 132, 67, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, var(--color-light-50) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 50px auto 0;
    max-width: 900px;
}

.news-card {
    background-color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    backdrop-filter: blur(6px);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    background: linear-gradient(135deg, rgba(0, 132, 67, 0.96) 0%, rgba(0, 159, 227, 0.96) 100%);
    color: var(--color-white);
    border: none;
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 30px;
    align-items: center;
    padding: 24px;
}

.news-image-wrap {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    justify-self: center;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.news-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-dark-700);
}

.news-card.featured .news-meta {
    color: rgba(255, 255, 255, 0.82);
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
}

.news-card.featured .news-badge {
    background-color: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
}

.news-card h3 {
    font-size: 1.45rem;
    line-height: 1.25;
    color: var(--color-dark-900);
    margin-bottom: 14px;
}

.news-card.featured h3 {
    color: var(--color-white);
}

.news-card p {
    color: var(--color-dark-700);
    margin-bottom: 20px;
}

.news-card.featured p {
    color: rgba(255, 255, 255, 0.92);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-secondary);
    font-weight: 700;
}

.news-link:hover {
    gap: 14px;
}

.news-card.featured .news-link {
    color: var(--color-white);
}

/* 8. Plans / Pricing Section */
.plans-section {
    padding: 100px 0;
    background-color: var(--color-light-50);
}

/* Plans Tabs Styling */
.plans-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.plans-tabs-nav {
    display: inline-flex;
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    padding: 6px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    gap: 5px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.plans-tabs-nav::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.plans-tabs-nav .tab-btn {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-700);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: var(--transition-normal);
}

.plans-tabs-nav .tab-btn i {
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.plans-tabs-nav .tab-btn:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.plans-tabs-nav .tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.plans-tabs-nav .tab-btn.active i {
    transform: scale(1.1);
}

/* Tab content and animations */
.plan-tab-content {
    display: none;
    opacity: 0;
}

.plan-tab-content.active {
    display: block;
    animation: tabFadeIn 0.5s ease forwards;
}

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

@media (max-width: 768px) {
    .plans-tabs-nav {
        width: 100%;
        justify-content: flex-start;
        padding: 5px;
    }
    .plans-tabs-nav .tab-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Plan Group Headers */
.plan-group-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 35px;
    width: 100%;
}

.plan-group-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.plan-group-header h3 i {
    color: var(--color-secondary);
}

.plan-group-header p {
    font-size: 1.05rem;
    color: var(--color-dark-600);
    margin: 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.plans-grid.hidden {
    display: none;
}

#duo-plans {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

#duo-plans .plan-card {
    max-width: 380px;
    width: 100%;
}

.plan-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-lg);
    padding: 45px 35px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-light-200);
}

/* Featured popular card styling */
.plan-card.popular {
    border: 2px solid var(--color-primary);
    transform: scale(1.03);
    z-index: 5;
    box-shadow: var(--shadow-md);
}

.plan-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.plan-card-header {
    border-bottom: 1px solid var(--color-light-100);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.plan-card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 10px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--color-dark-700);
    margin-bottom: 20px;
    height: 48px; /* Keep heights consistent */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plan-price {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.plan-price .currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-900);
    align-self: flex-start;
    margin-top: 2px;
}

.plan-price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-dark-900);
    line-height: 1;
}

.plan-price .period {
    font-size: 0.9rem;
    color: var(--color-dark-700);
    margin-left: 3px;
}

.plan-features-list {
    margin-bottom: 40px;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.plan-features-list li i {
    color: var(--color-success);
    font-size: 1.1rem;
    margin-top: 4px;
}

.plan-features-list li.muted-feat {
    color: var(--color-dark-700);
    opacity: 0.6;
}

.plans-footnote {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--color-dark-700);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.plans-footnote i {
    color: var(--color-secondary);
}

/* 9. About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
}

.value-item {
    display: flex;
    gap: 20px;
}

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.value-item:nth-child(2) .value-icon {
    background-color: var(--color-secondary-light);
    color: var(--color-secondary);
}

.value-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 5px;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--color-dark-700);
    margin-bottom: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-img-box {
    position: relative;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 25px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 4px solid var(--color-white);
}

.experience-badge .exp-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* 10. Coverage Section */
.coverage-section {
    position: relative;
    padding: 120px 0;
    color: var(--color-white);
}

.coverage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.coverage-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2);
}

.coverage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.coverage-content {
    position: relative;
    z-index: 2;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.coverage-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: var(--transition-normal);
}

.coverage-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 159, 227, 0.4);
}

.coverage-card i {
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.coverage-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.coverage-card p {
    font-size: 0.9rem;
    color: var(--color-light-200);
    margin-bottom: 25px;
    min-height: 50px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.08);
}

.status-badge.available {
    color: var(--color-success);
    background-color: rgba(16, 185, 129, 0.15);
}

.status-badge.warning {
    color: var(--color-warning);
    background-color: rgba(245, 158, 11, 0.15);
}

.status-badge i {
    font-size: 0.5rem;
    margin-bottom: 0;
}

.coverage-cta-box {
    text-align: center;
    margin-top: 60px;
}

.coverage-cta-box p {
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.faq-section {
    padding: 100px 0;
    background-image: linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(241, 245, 249, 0.94) 100%), url('assets/tech_pattern.png');
    background-repeat: repeat;
    background-size: 400px 400px;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 10px 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 159, 227, 0.3);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px -5px rgba(0, 132, 67, 0.1), var(--shadow-md);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-dark-900);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.faq-trigger:hover {
    color: var(--color-primary);
}

.faq-trigger i {
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1);
}

.faq-panel p {
    padding-bottom: 15px;
    color: var(--color-dark-700);
    font-size: 0.95rem;
}

.faq-item.active .faq-panel {
    max-height: 1000px;
    transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0);
}

/* 12. Contact Section & Lead Form */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-light-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: start;
}

.contact-details-box h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-dark-900);
    margin-bottom: 20px;
    line-height: 1.25;
}

.contact-details-box p {
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.info-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.95rem;
    color: var(--color-dark-700);
    margin-bottom: 0;
}

.info-card a:hover {
    color: var(--color-primary);
}

.social-channels h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    color: var(--color-dark-700);
    font-size: 1.15rem;
}

.social-icons a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Contact Form Box Styling */
.contact-form-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 8px;
}

.contact-form-box p {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark-800);
    margin-bottom: 8px;
}

.required {
    color: var(--color-danger);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-light-200);
    background-color: var(--color-light-50);
    color: var(--color-dark-900);
    outline: none;
    transition: var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    border-color: var(--color-secondary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.1);
}

textarea {
    resize: vertical;
}

.form-status-msg {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

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

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

/* 13. Footer Styles */
.main-footer {
    background-color: var(--color-dark-900);
    color: var(--color-light-200);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 110px;
    width: auto;
    margin-bottom: 25px;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-methods span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

.tbk-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer-links-col h4,
.footer-legal-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after,
.footer-legal-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-secondary);
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-links-col a:hover {
    color: var(--color-secondary);
    opacity: 1;
    padding-left: 5px;
}

.footer-legal-col p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.footer-legal-col p strong {
    color: var(--color-white);
}

.footer-legal-col p i {
    color: var(--color-secondary);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.7;
}

.footer-bottom-content a:hover {
    color: var(--color-white);
}

/* 14. Floating Elements & Interactive Elements */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #20ba5a;
}

.whatsapp-float-btn .tooltip-text {
    visibility: hidden;
    background-color: var(--color-dark-900);
    color: var(--color-white);
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    position: absolute;
    right: 75px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: var(--shadow-md);
}

.whatsapp-float-btn .tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-dark-900);
}

.whatsapp-float-btn:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* 15. Responsive Breakpoints */

/* Tablet & Smaller Laptops */
@media (max-width: 992px) {
    :root {
        --header-height: 90px;
    }
    .logo-brand img {
        height: 85px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-visual-content {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mid-cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mid-cta-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .plan-card.popular {
        transform: scale(1);
    }
    
    .plan-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    .logo-brand img {
        height: 75px;
    }
    .top-bar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition-normal);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        align-items: stretch;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
        padding: 10px 0;
    }
    
    .nav-btn-item {
        margin-top: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .news-section {
        padding: 80px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        padding: 26px 22px;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }

    .news-image-wrap {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-box {
        padding: 30px 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .floating-card {
        padding: 10px 15px;
    }
    
    .ping-card {
        left: -10px;
    }
    
    .speed-card {
        right: -5px;
    }
    
    .plan-card {
        padding: 30px 20px;
    }
}

/* 16. Coverage Map */
.map-section-container {
    margin-top: 50px;
    position: relative;
    z-index: 5;
}

#coverage-map {
    height: 450px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.15);
}

/* Fix Leaflet z-index to not overlap sticky header */
.leaflet-pane, 
.leaflet-top, 
.leaflet-bottom {
    z-index: 1 !important;
}

.leaflet-control-container {
    z-index: 2 !important;
}

@media (max-width: 768px) {
    #coverage-map {
        height: 300px;
    }
}

/* ==========================================================================
   17. Sucursal Virtual / Portal de Clientes
   ========================================================================== */
.portal-body {
    background-color: var(--color-light-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.portal-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light-200);
    height: 80px;
    box-shadow: var(--shadow-sm);
}

.portal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.portal-header-content .logo-brand img {
    height: 46px;
    width: auto;
}

.portal-main {
    flex: 1;
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

/* Login Card Section */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
    background: linear-gradient(135deg, #0e1628 0%, #172237 100%);
    overflow: hidden;
    min-height: calc(100vh - 160px); /* Fill screen between header & footer */
}

.login-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 50px 40px;
    max-width: 460px;
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.04);
    position: relative;
    z-index: 5;
}

.login-card-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    font-size: 3rem;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    width: 76px;
    height: 76px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.login-card-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-dark-900);
    margin-bottom: 10px;
}

.login-card-header p {
    font-size: 0.9rem;
    color: var(--color-dark-700);
}

.login-card-footer {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--color-light-200);
    font-size: 0.9rem;
}

.login-card-footer p {
    margin-bottom: 10px;
}

.portal-support-link {
    color: #25d366;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-support-link:hover {
    color: #20ba5a;
    transform: scale(1.02);
}

/* Dashboard Section */
.db-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-light-200);
    padding-bottom: 25px;
}

.db-greeting h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-dark-900);
    margin-bottom: 5px;
}

.db-greeting p {
    font-size: 0.95rem;
    color: var(--color-dark-700);
}

.db-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.db-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.db-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-light-100);
    padding-bottom: 15px;
}

.db-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-card-header h3 i {
    color: var(--color-secondary);
}

.balance-card .db-card-header h3 i {
    color: var(--color-primary);
}

/* Status pills */
.status-pill {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
}

.status-pill.unpaid {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
}

.status-pill.paid {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.balance-body {
    text-align: center;
    padding: 10px 0;
}

.balance-label {
    font-size: 0.95rem;
    color: var(--color-dark-700);
    margin-bottom: 5px;
}

.balance-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-dark-900);
    line-height: 1;
    margin-bottom: 10px;
}

.balance-due-date {
    font-size: 0.85rem;
    color: var(--color-danger);
    margin-bottom: 25px;
    font-weight: 600;
}

.status-pill.paid + .balance-body .balance-due-date {
    color: var(--color-success);
}

/* Service Details List */
.service-details-body .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-light-100);
    font-size: 0.95rem;
}

.service-details-body .detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-details-body .detail-row .label {
    color: var(--color-dark-700);
    font-weight: 500;
}

.service-details-body .detail-row .value {
    color: var(--color-dark-900);
    font-weight: 700;
    text-align: right;
}

/* Ticketing System styles */
.new-ticket-form {
    background-color: var(--color-light-50);
    border-radius: var(--border-radius-md);
    padding: 25px;
    border: 1px solid var(--color-light-200);
    margin-bottom: 30px;
}

.new-ticket-form h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 15px;
}

.tickets-history-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 15px;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ticket-item {
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 20px;
    transition: var(--transition-fast);
}

.ticket-item:hover {
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.ticket-item.new-pulse {
    animation: ticket-pulse 1s 1;
    border-color: var(--color-success);
}

@keyframes ticket-pulse {
    0% { transform: scale(0.98); background-color: rgba(16, 185, 129, 0.05); }
    100% { transform: scale(1); background-color: transparent; }
}

.ticket-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.ticket-id {
    font-weight: 700;
    color: var(--color-dark-900);
}

.ticket-date {
    color: var(--color-dark-700);
    opacity: 0.7;
}

.status-badge-ticket {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 50px;
}

.status-badge-ticket.resolved {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.status-badge-ticket.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.ticket-item p {
    font-size: 0.9rem;
    color: var(--color-dark-900);
    margin-bottom: 8px;
}

.ticket-reply {
    background-color: var(--color-light-50);
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-secondary);
    font-size: 0.85rem !important;
    color: var(--color-dark-700) !important;
}

.ticket-item.new-pulse .ticket-reply {
    border-left-color: var(--color-success);
}

/* History table */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.history-table th, 
.history-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-light-200);
}

.history-table th {
    background-color: var(--color-light-50);
    color: var(--color-dark-900);
    font-weight: 700;
}

.badge-payment {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.badge-payment.paid {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

/* Webpay Modal Simulation Backdrop */
.webpay-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 26, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top to allow scroll spacing */
    padding: 40px 20px;
    overflow-y: auto; /* Enable backdrop scrolling if content overflows screen */
}

.webpay-container {
    background-color: var(--color-white);
    max-width: 480px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1) 1;
    margin-bottom: 40px; /* Bottom space for comfortable scrolling */
}

/* Compact Forms for Modals */
.webpay-container .wp-content-box {
    padding: 25px 25px;
}

.webpay-container .form-group {
    margin-bottom: 12px;
}

.webpay-container .form-row {
    gap: 15px;
}

.webpay-container label {
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.webpay-container input,
.webpay-container select,
.webpay-container textarea {
    padding: 10px 12px;
    font-size: 0.88rem;
}

@keyframes modal-pop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.wp-header {
    background-color: #e30613; /* Webpay Red color */
    color: var(--color-white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wp-tbk-logo {
    height: 25px;
    width: auto;
    filter: brightness(0) invert(1);
}

.wp-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.wp-merchant-info {
    text-align: right;
    font-size: 0.75rem;
    opacity: 0.9;
}

.wp-content-box {
    padding: 35px 30px;
}

.wp-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 25px;
    text-align: center;
}

.wp-payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.wp-method-btn {
    background-color: var(--color-light-50);
    border: 2px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-dark-900);
    text-align: left;
    transition: var(--transition-fast);
    width: 100%;
}

.wp-method-btn:hover {
    border-color: #e30613;
    background-color: rgba(227, 6, 19, 0.02);
}

.wp-method-btn i {
    font-size: 1.5rem;
    color: #e30613;
}

.wp-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--color-light-200);
    border-bottom: 1px solid var(--color-light-200);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.wp-total-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-dark-900);
}

.mt-20 {
    margin-top: 20px;
}

/* Webpay bank selectors */
.wp-form-group {
    margin-bottom: 20px;
}

.wp-form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-dark-700);
    margin-bottom: 8px;
    display: block;
}

.wp-form-group select, 
.wp-form-group input {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-light-200);
    outline: none;
}

.wp-form-group select:focus, 
.wp-form-group input:focus {
    border-color: #e30613;
}

.wp-buttons-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.wp-buttons-row .btn {
    flex: 1;
}

/* Bank custom page style */
.bank-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.wp-help-text {
    font-size: 0.85rem;
    color: var(--color-dark-700);
    margin-bottom: 25px;
}

/* Spinner */
.spinner-box {
    padding: 20px 0;
}

.spinner-icon {
    font-size: 3rem;
    color: var(--color-secondary);
}

.text-center {
    text-align: center;
}

/* Webpay Success view */
.success-icon-box {
    margin-bottom: 20px;
}

.success-check-icon {
    font-size: 4rem;
    color: var(--color-success);
}

.color-success {
    color: var(--color-success) !important;
}

.wp-success-desc {
    font-size: 0.9rem;
    color: var(--color-dark-700);
    margin-bottom: 30px;
}

.wp-receipt-details {
    background-color: var(--color-light-50);
    border-radius: var(--border-radius-md);
    padding: 20px;
    border: 1px solid var(--color-light-200);
    margin-bottom: 30px;
    text-align: left;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    font-size: 0.85rem;
}

.receipt-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.receipt-row span {
    color: var(--color-dark-700);
}

.receipt-row strong {
    color: var(--color-dark-900);
}

/* Portal footer */
.portal-footer {
    background-color: var(--color-dark-900);
    color: var(--color-light-200);
    padding: 25px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    opacity: 0.8;
}

/* Table Responsive wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

/* Utilities */
.hidden {
    display: none !important;
}

.font-bold {
    font-weight: 700;
}

/* Portal Nav Link highlight styling */
.portal-nav-link {
    color: var(--color-secondary) !important;
    font-weight: 700 !important;
}

.portal-nav-link:hover {
    color: var(--color-secondary-dark) !important;
}

/* Portal responsive overrides */
@media (max-width: 992px) {
    .db-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .db-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .db-header-row .btn {
        width: 100%;
    }
    
    .login-card {
        padding: 35px 20px;
    }
}

/* ==========================================================================
   18. Demo Credentials Helper Box (Portal Login)
   ========================================================================== */
.demo-credentials-box {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--color-light-50);
    border: 1px dashed var(--color-light-200);
    border-radius: var(--border-radius-md);
    text-align: left;
}

.demo-credentials-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-credentials-box h4 i {
    color: var(--color-primary);
}

.demo-credentials-box > p {
    font-size: 0.8rem;
    color: var(--color-dark-700);
    margin-bottom: 15px;
    line-height: 1.4;
}

.demo-accounts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.demo-account-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-150);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.demo-account-item h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-dark-800);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--color-light-100);
    padding-bottom: 4px;
}

.demo-account-item h5 i {
    font-size: 0.75rem;
}

.demo-account-item:first-child h5 i {
    color: var(--color-primary);
}

.demo-account-item:last-child h5 i {
    color: var(--color-secondary);
}

.demo-credential-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.75rem;
    gap: 5px;
}

.demo-credential-field:last-child {
    margin-bottom: 0;
}

.demo-credential-field .field-label {
    color: var(--color-dark-700);
    font-weight: 600;
    flex-shrink: 0;
}

.demo-credential-field code {
    background-color: var(--color-light-50);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--color-dark-900);
    border: 1px solid var(--color-light-200);
    word-break: break-all;
    flex-grow: 1;
    text-align: center;
}

.btn-copy {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: var(--color-dark-700);
    font-size: 0.75rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-copy:hover {
    color: var(--color-primary);
    transform: scale(1.15);
}

@media (max-width: 480px) {
    .demo-accounts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   19. Customer Dashboard Payment Card & Service Suspension
   ========================================================================== */
.suspended-alert {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(227, 6, 19, 0.08);
    border: 1px solid rgba(227, 6, 19, 0.2);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    color: #e30613;
}

.suspended-alert i {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.suspended-alert h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.suspended-alert p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--color-dark-800);
}

.transfer-intro {
    font-size: 0.9rem;
    color: var(--color-dark-700);
    margin-bottom: 15px;
}

.transfer-details {
    background-color: var(--color-light-50);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.transfer-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--color-light-200);
    font-size: 0.85rem;
}

.transfer-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.transfer-row .field-name {
    color: var(--color-dark-700);
    font-weight: 600;
}

.transfer-row strong {
    color: var(--color-dark-900);
}

.transfer-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin: 20px 0;
    background-color: var(--color-light-50);
    padding: 15px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-light-200);
}

.transfer-qr-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border: 3px solid var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.transfer-qr-section span {
    font-size: 0.75rem;
    color: var(--color-dark-700);
    font-weight: 600;
}

.report-transfer-form {
    margin-top: 20px;
    border-top: 1px solid var(--color-light-200);
    padding-top: 20px;
}

.report-transfer-form h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark-900);
}


/* ==========================================================================
   20. Admin Panel (Sucursal Virtual Admin Mode)
   ========================================================================== */
.admin-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.admin-tabs-row {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--color-light-200);
    padding-bottom: 15px;
    overflow-x: auto;
}

.admin-tab-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark-700);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.admin-tab-btn:hover {
    background-color: var(--color-light-100);
    color: var(--color-dark-900);
}

.admin-tab-btn.active {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.admin-tab-content {
    animation: fadeIn 0.3s ease;
}

.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
}

.admin-actions-bar h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-dark-900);
}

/* Admin Table styling */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.admin-table th, 
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-light-200);
    vertical-align: middle;
}

.admin-table th {
    background-color: var(--color-light-50);
    color: var(--color-dark-900);
    font-weight: 700;
}

.admin-table tr:hover td {
    background-color: rgba(0, 159, 227, 0.02);
}

.status-pill.suspended {
    background-color: rgba(227, 6, 19, 0.1);
    color: #e30613;
}

/* Finances and Settings */
.admin-finances-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .admin-finances-grid {
        grid-template-columns: 1fr;
    }
}

.admin-fin-card {
    background-color: var(--color-light-50);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-lg);
    padding: 30px;
}

.admin-fin-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark-900);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-card-desc {
    font-size: 0.85rem;
    color: var(--color-dark-700);
    margin-bottom: 25px;
}

.admin-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-box {
    flex: 1;
    background-color: var(--color-white);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-dark-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.stat-value.text-green {
    color: var(--color-primary);
}

.stat-value.text-blue {
    color: var(--color-secondary);
}

/* Admin Tickets */
.admin-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

.admin-ticket-item {
    background-color: var(--color-light-50);
    border: 1px solid var(--color-light-200);
    border-radius: var(--border-radius-md);
    padding: 25px;
}

.admin-ticket-item.status-open {
    border-left: 4px solid var(--color-warning);
}

.admin-ticket-item.status-resolved {
    border-left: 4px solid var(--color-primary);
}

.admin-ticket-reply-form {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--color-light-200);
}

.admin-ticket-reply-form label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* 13. Interactive Map & Sidebar Layout */
.map-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.map-sidebar {
    flex: 1;
    max-width: 440px;
    background-color: rgba(15, 23, 42, 0.95);
    padding: 30px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    max-height: none;
    overflow: visible;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.map-sidebar::-webkit-scrollbar {
    width: 6px;
}
.map-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.map-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.map-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-light-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-sidebar p {
    font-size: 0.9rem;
    color: var(--color-light-400);
    margin-bottom: 20px;
}

.location-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flat-loc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.loc-group h4 {
    font-size: 0.95rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.loc-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.loc-item {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    color: var(--color-light-200);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.loc-item i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.loc-item:hover, .loc-item.active {
    background-color: rgba(0, 159, 227, 0.15);
    border-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateX(5px);
}

.map-container-box {
    flex: 2;
    min-height: 550px;
    position: relative;
}

#coverage-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 991px) {
    .map-layout {
        flex-direction: column;
    }
    .map-sidebar {
        max-width: 100%;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .map-container-box {
        min-height: 400px;
    }
}

/* ==========================================================================
   ZAPPING TV PARTNERSHIP SHOWCASE SECTION STYLING
   ========================================================================== */
.zapping-partner-section {
    background: linear-gradient(135deg, #1b0933 0%, #0c0218 100%);
    color: var(--color-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 2px solid #9933ff;
    border-bottom: 2px solid #00ffcc;
}

.zapping-partner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(153,51,255,0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.zapping-partner-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,255,204,0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.zapping-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.zapping-content {
    flex: 1;
}

.zapping-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(153, 51, 255, 0.2);
    border: 1px solid #9933ff;
    color: #e0b3ff;
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.zapping-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #d8b4fe, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zapping-desc {
    color: var(--color-light-200);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.zapping-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 20px;
}

.zapping-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.zapping-feat-icon {
    background: linear-gradient(135deg, #9933ff 0%, #00ffcc 100%);
    color: var(--color-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.zapping-feat-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--color-white);
}

.zapping-feat-text p {
    font-size: 0.9rem;
    color: var(--color-light-200);
    margin: 0;
}

.zapping-channels-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    position: relative;
    width: 100%;
}

.zapping-channels-header {
    text-align: center;
    margin-bottom: 30px;
}

.zapping-channels-header h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.zapping-channels-header p {
    font-size: 0.9rem;
    color: var(--color-light-200);
}

.channel-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.channel-logo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-normal);
}

.channel-logo-card.zapping {
    grid-column: span 2;
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-bottom: 4px solid #00ffcc;
    padding: 30px;
}

.channel-logo-card.zapping:hover {
    border-color: #00ffcc;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.25);
    transform: translateY(-5px);
    background: rgba(0, 255, 204, 0.05);
}

.channel-logo-card.max {
    border: 1px solid rgba(0, 87, 255, 0.15);
    border-bottom: 4px solid #0057ff;
}

.channel-logo-card.max:hover {
    border-color: #0057ff;
    box-shadow: 0 10px 30px rgba(0, 87, 255, 0.25);
    transform: translateY(-5px);
    background: rgba(0, 87, 255, 0.05);
}

.channel-logo-card.tnt {
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-bottom: 4px solid #ff4500;
}

.channel-logo-card.tnt:hover {
    border-color: #ff4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.25);
    transform: translateY(-5px);
    background: rgba(255, 69, 0, 0.05);
}

.channel-logo-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.channel-logo-card.zapping i {
    color: #00ffcc;
}

.channel-logo-card.max i {
    color: #ffffff;
}

.channel-logo-card.tnt i {
    color: #ff4500;
}

.channel-logo-card h5 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.channel-logo-card p {
    font-size: 0.85rem;
    color: var(--color-light-200);
    margin: 0;
}

@media (max-width: 992px) {
    .zapping-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* Partner Logos and Compatibility Styles */
.partner-logo-img {
    height: auto;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.partner-logo-img.zapping {
    max-height: 45px;
    max-width: 260px;
}

.partner-logo-img.max {
    max-height: 50px;
    max-width: 170px;
}

.partner-logo-img.tnt {
    max-height: 50px;
    max-width: 190px;
}

.zapping-compatibility-box {
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 50px;
    width: 100%;
}

.compatibility-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--color-white);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.btn-zapping-setup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.15);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-zapping-setup:hover {
    border-color: #00ffcc;
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.15);
}

.compatibility-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    gap: 30px 40px;
    margin-top: 45px;
    opacity: 0.7;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .compatibility-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 30px;
    }
}

.comp-logo-item {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
}

.comp-logo-item:hover {
    opacity: 1;
    color: #00ffcc;
    transform: scale(1.05);
}

.comp-logo-item i {
    font-size: 1.4rem;
}

/* Zapping Channels Marquee Styling */
.zapping-marquee-wrapper {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.marquee-intro {
    text-align: center;
    margin-bottom: 40px;
}

.marquee-intro h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-top: 12px;
    margin-bottom: 16px;
    font-family: var(--font-title);
    background: linear-gradient(to right, #ffffff, #d8b4fe, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.marquee-intro p {
    color: var(--color-light-200);
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.marquee-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #00ffcc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.channel-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: marquee-scroll 50s linear infinite;
}

.channel-marquee.marquee-reverse .marquee-track {
    animation: marquee-scroll-reverse 50s linear infinite;
}

.channel-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 12px 26px;
    color: var(--color-white);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: var(--transition-normal);
    cursor: default;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.channel-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00ffcc;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.25);
    transform: translateY(-2px);
}

.channel-pill i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.channel-pill:hover i {
    transform: scale(1.2);
}

/* FontAwesome colors for icons to look premium and rich */
.text-cyan { color: #00e5ff !important; }
.text-red { color: #ff3366 !important; }
.text-green { color: #00e676 !important; }
.text-purple { color: #d500f9 !important; }
.text-blue { color: #2979ff !important; }
.text-orange { color: #ff9100 !important; }
.text-yellow { color: #ffd600 !important; }
.text-pink { color: #ff4081 !important; }
.text-magenta { color: #e040fb !important; }
.text-dark { color: #b0bec5 !important; }

/* Animations */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
@keyframes marquee-scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .marquee-intro h3 {
        font-size: 1.6rem;
    }
    .marquee-intro p {
        font-size: 0.95rem;
    }
    .channel-pill {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/* ==========================================================================
   LEGAL MODAL - Términos de Servicio & Políticas de Privacidad
   ========================================================================== */

.legal-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: legalFadeIn 0.25s ease forwards;
}

.legal-modal-backdrop.hidden {
    display: none;
}

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

.legal-modal-container {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.08);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: legalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

/* --- Modal Header (tabs + close button) --- */
.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 22px;
    background: var(--color-dark-900);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    flex-shrink: 0;
}

.legal-modal-tabs {
    display: flex;
    gap: 6px;
}

.legal-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.legal-tab-btn:hover {
    background: rgba(255,255,255,0.14);
    color: var(--color-white);
}

.legal-tab-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,132,67,0.4);
}

.legal-modal-close {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.7);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.legal-modal-close:hover {
    background: rgba(239,68,68,0.25);
    border-color: rgba(239,68,68,0.5);
    color: #f87171;
    transform: rotate(90deg);
}

/* --- Modal Body (scrollable) --- */
.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 32px;
    scroll-behavior: smooth;
}

.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}
.legal-modal-body::-webkit-scrollbar-track {
    background: var(--color-light-100);
    border-radius: 3px;
}
.legal-modal-body::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

/* Tab content visibility */
.legal-tab-content {
    display: block;
}
.legal-tab-content.hidden {
    display: none;
}

/* --- Document Header inside modal --- */
.legal-doc-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--color-light-200);
}

.legal-doc-icon {
    font-size: 2.8rem;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.legal-doc-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-dark-900);
    line-height: 1.25;
    margin-bottom: 6px;
}

.legal-doc-meta {
    font-size: 0.82rem;
    color: var(--color-dark-700);
    font-weight: 500;
}

/* --- Sections --- */
.legal-section {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--color-light-100);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-dark-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    flex-shrink: 0;
}

.legal-section p {
    font-size: 0.92rem;
    color: var(--color-dark-700);
    line-height: 1.75;
    margin-bottom: 10px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

/* --- Legal Lists --- */
.legal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 10px;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-dark-700);
    line-height: 1.6;
    padding: 8px 12px;
    background: var(--color-light-50);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
}

.legal-list li:hover {
    background: var(--color-primary-light);
    border-left-color: var(--color-primary);
}

.legal-list li i {
    color: var(--color-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- Modal Footer --- */
.legal-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 28px;
    background: var(--color-light-50);
    border-top: 1px solid var(--color-light-200);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.legal-footer-note {
    font-size: 0.82rem;
    color: var(--color-dark-700);
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.legal-footer-note i {
    color: var(--color-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.legal-footer-note a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .legal-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .legal-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    .legal-modal-container {
        border-radius: var(--border-radius-md);
        max-height: 95vh;
    }
    .legal-modal-body {
        padding: 20px 18px;
    }
    .legal-tab-btn {
        font-size: 0.8rem;
        padding: 7px 12px;
    }
    .legal-doc-header {
        flex-direction: column;
        gap: 12px;
    }
    .legal-doc-icon {
        font-size: 2rem;
    }
    .legal-modal-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .legal-footer-note {
        justify-content: center;
    }
}

/* Custom Leaflet Map Tooltips */
.leaflet-tooltip.custom-map-tooltip {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--color-secondary);
    color: var(--color-white) !important;
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.leaflet-tooltip-top.custom-map-tooltip::before {
    border-top-color: var(--color-secondary) !important;
}
