/* ========================================
   VARIABLES Y RESET
   ======================================== */

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5f8d;
    --accent-color: #3498db;
    --dark-blue: #0f1c2e;
    --gray-dark: #4a5568;
    --gray-medium: #718096;
    --gray-light: #e2e8f0;
    --white: #ffffff;
    --off-white: #f7fafc;
    --success: #48bb78;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

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

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

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

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

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

/* ========================================
   UTILITIES
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 15px auto 0;
    text-align: center;
}

.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-nav {
    padding: 8px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 6px;
    font-weight: 500;
}

.btn-nav:hover {
    background-color: var(--secondary-color);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
}

.nav-menu a:not(.btn-nav):hover {
    color: var(--accent-color);
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-nav):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
    background-image: 
        linear-gradient(135deg, rgba(15, 28, 46, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e3a5f" width="1200" height="600"/><g fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.05"><path d="M0 100h1200M0 200h1200M0 300h1200M0 400h1200M0 500h1200M100 0v600M200 0v600M300 0v600M400 0v600M500 0v600M600 0v600M700 0v600M800 0v600M900 0v600M1000 0v600M1100 0v600"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(135deg, rgba(15, 28, 46, 0.85) 0%, rgba(30, 58, 95, 0.75) 100%),
        url('section1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--gray-light);
    margin-bottom: 25px;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo profesional - estilo arquitectónico */
.about-decorative-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.about-decorative-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(30, 58, 95, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(30, 58, 95, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.about-decorative-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 45%, rgba(44, 95, 141, 0.02) 45%, rgba(44, 95, 141, 0.02) 50%, transparent 50%),
        linear-gradient(45deg, transparent 45%, rgba(52, 152, 219, 0.02) 45%, rgba(52, 152, 219, 0.02) 50%, transparent 50%);
    background-size: 100px 100px;
}

.floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: slide 30s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, transparent, var(--secondary-color), transparent);
    bottom: 10%;
    right: 15%;
    animation-delay: 10s;
}

.shape-3 {
    width: 350px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    top: 60%;
    right: -100px;
    animation-delay: 20s;
}

@keyframes slide {
    0%, 100% {
        opacity: 0.05;
        transform: translateX(0);
    }
    50% {
        opacity: 0.12;
        transform: translateX(100px);
    }
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-text {
    max-width: 100%;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 400;
    text-align: justify;
}

.features {
    display: grid;
    gap: 35px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 35px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-left: 5px solid transparent;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.4s ease;
}

/* Colores individuales para cada feature */
.feature-precision {
    border-left-color: var(--accent-color);
}

.feature-precision::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.feature-precision:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.25);
    border-left-width: 8px;
}

.feature-decisions {
    border-left-color: var(--secondary-color);
}

.feature-decisions::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.feature-decisions:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 95, 141, 0.25);
    border-left-width: 8px;
}

.feature-optimization {
    border-left-color: var(--primary-color);
}

.feature-optimization::before {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
}

.feature-optimization:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.25);
    border-left-width: 8px;
}

.feature-item:hover::before {
    width: 150px;
    height: 150px;
    opacity: 0.15;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.icon-precision {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.icon-decisions {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.icon-optimization {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
}

.feature-item:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.feature-content {
    flex: 1;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-precision:hover h3 {
    color: var(--accent-color);
}

.feature-decisions:hover h3 {
    color: var(--secondary-color);
}

.feature-optimization:hover h3 {
    color: var(--primary-color);
}

.feature-item p {
    color: var(--gray-medium);
    line-height: 1.7;
    text-align: justify;
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-badge {
    opacity: 0.6;
    transform: scale(1.2) rotate(10deg);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: 60px;
}

.service-card {
    background-color: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-light);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.08;
    transition: all 0.4s ease;
}

/* Estilos individuales para cada servicio */
.service-budget {
    border-top-color: var(--accent-color);
}

.service-budget::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.service-budget:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.25);
    border-top-width: 6px;
}

.service-analysis {
    border-top-color: var(--secondary-color);
}

.service-analysis::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.service-analysis:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 95, 141, 0.25);
    border-top-width: 6px;
}

.service-expenses {
    border-top-color: var(--primary-color);
}

.service-expenses::before {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
}

.service-expenses:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.25);
    border-top-width: 6px;
}

.service-planning {
    border-top-color: #2c5f8d;
}

.service-planning::before {
    background: linear-gradient(135deg, #2c5f8d, var(--accent-color));
}

.service-planning:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 95, 141, 0.25);
    border-top-width: 6px;
}

.service-card:hover::before {
    width: 180px;
    height: 180px;
    opacity: 0.12;
}

/* Número decorativo */
.service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(0, 0, 0, 0.08);
    transform: scale(1.2);
}

.service-icon {
    width: 75px;
    height: 75px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.icon-budget {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.icon-analysis {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.icon-expenses {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
}

.icon-planning {
    background: linear-gradient(135deg, #2c5f8d, var(--accent-color));
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service-icon svg {
    width: 38px;
    height: 38px;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-budget:hover h3 {
    color: var(--accent-color);
}

.service-analysis:hover h3 {
    color: var(--secondary-color);
}

.service-expenses:hover h3 {
    color: var(--primary-color);
}

.service-planning:hover h3 {
    color: #2c5f8d;
}

.service-card p {
    color: var(--gray-medium);
    line-height: 1.7;
    font-size: 0.98rem;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* Badge decorativo */
.service-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2.5rem;
    opacity: 0.15;
    transition: all 0.4s ease;
}

.service-card:hover .service-badge {
    opacity: 0.5;
    transform: scale(1.3) rotate(-10deg);
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */

.experience {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><g fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.03"><path d="M0 100h1200M0 200h1200M0 300h1200M0 400h1200M0 500h1200M100 0v600M200 0v600M300 0v600M400 0v600M500 0v600M600 0v600M700 0v600M800 0v600M900 0v600M1000 0v600M1100 0v600"/></g></svg>');
    background-size: cover;
}

.experience .section-header h2,
.experience .section-header p {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    margin-left: 5px;
}

.stat-number.no-plus::after {
    content: '';
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-light);
    font-weight: 500;
}

/* ========================================
   PROFILE SECTION
   ======================================== */

.profile {
    padding: 100px 0;
    background-color: var(--off-white);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.profile-image {
    position: sticky;
    top: 100px;
}

.profile-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.image-placeholder svg {
    width: 120px;
    height: 120px;
    color: rgba(255, 255, 255, 0.5);
}

.profile-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.profile-info .divider {
    margin: 0;
}

.profile-name {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-title {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 30px;
}

.profile-description p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: justify;
}

.profile-intro {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 35px;
    color: var(--text-color);
    text-align: justify;
}

.profile-intro strong {
    color: var(--primary-color);
    font-weight: 600;
}

.profile-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.profile-subtitle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.profile-text {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
    text-align: justify;
}

.profile-highlights {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid var(--accent-color);
}

.profile-highlight-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-text {
    color: var(--gray-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: justify;
}

.profile-commitment {
    margin-top: 35px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05), rgba(184, 134, 11, 0.05));
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    text-align: justify;
}

/* ========================================
   COVERAGE SECTION (COBERTURA NACIONAL)
   ======================================== */

.coverage {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.coverage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.coverage-content {
    margin-top: 50px;
}

/* Estadísticas */
.coverage-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

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

.stat-works {
    border-top-color: var(--accent-color);
}

.stat-studies {
    border-top-color: #4A90E2;
}

.stat-total {
    border-top-color: var(--primary-color);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.stat-cities,
.stat-coverage,
.stat-experience {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Zonas de Cobertura */
.coverage-zones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.zone-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-top: 5px solid transparent;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.zone-works {
    border-top-color: var(--accent-color);
}

.zone-studies {
    border-top-color: #4A90E2;
}

.zone-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gray-light);
}

.zone-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.zone-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.zone-description {
    margin-bottom: 30px;
}

.zone-description p {
    color: var(--gray-medium);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Acordeón de Regiones dentro de zone-works */
.zone-card .regions-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.zone-card .accordion-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid #e8eaed;
}

.zone-card .accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.zone-card .accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    transition: var(--transition);
    gap: 15px;
}

.zone-card .accordion-header:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(255, 255, 255, 0.8));
}

.zone-card .accordion-item.active .accordion-header {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(255, 255, 255, 0.9));
    border-bottom: 1px solid #e8eaed;
}

.zone-card .region-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    flex: 1;
}

.zone-card .city-count {
    font-size: 0.85rem;
    color: var(--gray-medium);
    background: rgba(52, 152, 219, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.zone-card .accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.zone-card .accordion-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
    stroke-width: 2.5;
}

.zone-card .accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.zone-card .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.zone-card .accordion-item.active .accordion-content {
    max-height: 1000px;
    padding: 15px 20px 20px 20px;
}

.zone-card .cities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.zone-card .cities-list .city-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(255, 255, 255, 0.5));
    border-radius: 6px;
    transition: var(--transition);
    border-left: 3px solid var(--accent-color);
    font-size: 0.9rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.zone-card .cities-list .city-item:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(255, 255, 255, 0.8));
    transform: translateX(5px);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
}

/* Lista de Regiones para zone-studies */
.regions-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.region-group h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.region-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.region-group li {
    padding: 8px 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.region-group li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: 700;
}

/* Studies Info Box */
.studies-info-box {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(255, 255, 255, 0.8));
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid #4A90E2;
}

.studies-info-box h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.services-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.services-details-list li {
    padding: 10px 0;
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.services-details-list li:last-child {
    border-bottom: none;
}

/* Badge de Cobertura */
.coverage-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(53, 122, 189, 0.1));
    border-radius: 12px;
    border: 2px solid #4A90E2;
}

.badge-icon {
    font-size: 2rem;
}

.badge-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    margin-top: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--gray-medium);
    margin-bottom: 10px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 28px 30px;
    background-color: var(--off-white);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.contact-method:hover {
    background-color: var(--white);
    border-color: var(--accent-color);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.whatsapp-method:hover {
    border-color: #25D366;
}

.contact-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-method .contact-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-text h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-text span {
    color: var(--gray-medium);
    font-size: 1rem;
}

/* Contact Visual */
.contact-visual {
    position: relative;
    height: 450px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5f8d 50%, #3498db 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.3);
}

.visual-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--white);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--accent-color);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: var(--white);
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px;
}

.visual-icon {
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.visual-icon svg {
    width: 60px;
    height: 60px;
    color: var(--white);
}

.visual-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.visual-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--dark-blue);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    text-align: left;
}

.footer-content p {
    color: var(--gray-light);
    margin-bottom: 8px;
}

.footer-subtitle {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background-color: #0077b5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.social-link svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 998;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

/* Animación de pulso */
.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.fade-in-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   GALLERY SECTIONS
   ======================================== */

/* Gallery Preview (Index Page) */
.gallery-preview {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1/1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--off-white);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--white);
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.gallery-cta {
    text-align: center;
    margin-top: 20px;
}

/* Gallery Full Page */
.gallery-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><g fill="none" stroke="%23ffffff" stroke-width="1" opacity="0.03"><path d="M0 100h1200M0 200h1200M0 300h1200M0 400h1200M0 500h1200M100 0v600M200 0v600M300 0v600M400 0v600M500 0v600M600 0v600M700 0v600M800 0v600M900 0v600M1000 0v600M1100 0v600"/></g></svg>');
    background-size: cover;
}

.gallery-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.gallery-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.gallery-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: var(--gray-light);
}

/* Gallery Filters */
.gallery-full {
    padding: 80px 0;
    background-color: var(--off-white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--gray-dark);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
}

.filter-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
}

/* Gallery Masonry Grid */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    opacity: 1;
    transform: translateY(0);
}

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

.gallery-card.hide {
    display: none !important;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 28, 46, 0.95), rgba(15, 28, 46, 0.7), transparent);
    padding: 30px 25px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-card-overlay {
    transform: translateY(0);
}

.gallery-card-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Gallery Back Button */
.gallery-back {
    text-align: center;
    padding-top: 20px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Active nav link */
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    width: 100%;
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-close::before,
.lightbox-close::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.lightbox-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .profile-info .section-header {
        text-align: center;
    }

    .profile-info .divider {
        margin: 0 auto;
    }

    .profile-subtitle {
        font-size: 1.3rem;
        margin-top: 30px;
    }

    .profile-highlights {
        gap: 12px;
    }

    .profile-highlight-item {
        padding: 12px;
    }

    .highlight-text {
        font-size: 1rem;
    }

    .profile-commitment {
        padding: 20px;
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-visual {
        height: 350px;
    }

    .coverage-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .coverage-zones {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .zone-card {
        padding: 30px 25px;
    }

    .regions-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .studies-info-box {
        padding: 20px;
        margin-bottom: 25px;
    }

    .studies-info-box h4 {
        font-size: 1rem;
    }

    .services-details-list li {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    /* Accordion dentro de zone-card responsive */
    .zone-card .accordion-header {
        padding: 14px 18px;
        gap: 12px;
    }

    .zone-card .region-name {
        font-size: 0.95rem;
    }

    .zone-card .city-count {
        font-size: 0.8rem;
        padding: 3px 10px;
    }

    .zone-card .accordion-item.active .accordion-content {
        padding: 12px 18px 18px 18px;
    }

    .zone-card .cities-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .zone-card .cities-list .city-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .about,
    .services,
    .experience,
    .profile,
    .contact {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

    .contact-method {
        padding: 22px 24px;
    }

    .contact-visual {
        height: 300px;
    }

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

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

    .stat-card {
        padding: 30px 20px;
    }

    #chileMapSvg {
        max-width: 250px;
    }

    .visual-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .visual-icon svg {
        width: 50px;
        height: 50px;
    }

    .visual-content h4 {
        font-size: 1.7rem;
    }

    .visual-content p {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .gallery-header {
        padding: 120px 0 60px;
    }

    .btn-whatsapp {
        width: 55px;
        height: 55px;
        bottom: 25px;
        left: 25px;
    }

    .btn-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .chile-map-visual {
        margin-top: 40px;
        padding: 25px 15px;
    }

    .map-header h3 {
        font-size: 1.4rem;
    }

    .chile-svg-horizontal {
        height: 450px;
        max-height: 500px;
    }

    .city-label {
        font-size: 10px;
    }

    .city-capital {
        font-size: 12px;
    }
}

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

    .feature-item {
        padding: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .btn-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }

    .btn-whatsapp svg {
        width: 26px;
        height: 26px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .gallery-header {
        padding: 100px 0 50px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .lightbox-close::before,
    .lightbox-close::after {
        width: 20px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        padding: 10px 20px;
        max-width: 90%;
        text-align: center;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .profile-name {
        font-size: 1.6rem;
    }

    .profile-title {
        font-size: 1.1rem;
    }

    .profile-intro,
    .profile-text {
        font-size: 1rem;
    }

    .profile-subtitle {
        font-size: 1.2rem;
        margin-top: 25px;
    }

    .profile-highlight-item {
        padding: 10px;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    .highlight-text {
        font-size: 0.95rem;
    }

    .profile-commitment {
        padding: 15px;
        font-size: 0.95rem;
    }

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

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

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-cities,
    .stat-coverage,
    .stat-experience {
        font-size: 0.85rem;
    }

    .zone-card {
        padding: 25px 20px;
    }

    .zone-header h3 {
        font-size: 1.4rem;
    }

    .zone-icon {
        font-size: 2rem;
    }

    .cities-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .city-item {
        padding: 10px 12px;
    }

    .city-name {
        font-size: 0.9rem;
    }

    .regions-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .region-group h4 {
        font-size: 1rem;
    }

    .region-group li {
        font-size: 0.9rem;
    }

    .coverage-badge {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }

    .badge-icon {
        font-size: 1.5rem;
    }

    .badge-text {
        font-size: 1rem;
    }

    .chile-map-visual {
        margin-top: 30px;
        padding: 20px 10px;
    }

    .map-header {
        gap: 15px;
    }

    .map-header h3 {
        font-size: 1.2rem;
    }

    .map-legend-inline {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .legend-item-inline span:last-child {
        font-size: 0.85rem;
    }

    .chile-svg-horizontal {
        height: 400px;
        max-height: 450px;
    }

    .city-label {
        font-size: 9px;
    }

    .city-capital {
        font-size: 11px;
    }

    .map-container-horizontal {
        padding: 30px 10px;
    }

    /* Hero section fixes para móvil */
    .hero {
        min-height: 100vh;
        background-attachment: scroll !important;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-overlay {
        background-attachment: scroll !important;
        background-size: cover;
        background-position: center center;
    }

    .hero-content {
        padding: 40px 15px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .nav,
    .menu-toggle,
    .scroll-top,
    .btn-whatsapp {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}
