/* ===================================================================
   STYLESHEET PRINCIPAL
   -------------------------------------------------------------------
   0. CONFIGURACIÓN Y FUENTES
   1. VARIABLES GLOBALES (:root)
   2. RESET Y ESTILOS BASE
   3. CLASES DE UTILIDAD (Helpers)
   4. COMPONENTES REUTILIZABLES
      - Barra de Navegación (Navbar)
      - Botones (Buttons)
      - Formularios (Forms & Inputs)
      - Modales (Modals)
      - Pestañas (Tabs)
      - Barra Lateral Social (Social Sidebar)
      - Botón de Volver Arriba (Back to Top)
   5. SECCIONES DE LA PÁGINA
      - Estilos Generales de Sección
      - Sección Hero
      - Sección de Servicios y Planes
      - Sección de Selección de Contrato
      - Sección de Misión (con video)
      - Sección de Cobertura (Mapa)
      - Sección Tarjeta Destacada (Estilo Apple)
      - Sección de Contacto
      - Pie de Página (Footer)
   6. ELEMENTOS DE TERCEROS Y MISCELÁNEOS
      - Barra de Scroll
      - Barra de Progreso
      - Parallax
   7. ANIMACIONES (@keyframes)
   8. MEDIA QUERIES (Responsividad)
   ================================================================= */


/* ===================================================================
   0. CONFIGURACIÓN Y FUENTES
   ================================================================= */

@font-face {
  font-family: 'ccqtelecom';
  src:  url('fonts/ccqtelecom/ccqtelecom.eot?ih0l60');
  src:  url('fonts/ccqtelecom/ccqtelecom.eot?ih0l60#iefix') format('embedded-opentype'),
        url('fonts/ccqtelecom/ccqtelecom.ttf?ih0l60') format('truetype'),
        url('fonts/ccqtelecom/ccqtelecom.woff?ih0l60') format('woff'),
        url('fonts/ccqtelecom/ccqtelecom.svg?ih0l60#ccqtelecom') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'ccqtelecom' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-T:before {
  content: "\e900";
}


/* ===================================================================
   1. VARIABLES GLOBALES (:root)
   ================================================================= */

:root {
    /* Paleta de Colores */
    --color-primary: #0052cc;
    --color-secondary: #007bff;
    --color-accent: #4dabf7;
    --color-accent-light: #6ec1ff;
    --color-background: #0a0f1f;
    --color-background-light: #121a30;
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0b0;
    --color-text-dark: #1a1a2e;

    /* Colores en formato RGB (para usar con opacidad) */
    --rgb-primary: 0, 82, 204;
    --rgb-accent: 77, 171, 247;
    --rgb-background: 10, 15, 31;
    --rgb-background-light: 18, 26, 48;
    --rgb-text: 240, 240, 240;
    --rgb-text-muted: 160, 160, 176;

    /* Tipografía */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Layout y Medidas */
    --navbar-height: 80px;
    --border-radius: 12px;

    /* Efectos y Transiciones */
    --transition: all 0.3s ease;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --box-shadow-hover: 0 12px 40px rgba(77, 171, 247, 0.25);
}


/* ===================================================================
   2. RESET Y ESTILOS BASE
   ================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}


/* ===================================================================
   3. CLASES DE UTILIDAD (Helpers)
   ================================================================= */

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--color-accent);
}

.has-logo-background {
    position: relative;
    overflow: hidden;
}

.has-logo-background::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 80%;
    width: 120%;
    height: 120%;
    transform: translate(-40%, -60%) rotate(-15deg);
    background-image: url('../img/ccqtelecom/icono-white.png'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
    z-index: 1;
}

.section-content-wrapper {
    position: relative;
    z-index: 2;
}

.badge {
    border-radius: var(--border-radius);
}


/* ===================================================================
   4. COMPONENTES REUTILIZABLES
   ================================================================= */

.text-heading{
    font-family: var(--font-heading);
}

/* --- Barra de Navegación (Navbar) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0 20px;
    box-shadow: none !important;
}

.navbar.scrolled {
    background-color: rgba(var(--rgb-background), 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(var(--rgb-primary), 0.1) !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1320px;
}

/* Logo */
.nav-logo img {
    height: 60px;
    display: block;
    transition: transform 0.3s ease, opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

.navbar.scrolled .nav-logo img {
    opacity: 1;
    visibility: visible;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

/* Menú de Navegación */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    margin-left: 10px;
}

.nav-menu li:first-child {
    margin-left: 0;
}

.nav-menu li a:not(.btn) {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 400;
    padding: 10px 15px;
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    border-radius: var(--border-radius);
}

.nav-menu li a:not(.btn) i {
    margin-right: 0.7em;
    font-size: 0.9em;
}

.nav-menu li a:not(.btn):hover {
    color: var(--color-accent);
}

.nav-menu li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    border-radius: 3px;
    transition: width 0.3s ease-out;
}

.nav-menu li a:not(.btn):hover::after {
    width: calc(100% - 30px);
}

/* Botones de Acción en Navbar */
.nav-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 22px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    height: auto !important;
    min-height: 38px;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: 0.5px;
    margin-left: 10px;
    white-space: nowrap;
}
.nav-action-btn i {
    margin-right: 8px;
    height: auto !important;
    font-size: 1.5em;
}
.nav-action-btn span {
    line-height: 1.2;
}
.nav-menu .btn-primary.nav-action-btn,
.nav-menu .btn-outline.nav-action-btn {
    border: 2px solid var(--color-primary) !important;
}
.nav-menu .btn-primary.nav-action-btn:hover,
.nav-menu .btn-outline.nav-action-btn:hover {
    transform: translateY(-2px) !important;
}
.nav-menu .btn-primary.nav-action-btn::after,
.nav-menu .btn-outline.nav-action-btn::after {
    content: none !important;
}

.nav-menu .btn-primary.nav-action-btn {
    background-color: var(--color-primary) !important;
    color: white !important;
}
.nav-menu .btn-primary.nav-action-btn:hover {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-text-dark) !important;
}

.nav-menu .btn-outline.nav-action-btn {
    background-color: transparent !important;
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    box-shadow: none !important;
}
.nav-menu .btn-outline.nav-action-btn:hover {
    background-color: rgba(var(--rgb-accent), 0.1) !important;
    color: var(--color-accent-light) !important;
    border-color: var(--color-accent-light) !important;
}

/* Botón de Menú Móvil (Hamburguesa) */
.hamburger {
    display: none;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Botones (Buttons) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bolder;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    min-height: 36px;
    height: auto !important;
    text-transform: none !important;
}
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 1;
}
.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-hover);
}
.btn:hover::after {
    transform: translateX(0);
}
.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #0041a3 !important;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--color-accent-light);
}

.btn-accent-outline {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 10px 25px !important;
}
.btn-accent-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    border-color: var(--color-accent);
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

/* --- Formularios (Forms & Inputs) --- */
.input-field-white label, 
.input-field-white input, 
.input-field-white textarea {
    color: #EEE !important;
}
.input-field-white input[type=text]:focus + label,
.input-field-white textarea:focus + label {
    color: #FFF !important;
}
.input-field-white input[type=text]:focus,
.input-field-white textarea:focus {
    border-bottom: 1px solid #FFF !important;
    box-shadow: 0 1px 0 0 #FFF !important;
}
.input-field-white input[type=text].valid,
.input-field-white textarea.valid {
    border-bottom: 1px solid #4db6ac !important;
    box-shadow: 0 1px 0 0 #4db6ac !important;
}
.input-field-white input[type=text].invalid {
    border-bottom: 1px solid #e57373 !important;
    box-shadow: 0 1px 0 0 #e57373 !important;
}
.input-field-white .prefix.active {
    color: #FFF !important;
}

/* --- Selects */
select{
  border: none !important;
  box-shadow: 0px 1px 0px 0.2px #ccc; 
}
.helper-text-select{
  margin-top: -1.5rem!important;
  
}

.select-wrapper+label {
    top: 0px !important; 
    font-size: 1rem !important;
}

.select2-container {
  padding-bottom: 0 rem;
}
.select2-hidden-accessible{
  position: relative !important;
}
.select2-container--default .select2-selection--single{
    background-color: transparent !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
    line-height: 3rem !important;
}

.select2 .selection .select2-selection--single, .select2-container--default .select2-search--dropdown .select2-search__field {
    border-width: 0 0 1px 0 !important;
    border-radius: 0 !important;
    min-height: 3.05rem !important;  
}

.select2-container--default .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-width: 0 0 1px 0 !important;
    border-radius: 0 !important;
}

.select2-results__option {
    color: #26a69a;
    padding: 8px 16px;
    font-size: 1.1rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #eee !important;
    color: #26a69a !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e1e1e1 !important;
}

.select2-dropdown {
    border: none !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

.select2-container--default .select2-results__option[role=group] .select2-results__group {
    background-color: #333333;
    color: #fff;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
}

.select2-container .select2-search--inline .select2-search__field:focus {
    border-bottom: none !important;
    box-shadow: none !important;
}

.select2-container, .select2-selection--multiple {
    min-height: 3.05rem !important;
    font-size: 1.1rem !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #ddd !important;
    color: rgba(0,0,0,0.26);
    border-bottom: 1px dotted rgba(0,0,0,0.26);
}

/* --- Modales (Modals) --- */
.modal {
    background-color: var(--color-background);
    border-radius: var(--border-radius);
}
.modal .modal-footer {
    background-color: var(--color-background);
    padding-bottom: 20px !important;
}

/* --- Pestañas (Tabs) --- */
.tabs li a {
    font-size: 1.2em !important;
}
.tabs .tab a:hover, .tabs .tab a.active {
    background-color: transparent;
}
.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: var(--color-background-light) !important;
}

/* --- Barra Lateral Social (Social Sidebar) --- */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
    padding: 15px 10px 15px 15px;
    background-color: rgba(var(--rgb-background-light), 0.5);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 2px 0px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.social-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.social-sidebar .social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.social-sidebar .social-icon-link:hover {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    transform: scale(1.1) translateX(3px);
    border-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(var(--rgb-accent), 0.3);
}
.social-sidebar .social-icon-link i {
    line-height: 1;
}

/* --- Botón de Volver Arriba (Back to Top) --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--box-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--color-accent-light);
    transform: translateY(-5px);
}


/* ===================================================================
   5. SECCIONES DE LA PÁGINA
   ================================================================= */

/* --- Estilos Generales de Sección --- */
section {
    position: relative;
    padding: 100px 0;
}
#planes {
    padding-bottom: 100px;
}
section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    position: relative;
    display: inline-block;
    width: 100%;
}
.subtitle {
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 60px auto;
    font-size: 1.2rem;
    font-weight: 200;
    line-height: 1.6;
    text-align: center;
}

/* --- Sección Hero --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--navbar-height);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    border-bottom: none !important;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
#hero-warp-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}
.hero-main-logo {
    width: 60%;
    height: auto;
    margin-bottom: 40px;
    display: block;
    animation: subtlePulse 3s infinite ease-in-out;
}
.hero-main-logo:hover {
    filter: drop-shadow(0 0 1px var(--color-accent-light)) 
            drop-shadow(0 0 2px var(--color-accent-light)) 
            drop-shadow(0 0 7px rgba(var(--rgb-accent-light), 0.8));
    opacity: 0.9;
}
.hero-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 15px rgba(var(--rgb-accent), 0.7), 0 0 5px rgba(255,255,255,0.5);
}
.hero-section h1 .highlight {
    display: inline-block;
    position: relative;
}
.hero-section h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    animation: underline-pulse 3s infinite;
}
.hero-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin-bottom: 40px;
    color: var(--color-text);
    text-shadow: 0 0 8px rgba(0,0,0,0.7);
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    z-index: 4;
}
.scroll-indicator .arrow {
    width: 2px;
    height: 30px;
    background-color: var(--color-text-muted);
    margin-top: 5px;
    position: relative;
    animation: scrollPulse 2s infinite;
}
.scroll-indicator .arrow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--color-text-muted);
    border-right: 2px solid var(--color-text-muted);
}

/* --- Sección de Servicios y Planes --- */
.services-section {
    background-color: var(--color-background);
    z-index: 1;
    margin-top: 0 !important;
    border-top: none !important;
    box-shadow: none;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.service-card {
    background: linear-gradient(145deg, #0f172a, #0a1324);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(var(--rgb-primary), 0.2);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex; /* Flex para alinear contenido */
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--rgb-primary), 0.1), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}
.service-card:hover::before {
    opacity: 1;
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--rgb-accent), 0.1);
    border-radius: 50%;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: rgba(var(--rgb-accent), 0.2);
    transform: scale(1.1);
}
.service-icon i {
    font-size: 36px;
    color: var(--color-accent);
}
.service-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
}
.plan-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}
.plan-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 5em;
}
.plan-icon.bronze { background: rgba(205, 127, 50, 0.15); color: #cd7f32; }
.plan-icon.silver { background: rgba(192, 192, 192, 0.15); color: #c0c0c0; }
.plan-icon.gold   { background: rgba(255, 215, 0, 0.15); color: #ffd700; }

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
}
.plan-features li {
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.service-card:hover .plan-features li {
    color: var(--color-text);
}
.plan-features li i {
    color: var(--color-accent);
    margin-right: 1.1em;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}
.plan-features li strong {
    color: var(--color-text);
    font-weight: 600;
    margin: 0 0.45rem;
}
.plan-pricing {
    margin-bottom: 25px;
    border-top: 1px solid rgba(var(--rgb-text-muted), 0.1);
    border-bottom: 1px solid rgba(var(--rgb-text-muted), 0.1);
    padding: 15px 0;
}
.plan-pricing p {
    margin: 5px 0;
    line-height: 1.3;
}
.price-main {
    font-family: var(--font-heading);
    font-size: 2.2rem !important;
    color: var(--color-accent) !important;
    font-weight: 700;
}
.price-main .currency {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-right: 5px;
    position: relative;
    top: -0.4em;
}
.price-main .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 3px;
}
.price-secondary {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}
.price-secondary .value-bsd {
    font-weight: 500;
}
.price-secondary .period-secondary {
    font-size: 0.85rem;
}

.featured-plan {
    transform: scale(1.05);
    border: 2px solid var(--color-accent);
    box-shadow: 0 15px 40px rgba(var(--rgb-accent), 0.2);
}
.featured-plan:hover {
    transform: translateY(-15px) scale(1.07);
    box-shadow: 0 25px 60px rgba(var(--rgb-accent), 0.3);
}
.featured-plan .btn-select-plan {
    background-color: var(--color-accent);
    color: var(--color-background);
    border-color: transparent;
}
.featured-plan .btn-select-plan:hover {
    background-color: #3ba0f3;
    color: var(--color-background);
}
.plan-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--color-background);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    z-index: 2;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    box-shadow: 0 5px 10px rgba(var(--rgb-accent),0.3);
}

/* --- Sección de Selección de Contrato --- */
.select-contract-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-background);
}
.select-contract-section h2 {
    margin-bottom: 20px;
}
.hidden-radio-contract {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.contract-row-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 15px 0;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, #0f172a, #0a1324);
    border: 2px solid rgba(var(--rgb-primary), 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    text-align: left;
}
.hidden-radio-contract:checked + .contract-row-card, .contract-row-card.is-selected {
    border-color: var(--color-accent);
    background: rgba(var(--rgb-background-light), 0.3);
    box-shadow: 0 8px 25px rgba(var(--rgb-accent), 0.3);
    transform: translateY(-3px);
}
.hidden-radio-contract:focus-visible + .contract-row-card {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}
.contract-row-card.disabled-service {
    opacity: 0.7;
    filter: grayscale(80%);
    cursor: not-allowed;
}
.hidden-radio-contract:disabled + .contract-row-card {
    pointer-events: none;
}
.hidden-radio-contract:disabled + .contract-row-card .contract-selection-check {
    display: none;
}
.contract-id-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: bold;
    color: rgba(var(--rgb-text), 0.7);
    background-color: rgba(var(--rgb-background), 0.5);
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
    border: 1px solid rgba(var(--rgb-accent), 0.1);
}
.hidden-radio-contract:checked + .contract-row-card .contract-id-badge {
    color: var(--color-accent-light);
    border-color: rgba(var(--rgb-accent), 0.4);
}
.contract-row-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-grow: 1;
}
.contract-plan-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.contract-plan-summary .plan-icon.bronze { border: 1px solid #cd7f32; background: rgba(205, 127, 50, 0.1); }
.contract-plan-summary .plan-icon.bronze i { color: #cd7f32; }
.contract-plan-summary .plan-icon.silver { border: 1px solid #c0c0c0; background: rgba(192, 192, 192, 0.1); }
.contract-plan-summary .plan-icon.silver i { color: #c0c0c0; }
.contract-plan-summary .plan-icon.gold { border: 1px solid #ffd700; background: rgba(255, 215, 0, 0.1); }
.contract-plan-summary .plan-icon.gold i { color: #ffd700; }
.plan-name-price {
    display: flex;
    flex-direction: column;
}
.plan-name-price .plan-name {
    font-size: 1.4rem;
    color: var(--color-text);
    margin: 0 0 5px 0;
}
.plan-name-price .plan-pricing {
    margin: 0;
    padding: 0;
    border: none;
    text-align: left;
}
.plan-name-price .price-main {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
}
.plan-name-price .price-main .currency { font-size: 0.85rem; margin-right: 4px; position: relative; top: -0.3em;}
.plan-name-price .price-main .period { font-size: 0.8rem; margin-left: 2px;}
.plan-name-price .price-secondary { font-size: 0.85rem; margin: 2px 0 0; }
.contract-details {
    flex-grow: 1;
}
.contract-details .plan-features {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    font-size: 0.9rem;
}
.contract-details .plan-features li {
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-size: 1em;
}
.contract-details .plan-features li i {
    font-size: 0.9em;
    width: auto;
    margin-right: 6px;
    color: rgba(var(--rgb-accent), 0.7);
}
.contract-details .plan-features li strong {
    color: var(--color-text);
    font-weight: 500;
}
.contract-selection-check {
    font-size: 1.5rem;
    color: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: auto;
}
.hidden-radio-contract:checked + .contract-row-card .contract-selection-check {
    opacity: 1;
}
.form-submit-action {
    margin-top: 40px;
    text-align: center;
}

/* --- Sección tribu --- */
.div-main {
  display: flex;
  align-items: center;    /* centra verticalmente imagen y texto */
  flex-wrap: wrap;        /* permite que los hijos salten de línea en pantallas pequeñas */
  gap: 1rem;              /* espacio entre imagen y texto */
  padding: 1rem;               /* espacio entre imagen y texto */
}

.div-img {
  flex-shrink: 0;         /* evita que la imagen se reduzca demasiado */
  width: 80px;            /* ancho base, ajústalo según diseño */
  max-width: 100%;        /* nunca excede el contenedor */
  height: auto;
}

.div-text {
  flex: 1 1 200px;        /* crece y encoge, con ancho mínimo de 200px */
  min-width: 0;           /* importante: evita overflow dentro de flex */
  font-size: 1.25rem;
  line-height: 1.4;        /* para buena legibilidad */
}

@media (max-width: 600px) {
  .div-main {
    flex-direction: column;  /* capa vertical */
    align-items: center;     /* centra ambos elementos */
    text-align: center;      /* centra el texto */
  }

  .div-text {
    width: 100%;             /* ocupa todo el ancho en móvil */
  }
}

/* --- Sección de Misión (con video) --- */
.mission-section {
    padding: 80px 0;
    background-color: var(--color-background);
    position: relative;
    text-align: center;
}
.mission-title-container {
    margin-bottom: 40px;
}
.mission-title-container h2 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.mission-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8;
    max-height: 700px;
    overflow: hidden;
    margin: 0 auto;
    background-color: #000;
}
.mission-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.mission-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mission-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(to left, rgba(var(--rgb-background), 1) 0%, rgba(var(--rgb-background), 0.85) 30%, rgba(var(--rgb-background), 0.5) 60%, rgba(var(--rgb-background), 0) 90%),
        linear-gradient(to right, rgba(var(--rgb-background), 0.6) 0%, rgba(var(--rgb-background), 0) 70%);
    background-repeat: no-repeat, no-repeat;
    background-position: right center, left center;
    background-size: 60% 100%, 20% 100%;
}
.mission-overlay-content {
    position: relative;
    z-index: 3;
    color: var(--color-text);
    text-align: left;
    max-width: 45%;
    margin-left: auto;
    margin-right: 5%;
}
.mission-overlay-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.mission-overlay-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 30px;
    color: rgba(var(--rgb-text), 0.85);
}

/* --- Sección de Cobertura (Mapa) --- */
.coverage-section {
    background-color: var(--color-background);
    padding: 100px 0;
}
.coverage-section h2 {
    margin-bottom: 20px;
}
.coverage-section p {
    margin: 0 auto 40px auto;
}
.map-container {
    width: 100%;
    height: 440px; 
    display:inline-block;
    overflow: hidden;
    border-radius: 15px;
}
.map-container iframe {
    position:relative; 
    border-radius: 15px;
    min-width: calc(100% + 60px) !important;
    top:-60px; 
    border:none;
}

#map-overlay{
    background-color: rgba(0, 0, 0, 0.4);  
    display: flex;
    align-items: center; 
    justify-content: center;
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 10; 
    cursor: pointer;
}

#map-overlay h3{
    color: rgba(255, 255, 255, 0.5);  
    text-align: center;
}

/* --- Sección Tarjeta Destacada (Estilo Apple) --- 
.featured-card-section {
    padding: 100px 0;
}
.apple-style-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0 auto;
    border-radius: 32px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    isolation: isolate;
    aspect-ratio: 16 / 9;
    display: flex;
}
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.card-background img, 
.card-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 35px 35px 40px;
    min-height: 160px;
    box-sizing: border-box;
    background-color: rgba(var(--rgb-background), 0.65);
    backdrop-filter: blur(10px) saturate(110%);
    -webkit-backdrop-filter: blur(10px) saturate(110%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}
.card-text {
    position: relative;
    z-index: 1;
}
.card-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    margin: 0 0 8px 0;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}
.card-text p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(var(--rgb-text), 0.9);
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
*/

/* 
============================================================
  APPLE CARD
============================================================
*/

.apple-style-card {
    position: relative; /* Clave para el posicionamiento de los hijos (overlay y background) */
    height: 360px; /* O la altura que desees. Puedes usar aspect-ratio si prefieres */
    margin: 10px;
    border-radius: 28px; /* Bordes redondeados, característicos de Apple */
    overflow: hidden; /* Muy importante: recorta todo lo que se salga, como el video */
    -webkit-transform: translateZ(0); /* Pequeño truco para forzar la aceleración por hardware y que las animaciones/bordes se vean más suaves */
    transform: translateZ(0);
}

/* 2. El contenedor del fondo (video o imagen) */
.apple-style-card .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Se queda en el fondo */
}

/* 3. El video o imagen dentro del contenedor de fondo */
.apple-style-card .card-background video,
.apple-style-card .card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Clave para que el video/imagen cubra todo el espacio sin deformarse */
}

/* 4. La capa superpuesta que crea el efecto de cristal */
.apple-style-card .card-overlay {
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Se pone por encima del fondo */
    
    /* --- LA MAGIA DEL EFECTO CRISTAL (se aplicará a toda la capa) --- */
    background-color: rgba(255, 255, 255, 0.05); /* Un fondo aún más sutil */
    backdrop-filter: blur(5px); /* El desenfoque del fondo. ¡Esta es la propiedad principal! */
    -webkit-backdrop-filter: blur(5px); /* Para compatibilidad con Safari */
    
    /* --- LA MÁSCARA CON DEGRADADO (El truco principal) --- */
    -webkit-mask-image: linear-gradient(to top, 
        black 30%,      /* Desde abajo, la máscara es opaca (el efecto es 100% visible) */
        transparent 50% /* Hacia arriba, se vuelve transparente (el efecto desaparece) */
    );
    mask-image: linear-gradient(to top, 
        black 30%,      
        transparent 50% 
    );
    
    /* Usamos Flexbox para alinear el contenido al final */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinea el footer en la parte de abajo */
    padding: 24px;
    box-sizing: border-box; /* Para que el padding no afecte el tamaño total */
}

/* 5. El pie de la tarjeta, que contiene el texto */
.apple-style-card .card-footer {
    width: 100%;
}

/* 6. El texto dentro de la tarjeta */
.apple-style-card .card-text p {
    color: #FFFFFF;
    font-size: 22px; /* Un tamaño legible y elegante */
    font-weight: 300; /* Semi-bold para que destaque */
    margin: 0;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5); /* Sombra de texto para mejorar la legibilidad sobre fondos complejos */
}

/* 
============================================================
  NUEVO: GRID DINÁMICO CON DESPLAZAMIENTO (VERSIÓN CORREGIDA)
============================================================
*/

/* Contenedor principal */
.dynamic-grid-container {
    display: grid;
    gap: 5rem; /* Espacio entre tarjetas */
    padding: 10px;
    /* Por defecto (móvil), una sola columna */
    grid-template-columns: 1fr;
}

/* Contenedor de cada tarjeta */
.grid-item {
    min-height: 360px; /* Altura mínima para las tarjetas */
    /* Añadimos la transición aquí para que sea suave */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* A partir de tablets... */
@media (min-width: 768px) {
    .dynamic-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 
    ================================================
      AQUÍ AUMENTAMOS LOS VALORES PARA PRONUNCIAR
    ================================================
    */

    /* Item 2: Lo bajamos mucho más. De 40px a 70px */
    .dynamic-grid-container .grid-item:nth-child(2) {
        transform: translateY(70px); 
    }
    
    /* Item 3: Lo subimos mucho más. De -30px a -50px */
    .dynamic-grid-container .grid-item:nth-child(3) {
        transform: translateY(-50px);
    }
    
    /* ¡Vamos a mover el cuarto también! */
    .dynamic-grid-container .grid-item:nth-child(4) {
        transform: translateY(20px);
    }

    /* EFECTO HOVER (OPCIONAL PERO RECOMENDADO) */
    .grid-item:hover {
        transform: scale(1.03) !important; /* Usamos !important para asegurar que anule el translateY */
        z-index: 10;
    }
}


/* --- Sección de Contacto --- */
.contact-section {
    background: linear-gradient(to bottom, var(--color-background) 0%, var(--color-primary) 200%);
}
.contact-section h2, .contact-section .subtitle {
    text-align: center;
}

.contact-section input, 
.contact-section button{
    z-index: 1;
}
.contact-section .map-canvas-for-form {
    width: 100%;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--rgb-accent), 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.contact-section form label[style*="font-size: 1rem"] {
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

/* --- Pie de Página (Footer) --- */
.footer-section {
    background-color: #080c17;
    padding: 60px 0 30px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.footer-logo {
    height: 150px;
    margin-bottom: 20px;
    opacity: 0.8;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-size: 18px;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--color-accent);
    color: var(--color-text-dark);
    transform: translateY(-3px);
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0 30px;
}
.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--color-accent);
}
.footer-section p {
    margin-bottom: 10px;
}


/* ===================================================================
   6. ELEMENTOS DE TERCEROS Y MISCELÁNEOS
   ================================================================= */

/* --- Barra de Scroll --- */
::-webkit-scrollbar {
    width: 8px;    
    height: 8px;    
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-track:hover,
::-webkit-scrollbar-track:active {
    background: rgba(0, 0, 0, 0.3);
}

/* --- Barra de Progreso --- */
#indeterminate {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: -8px !important;
}

/* --- Smooth Scroll (Lenis) --- */
html.lenis {
    height: auto;
}

/* --- Parallax --- */
.parallax-container {
    height: 90vh !important;
}
.parallax-container .parallax img{
    opacity: 1 !important;
}


/* ===================================================================
   7. ANIMACIONES (@keyframes)
   ================================================================= */

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes underline-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(5px); }
}


/* ===================================================================
   8. MEDIA QUERIES (Responsividad)
   ================================================================= */

@media (max-width: 1385px) {
    /* --- Navbar --- */
    .nav-menu li {
        padding: 0 0.5em !important;
        margin-left: 10px !important;
    }
    .nav-menu li a{
        font-size: 1em;
    }
}

@media (max-width: 1119px) {
    /* --- Navbar Mobile --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-background);
        flex-direction: column;
        padding: calc(var(--navbar-height) + 30px) 30px 30px;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        align-items: flex-start;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu a {
        padding: 10px 0;
        width: 100%;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 992px) {
    /* --- Sección Misión --- */
    .mission-video-wrapper {
        aspect-ratio: 16 / 9;
    }
    .mission-gradient-overlay {
        background-size: 70% 100%, 30% 100%;
    }
    .mission-overlay-content {
        max-width: 55%;
        margin-right: 4%;
    }
}

@media (max-width: 768px) {
    /* --- Estilos Generales --- */
    .nav-cta {
        display: none;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* --- Navbar Mobile --- */
    .nav-menu {
        width: 300px!important;
    }
    .nav-menu li {
        width: 100%;
        padding: 0 5px !important;
        margin: 3px !important;
    }

    /* --- Hero --- */
    .hero-section h1 {
        font-size: clamp(2rem, 6vw, 2.8rem); 
    }
    
    /* --- Barra Social --- */
    .social-sidebar {
        display: none; 
    }
    
    /* --- Sección Contratos --- */
    .contract-row-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }
    .contract-id-badge {
        top: 10px;
        right: 10px;
    }
    .contract-row-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        width: 100%;
    }
    .contract-plan-summary {
        width: 100%;
        justify-content: center;
        gap: 15px;
        flex-direction: column;
    }
    .plan-icon { margin: 0 auto; }
    .plan-name-price { text-align: center; }
    .plan-name { font-size: 1.6rem; }
    .price-main { font-size: 1.8rem; }
    .price-main .currency { top: -0.2em; }
    .contract-details {
        width: 100%;
    }
    .contract-details .plan-features {
        flex-direction: column;
        gap: 8px 0;
        font-size: 0.95rem;
    }
    .contract-selection-check {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
    }
    
    /* --- Sección Misión --- */
    .mission-video-wrapper {
        aspect-ratio: 4 / 3;
    }
    .mission-gradient-overlay {
        background-image: linear-gradient( to left, rgba(var(--rgb-background), 0.9) 0%, rgba(var(--rgb-background), 0.8) 40%, rgba(var(--rgb-background), 0.1) 80%, rgba(var(--rgb-background), 0) 100% );
        background-position: center center;
        background-size: 100% 100%;
    }
    .mission-overlay-content {
        max-width: 85%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }
    .mission-overlay-content h3 { font-size: clamp(1.5rem, 5vw, 2rem); }
    .mission-overlay-content p { font-size: clamp(0.9rem, 2.5vw, 1rem); margin-bottom: 25px; }

    /* --- Footer --- */
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}