/* ===== RESET Y CONFIGURACIÓN BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* PALETA PROFESIONAL REFINADA */
    --navy-dark: #0D1B2A;
    --navy-medium: #1B263B;
    --blue-professional: #415A77;
    --blue-light: #778DA9;
    --gold-accent: #C5A047;
    --gold-light: #E0C97A;
    --gray-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow-subtle: 0 4px 20px rgba(13, 27, 42, 0.08);
    --shadow-hover: 0 8px 30px rgba(13, 27, 42, 0.12);
    --radius: 8px;
    --transition: all 0.3s ease;
    
    /* TIPOGRAFÍA PROFESIONAL */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Merriweather', serif;
}

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

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

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

.highlight {
    color: var(--gold-accent);
    font-weight: 600;
}

/* ===== BOTÓN WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-float:hover {
    width: 180px;
    background: linear-gradient(135deg, #128C7E, #25D366);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    display: none;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-text {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* ===== HEADER PROFESIONAL ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(13, 27, 42, 0.05);
}

/* Barra superior con contactos */
.top-bar {
    background: var(--navy-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    opacity: 0.9;
}

.contact-info a:hover {
    opacity: 1;
    color: var(--gold-light);
}

.contact-info i {
    font-size: 0.9rem;
}

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

.social-links a {
    color: var(--white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold-accent);
    transform: translateY(-2px);
}

/* Navegación principal */
.main-nav {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--navy-dark);
    font-weight: 600;
    line-height: 1;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--blue-professional);
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-accent);
}

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

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

/* Botón de agendar (SIEMPRE ENCABEZADO) */
.btn-agendar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-light));
    color: var(--navy-dark);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
}

.btn-agendar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

/* Menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.7);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-text {
    max-width: 650px;
    color: var(--white);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== BOTONES GENERALES ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-light));
    color: var(--navy-dark);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary.large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary.large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

/* ===== SECCIONES GENERALES ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--blue-professional);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICIOS ===== */
.services-section {
    background: var(--gray-light);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    position: relative;
    text-align: center;
}

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

.service-card.featured {
    border: 2px solid var(--gold-accent);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-accent);
    color: var(--navy-dark);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(197, 160, 71, 0.1), rgba(224, 201, 122, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--gold-accent);
}

.service-title {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.service-duration {
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.service-description {
    color: var(--blue-professional);
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--navy-medium);
}

.service-features i {
    color: var(--gold-accent);
    font-size: 0.9rem;
}

.btn-service {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--blue-professional);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-service:hover {
    background: var(--gold-accent);
    color: var(--navy-dark);
}

/* ===== METODOLOGÍA ===== */
.methodology-section {
    background: var(--white);
}

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

.step {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-subtle);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--gold-accent);
    color: var(--navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    font-size: 1.3rem;
    color: var(--navy-dark);
    margin-bottom: 15px;
}

.step-content p {
    color: var(--blue-professional);
    line-height: 1.6;
}

/* ===== TESTIMONIOS ===== */
.testimonials-section {
    background: var(--gray-light);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--navy-dark);
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--blue-professional);
    font-size: 0.9rem;
}

.testimonial-content {
    color: var(--navy-medium);
    font-style: italic;
    line-height: 1.7;
    padding-left: 15px;
    border-left: 3px solid var(--gold-accent);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--blue-light);
    font-size: 0.9rem;
}

.footer-description {
    color: var(--blue-light);
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--blue-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--gold-light);
}

.contact-item i {
    width: 20px;
    color: var(--gold-accent);
}

.schedule {
    margin-bottom: 30px;
}

.schedule p {
    margin-bottom: 10px;
    color: var(--blue-light);
}

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

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social .social-icons a:hover {
    background: var(--gold-accent);
    color: var(--navy-dark);
    transform: translateY(-2px);
}

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

.powered-by a {
    color: var(--gold-accent);
    text-decoration: none;
}

.powered-by a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Header responsive */
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(13, 27, 42, 0.1);
        transition: var(--transition);
        z-index: 998;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .btn-agendar {
        display: none;
    }
    
    /* Hero responsive */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    /* Sections responsive */
    section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* WhatsApp float ajuste */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .whatsapp-float:hover {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}