/* ==================== Variables CSS ==================== */
:root {
    --primary-color: #1a1a4d;
    --secondary-color: #c9a961;
    --accent-color: #0f0f3d;
    --gold-light: #e6d5a8;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0a0a2e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset y Estilos Globales ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==================== Container ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header y Navegación ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 77, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    flex-shrink: 0;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    transition: var(--transition);
}

.logo:hover {
    transform: rotate(360deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--secondary-color);
    font-style: italic;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 77, 0.98);
    backdrop-filter: blur(10px);
    min-width: 220px;
    border-radius: 12px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px) rotate(360deg);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 77, 0.9) 0%, rgba(15, 15, 61, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-light);
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.title-line {
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: 400;
    letter-spacing: 2px;
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.title-main {
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-slogan {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 0.8rem 1.5rem;
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1.1s both;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span,
.btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8944f 100%);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
    z-index: 20;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--secondary-color);
    border-radius: 18px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow span {
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--secondary-color);
    border-right: 2px solid var(--secondary-color);
    transform: rotate(45deg);
}

/* ==================== Section Styles ==================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding: 0 20px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.section-subtitle::before {
    left: -50px;
}

.section-subtitle::after {
    right: -50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--gold-light) 100%);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

/* ==================== About Section ==================== */
.about-section {
    background: var(--bg-light);
     /* CAMBIA ESTO: De 40px a 0 */
    margin-top: -40px; 
}

.about-content {
    display: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.badge-year {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.badge-text {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ==================== Areas Section ==================== */
.areas-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
}

.areas-section .section-title {
    color: var(--text-light);
}

.areas-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.area-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.3), transparent);
    transition: var(--transition);
}

.area-card:hover::before {
    left: 100%;
}

.area-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary-color);
}

.area-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.area-card:hover .area-icon {
    transform: scale(1.2) rotate(10deg);
}

.area-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.area-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.area-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.area-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.area-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* ==================== Mission Vision ==================== */
.mission-vision {
    background: var(--bg-light);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mv-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.mv-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mv-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* ==================== Values Section ==================== */
.values-section {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-hover);
    background: white;
}

.value-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.2);
    color: var(--primary-color);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-text {
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==================== Contact Section ==================== */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--secondary-color);
    font-size: 1.5rem;
    border-radius: 12px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom i {
    color: #e74c3c;
    animation: heartbeat 1.5s infinite;
}

/* ==================== Scroll to Top ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b8944f 100%);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-hover);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE PARA LAPTOPS ==================== */

/* Laptops Extra Grandes (1680px - 1920px) */
@media (min-width: 1680px) and (max-width: 1920px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .title-line {
        font-size: 1.8rem;
    }
    
    .hero-slogan {
        font-size: 1.3rem;
    }
}

/* Laptops Grandes (1440px - 1680px) */
@media (min-width: 1440px) and (max-width: 1679px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }
    
    .logo {
        width: 48px;
        height: 48px;
    }
    
    .logo-title {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-line {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-slogan {
        font-size: 1.15rem;
        padding: 0.7rem 1.3rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

/* Laptops Medianas (1366px - 1440px) */
@media (min-width: 1366px) and (max-width: 1439px) {
    .nav-container {
        padding: 0 1.2rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    
    .logo {
        width: 45px;
        height: 45px;
    }
    
    .logo-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .social-icons {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        gap: 0.2rem;
    }
    
    .title-line {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        gap: 1.2rem;
    }
    
    /* Scroll Indicator más pequeño */
    .scroll-indicator {
        bottom: 30px;
    }
    
    .mouse {
        width: 24px;
        height: 38px;
    }
    
    .wheel {
        width: 3px;
        height: 7px;
        top: 7px;
    }
    
    .arrow span {
        width: 7px;
        height: 7px;
    }
    
    section {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .area-icon {
        font-size: 3rem;
    }
    
    .area-title {
        font-size: 1.3rem;
    }
}

/* Laptops Pequeñas (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1365px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 0.6rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .logo {
        width: 42px;
        height: 42px;
    }
    
    .logo-title {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .title-line {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-slogan {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Scroll Indicator aún más pequeño */
    .scroll-indicator {
        bottom: 25px;
    }
    
    .mouse {
        width: 22px;
        height: 35px;
    }
    
    .wheel {
        width: 2.5px;
        height: 6px;
        top: 6px;
    }
    
    .arrow span {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mv-grid {
        gap: 2rem;
    }
    
    .contact-grid {
        gap: 3rem;
    }
}

/* ==================== RESPONSIVE TABLETS ==================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 1.3rem;
    }
}

/* ==================== RESPONSIVE MÓVILES ==================== */
@media (max-width: 786px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 77, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .social-icons {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line {
        font-size: 1.2rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 300px;
    }
    
    /* Scroll Indicator para móvil */
    .scroll-indicator {
        bottom: 20px;
    }
    
    .mouse {
        width: 20px;
        height: 32px;
    }
    
    .wheel {
        width: 2px;
        height: 5px;
        top: 5px;
    }
    
    .arrow span {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle::before,
    .section-subtitle::after {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-title {
        font-size: 0.95rem;
    }
    
    .logo-subtitle {
        font-size: 0.55rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .title-line {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-slogan {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Scroll Indicator muy pequeño para móvil */
    .scroll-indicator {
        bottom: 15px;
    }
    
    .mouse {
        width: 18px;
        height: 28px;
        border-width: 1.5px;
    }
    
    .wheel {
        width: 2px;
        height: 4px;
        top: 4px;
    }
    
    .arrow span {
        width: 5px;
        height: 5px;
        border-width: 1.5px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .area-icon {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}



/* Ocultar secciones en moviles */
@media (max-width: 786px) {
.contact-section{
    display: none;
}
.about-section{
    display: none;
}
.contact-form{
    display: none;
}
.mission-vision{
    display: none;
}
}



/* ==================== 1. ESTILOS BASE (DESKTOP/LAPTOP: > 1024px) ==================== */

/* Estilos de Tipografía General para Dispositivos Grandes */
.section-title {
    font-size: 3rem; /* Título principal grande para escritorio */
}

/* Diseño de dos columnas: Texto/Stats (izquierda) | Imagen (derecha) */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; /* Espacio entre las dos columnas */
    align-items: start;
}

/* La cuadrícula de 4 estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en dispositivos grandes */
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Estilos para el contenedor de la imagen */
.about-image {
    /* Asegura que la imagen no se estire demasiado si está configurada así */
    max-width: 100%;
}

/* Estilos de las tarjetas de estadísticas */
.stat-card {
    /* Aquí irían tus estilos de fondo, borde, etc. */
    padding: 1rem;
    text-align: center;
}
.stat-number {
    font-size: 2.5rem; /* Número grande */
}
.stat-label {
    font-size: 0.9rem; /* Etiqueta más pequeña */
}


/* ==================== 2. RESPONSIVE TABLETS (1024px a 768px, solo ajuste de fuente) ==================== */
/* Usaremos 'min-width' para apuntar específicamente a tablets grandes y mantener el diseño de 2 columnas */
@media (min-width: 769px) and (max-width: 1024px) {
    
    /* Solo ajustamos los tamaños de fuente para que luzcan mejor en tablets */
    .section-title {
        font-size: 2.5rem; 
    }

    .stat-number {
        font-size: 2rem;
    }
    
    /* El about-content se mantiene en 1fr 1fr por los estilos base */
}


/* ==================== 3. RESPONSIVE MÓVILES (Max 768px o menos) ==================== */
@media (max-width: 768px) {
    
    /* --- Estructura: Pasa a una sola columna --- */
    .about-content {
        grid-template-columns: 1fr; /* Columna única (Texto sobre Imagen) */
        gap: 2rem;
    }
    
    /* --- Tipografía más pequeña para móviles --- */
    .section-title {
        font-size: 2rem;
    }

   
    .about-text {
        padding-right: 0; /* Asegurarse de que no haya padding extra */
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Mantiene 2 columnas en stats (buena densidad) */
        gap: 0.8rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Opcional: Si las tarjetas de estadísticas necesitan más reducción en móviles muy pequeños */
    /* @media (max-width: 500px) {
        .stats-grid {
             grid-template-columns: 1fr; 
        }
    } */
}

/* ==================== RESPONSIVE MÓVILES (Max 768px) ==================== */
@media (max-width: 768px) {
    
    .solicitudes h2 {
        /* Reduce el tamaño de la fuente para que el texto sea más manejable */
        font-size: 28px !important; 
        
        /* Ajusta el alto de línea para compactar el texto */
        line-height: 1.1; /* Puedes experimentar con 1.0, 1.1, o 1.2 */
        
        /* Asegura que estos estilos sobrescriban los inline styles (¡Importante!) */
        /* Si estás usando estilos inline como font-size: 32px; debes usar !important */
    }

    /* Opcional: Reducir el margen inferior del título en móviles */
    .solicitudes h2 {
        margin-bottom: 5px !important;
    }

    /* Opcional: Ajustar el tamaño de la descripción */
    .solicitudes p {
        font-size: 14px !important;
    }
}
/* ==================== AJUSTE DE SUBMENÚ (DROPDOWN HOVER) ==================== */

/* * Esta regla asegura que los submenús se desplieguen al pasar el mouse (hover) 
* solo en pantallas grandes (Desktop/Laptop), manteniendo el comportamiento 
* de clic/táctil en dispositivos móviles.
*/
@media (min-width: 992px) {
    
    /* 1. Hace que el submenú (.dropdown-menu) sea visible al pasar el mouse sobre el padre (.nav-item) */
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block; /* Sobrescribe el 'display: none' o el manejo de JS */
        margin-top: 0; /* Asegura que el submenú aparezca justo debajo del enlace */
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.3s linear; /* Añade una transición suave (opcional) */
    }

    
    /* 3. Asegura que el menú desplegable tenga el posicionamiento correcto */
    .navbar .dropdown-menu {
        /* Si tu menú desaparece demasiado rápido, revisa si necesitas un posicionamiento absoluto */
        position: absolute; 
    }
}

/* ==================== AJUSTE DE SUBMENÚ HOVER (Desktop) ==================== */

/* 1. Ocultar los submenús por defecto y darles posicionamiento absoluto */
/* Esto se asegura de que el submenú esté siempre oculto hasta que se haga hover */
.nav-menu .dropdown-menu {
    /* Si Bootstrap lo oculta con 'display: none', esta línea no necesita !important, 
       pero es buena práctica si el menú va a ser manejado con JavaScript en móviles. */
    display: none; 
    position: absolute; /* Crucial para que el menú flote sobre el contenido */
    top: 100%; /* Posiciona el submenú justo debajo del enlace padre */
    left: 0;
    z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
    /* Aquí deben ir los estilos de diseño de tu submenú (fondo, padding, sombra, etc.) */
}

/* 2. Regla CRÍTICA: Mostrar el submenú SÓLO al pasar el mouse sobre el LI padre */
@media (min-width: 300px) {
    /* Usa el selector '> .dropdown-menu' para apuntar al hijo directo y aumentar especificidad */
    .nav-menu .dropdown:hover > .dropdown-menu {
        display: block; /* Fuerza la visualización al hacer hover */
    }
}
