/* ===== VARIABLES Y CONFIGURACIÓN GLOBAL ===== */
:root {
    /* Paleta de colores DAG3X */
    --primary-dark: #262b3b;
    --primary-accent: #00958b;
    --white: #ffffff;
    --black: #000000;
    
    /* Colores derivados */
    --dark-light: #3a4155;
    --accent-light: #00b3a6;
    --accent-dark: #007a70;
    
    /* Escala de grises */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    
    /* Fuentes */
    --font-heading: 'Ruda', sans-serif;
    --font-body: 'Liberation Sans', 'Arial', sans-serif;
    
    /* Colores de texto */
    --text-primary: var(--primary-dark);
    --text-secondary: #475569;
    --text-light: #64748b;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
}

/* ===== ESTILOS BASE ACTUALIZADOS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
}

/* ===== TIPOGRAFÍA ESPECÍFICA ===== */

/* Encabezados - Usan Ruda */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Elementos de navegación - Usan Ruda */
.menu a {
    font-family: var(--font-heading);
    font-weight: 600;
}

.logo h2 {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Botones - Usan Ruda */
.btn, .btn-schedule {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Texto del cuerpo - Usa Liberation Sans/Arial */
p, li, span, input, textarea, select {
    font-family: var(--font-body);
}
/* ===== HEADER Y NAVEGACIÓN ACTUALIZADO ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(38, 43, 59, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

/* NUEVO: Contenedor para menú + botón */
.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo-img {
    height: 75px;
    width: auto;
    transition: transform 0.3s;
}

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

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

.menu a {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.menu a:hover {
    color: var(--primary-accent);
}

/* NUEVO: Estilos del botón Schedule Call */
.btn-schedule {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 149, 139, 0.3);
    animation: pulse-glow 2s infinite;
    white-space: nowrap;
}

.btn-schedule:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 149, 139, 0.4);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-accent) 100%);
    border-color: var(--white);
    animation: none;
    color: var(--white) !important;
}

/* NUEVO: Animación del botón */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 149, 139, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 149, 139, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 149, 139, 0.3);
    }
}

/* NUEVO: Responsive para móviles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn-schedule {
        margin: 0;
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Hero Section - ACTUALIZADO */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 150px 5% 100px;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-accent);
    color: var(--white);
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-accent);
    font-size: 1rem;
}

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

/* Sección Servicios - ACTUALIZADO */
.services {
    padding: 80px 5%;
    background: var(--gray-50);
}

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

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(38, 43, 59, 0.08);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(38, 43, 59, 0.15);
    border-color: var(--primary-accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    color: var(--primary-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Sección Hero de Contacto */
.contact-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 150px 5% 100px;
    text-align: center;
    margin-top: 60px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sección de Contacto */
.contact-section {
    padding: 80px 5%;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Formulario */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(38, 43, 59, 0.08);
    border: 1px solid var(--gray-200);
}

.contact-form h2 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

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

/* Información de Contacto */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(38, 43, 59, 0.08);
    border: 1px solid var(--gray-200);
    height: fit-content;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
}

/* About Us Hero Section */
.about-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 150px 5% 100px;
    text-align: center;
    margin-top: 60px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* About Content Section */
.about-content {
    padding: 80px 5%;
    background: var(--white);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
    text-align: center;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Model Section */
.model-section {
    max-width: 1000px;
    margin: 0 auto;
}

.model-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    text-align: center;
}

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

.model-pillar {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-accent);
    border: 1px solid var(--gray-200);
}

.model-pillar h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.model-pillar p {
    line-height: 1.7;
    color: var(--text-secondary);
}

.conclusion {
    background: rgba(0, 149, 139, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-accent);
}

.conclusion p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 80px 5%;
    background: var(--gray-50);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

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

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(38, 43, 59, 0.08);
    transition: transform 0.3s;
    border: 1px solid var(--gray-200);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.photo-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(0, 149, 139, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
    border: 4px solid var(--primary-accent);
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.member-role {
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}
/* Contact Form Updates */
.btn-secondary {
    background: transparent;
    color: var(--primary-accent);
    border: 2px solid var(--primary-accent);
    margin-top: 1rem;
}
.btn-secondary:hover {
    background: var(--primary-accent);
    color: var(--white);
}

.contact-cta {
    background: rgba(0, 149, 139, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-accent);
}

.contact-cta h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-cta p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Form placeholder styling */
.form-group textarea::placeholder {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Responsive design for contact page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}
/* Botón Schedule Call */
.btn-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 149, 139, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

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

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

.btn-schedule:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 149, 139, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

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

/* Efecto de partículas en hover*/
.btn-schedule:hover::after {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.8rem;
    animation: sparkle 0.6s ease-out;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}/* Sistema de fuentes alternativas para Liberation Sans */
@font-face {
    font-family: 'Liberation Sans';
    src: local('Liberation Sans'),
         local('LiberationSans'),
         local('LiberationSans-Regular');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Liberation Sans';
    src: local('Liberation Sans Bold'),
         local('LiberationSans-Bold');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Liberation Sans';
    src: local('Liberation Sans Italic'),
         local('LiberationSans-Italic');
    font-weight: normal;
    font-style: italic;
}
/* ===== VERSIÓN FINAL - ANIMACIÓN ELEGANTE ===== */
.service-icon {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.service-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1) translateY(-5px);
}

/* Efecto de fondo sutil al hacer hover */
.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: rgba(0, 149, 139, 0.05);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.service-card:hover .service-icon::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/* Estilos para el enlace del logo */
.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* Asegurar que la imagen herede la transformación */
.logo-link:hover .logo-img {
    transform: none; /* Anula la transformación individual de la imagen */
}
/* ===== FOTOS DEL EQUIPO - TAMAÑO CORREGIDO ===== */

.team-photo {
    width: 120px;           /* Tamaño reducido */
    height: 120px;          /* Tamaño reducido */
    border-radius: 50%;
    object-fit: cover;      /* Esto es clave para que no se deformen */
    object-position: center; /* Enfoca el centro de la imagen */
    border: 3px solid var(--primary-accent);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;         /* Asegura que sea un elemento de bloque */
    margin: 0 auto;         /* Centra la imagen horizontalmente */
}

.team-member:hover .team-photo {
    transform: scale(1.08);
    border-color: var(--accent-light);
    box-shadow: 0 6px 20px rgba(0, 149, 139, 0.25);
}

/* Ajustar el contenedor de la foto */
.member-photo {
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;     /* Asegura que todo dentro esté centrado */
}

/* Ajustar el efecto de fondo para el nuevo tamaño */
.member-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 135px;          /* Ajustado al nuevo tamaño */
    height: 135px;         /* Ajustado al nuevo tamaño */
    background: rgba(0, 149, 139, 0.1);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.team-member:hover .member-photo::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Si usas banderas, ajusta su posición también */
.member-flag {
    position: absolute;
    bottom: 8px;
    right: calc(50% - 60px); /* Posiciona relativo al centro */
    background: var(--white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid var(--primary-accent);
}
/* ===== ESTILOS ESPECÍFICOS PARA BOTÓN SCHEDULE CALL EN CONTACTO ===== */

.contact-cta .btn {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
    color: var(--white) !important;
    border: 2px solid transparent;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.contact-cta .btn:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-accent) 100%);
    color: var(--white) !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 149, 139, 0.4);
}
/* Estilos para la confirmación del formulario */
#form-confirmation {
    animation: fadeIn 0.5s ease;
}

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

/* ===== ESTILOS ESPECÍFICOS PARA BOTONES EN FONDOS CLAROS ===== */

.contact-form .btn,
.contact-cta .btn {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
    color: var(--white) !important;
    border: 2px solid transparent;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-form .btn:hover,
.contact-cta .btn:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-accent) 100%);
    color: var(--white) !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 149, 139, 0.4);
}

/* Asegurar que los botones mantengan su estilo en todos los estados */
.contact-form .btn:focus,
.contact-cta .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 149, 139, 0.3);
}
/* Animaciones al hacer scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 149, 139, 0.1), transparent);
    transition: left 0.6s;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(38, 43, 59, 0.2);
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 149, 139, 0.3);
}

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 149, 139, 0.4);
}
.why-us {
    padding: 80px 5%;
    background: var(--gray-50);
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}
/* Transición suave para toda la página */
* {
    transition: color 0.3s, background-color 0.3s;
}

/* Efecto de fade-in al cargar */
body {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Estilos para la sección Why Choose Us */
.why-us {
    padding: 80px 5%;
    background: var(--gray-50);
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
}

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

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 43, 59, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 149, 139, 0.3);
}

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

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}
.btn-schedule {
    background: var(--primary-accent);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-accent);
    box-shadow: 0 4px 15px rgba(0, 149, 139, 0.3);
    margin-left: 20px;
}

.btn-schedule:hover {
    background: transparent;
    color: var(--primary-accent) !important;
    border-color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 149, 139, 0.4);
}
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-dark);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(38, 43, 59, 0.15);
    border-color: var(--primary-dark);
}
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(38, 43, 59, 0.1);
    border: 2px solid var(--primary-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(38, 43, 59, 0.1);
}
.hero h1 {
    color: var(--white);
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.2),
        0 2px 0 rgba(0, 0, 0, 0.2),
        0 3px 0 rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    font-size: 3.6rem;
}

.hero p {
    color: var(--white);
    text-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    font-size: 1.3rem;
}
/* ===== FOOTER STYLES ===== */
/* ===== FOOTER STYLES - BORDES COMPLETOS ===== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px; /* Eliminamos el padding lateral */
    border-top: 5px solid var(--primary-accent);
    width: 100%; /* Aseguramos que ocupe todo el ancho */
    margin: 0; /* Eliminamos cualquier margen */
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%; /* Movemos el padding aquí en lugar del footer */
}

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

/* El resto de los estilos se mantienen igual... */
.footer-section h4 {
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.logo-text {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0;
    letter-spacing: 1px;
}

.footer-description {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--primary-accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(0, 149, 139, 0.2);
    border: 1px solid rgba(0, 149, 139, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-link:hover {
    color: var(--gray-700);
    background: rgba(0, 149, 139, 0.3);
    border-color: rgba(0, 149, 139, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 149, 139, 0.3);
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px; /* También eliminamos padding lateral en móvil */
    }
    
    .footer .container {
        padding: 0 5%; /* Mantenemos el padding en el contenedor */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-link {
        justify-content: center;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-link {
        justify-content: center;
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .footer .container {
        padding: 0 20px; /* Un poco menos de padding en móviles muy pequeños */
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .contact-link {
        min-width: 200px;
        padding: 8px 12px;
    }
}.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 100%;
    padding: 0 15px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto 30px;
}
footer {
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-section {
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .footer-section {
        text-align: left;
        margin-bottom: 0;
    }
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Para elementos en fila */
.responsive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .responsive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .responsive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
img {
    max-width: 100%;
    height: auto;
}
.button {
    padding: 12px 24px;
    font-size: 1rem;
    min-height: 44px; /* Mínimo para touch */
    min-width: 44px;
}
/* About Hero - Corregido para móviles */
.about-hero {
    width: 100%;
    min-height: 100vh; /* Cambiado a 100vh para ocupar pantalla completa */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: #262b3b; /* Tu color principal */
    color: #ffffff; /* Blanco */
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.about-hero .container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: clamp(2rem, 8vw, 4rem); /* Más responsive */
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

.about-hero p {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.9;
}

/* Efecto de gradiente sini para agregar profundidad */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00958b 0%, rgba(36, 155, 123, 0.3) 100%);
    z-index: 1;
}

/* About Content */
.about-content {
    padding: 80px 20px;
    background: #ffffff;
}

.about-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-intro h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 30px;
    color: #262b3b;
    font-weight: 700;
}

.about-intro p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 25px;
    color: #262b3b;
}

.about-intro strong {
    color: #249b7b; /* Color acento para textos importantes */
}

/* Model Section */
.model-section {
    max-width: 1000px;
    margin: 0 auto;
}

.model-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    color: #262b3b;
    font-weight: 700;
}

.model-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

.model-pillar {
    text-align: center;
    padding: 0 15px;
}

.model-pillar h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 20px;
    color: #249b7b; /* Color acento */
    font-weight: 600;
}

.model-pillar p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    color: #262b3b;
}

.conclusion {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #249b7b;
}

.conclusion p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.8;
    color: #262b3b;
    font-weight: 500;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.team-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 20px;
    color: #262b3b;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.team-member {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(38, 43, 59, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #249b7b;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 43, 59, 0.15);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #249b7b; /* Color acento */
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 8px;
    color: #262b3b;
    font-weight: 600;
}

.member-role {
    font-size: 1rem;
    color: #249b7b; /* Color acento */
    font-weight: 600;
    margin-bottom: 5px;
}

.member-location {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #262b3b;
}

/* Responsive Adjustments Mejorados */
@media (max-width: 768px) {
    .about-hero {
        min-height: 80vh; /* Ajustado para móviles */
        padding: 30px 15px;
    }
    
    .about-content {
        padding: 50px 15px;
    }
    
    .team-section {
        padding: 50px 15px;
    }
    
    .model-pillar {
        padding: 0 10px;
    }
    
    .conclusion {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .team-member {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 70vh; /* Más compacto en móviles muy pequeños */
        padding: 25px 10px;
    }
    
    .about-hero h1 {
        margin-bottom: 20px;
    }
    
    .about-content {
        padding: 40px 10px;
    }
    
    .team-section {
        padding: 40px 10px;
    }
    
    .team-member {
        padding: 20px 15px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .model-grid {
        gap: 30px;
    }
}

/* Container general mejorado */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

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

/* Asegurar que las imágenes sean responsive */
img {
    max-width: 100%;
    height: auto;
}