/* Variables de color */
:root {
    --primary-color: #0d47a1;
    --primary-light: #5472d3;
    --primary-dark: #002171;
    --secondary-color: #00838f;
    --secondary-light: #4fb3bf;
    --secondary-dark: #005662;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --gray-dark: #e0e0e0;
    --success-color: #4caf50;
    --text-dark: #303030;
    --text-light: #ffffff;
    --text-gray: #757575;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --accent-color: #ffa000;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --line-height-normal: 1.6;
    --line-height-heading: 1.3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-normal);
    color: var(--text-dark);
    background-color: var(--light-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: var(--line-height-heading);
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Estilos específicos para el subtítulo con lista */
.subtitle h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.subtitle ul {
    list-style: none;
    padding-left: 0;
    margin: 20px auto;
    max-width: 650px;
    text-align: left;
}

.subtitle ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.subtitle ul li:last-child {
    margin-bottom: 0;
}

.subtitle ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    top: 0;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .subtitle ul {
        max-width: 100%;
    }
    
    .subtitle h3 {
        font-size: 1.3rem;
    }
    
    .subtitle ul li {
        font-size: 1rem;
        padding-left: 22px;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .subtitle h3 {
        font-size: 1.2rem;
    }
    
    .subtitle ul li {
        font-size: 0.95rem;
        padding-left: 20px;
        margin-bottom: 8px;
        line-height: 1.5;
    }
}

.highlight {
    color: #ffcc00;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Botones */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 0;
    background-color: var(--light-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.logo h1 {
    font-size: 1.6rem;
    margin-bottom: 0;
    letter-spacing: -0.03em;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: 0.95rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

nav ul li a:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-color);
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-color);
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.hero .btn-outline {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Sección de introducción */
.intro {
    padding: 120px 0 100px;
    background-color: var(--light-color);
}

.intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-content {
    padding-right: 0;
    margin-top: 0;
}

.intro-content p strong {
    color: var(--primary-color);
}

.intro-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.intro-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 450px;
    width: 100%;
    background-color: var(--gray-color);
}

.intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px 20px 20px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.intro-image:hover .image-caption {
    opacity: 1;
}

.image-caption span {
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--gray-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
}

/* Animación para stats */
.stat-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Módulos */
.modulos {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.modulos h2 {
    text-align: center;
}

.modulos h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.modulo-card {
    display: flex;
    flex-direction: column;
    background-color: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.modulo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 71, 161, 0.1);
}

.modulo-content {
    padding: 40px;
    padding-right: 220px;
    flex: 1;
    position: relative;
    z-index: 2;
}

.modulo-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 0 12px 0 50%;
    z-index: 1;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.05);
}

.modulo-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.3), transparent);
    z-index: 2;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.modulo-card:hover .modulo-image::after {
    opacity: 0.8;
}

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

.modulo-card:hover .modulo-image img {
    transform: scale(1.05);
}

.modulo-card:nth-child(even) .modulo-image {
    right: auto;
    left: 0;
    border-radius: 12px 0 50% 0;
}

.modulo-card:nth-child(even) .modulo-content {
    padding-right: 40px;
    padding-left: 220px;
}

.modulo-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(13, 71, 161, 0.1);
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: -0.05em;
    transition: all 0.3s ease;
}

.modulo-card:hover .modulo-number {
    color: rgba(13, 71, 161, 0.2);
    transform: translateY(-5px);
}

.modulo-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    letter-spacing: -0.03em;
}

.modulo-card .objetivo {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.tareas {
    margin-bottom: 20px;
}

.tareas h4 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tareas ul {
    padding-left: 5px;
}

.tareas ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-gray);
}

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

.modulo-card .beneficio {
    font-weight: 500;
    color: var(--text-dark);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px 20px 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modulo-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay span {
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-heading);
    display: none;
}

/* Responsive adjustments for modules */
@media (max-width: 1024px) {
    .intro .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image-container {
        max-width: 750px;
        margin: 0 auto;
    }
    
    .intro-image {
        max-width: 750px;
        margin: 0 auto;
        height: 400px;
    }
    
    .intro-content {
        max-width: 100%;
        padding-right: 0;
        margin-top: 0;
    }
    
    .modulo-image {
        width: 150px;
        height: 150px;
    }
    
    .modulo-content {
        padding-right: 170px;
    }
    
    .modulo-card:nth-child(even) .modulo-content {
        padding-right: 40px;
        padding-left: 170px;
    }
}

@media (max-width: 768px) {
    .intro-image {
        height: 350px;
    }
    
    .modulo-image {
        position: relative;
        width: 100%;
        height: 180px;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .modulo-card .modulo-content,
    .modulo-card:nth-child(even) .modulo-content {
        padding: 30px;
    }
    
    .image-caption span {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .intro-image {
        height: 250px;
    }
    
    .modulo-content {
        padding: 25px;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .contact-form, .contact-details {
        padding: 30px 20px;
    }
    
    .modulo-number {
        font-size: 2.5rem;
    }
    
    .tareas ul li {
        padding-left: 20px;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
    
    .image-caption {
        padding: 20px 15px 15px;
    }
    
    .image-caption span {
        font-size: 1rem;
    }
    
    .modalidad {
        padding: 70px 0;
    }
    
    .modalidad h2 {
        font-size: 1.8rem;
    }
    
    .modalidad-item {
        padding: 25px 20px;
    }
    
    .modalidad-item .icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .modalidad-item .icon img {
        width: 35px;
        height: 35px;
    }
    
    .modalidad-item h3 {
        font-size: 1.2rem;
    }
    
    .learn-more {
        font-size: 0.9rem;
    }
}

.modulo-card .destacado {
    background-color: rgba(13, 71, 161, 0.08);
    border-left: 3px solid var(--primary-color);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
    font-weight: 500;
    color: var(--text-dark);
}

.honorarios {
    margin-top: 25px;
    background-color: var(--gray-color);
    padding: 15px;
    border-radius: 8px;
}

.honorarios h4 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.honorarios ul {
    padding-left: 5px;
}

.honorarios ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: var(--text-dark);
    font-weight: 500;
}

.honorarios ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
}

.nota-importante {
    background-color: rgba(255, 204, 0, 0.1);
    border-left: 4px solid #ffcc00;
    padding: 15px 20px;
    margin: 20px 0 30px;
    border-radius: 0 6px 6px 0;
}

.nota-importante p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 768px) {
    .modulo-card .destacado {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .honorarios {
        padding: 12px;
    }
    
    .nota-importante {
        padding: 12px 15px;
    }
}

/* Sección de modalidad de trabajo */
.modalidad {
    padding: 100px 0;
    background-color: var(--light-color);
    text-align: center;
}

.modalidad h2 {
    text-align: center;
}

.modalidad h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.modalidad-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.modalidad-item {
    background-color: var(--gray-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

.modalidad-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--light-color);
    border-color: var(--primary-light);
}

.modalidad-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(13, 71, 161, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modalidad-item:hover .icon {
    background-color: var(--primary-color);
}

.modalidad-item .icon img {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.modalidad-item:hover .icon img {
    filter: brightness(0) invert(1);
}

.modalidad-item h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.modalidad-item p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
}

.learn-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.learn-more:hover::after {
    width: 100%;
}

/* Animación para modalidad */
.modalidad-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.modalidad-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media queries for modalidad section */
@media (max-width: 1024px) {
    .modalidad-cards {
        gap: 20px;
    }
    
    .modalidad-item {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .modalidad-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .modalidad-item {
        padding: 30px;
    }
}

/* Estilos para la sección de contacto */
.contacto {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contacto h2 {
    text-align: center;
}

.contacto h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.contacto > .container > p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}
.contact-info {
    display: flex;
    flex-direction: row; /* Cambiar de column a row */
    justify-content: center;
    align-items: flex-start; /* Cambiar a flex-start para alinear desde arriba */
    max-width: 1100px; /* Aumentar el ancho máximo para que quepan dos tarjetas */
    margin: 0 auto;
    gap: 30px; /* Espacio entre las tarjetas */
    flex-wrap: wrap; /* Permitir que se envuelvan en pantallas pequeñas */
}

.contacto h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.contacto h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.contact-info-centered {
    text-align: center;
}

.contact-info-centered h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.contact-info-centered h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.contador-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.contador-card {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.contador-card.single-card {
    max-width: 400px; /* Reducir el ancho máximo para que quepan dos en una fila */
    width: calc(50% - 30px); /* Ancho del 50% menos el espacio entre ellas */
    margin: 0 0 30px; /* Quitar el auto en los márgenes laterales */
    text-align: left;
    border-left: 4px solid var(--primary-color);
    background-color: var(--gray-color);
    flex-grow: 1; /* Permitir que crezcan para ocupar el espacio disponible */
}

.contador-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contador-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid var(--gray-dark);
}

.contador-avatar span {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 600;
}

.contador-header h4 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--primary-dark);
    text-align: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contact-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-email, .contact-phone {
    margin: 0;
    color: var(--primary-dark);
    font-weight: 500;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    display: block;
    line-height: 1.4;
}

.contact-email {
    font-size: 0.95rem;
}

.contact-phone {
    font-size: 1rem;
}

/* Media queries */
@media (max-width: 768px) {
    .contador-card.single-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 20px;
    }

    .contador-card {
        padding: 25px;
        max-width: 450px;
    }
    
    .contador-avatar {
        width: 60px;
        height: 60px;
    }
    
    .contador-avatar span {
        font-size: 20px;
    }
    
    .contador-header h4 {
        font-size: 1.2rem;
    }
    
    .contact-items {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .contador-card {
        padding: 20px;
    }
    
    .contador-header {
        margin-bottom: 20px;
    }
    
    .contador-avatar {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .contador-avatar span {
        font-size: 18px;
    }
    
    .contador-header h4 {
        font-size: 1.1rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
        margin-bottom: 3px;
    }
    
    .contact-email {
        font-size: 0.9rem;
    }
    
    .contact-phone {
        font-size: 0.95rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #0c1623 100%);
    color: var(--light-color);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 90%;
    line-height: 1.7;
}

.footer-links h3, .footer-social h3 {
    color: var(--light-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--light-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icons a img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.footer-certifications {
    margin-top: 25px;
}

.footer-certifications h4 {
    color: var(--light-color);
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-certifications p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--light-color);
}

/* Media queries for footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo p {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .footer-bottom {
        padding-top: 20px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

.modulos-final-note {
    text-align: left;
    margin-top: 60px;
    padding: 25px 30px;
    background-color: rgba(13, 71, 161, 0.05);
    border-radius: 12px;
    color: var(--text-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
}

.modulos-final-note h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-align: center;
}

.modulos-final-note ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.modulos-final-note ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.modulos-final-note ul li:last-child {
    margin-bottom: 0;
}

.modulos-final-note ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    top: 0;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .modulos-final-note {
        margin-top: 40px;
        padding: 20px 25px;
    }
    
    .modulos-final-note h3 {
        font-size: 1.3rem;
    }
    
    .modulos-final-note ul li {
        font-size: 1rem;
        padding-left: 22px;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .modulos-final-note {
        margin-top: 30px;
        padding: 15px 20px;
    }
    
    .modulos-final-note h3 {
        font-size: 1.2rem;
    }
    
    .modulos-final-note ul li {
        font-size: 0.95rem;
        padding-left: 20px;
        margin-bottom: 8px;
        line-height: 1.5;
    }
}

.consideraciones ul {
    margin-top: 15px;
    margin-bottom: 10px;
}

.consideraciones ul li {
    margin-bottom: 15px;
    position: relative;
}

.consideraciones ul li:last-child {
    margin-bottom: 5px;
}

/* Ajustar los media queries para responsive */
@media (max-width: 768px) {
    .consideraciones {
        padding: 20px 25px;
    }
    
    .consideraciones ul {
        margin-top: 10px;
    }
}

@media (max-width: 600px) {
    .consideraciones {
        padding: 15px 20px;
        margin-top: 30px;
    }
    
    .consideraciones h3 {
        margin-bottom: 15px;
    }
}

.contact-business-hours {
    margin-top: 20px;
    padding: 25px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--gray-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-business-hours:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-business-hours h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-dark);
}

.contact-business-hours p {
    margin-bottom: 8px;
    color: var(--text-dark);
    text-align: center;
    font-size: 1rem;
}

.contact-business-hours p:last-child {
    margin-bottom: 0;
}

/* Media queries for contact section */
@media (max-width: 1024px) {
    .contador-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contador-card {
        flex: 1 1 40%;
    }
    
    .contact-business-hours {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contacto {
        padding: 80px 0;
    }
    
    .contact-business-hours {
        padding: 25px 20px;
    }
    
    .contact-business-hours h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .contact-business-hours p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contacto {
        padding: 60px 0;
    }
    
    .contacto > .container > p {
        font-size: 1rem;
    }
    
    .contact-business-hours {
        padding: 20px 15px;
    }
    
    .contact-business-hours h4 {
        font-size: 1rem;
    }
    
    .contact-business-hours p {
        font-size: 0.95rem;
    }
}

/* Estilos para el botón de descarga PDF */
.download-container {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--light-color);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero .download-btn {
    border: 2px solid var(--light-color);
    background: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: var(--light-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.hero .download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.download-btn i {
    font-size: 1.1rem;
}

/* Estilos para el mensaje de carga del PDF */
.pdf-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.pdf-loading-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pdf-loading-content p {
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .download-container {
        justify-content: center;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pdf-loading-content {
        width: 80%;
        padding: 20px;
    }
} 