/* ============================================
   MATERIALES DICA - Estilos Principales
   ============================================ */

/* Variables de Color basadas en el Logo */
:root {
    --primary-blue: #1A4B8F;
    --primary-blue-dark: #0F3A6B;
    --primary-blue-light: #2E6BC4;
    --black: #1A1A1A;
    --silver: #8B8B8B;
    --silver-light: #E5E5E5;
    --white: #FFFFFF;
    --gray-bg: #F8F9FA;
    --text-gray: #4A4A4A;
    --accent-orange: #FF6B35;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header y Navegación */
header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

nav {
    position: relative;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--black);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 80%;
}

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

/* Banner de Colores (Tira de Colores del Logo) */
.color-strip {
    height: 6px;
    background: linear-gradient(to right, 
        var(--primary-blue) 0%, 
        var(--primary-blue-dark) 25%, 
        var(--silver) 50%, 
        var(--primary-blue) 75%, 
        var(--black) 100%);
    width: 100%;
}

/* Contenedor Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Secciones */
section {
    padding: 4rem 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--silver));
    border-radius: 2px;
}

/* Banner Principal */
.hero-banner {
    background: linear-gradient(135deg, rgba(26, 75, 143, 0.88) 0%, rgba(15, 58, 107, 0.88) 100%),
                url('img/img2.PNG') center/cover no-repeat;
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10px, 10px);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatParticle 15s ease-in-out infinite;
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: slideInRight 1s ease;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    animation: expandLine 1.5s ease 0.5s forwards;
    transform: scaleX(0);
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-blue);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.btn-hero-primary span,
.btn-hero-primary svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(5px);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
}

.btn-hero-secondary:hover::before {
    left: 0;
}

.btn-hero-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.btn-hero-secondary span,
.btn-hero-secondary svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-hero-secondary:hover svg {
    transform: rotate(90deg);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease 1s both;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Tarjetas */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Sección de Accesos Directos */
.quick-access {
    background: linear-gradient(180deg, var(--gray-bg) 0%, var(--white) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.quick-access::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-blue), transparent);
}

.quick-access-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.quick-access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 75, 143, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-access-card:hover::before {
    left: 100%;
}

.quick-access-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 75, 143, 0.2);
    border-color: var(--primary-blue);
}

.quick-access-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(26, 75, 143, 0.3);
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quick-access-card:hover .icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(26, 75, 143, 0.4);
}

.quick-access-card:hover .icon-wrapper::after {
    opacity: 1;
}

.icon-emoji {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.quick-access-card:hover .icon-emoji {
    transform: scale(1.2);
}

.quick-access-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.quick-access-card:hover h3 {
    color: var(--primary-blue-dark);
}

.quick-access-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.quick-access-card:hover p {
    color: var(--black);
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.quick-access-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Sección Nosotros */
.about-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.about-text-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.about-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 75, 143, 0.25);
}

.about-image-enhanced {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image-container:hover .about-image-enhanced {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 75, 143, 0.85) 0%, rgba(15, 58, 107, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
}

.overlay-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.overlay-content p {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

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

.about-text-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.text-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-blue-light));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.text-card:hover::before {
    transform: scaleY(1);
}

.text-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(26, 75, 143, 0.15);
    border-left-color: var(--primary-blue);
}

.text-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.text-card:hover .text-card-icon {
    transform: scale(1.2) rotate(5deg);
}

.text-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.text-card:hover h3 {
    color: var(--primary-blue-dark);
}

.text-card .about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
}

.highlight-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border-left-color: var(--white);
}

.highlight-card h3,
.highlight-card .about-text {
    color: var(--white);
}

.highlight-card:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 75, 143, 0.3);
}

/* Activity Section */
.activity-section {
    position: sticky;
    top: 100px;
}

.activity-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(26, 75, 143, 0.2);
    border-color: var(--primary-blue);
}

.activity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activity-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(26, 75, 143, 0.3);
    transition: transform 0.4s ease;
}

.activity-card:hover .activity-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
}

.activity-main-icon {
    font-size: 2.5rem;
}

.activity-header h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.activity-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--silver));
    margin: 0 auto;
    border-radius: 2px;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.activity-item:hover::before {
    transform: scaleY(1);
}

.activity-item:hover {
    background: rgba(26, 75, 143, 0.05);
    border-color: var(--primary-blue);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(26, 75, 143, 0.1);
}

.activity-item-icon {
    font-size: 1.8rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 10px;
    color: var(--white);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.activity-item:hover .activity-item-icon {
    transform: scale(1.2) rotate(5deg);
}

.activity-item span {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.activity-item:hover span {
    color: var(--primary-blue-dark);
    font-weight: 500;
}

/* Feature Cards - ¿Por Qué Elegirnos? */
.feature-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 75, 143, 0.2);
    border-color: var(--primary-blue);
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 75, 143, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-overlay {
    opacity: 1;
}

.feature-content {
    padding: 2.5rem;
    position: relative;
}

.feature-icon {
    display: inline-block;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

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

.feature-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-content h3 {
    color: var(--primary-blue-dark);
}

.feature-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--silver));
    margin: 2rem 0;
    border-radius: 2px;
}

.mission-vision-section {
    background: linear-gradient(180deg, var(--gray-bg) 0%, var(--white) 50%, var(--gray-bg) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-blue), transparent);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 3rem 0 5rem;
}

.mv-card {
    position: relative;
    background: var(--white);
    border-radius: 25px;
    padding: 0;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    cursor: pointer;
}

.mv-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(26, 75, 143, 0.3);
    border-color: var(--primary-blue);
}

.mv-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    transition: height 0.5s ease;
}

.mv-card:hover .mv-card-background {
    height: 100%;
}

.mv-card-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2.5rem;
    color: var(--white);
    transition: color 0.5s ease;
}

.mv-card:hover .mv-card-content {
    color: var(--white);
}

.mv-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon {
    font-size: 4rem;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.mv-card:hover .mv-icon {
    transform: scale(1.2) rotate(10deg);
}

.mv-icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

.mv-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.mv-card:hover h3 {
    transform: scale(1.05);
}

.mv-divider {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    margin: 0 auto 2rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.mv-card:hover .mv-divider {
    width: 100px;
}

.mv-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    transition: transform 0.3s ease;
}

.mv-card:hover p {
    transform: translateY(-5px);
}

.mv-decoration {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mv-card:hover .decoration-dot {
    background: var(--white);
    transform: scale(1.5);
}

.vision-card .mv-card-background {
    background: linear-gradient(135deg, #1A4B8F, #0F3A6B);
}

.mission-card .mv-card-background {
    background: linear-gradient(135deg, #2E6BC4, #1A4B8F);
}

/* Values Section */
.values-section {
    margin-top: 4rem;
}

.values-header {
    text-align: center;
    margin-bottom: 3rem;
}

.values-header h3 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.values-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px 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: 2px solid transparent;
    cursor: pointer;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 75, 143, 0.05), transparent);
    transition: left 0.5s ease;
}

.value-item:hover::before {
    left: 100%;
}

.value-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(26, 75, 143, 0.2);
    border-color: var(--primary-blue);
}

.value-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.2) rotate(5deg);
}

.value-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.value-item:hover .value-icon-bg {
    width: 100px;
    height: 100px;
    opacity: 0.2;
}

.value-item h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.value-item:hover h4 {
    color: var(--primary-blue-dark);
}

.value-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--silver));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.value-item:hover .value-divider {
    width: 60px;
}

.value-item p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.value-item:hover p {
    color: var(--black);
}

.value-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(26, 75, 143, 0.05);
    line-height: 1;
    transition: all 0.3s ease;
}

.value-item:hover .value-number {
    color: rgba(26, 75, 143, 0.1);
    transform: scale(1.2);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    right: -35px;
}

.timeline-item:nth-child(even)::before {
    left: -35px;
}

.timeline-year {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* CV Download Section */
.cv-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Clientes y Proveedores Section */
.clients-providers-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-bg) 50%, var(--white) 100%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Clientes Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.client-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 75, 143, 0.2);
    border-color: var(--primary-blue);
}

.client-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(26, 75, 143, 0.3);
    transition: transform 0.4s ease;
}

.client-card:hover .client-icon {
    transform: scale(1.1) rotate(5deg);
}

.client-badge {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(26, 75, 143, 0.3);
}

.client-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.client-card:hover h3 {
    color: var(--primary-blue-dark);
}

.client-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--silver));
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.client-card:hover .client-divider {
    width: 80px;
}

.client-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    background: var(--gray-bg);
    color: var(--primary-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.client-card:hover .tag {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Proveedores Section */
.providers-section {
    margin-top: 5rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.provider-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.provider-card:hover::before {
    transform: scaleX(1);
}

.provider-card-previous {
    border-left: 4px solid var(--silver);
}

.provider-card-current {
    border-left: 4px solid var(--primary-blue);
}

.provider-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 75, 143, 0.2);
    border-color: var(--primary-blue);
}

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

.provider-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(26, 75, 143, 0.3);
    transition: transform 0.4s ease;
}

.provider-card:hover .provider-icon {
    transform: scale(1.1) rotate(-5deg);
}

.provider-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.provider-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--silver));
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.provider-card:hover .provider-divider {
    width: 100px;
}

.provider-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.provider-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.provider-item:hover {
    background: rgba(26, 75, 143, 0.05);
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

.provider-check {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(26, 75, 143, 0.3);
    transition: transform 0.3s ease;
}

.provider-item:hover .provider-check {
    transform: scale(1.2) rotate(360deg);
}

.provider-item p {
    color: var(--text-gray);
    margin: 0;
    font-weight: 600;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.provider-item:hover p {
    color: var(--primary-blue-dark);
}

.cv-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
    font-size: 2rem;
}

.cv-section p {
    margin-bottom: 2rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.cv-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cv-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

.cv-buttons .btn span {
    font-size: 1.2rem;
}

/* PDF Modal */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.pdf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.pdf-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 10001;
}

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

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--gray-bg);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border-radius: 20px 20px 0 0;
}

.pdf-modal-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.pdf-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.pdf-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pdf-modal-body {
    flex: 1;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    display: block;
}

.pdf-modal-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--gray-bg);
    background: var(--gray-bg);
    border-radius: 0 0 20px 20px;
}

.pdf-modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

/* Services Hero Banner */
.services-hero-banner {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* FAQ Hero Banner */
.faq-hero-banner {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faqGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(26,75,143,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23faqGrid)"/></svg>');
    opacity: 0.5;
}

.faq-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-hero-badge {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(26, 75, 143, 0.3);
    animation: fadeInDown 0.6s ease;
}

.faq-hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.faq-hero-content h1 {
    color: var(--primary-blue);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(26, 75, 143, 0.1);
}

.faq-hero-content p {
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 1s ease;
}

.faq-hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1.2s ease;
}

/* Contact Hero Banner */
.contact-hero-banner {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-bg) 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(26,75,143,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23contactGrid)"/></svg>');
    opacity: 0.5;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-hero-badge {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(26, 75, 143, 0.3);
    animation: fadeInDown 0.6s ease;
}

.contact-hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero-content h1 {
    color: var(--primary-blue);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(26, 75, 143, 0.1);
}

.contact-hero-content p {
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 1s ease;
}

.contact-hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1.2s ease;
}

.services-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="servicesGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(26,75,143,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23servicesGrid)"/></svg>');
    opacity: 0.5;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-hero-badge {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(26, 75, 143, 0.3);
    animation: fadeInDown 0.6s ease;
}

.services-hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-hero-content h1 {
    color: var(--primary-blue);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 10px rgba(26, 75, 143, 0.1);
}

.services-hero-content p {
    color: var(--text-gray);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 1s ease;
}

.services-hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1.2s ease;
}

.decoration-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    border-radius: 2px;
}

.decoration-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    padding: 2rem;
    text-align: center;
    color: var(--white);
    font-size: 3rem;
}

.service-card > div:first-child {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    margin: 1rem 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-bg);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Formulario de Contacto */
.contact-section {
    background: var(--gray-bg);
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--silver-light);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 75, 143, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.info-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

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

@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Área Legal */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

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

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px var(--shadow);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    nav ul.active {
        display: flex;
    }

    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-banner {
        padding: 5rem 0 4rem;
        background-attachment: scroll;
        min-height: 80vh;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .mv-card-content {
        padding: 2rem 1.5rem;
    }

    .mv-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .mv-icon {
        font-size: 3rem;
    }

    .value-item {
        padding: 2rem 1.5rem;
    }

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

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

    .client-card,
    .provider-card {
        padding: 2rem 1.5rem;
    }

    .client-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .provider-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .services-hero-banner {
        padding: 3rem 0;
    }

    .services-hero-content h1 {
        font-size: 2.5rem;
    }

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

    .faq-hero-banner {
        padding: 3rem 0;
    }

    .faq-hero-content h1 {
        font-size: 2.5rem;
    }

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

    .contact-hero-banner {
        padding: 3rem 0;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

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

    .cv-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cv-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .pdf-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .pdf-modal-header {
        padding: 1rem 1.5rem;
    }

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

    .pdf-modal-body iframe {
        min-height: 400px;
    }

    .pdf-modal-footer {
        flex-direction: column;
        padding: 1rem 1.5rem;
    }

    .pdf-modal-footer .btn {
        width: 100%;
    }

    .about-text-section {
        gap: 1.5rem;
    }

    .about-image-enhanced {
        height: 300px;
    }

    .activity-section {
        position: relative;
        top: 0;
    }

    .text-card {
        padding: 1.5rem;
    }

    .activity-card {
        padding: 2rem;
    }

    .activity-item {
        padding: 1rem;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-item::before {
        left: -35px !important;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    section {
        padding: 2rem 0;
    }

    .hero-banner {
        padding: 4rem 0 3rem;
        min-height: 70vh;
    }

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

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .services-hero-banner {
        padding: 2.5rem 0;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-content p {
        font-size: 1rem;
    }

    .services-hero-badge {
        padding: 0.5rem 1.5rem;
    }

    .services-hero-badge span {
        font-size: 0.8rem;
    }

    .hero-badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    .card,
    .service-card,
    .info-card {
        width: 100%;
        box-sizing: border-box;
    }

    .quick-access-card {
        padding: 2rem;
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
    }

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

    .feature-card {
        margin-bottom: 2rem;
    }

    .feature-image-wrapper {
        height: 250px;
    }

    .card-arrow {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .contact-form,
    .contact-info {
        width: 100%;
        box-sizing: border-box;
    }

    .map-container {
        width: 100%;
        box-sizing: border-box;
    }

    .map-container iframe {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

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

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-banner h1 {
        font-size: 1.5rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }

    .services-hero-banner {
        padding: 2.5rem 0;
    }

    .services-hero-content h1 {
        font-size: 2rem;
    }

    .services-hero-content p {
        font-size: 1rem;
    }

    .services-hero-badge {
        padding: 0.5rem 1.5rem;
    }

    .services-hero-badge span {
        font-size: 0.8rem;
    }

    .faq-hero-banner {
        padding: 2.5rem 0;
    }

    .faq-hero-content h1 {
        font-size: 2rem;
    }

    .faq-hero-content p {
        font-size: 1rem;
    }

    .faq-hero-badge {
        padding: 0.5rem 1.5rem;
    }

    .faq-hero-badge span {
        font-size: 0.8rem;
    }

    .contact-hero-banner {
        padding: 2.5rem 0;
    }

    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-hero-content p {
        font-size: 1rem;
    }

    .contact-hero-badge {
        padding: 0.5rem 1.5rem;
    }

    .contact-hero-badge span {
        font-size: 0.8rem;
    }

    .quick-access-card {
        padding: 1.5rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .icon-emoji {
        font-size: 1.8rem;
    }

    .feature-image-wrapper {
        height: 200px;
    }

    .feature-content {
        padding: 1.5rem;
    }

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

/* Utilidades */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

