/* ============================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================ */

:root {
    --primary-red: #DC2626;
    --dark-red: #991B1B;
    --black: #1F2937;
    --dark-gray: #374151;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --accent-gold: #FCD34D;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

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

.cart-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.cart-icon {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.cart-outline {
    stroke: #1F2937;
}

.cart-fill {
    animation: fillCart 2.5s ease-in-out infinite;
}

@keyframes fillCart {
    0% {
        height: 0;
        y: 70;
    }
    50% {
        height: 40;
        y: 30;
    }
    100% {
        height: 0;
        y: 70;
    }
}

.preloader-text {
    font-size: 18px;
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-primary);
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
    margin-top: 20px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}



/* ============================================
   NAVEGACIÓN
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    /* Añadir animación de movimiento al contenedor para que el logo se mueva */
    animation: moveLogo 4s ease-in-out infinite alternate;
}

.logo {
    width: 80px; /* Aumentado de 50px a 80px */
    height: 80px; /* Aumentado de 50px a 80px */
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    font-family: var(--font-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

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

/* ============================================
   HERO / ENCABEZADO
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 60px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/mercado fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(153, 27, 27, 0.05) 50%, rgba(31, 41, 55, 0.08) 100%);
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.circle-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: slideInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 72px;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--black);
}

.hero-title .word {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s ease-out;
}

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

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.8;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-tagline {
    font-size: 16px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   SECCIÓN QUIÉNES SOMOS
   ============================================ */

.about {
    padding: 100px 20px;
    background-color: var(--white);
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-primary);
    text-align: center;
    margin-bottom: 60px;
    color: var(--black);
    position: relative;
    padding-bottom: 20px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--dark-gray);
}

.about-text p {
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--primary-red);
    font-weight: 600;
}

.about-text em {
    color: var(--primary-red);
    font-style: italic;
    font-weight: 600;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* ============================================
   SECCIÓN SERVICIOS
   ============================================ */

.services {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-icon {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
    font-family: var(--font-primary);
}

.service-card p {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.services-images {
    margin-bottom: 60px;
}

.image-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-img.active {
    opacity: 1;
}

.services-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 12px;
    color: var(--white);
}

.services-cta p {
    font-size: 18px;
    margin-bottom: 10px;
}

.services-cta .highlight {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-primary);
}

/* ============================================
   SECCIÓN NUESTRAS SEDES
   ============================================ */

.sedes {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.sedes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.sede-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.sede-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.sede-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.sede-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.sede-overlay i {
    font-size: 48px;
    color: var(--white);
}

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

.sede-content {
    padding: 30px;
}

.sede-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.sede-location {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.sede-location i {
    margin-right: 5px;
}

.sede-content p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   SECCIÓN ESTADÍSTICAS DINÁMICAS
   ============================================ */

.estadisticas {
    padding: 100px 20px;
    background-color: var(--white);
}

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

.stat-card {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-red);
    font-family: var(--font-primary);
    margin-bottom: 15px;
}

.stat-number::after {
    content: '+';
    font-size: 32px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.stat-icon {
    font-size: 48px;
    color: var(--primary-red);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* ============================================
   SECCIÓN PORCENTAJES DINÁMICOS
   ============================================ */

.porcentajes {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.porcentajes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.porcentaje-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.porcentaje-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 25px;
    font-family: var(--font-primary);
}

.progress-container {
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 10px;
    width: 0%;
    transition: width 1.5s ease-out;
}

.progress-bar.animate .progress-fill {
    width: var(--percentage, 0%);
}

.percentage-value {
    display: inline-block;
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    font-family: var(--font-primary);
}

/* ============================================
   SECCIÓN 5 PRINCIPIOS
   ============================================ */

.principles {
    padding: 100px 20px;
    background-color: var(--white);
}

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

.principle-card {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 40px 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-red);
    transition: var(--transition);
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--dark-red);
}

.principle-icon {
    font-size: 56px;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.principle-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
    font-family: var(--font-primary);
}

.principle-card p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* ============================================
   SECCIÓN VIDEO
   ============================================ */

.video-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-container iframe {
    border-radius: 15px;
    min-height: 500px;
}

/* ============================================
   SECCIÓN TESTIMONIOS
   ============================================ */

.testimonials {
    padding: 100px 20px;
    background-color: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-red);
    opacity: 0.3;
}

.testimonial-card:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.stars {
    color: var(--accent-gold);
    font-size: 14px;
    margin-bottom: 15px;
}

.stars i {
    margin-right: 3px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: var(--black);
    font-weight: 600;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
}

.cta-final h2 {
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.cta-button-large {
    display: inline-block;
    padding: 16px 50px;
    background-color: var(--white);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-lg);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background-color: var(--light-gray);
}

.cta-tagline {
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
}

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

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    color: var(--primary-red);
}

.footer-section p {
    font-size: 14px;
    color: #D1D5DB;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--dark-red);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #4B5563;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #9CA3AF;
}

/* ============================================
   WIDGET WHATSAPP
   ============================================ */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #1FA855 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 50;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-widget:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 15px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-final h2 {
        font-size: 32px;
    }

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

    .whatsapp-widget {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .cta-button-large {
        padding: 14px 40px;
        font-size: 14px;
    }

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

    .video-container iframe {
        min-height: 300px;
    }
}

/* ============================================
   ANIMACIONES ADICIONALES
   ============================================ */

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll animations */
.fade-in {
    animation: fadeInScale 0.6s ease-out;
}

.slide-in {
    animation: slideInUp 0.6s ease-out;
}

/* ============================================
   ANIMACIÓN DE LOGO
   ============================================ */

@keyframes moveLogo {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(20px); /* Mover 20px a la derecha */
    }
}
