/* ============================================
   ALEMANIA PARA MÉDICOS - Estilos Globales
   ============================================ */

/* Variables CSS - Silent Luxury Palette */
:root {
    /* Colores Principales (Autoridad y Confianza) */
    --primary: #1E3E62;
    /* Azul Prusia Profundo - Color de marca principal */
    --primary-light: #2D5A8F;
    /* Azul suavizado para estados hover */
    --primary-dark: #11253C;
    /* Azul noche para contrastes fuertes */

    /* Acentos de la Bandera Alemana (Versión Premium y Atenuada) */
    --accent-charcoal: #1A1A1E;
    /* Carbón sofisticado para textos principales y bloques */
    --accent-crimson: #C45C5C;
    /* Tono vino/terracota más claro para mejor visibilidad */
    --accent-gold: #D4953A;
    /* Oro más oscuro para mejor contraste sobre fondos claros */

    /* Neutros y Fondos Líquidos */
    --bg-main: #F8F9FA;
    /* Off-white / Alabastro para fondos de página limpios */
    --bg-card: #FFFFFF;
    /* Blanco puro para tarjetas */
    --bg-muted: #F1F3F5;
    /* Gris claro suave para secciones secundarias */

    /* Textos */
    --text-main: #2B2D42;
    /* Gris Oxford muy oscuro para lectura óptima */
    --text-muted: #495057;
    /* Gris más oscuro para mejor contraste en subtítulos */
    --text-white: #FFFFFF;
    /* Blanco puro para textos sobre fondos oscuros */

    /* Bordes y Sombras Sutiles */
    --border-color: rgba(30, 62, 98, 0.08);
    /* Borde sutil translúcido del azul principal */
    --shadow-premium: 0 10px 30px rgba(26, 26, 30, 0.04);
    /* Sombra ultra suave */

    /* Premium transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-premium: cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(12px);

    /* Premium shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium-md: 0 8px 16px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
    --shadow-premium-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 12px 24px -6px rgba(0, 0, 0, 0.08);

    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;

    /* Success/Error colors (mantenidos para validación) */
    --success: #10b981;
    --error: #C45C5C;
    /* Usando accent-crimson actualizado para consistencia */
}

/* Form Banner Styles */
#form-banner {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 90vw;
    width: 600px;
    display: none;
    pointer-events: auto;
}

@media (max-width: 768px) {
    #form-banner {
        top: 80px;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: none;
        transform: none;
    }
}

.banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium-lg);
    animation: slideDown 0.4s var(--transition-premium);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    
    .banner-success {
        background: linear-gradient(135deg, #065f46 0%, #047857 100%);
        color: var(--text-white);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }
    
    .banner-error {
        background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
        color: var(--text-white);
        border: 1px solid rgba(196, 92, 92, 0.3);
    }
    
    .banner-icon {
        font-size: 1.25rem;
        font-weight: 700;
        flex-shrink: 0;
    }
    
    .banner-text {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.4;
        margin: 0;
    }
    
    .banner-close {
        background: none;
        border: none;
        color: inherit;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        opacity: 0.7;
        padding: 0.25rem;
        transition: opacity var(--transition-fast);
        flex-shrink: 0;
    }
    
    .banner-close:hover {
        opacity: 1;
    }

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

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

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

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

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

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

/* Contenedor Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER & NAVEGACIÓN
   ============================================ */

.header {
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-premium-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: all var(--transition-premium);
    transform: translateX(-50%);
}

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

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

/* Menú Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

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

.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-color: var(--primary-dark);
    color: var(--text-white);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero de la página principal con imagen de fondo */
.hero-home {
    background:
        linear-gradient(120deg, rgba(17, 37, 60, 0.78) 0%, rgba(30, 62, 98, 0.55) 50%, rgba(17, 37, 60, 0.82) 100%),
        url('../img/berlin-sk.png') center 22% / cover no-repeat;
    background-color: var(--primary-dark);
}

.hero-home p {
    color: var(--accent-gold);
}

/* Hero de la página de contacto con imagen de fondo */
.hero-contact {
    background:
        linear-gradient(120deg, rgba(17, 37, 60, 0.78) 0%, rgba(30, 62, 98, 0.55) 50%, rgba(17, 37, 60, 0.82) 100%),
        url('../img/contactor.jpeg') center 50% / cover no-repeat;
    background-color: var(--primary-dark);
}

.hero-contact .hero-content {
    max-width: 700px;
}

.hero-contact h1 {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-contact p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero::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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-premium);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: #B8862D;
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium-lg);
}

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

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

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium-lg);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-muted);
}

.section-dark {
    background-color: var(--accent-charcoal);
    color: var(--text-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   GRID SYSTEM
   ============================================ */

.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   TARJETAS
   ============================================ */

.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-premium-lg);
    border-color: var(--accent-gold);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 0.95rem;
}

/* ============================================
   EQUIPO / NOSOTROS
   ============================================ */

.team-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-premium-lg);
}

.team-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 700;
}

.team-content {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ============================================
   SERVICIOS
   ============================================ */

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-premium-lg);
}

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

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

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
}

/* ============================================
   FAQ
   ============================================ */

.faq-item {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-premium-md);
    overflow: hidden;
    transition: all var(--transition-premium);
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: var(--shadow-premium-lg);
    transform: translateY(-2px);
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    padding: 1.75rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-muted) 100%);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-smooth);
}

.faq-item summary:hover {
    background-color: var(--bg-muted);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Icono + personalizado */
.faq-item summary span:last-child {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    transition: transform var(--transition-premium);
}

.faq-item details[open] summary span:last-child {
    transform: rotate(45deg);
}

.faq-item details[open] summary {
    background-color: var(--bg-muted);
}

.faq-answer {
    max-height: 0;
    padding: 0 1.75rem;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--transition-premium), opacity 0.3s var(--transition-smooth), padding 0.3s var(--transition-smooth);
}

.faq-answer p {
    padding-bottom: 1.75rem;
    margin: 0;
}

.faq-answer p:last-child {
    padding-bottom: 0;
}

/* ============================================
   BLOG
   ============================================ */

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-premium-lg);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--text-white);
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-category.medical {
    background-color: var(--primary);
}

.blog-category.quality {
    background-color: var(--primary-light);
}

.blog-category.news {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.blog-link:hover {
    color: var(--primary-light);
}

/* ============================================
   CONTACTO
   ============================================ */

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

.contact-info {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-premium-md);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: all var(--transition-premium);
}

.social-link img {
    filter: brightness(0) invert(1);
    transition: transform var(--transition-premium);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-premium-lg);
}

/* Formulario */
.contact-form {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-premium-md);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-premium);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(45, 90, 143, 0.1);
    transform: translateY(-1px);
}

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

.form-group .error {
    border-color: var(--error);
}

.form-group .success {
    border-color: var(--success);
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

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

.footer {
    background-color: var(--accent-charcoal);
    color: var(--text-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

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

/* ============================================
   HORARIOS
   ============================================ */

.schedule-box {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-premium-md);
    margin-top: 2rem;
}

.schedule-box h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-label {
    font-weight: 600;
    color: var(--text-main);
}

.schedule-time {
    color: var(--text-muted);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

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

/* Premium reveal animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--transition-premium), transform 0.8s var(--transition-premium);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

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

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

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

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

    .hero-cta {
        flex-direction: column;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .featured-testimonial {
        padding: 1.5rem;
    }

    .why-us-wrapper {
        flex-direction: column;
    }

    .why-us-cards {
        grid-template-columns: 1fr;
    }

    .objectives-wrapper {
        grid-template-columns: 1fr;
    }

    .specific-objectives-grid {
        grid-template-columns: 1fr;
    }
}

.testimonios-list .card > .testimonio-embed {
    flex: 0 0 326px;
    width: 326px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .testimonios-list .card {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .testimonios-list .card > .testimonio-embed {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 326px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .card,
    .service-card,
    .team-card {
        padding: 1.5rem;
    }

    .featured-testimonial {
        padding: 1rem;
    }

    .featured-quote {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

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

    .stat-item h3 {
        font-size: 2rem;
    }

    .schedule-box {
        padding: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
    }
}

/* ============================================
   UTILIDADES
   ============================================ */

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

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--accent-gold);
}

.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;
}

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

/* ============================================
   SECCIÓN ¿POR QUÉ ELEGIRNOS? (SPLIT LAYOUT)
   ============================================ */

.section-why-us {
    background-color: var(--bg-main);
    overflow: hidden;
}

.why-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.why-us-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.why-us-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.why-us-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-us-cards .card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
}

.why-us-cards .card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.why-us-cards .card h3 {
    margin-bottom: 0.5rem;
}

/* Responsive para la sección */
@media (max-width: 992px) {
    .why-us-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-us-content {
        text-align: center;
    }
    
    .why-us-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
}

@media (max-width: 576px) {
    .why-us-cards .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .why-us-cards .card-icon {
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   PERFIL DE SOCIOS / PAREJA FUNDADORA
   ============================================ */

.team-profile-card {
    display: flex;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium-lg);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
    transition: transform var(--transition-premium), box-shadow var(--transition-premium), border-color var(--transition-premium);
}

.team-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium-lg);
    border-color: var(--accent-gold);
}

.team-profile-image {
    width: 350px;
    height: 437px;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: var(--shadow-premium-lg);
    background-color: var(--bg-muted);
}

.team-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.team-profile-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-profile-name {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.team-profile-role {
    font-size: 1.05rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.team-profile-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Responsive para tarjeta de socios */
@media (max-width: 768px) {
    .team-profile-card {
        flex-direction: column;
        max-width: 500px;
    }
    
    .team-profile-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4/5;
    }
    
    .team-profile-content {
        padding: 2rem;
    }
    
    .team-profile-name {
        font-size: 1.35rem;
    }
}

/* ============================================
   SECCIÓN OBJETIVOS ESTRATÉGICOS
   ============================================ */

.section-objectives {
    padding: 80px 0;
}

.objectives-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 2rem;
}

.general-objective-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-premium), box-shadow var(--transition-premium);
}

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

.general-objective-card h3 {
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.general-objective-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.specific-objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.specific-card {
    padding: 2.5rem 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all var(--transition-premium);
}

.specific-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-gold);
    opacity: 0.9;
    flex-shrink: 0;
    line-height: 1;
    font-family: Georgia, serif;
}

.specific-body {
    display: flex;
    flex-direction: column;
}

.specific-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
    transition: color var(--transition-normal);
}

.specific-card:hover h3 {
    color: var(--primary-light);
}

.specific-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsividad para objetivos */
@media (max-width: 992px) {
    .objectives-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .specific-objectives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================
   TESTIMONIOS
   ============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-lg);
    border-color: rgba(30, 62, 98, 0.15);
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3.5rem;
    color: rgba(30, 62, 98, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.25rem;
    border: 2px solid rgba(212, 149, 58, 0.2);
    box-shadow: var(--shadow-sm);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

.testimonial-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    background-color: rgba(30, 62, 98, 0.06);
    color: var(--primary);
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* ============================================
   TESTIMONIALS PAGE - NUEVOS ESTILOS
   ============================================ */

/* Featured Testimonial Card */
.featured-testimonial-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-premium-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 0;
}

@media (max-width: 992px) {
    .featured-testimonial-card {
        grid-template-columns: 1fr;
    }
}

.featured-testimonial-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-quote-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.quote-mark {
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.featured-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 0;
    font-family: Georgia, serif;
    position: relative;
    z-index: 1;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.featured-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(212, 149, 58, 0.3);
}

.featured-author-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.featured-author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.specialty-badge,
.origin-badge,
.time-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialty-badge {
    background: rgba(30, 62, 98, 0.1);
    color: var(--primary);
}

.origin-badge {
    background: rgba(212, 149, 58, 0.15);
    color: var(--accent-gold);
}

.time-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.featured-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.featured-metric {
    text-align: center;
}

.featured-metric .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 1.1;
}

.featured-metric .metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Featured Testimonial Side (Timeline) */
.featured-testimonial-side {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-timeline h4 {
    color: var(--text-white);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 149, 58, 0.3);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    z-index: 1;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 3px solid var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 0 4px var(--primary);
    transition: all var(--transition-normal);
}

.timeline-marker--current {
    background: var(--accent-gold);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px var(--primary), 0 0 20px rgba(212, 149, 58, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px var(--primary), 0 0 20px rgba(212, 149, 58, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 4px var(--primary), 0 0 30px rgba(212, 149, 58, 0.8); }
}

.timeline-content {
    padding-top: 2px;
}

.timeline-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

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

/* Enhanced Testimonial Cards */
.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-lg);
    border-color: rgba(30, 62, 98, 0.15);
}

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial-card-badges {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: flex-end;
}

.country-badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(212, 149, 58, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author cite {
    font-style: normal;
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonial-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.testimonial-cta:hover {
    color: var(--primary-light);
}

/* CTA Final Card */
.cta-final-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.cta-final-card h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-final-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-final-card .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.cta-final-card .btn-primary:hover {
    background: #B8862D;
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium-lg);
}

.cta-disclaimer {
    margin-top: 1.5rem !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.1;
    font-family: Georgia, serif;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(212, 149, 58, 0.5), transparent);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 149, 58, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 90, 143, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS FOR TESTIMONIALS
   ============================================ */

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .featured-testimonial-content,
    .featured-testimonial-side {
        padding: 2rem;
    }
    
    .featured-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonial-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonial-card-badges {
        flex-direction: row;
        align-items: center;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Featured Testimonial Banner */
.featured-testimonial {
    background-color: var(--primary-dark);
    color: var(--text-white);
    border-radius: var(--border-radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-premium-lg);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-testimonial::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 90, 143, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-quote {
    font-size: 1.35rem;
    line-height: 1.8;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-family: Georgia, serif;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.featured-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(212, 149, 58, 0.3);
}

.featured-author h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

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

/* Stats Section on Testimonials Page */
.stats-banner {
    background-color: var(--bg-muted);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    margin-top: 5rem;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   TESTIMONIOS PAGE - NUEVOS ESTILOS
   ============================================ */

/* Hero Badge */
.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.1;
    font-family: Georgia, serif;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(212, 149, 58, 0.5), transparent);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 149, 58, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 90, 143, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Featured Testimonial Card */
.featured-testimonial-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-premium-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 0;
}

@media (max-width: 992px) {
    .featured-testimonial-card {
        grid-template-columns: 1fr;
    }
}

.featured-testimonial-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-quote-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.quote-mark {
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    font-size: 5rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.featured-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 0;
    font-family: Georgia, serif;
    position: relative;
    z-index: 1;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.featured-author-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.featured-author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.specialty-badge,
.origin-badge,
.time-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specialty-badge {
    background: rgba(30, 62, 98, 0.1);
    color: var(--primary);
}

.origin-badge {
    background: rgba(212, 149, 58, 0.15);
    color: var(--accent-gold);
}

.time-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.featured-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.featured-metric {
    text-align: center;
}

.featured-metric .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 1.1;
}

.featured-metric .metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Featured Testimonial Side (Timeline) */
.featured-testimonial-side {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-timeline h4 {
    color: var(--text-white);
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 149, 58, 0.3);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    z-index: 1;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-dark);
    border: 3px solid var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 0 0 4px var(--primary);
    transition: all var(--transition-normal);
}

.timeline-marker--current {
    background: var(--accent-gold);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px var(--primary), 0 0 20px rgba(212, 149, 58, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px var(--primary), 0 0 20px rgba(212, 149, 58, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 4px var(--primary), 0 0 30px rgba(212, 149, 58, 0.8); }
}

.timeline-content {
    padding-top: 2px;
}

.timeline-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

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

/* Enhanced Testimonial Cards */
.testimonial-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-premium-md);
    transition: all var(--transition-premium);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium-lg);
    border-color: rgba(30, 62, 98, 0.15);
}

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.testimonial-card-badges {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: flex-end;
}

.country-badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(212, 149, 58, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author cite {
    font-style: normal;
    display: block;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonial-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.testimonial-cta:hover {
    color: var(--primary-light);
}

/* CTA Final Card */
.cta-final-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.cta-final-card h3 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-final-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-final-card .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.cta-final-card .btn-primary:hover {
    background: #B8862D;
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium-lg);
}

.cta-disclaimer {
    margin-top: 1.5rem !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .featured-testimonial-content,
    .featured-testimonial-side {
        padding: 2rem;
    }
    
    .featured-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .testimonial-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonial-card-badges {
        flex-direction: row;
        align-items: center;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ============================================
   MOBILE & DESKTOP AESTHETIC IMPROVEMENTS
   ============================================ */

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        min-height: 48px;
        min-width: 48px;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .hamburger {
        min-width: 48px;
        min-height: 48px;
        justify-content: center;
        align-items: center;
    }
    
    .hamburger span {
        width: 28px;
        height: 3px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        min-height: 48px;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

/* Improved focus states for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible,
.social-link:focus-visible,
.card:focus-visible,
.service-card:focus-visible,
.testimonial-card:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Better hero on mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Improved section spacing on mobile */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
}

/* Card improvements on mobile */
@media (max-width: 768px) {
    .card,
    .service-card,
    .team-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .card:hover,
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
        box-shadow: var(--shadow-premium-md);
    }
    
    .card:active,
    .service-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }
}

/* Grid improvements */
@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
}

/* Schedule boxes on mobile */
@media (max-width: 768px) {
    .grid-2 .schedule-box {
        margin-top: 0;
    }
}

/* Form improvements */
.form-group label {
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card,
    .service-card,
    .team-card {
        padding: 1.25rem;
    }
    
    .schedule-box {
        padding: 1.25rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
}

/* Improved animation performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Better text rendering */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Selection colors */
::selection {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

::-moz-selection {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-muted);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Print styles */
@media print {
    .header,
    .hero-cta,
    .btn,
    .contact-form,
    .footer {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: none !important;
        color: var(--text-main) !important;
    }
    
    .hero h1 {
        color: var(--primary) !important;
    }
    
    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: var(--primary);
        --shadow-premium-md: 0 4px 6px rgba(0, 0, 0, 0.3);
        --shadow-premium-lg: 0 10px 20px rgba(0, 0, 0, 0.4);
    }
    
    .card,
    .service-card,
    .testimonial-card {
        border: 2px solid var(--primary);
    }
}

/* Smooth scroll fallback */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Hero background pattern fallback for browsers that don't support it */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
}

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

/* Featured testimonial card responsive */
@media (max-width: 992px) {
    .featured-testimonial-card {
        grid-template-columns: 1fr;
    }
    
    .featured-testimonial-content,
    .featured-testimonial-side {
        padding: 2.5rem;
    }
}

/* Timeline responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }
    
    .timeline-marker {
        width: 20px;
        height: 20px;
    }
    
    .timeline-item {
        gap: 0.75rem;
    }
}

/* Featured author meta responsive */
.featured-author-meta {
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .featured-author-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .specialty-badge,
    .origin-badge,
    .time-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Stats banner responsive */
@media (max-width: 768px) {
    .stats-banner {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links h4 {
        margin-bottom: 1rem;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
}

/* Button improvements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Form validation improvements */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--error);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C45C5C' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: var(--success);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

/* Image loading placeholder */
img {
    max-width: 100%;
    height: auto;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Better avatar fallbacks */
.testimonial-avatar,
.author-avatar-mini,
.featured-avatar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* Ensure proper line height for readability */
p, li, .faq-answer, .testimonial-text {
    line-height: 1.7;
}

/* Prevent horizontal overflow */
body, html {
    overflow-x: hidden;
}

.container,
.container-fluid {
    overflow-x: hidden;
}

/* Ensure cards don't overflow on mobile */
@media (max-width: 768px) {
    .card,
    .service-card,
    .testimonial-card,
    .team-card,
    .blog-card,
    .schedule-box,
    .contact-info,
    .contact-form {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Why us section responsive */
@media (max-width: 992px) {
    .why-us-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .why-us-content {
        text-align: center;
    }
    
    .why-us-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
    
    .why-us-cards .card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Team profile card responsive */
@media (max-width: 768px) {
    .team-profile-card {
        flex-direction: column;
        max-width: 100%;
    }
    
    .team-profile-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4/5;
    }
    
    .team-profile-content {
        padding: 2rem;
    }
    
    .team-profile-name {
        font-size: 1.35rem;
    }
}

/* Objectives section responsive */
@media (max-width: 992px) {
    .objectives-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .specific-objectives-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials grid responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* CTA final card responsive */
@media (max-width: 768px) {
    .cta-final-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-final-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-final-card p {
        font-size: 1rem;
    }
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.whatsapp-main-btn {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-main-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-main-btn:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-main-btn:hover::before {
    opacity: 1;
}

.whatsapp-main-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.whatsapp-main-btn svg {
    width: 32px;
    height: 32px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-main-btn:hover svg {
    transform: scale(1.15);
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 0 18px rgba(37, 211, 102, 0);
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    bottom: 50%;
    transform: translateY(50%);
    background: var(--accent-charcoal);
    color: var(--text-white);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50%) translateX(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-premium-lg);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid var(--accent-charcoal);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-main-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(50%) translateX(0);
}

/* Animación de entrada */
.whatsapp-float .whatsapp-main-btn {
    animation: whatsapp-pulse 2.5s ease-in-out infinite, whatsapp-entry 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 1;
    transform: scale(1) translateY(0);
}

@keyframes whatsapp-entry {
    0% {
        opacity: 0;
        transform: scale(0) translateY(30px);
    }
    60% {
        opacity: 1;
        transform: scale(1.15) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Badge de notificación opcional */
.whatsapp-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: var(--accent-crimson);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(196, 92, 92, 0.4);
    animation: badge-bounce 1.5s ease-in-out infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-main-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-main-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Reducir movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-main-btn,
    .whatsapp-main-btn svg,
    .whatsapp-tooltip {
        animation: none !important;
        transition: none !important;
    }
    
    .whatsapp-main-btn {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

/* ============================================
   GUÍAS EN VÍDEO (TikTok - carga bajo demanda)
   ============================================ */

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-width: 300px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-premium-md);
    transition: transform var(--transition-premium), box-shadow var(--transition-premium);
}

.video-thumb:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium-lg);
}

.video-brand {
    position: absolute;
    top: 12px;
    left: 12px;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
}

.video-play-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-premium);
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.video-play-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.08);
}

.video-play-icon {
    font-size: 1.7rem;
    line-height: 1;
    margin-left: 3px;
}

.video-hint {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.video-thumb.loaded {
    cursor: default;
    aspect-ratio: 9 / 16;
    max-width: 300px;
    padding: 0;
    border-radius: var(--border-radius-md);
}

.tiktok-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}