/* ===================================================
   ACADEMISEG - ESTILOS PRINCIPALES
   Colores Principales:
   - Navy Oscuro Primario: #060e1a / #0a1424
   - Navy Acento/Tarjetas: #0f1c30 / #16243b
   - Dorado / Amarillo Oro: #e5a912 / #f5b71a
   - Blanco Puro: #ffffff
   - Gris Claro: #f8fafc / #e2e8f0
   - Verde WhatsApp: #25d366
=================================================== */

:root {
    --color-bg-darkest: #050b14;
    --color-bg-dark: #070f1e;
    --color-bg-navy: #0a1628;
    --color-bg-card: #0d1e36;
    --color-border-dark: #192b45;
    
    --color-gold: #e5a912;
    --color-gold-hover: #f7bb22;
    --color-gold-dark: #cc940a;
    --color-gold-light: #fff3d1;

    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1ebc59;

    --color-text-white: #ffffff;
    --color-text-muted: #9bb0c9;
    --color-text-dark: #111827;
    --color-text-gray: #4b5563;

    --color-bg-light: #ffffff;
    --color-bg-light-alt: #f4f7fb;

    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(229, 169, 18, 0.35);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-darkest);
    color: var(--color-text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.text-gold-dark {
    color: var(--color-gold-dark) !important;
}

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

/* ===================================================
   BUTTONS
=================================================== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background-color: var(--color-gold);
    color: #0a1424;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.75rem 1.6rem;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(229, 169, 18, 0.4);
    transition: var(--transition);
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 169, 18, 0.6);
}

.btn-gold.btn-large {
    padding: 0.95rem 2.2rem;
    font-size: 0.95rem;
    border-radius: 6px;
}

.btn-outline-gold {
    display: inline-block;
    width: 100%;
    padding: 0.65rem 1rem;
    background-color: #060d19;
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    text-align: center;
}

.btn-outline-gold:hover {
    background-color: var(--color-gold);
    color: #060d19;
    box-shadow: 0 4px 15px rgba(229, 169, 18, 0.35);
}

.btn-block {
    width: 100%;
}

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-darkest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
}

.site-logo.header-logo {
    height: 78px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
}

.nav-brand:hover .site-logo.header-logo {
    transform: scale(1.04);
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: #cbd5e1;
    position: relative;
    padding: 0.4rem 0;
}

.nav-link:hover {
    color: var(--color-text-white);
}

.nav-link.active {
    color: var(--color-text-white);
    font-weight: 700;
}

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

/* WhatsApp action button in header */
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: transparent;
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.03);
}

.wa-icon-box {
    width: 42px;
    height: 42px;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.4);
}

.wa-text-box {
    display: flex;
    flex-direction: column;
}

.wa-question {
    font-size: 0.72rem;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.1;
}

.wa-phone {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-white);
    letter-spacing: 0.5px;
}

.nav-actions-mobile {
    display: none;
    align-items: center;
    gap: 0.6rem;
}

.mobile-wa-btn {
    display: flex;
    width: 38px;
    height: 38px;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-white);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

/* ===================================================
   HERO SECTION
=================================================== */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 75% 30%, #13243f 0%, #08111e 60%, #040912 100%);
    padding: 4.5rem 0 5rem;
    overflow: hidden;
    border-bottom: 3px solid #111d30;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(229, 169, 18, 0.04) 1px, transparent 1px),
        linear-gradient(to right, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-pre-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-gold);
    background: rgba(229, 169, 18, 0.12);
    border: 1px solid rgba(229, 169, 18, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 480px;
}

/* Feature grid in Hero */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
    margin-bottom: 2.2rem;
    max-width: 520px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    font-size: 1.35rem;
    color: var(--color-gold);
    width: 28px;
    text-align: center;
}

.feature-labels {
    display: flex;
    flex-direction: column;
}

.feat-top {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.1;
}

.feat-sub {
    font-size: 0.92rem;
    color: var(--color-text-white);
    font-weight: 700;
    line-height: 1.2;
}

.hero-cta-wrap {
    margin-top: 0.5rem;
}

/* Right Visual Collage */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-security-group {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.officer-card {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.officer-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.85);
    border-color: var(--color-gold);
}

.officer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.officer-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 14, 26, 0.9);
    border: 1px solid rgba(229, 169, 18, 0.5);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Center Guard (Vigilancia) */
.officer-main {
    width: 290px;
    height: 480px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border: 2.5px solid rgba(229, 169, 18, 0.6);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(229, 169, 18, 0.2);
}

.officer-main:hover {
    transform: translateX(-50%) translateY(-8px) scale(1.02);
    border-color: var(--color-gold);
}

/* Escort Left-Behind */
.officer-escort {
    width: 245px;
    height: 420px;
    z-index: 2;
    left: 0;
    bottom: 35px;
    filter: brightness(0.92);
}

/* Supervisor Right-Behind */
.officer-supervisor {
    width: 250px;
    height: 430px;
    z-index: 2;
    right: 0;
    bottom: 35px;
    filter: brightness(0.9);
}

/* Floating Glassmorphic Quote */
.hero-quote-box {
    position: absolute;
    bottom: 25px;
    right: -25px;
    background: rgba(7, 15, 28, 0.88);
    border: 1.5px solid rgba(229, 169, 18, 0.4);
    backdrop-filter: blur(16px);
    padding: 1.2rem 1.6rem;
    border-radius: 10px;
    max-width: 290px;
    z-index: 4;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.quote-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.4;
    font-style: italic;
}

/* ===================================================
   COURSES SECTION ("NUESTROS CURSOS")
=================================================== */
.courses-section {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    padding: 4.5rem 0 5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #070e1a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-secondary);
    color: #64748b;
    font-size: 1.02rem;
    margin-top: 0.35rem;
    margin-bottom: 3rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.course-card {
    background-color: #08111e;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid #16263e;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    border-color: var(--color-gold);
}

.course-img-wrap {
    position: relative;
    height: 190px;
    width: 100%;
    overflow: hidden;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img {
    transform: scale(1.08);
}

.course-tag-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 3px;
    pointer-events: none;
}

.course-body {
    padding: 1.3rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    color: #ffffff;
}

.course-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.course-icon {
    color: var(--color-gold);
    font-size: 1.15rem;
}

.course-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.course-desc {
    font-family: var(--font-secondary);
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.45;
    margin-bottom: 0.8rem;
    min-height: 42px;
}

.course-quick-points {
    width: 100%;
    margin-bottom: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.course-quick-points li {
    font-size: 0.78rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.course-quick-points li i {
    color: var(--color-gold);
    font-size: 0.75rem;
}

.course-body .btn-outline-gold {
    margin-top: auto;
}

/* ===================================================
   INSTITUTIONAL IDENTITY (MISIÓN, VISIÓN, VALORES, CALIDAD)
=================================================== */
.institution-section {
    background: radial-gradient(circle at 50% 0%, #102138 0%, #08111e 60%, #050b14 100%);
    padding: 5rem 0 5.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--color-gold);
    background: rgba(229, 169, 18, 0.12);
    border: 1px solid rgba(229, 169, 18, 0.35);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.text-white {
    color: #ffffff !important;
}

.text-muted {
    color: #94a3b8 !important;
}

/* Tab Navigation (Pestañas) */
.institutional-tabs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    background: rgba(8, 17, 32, 0.85);
    padding: 0.6rem;
    border-radius: 50px;
    border: 1px solid #1c3150;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.inst-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    border-radius: 40px;
    background: transparent;
    color: #94a3b8;
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 700;
    transition: var(--transition);
    border: 1px solid transparent;
}

.inst-tab-btn i {
    font-size: 1rem;
    transition: var(--transition);
}

.inst-tab-btn:hover {
    color: #ffffff;
    background: rgba(229, 169, 18, 0.08);
    border-color: rgba(229, 169, 18, 0.25);
}

.inst-tab-btn.active {
    background: var(--color-gold);
    color: #070e1a;
    box-shadow: 0 4px 15px rgba(229, 169, 18, 0.45);
    border-color: var(--color-gold);
}

.inst-tab-btn.active i {
    color: #070e1a;
}

/* Tab Panes */
.inst-tabs-content {
    position: relative;
}

.inst-tab-pane {
    display: none;
    animation: tabFadeIn 0.35s ease forwards;
}

.inst-tab-pane.active {
    display: block;
}

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

.mv-badge {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.why-us-tab-wrapper {
    background: #091424;
    border: 1px solid #1b304f;
    border-radius: 10px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Misión & Visión Grid */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 0;
}

.mv-card {
    background: #0b172a;
    border: 1px solid #1c3150;
    border-top: 3px solid var(--color-gold);
    border-radius: 8px;
    padding: 2.2rem 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    box-shadow: 0 16px 35px rgba(229, 169, 18, 0.15);
}

.mv-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.mv-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(229, 169, 18, 0.15);
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.mv-title {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
}

.mv-text {
    font-family: var(--font-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
    color: #cbd5e1;
    text-align: justify;
}

/* Valores Corporativos */
.corporate-values-wrap {
    margin-bottom: 4.5rem;
}

.sub-section-heading {
    margin-bottom: 2.5rem;
}

.sub-title {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.value-card {
    background: #091322;
    border: 1px solid #162a45;
    border-radius: 8px;
    padding: 2rem 1.6rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-gold);
    background: #0c1a2f;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: rgba(229, 169, 18, 0.1);
    border: 1px solid rgba(229, 169, 18, 0.4);
    color: var(--color-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.value-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.value-desc {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
}

/* Política de Calidad */
.quality-policy-box {
    background: #091424;
    border: 1.5px solid #1e3555;
    border-radius: 10px;
    padding: 2.8rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.quality-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.4rem;
}

.quality-icon-wrap {
    width: 54px;
    height: 54px;
    background: rgba(229, 169, 18, 0.15);
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.quality-title {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.quality-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quality-intro {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify;
}

.quality-lead-text {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 1.8rem;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.pillar-item {
    background: #060d19;
    border: 1px solid #162842;
    border-radius: 6px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    transition: var(--transition);
}

.pillar-item:hover {
    border-color: rgba(229, 169, 18, 0.5);
    background: #091322;
}

.pillar-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
    padding-top: 2px;
}

.pillar-content h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.pillar-content p {
    font-family: var(--font-secondary);
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Responsive adjustments for institutional */
@media (max-width: 900px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .quality-policy-box {
        padding: 2rem 1.5rem;
    }
}

/* ===================================================
   WHY CHOOSE US SECTION ("¿POR QUÉ ELEGIRNOS?")
=================================================== */
.why-us-section {
    background-color: var(--color-bg-navy);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.why-us-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 480px;
}

.why-left-content {
    padding: 4.5rem 3rem 4.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-title {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2.8rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem 1.8rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.why-icon {
    font-size: 1.55rem;
    color: var(--color-gold);
    margin-top: 2px;
}

.why-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.why-info p {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* Right Side Photo with Slogan */
.why-right-visual {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.why-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.why-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--color-bg-navy) 0%, rgba(10, 22, 40, 0.4) 40%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.why-uniform-tag {
    position: absolute;
    top: 55%;
    left: 45%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 3px;
    z-index: 2;
}

.why-slogan-box {
    position: absolute;
    bottom: 3.5rem;
    right: 3.5rem;
    text-align: right;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.slogan-line {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.18;
    text-transform: uppercase;
    text-shadow: 0 3px 12px rgba(0,0,0,0.8);
}

/* ===================================================
   STATS SECTION
=================================================== */
.stats-section {
    background-color: #ffffff;
    color: var(--color-text-dark);
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.stat-icon {
    font-size: 2.2rem;
    color: #0a1628;
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: #070e1a;
    line-height: 1.1;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    line-height: 1.2;
}

/* ===================================================
   CTA BANNER ("INVIERTE EN TU FUTURO")
=================================================== */
.cta-banner {
    background: radial-gradient(circle at 20% 50%, #112038 0%, #08111e 70%, #040912 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-backdrop-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
}

.cta-flex {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 0.35rem;
}

.cta-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: #cbd5e1;
}

/* ===================================================
   FOOTER
=================================================== */
.main-footer {
    background-color: var(--color-bg-darkest);
    padding: 4.5rem 0 2rem;
    color: #cbd5e1;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.85fr 1.05fr 1.25fr 1.05fr;
    gap: 2.2rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.site-logo.footer-logo-img {
    height: 95px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
    margin-bottom: 0.5rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: #94a3b8;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
}

.footer-contact-list a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--color-gold);
}

.footer-contact-list i {
    color: var(--color-gold);
    font-size: 0.95rem;
    width: 16px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-icon.fb { background-color: #1877f2; }
.social-icon.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon.yt { background-color: #ff0000; }
.social-icon.in { background-color: #0a66c2; }

.social-icon:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    font-family: var(--font-secondary);
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.legal-links a {
    color: #64748b;
}

.legal-links a:hover {
    color: #cbd5e1;
}

.legal-links .divider {
    color: #334155;
}

/* ===================================================
   FLOATING WHATSAPP
=================================================== */
.floating-wa {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background-color: var(--color-whatsapp);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    animation: pulseWa 2.5s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    background-color: var(--color-whatsapp-dark);
}

@keyframes pulseWa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===================================================
   MODALS
=================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 16, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-bg-card);
    border: 1px solid rgba(229, 169, 18, 0.3);
    border-radius: 10px;
    width: 100%;
    max-width: 520px;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    color: #94a3b8;
    font-size: 1.8rem;
    line-height: 1;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(229, 169, 18, 0.15);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.modal-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-text {
    font-family: var(--font-secondary);
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.modal-specs {
    background: rgba(6, 13, 25, 0.6);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
}

.spec-item i {
    color: var(--color-gold);
    width: 18px;
}

/* Forms in Modal */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e2e8f0;
}

.form-group input,
.form-group select {
    background-color: #060d19;
    border: 1px solid #1f3352;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(229, 169, 18, 0.2);
}

/* ===================================================
   CONTACT PAGE STYLES (contacto.html)
=================================================== */
.contact-hero-banner {
    background: radial-gradient(circle at 50% 20%, #152744 0%, #091322 70%, #050b14 100%);
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.page-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
}

.contact-main-section {
    background-color: var(--color-bg-darkest);
    padding: 4.5rem 0 5.5rem;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: start;
}

.contact-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-detail-card {
    background: #0a1628;
    border: 1px solid #1c3150;
    border-radius: 8px;
    padding: 1.3rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
}

.contact-detail-card:hover {
    border-color: var(--color-gold);
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.contact-detail-card.highlight-wa {
    border-color: rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #0a1628 0%, #0a201d 100%);
}

.contact-detail-card.highlight-wa:hover {
    border-color: var(--color-whatsapp);
}

.card-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(229, 169, 18, 0.12);
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.card-icon-wrap.wa-icon {
    background: rgba(37, 211, 102, 0.15);
    border-color: var(--color-whatsapp);
    color: var(--color-whatsapp);
}

.card-info-wrap h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
}

.card-info-wrap p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.contact-link {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    display: inline-block;
}

.contact-link:hover {
    color: var(--color-gold);
}

.contact-link.wa-text {
    color: #25d366;
    font-size: 1.1rem;
    font-weight: 800;
}

.contact-link.wa-text:hover {
    color: #4ef08b;
}

.card-hint {
    display: block;
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 2px;
}

.map-wrapper {
    background: #0a1628;
    border: 1px solid #1c3150;
    border-radius: 8px;
    padding: 1.2rem;
}

.map-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-title i {
    color: var(--color-gold);
}

.map-frame-container {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1a2c47;
}

/* Contact Form Card */
.contact-form-card {
    background: #0a1628;
    border: 1.5px solid #1f375a;
    border-radius: 12px;
    padding: 2.8rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-desc {
    font-family: var(--font-secondary);
    font-size: 0.92rem;
    color: #94a3b8;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.form-group textarea {
    background-color: #060d19;
    border: 1px solid #1f3352;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    resize: vertical;
    transition: var(--transition);
}

.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(229, 169, 18, 0.2);
}

.form-privacy-note {
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* ===================================================
   RESPONSIVE BREAKPOINTS
=================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hero-security-group {
        height: 460px;
    }

    .officer-main {
        width: 240px;
        height: 400px;
    }

    .officer-escort {
        width: 200px;
        height: 350px;
    }

    .officer-supervisor {
        width: 200px;
        height: 360px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-us-container {
        grid-template-columns: 1fr;
    }

    .why-left-content {
        padding: 3.5rem 2rem;
    }

    .why-right-visual {
        min-height: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Top Navigation */
    .navbar {
        padding: 0.4rem 0;
    }

    .nav-container {
        padding: 0.5rem 1.2rem;
    }

    .site-logo.header-logo {
        height: 54px;
        max-width: 210px;
    }

    .site-logo.footer-logo-img {
        height: 70px;
        max-width: 260px;
        margin: 0 auto 1rem;
    }

    .nav-menu, .whatsapp-btn {
        display: none;
    }

    .nav-actions-mobile {
        display: flex;
    }

    /* Mobile Dropdown Menu */
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #050b14;
        padding: 1.2rem 1.2rem 1.8rem;
        border-bottom: 3px solid var(--color-gold);
        gap: 0.75rem;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95);
        z-index: 1500;
        animation: mobileMenuIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes mobileMenuIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu.open .nav-link {
        font-size: 1.05rem;
        font-weight: 700;
        padding: 0.9rem 1.2rem;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        color: #ffffff;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-menu.open .nav-link:active,
    .nav-menu.open .nav-link.active {
        background: rgba(229, 169, 18, 0.15);
        border-color: var(--color-gold);
        color: var(--color-gold);
    }

    .nav-menu.open .nav-link.active::after {
        display: none;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 2.2rem 0 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-pre-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
        margin-bottom: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        max-width: 100%;
        margin: 0 auto 1.6rem;
    }

    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
        margin: 0 auto 1.8rem;
        text-align: left;
    }

    .feature-item {
        background: rgba(10, 22, 40, 0.6);
        padding: 0.65rem 0.8rem;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        gap: 0.6rem;
    }

    .feature-icon {
        font-size: 1.15rem;
        width: 22px;
    }

    .feat-top {
        font-size: 0.72rem;
    }

    .feat-sub {
        font-size: 0.82rem;
    }

    .hero-cta-wrap .btn-gold {
        width: 100%;
        max-width: 340px;
        padding: 0.9rem 1.5rem;
    }

    /* Mobile Hero Visual Collage */
    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-security-group {
        height: 380px;
        max-width: 360px;
        width: 100%;
    }

    .officer-main {
        width: 195px;
        height: 330px;
    }

    .officer-escort {
        width: 155px;
        height: 285px;
        bottom: 25px;
    }

    .officer-supervisor {
        width: 155px;
        height: 290px;
        bottom: 25px;
    }

    .hero-quote-box {
        bottom: 0;
        right: 0;
        left: 0;
        margin: 0 auto;
        max-width: 270px;
        padding: 0.7rem 1rem;
        text-align: center;
    }

    .quote-text {
        font-size: 0.85rem;
    }

    /* Courses Section Mobile */
    .courses-section {
        padding: 3rem 0 3.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.92rem;
        margin-bottom: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 1.8rem;
    }

    /* Institutional Tabs Mobile */
    .institution-section {
        padding: 3.5rem 0;
    }

    .institutional-tabs-nav {
        flex-direction: column;
        width: 100%;
        border-radius: 12px;
        padding: 0.5rem;
        gap: 0.45rem;
        margin-bottom: 2rem;
    }

    .inst-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .mv-card {
        padding: 1.6rem 1.4rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .value-card {
        padding: 1.6rem 1.2rem;
    }

    .quality-policy-box {
        padding: 1.8rem 1.3rem;
    }

    .quality-title {
        font-size: 1.35rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Why Us Mobile */
    .why-left-content {
        padding: 2.8rem 1.2rem;
    }

    .why-title {
        font-size: 1.85rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .why-right-visual {
        min-height: 300px;
    }

    .why-slogan-box {
        bottom: 2rem;
        right: 1.5rem;
    }

    .slogan-line {
        font-size: 1.35rem;
    }

    /* Stats Mobile (2x2 Grid) */
    .stats-section {
        padding: 2.2rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.55rem;
    }

    .stat-label {
        font-size: 0.76rem;
    }

    /* CTA Banner Mobile */
    .cta-banner {
        padding: 2.8rem 0;
    }

    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 1.7rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    .cta-btn-side,
    .cta-btn-side .btn-gold {
        width: 100%;
    }

    /* Contact Page Mobile (contacto.html) */
    .contact-hero-banner {
        padding: 3rem 0 2.2rem;
    }

    .page-title {
        font-size: 2.1rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .contact-main-section {
        padding: 2.8rem 0 4rem;
    }

    .contact-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-card {
        padding: 1.8rem 1.3rem;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents auto-zoom in mobile Safari */
        padding: 0.8rem 1rem;
    }

    /* Modals Mobile */
    .modal-content {
        padding: 1.6rem 1.3rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Footer Mobile */
    .main-footer {
        padding: 3rem 0 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
        text-align: center;
        padding-bottom: 2.5rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Floating WhatsApp Button Mobile */
    .floating-wa {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-security-group {
        height: 330px;
        max-width: 310px;
    }

    .officer-main {
        width: 170px;
        height: 290px;
    }

    .officer-escort {
        width: 135px;
        height: 250px;
        bottom: 20px;
    }

    .officer-supervisor {
        width: 135px;
        height: 255px;
        bottom: 20px;
    }

    .hero-quote-box {
        max-width: 240px;
        padding: 0.5rem 0.8rem;
    }

    .quote-text {
        font-size: 0.78rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }
}

