/* Paleta de Colores Bruguer - Axial Salud Integrativa */
:root {
    --verde-salvia: #93a996;
    --azul-aqua: #94c9e4;
    --azul-bruma: #a1c0dc;
    --azul-naval: #004f8c;
    --blanco-nube: #f5f5f0;
    --texto-oscuro: #2c3e50;
    --texto-gris: #5a6c7d;
}

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

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--texto-oscuro);
    overflow-x: hidden;
    background-color: white;
}

html {
    scroll-behavior: smooth;
}

/* Navbar Moderna */
.navbar-custom {
    background: linear-gradient(90deg, var(--verde-salvia) 0%, var(--azul-aqua) 100%);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(147, 169, 150, 0.15);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 10px 0;
    box-shadow: 0 6px 25px rgba(0, 79, 140, 0.25);
}

.navbar-brand img {
    height: 55px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.navbar-custom .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--azul-aqua);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
    width: 80%;
}

.btn-cta-nav {
    background: white;
    color: var(--azul-naval);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-cta-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
    background: var(--verde-salvia);
    color: white;
}

/* Hero Section Moderna */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--verde-salvia) 0%, var(--verde-salvia) 60%, var(--azul-aqua) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.hero-modern h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    line-height: 1.1;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-modern .lead {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    animation: fadeInUp 1.2s ease;
}

.hero-modern p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    animation: fadeInUp 1.4s ease;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.btn-hero-primary {
    background: var(--azul-naval);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 79, 140, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(147, 169, 150, 0.6);
    background: var(--verde-salvia);
}

.btn-hero-secondary {
    background: white;
    color: var(--azul-naval);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
}

.hero-image-container {
    position: relative;
    animation: fadeInRight 1.2s ease;
}

.hero-image-main {
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 1s;
}

.floating-card i {
    font-size: 2rem;
    color: var(--azul-aqua);
    margin-bottom: 10px;
}

.floating-card h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--azul-naval);
    margin: 0;
}

/* Sección de Servicios con Cards Coloridas */
.services-section {
    padding: 100px 0;
    background: var(--blanco-nube);
}

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

.section-badge {
    display: inline-block;
    background: var(--verde-salvia);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--verde-salvia);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--texto-gris);
    max-width: 600px;
    margin: 0 auto;
}

.service-card-modern {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: all 0.4s ease;
}

.service-card-modern.card-verde::before {
    background: var(--verde-salvia);
}

.service-card-modern.card-aqua::before {
    background: var(--azul-aqua);
}

.service-card-modern.card-bruma::before {
    background: var(--azul-bruma);
}

.service-card-modern.card-naval::before {
    background: var(--azul-naval);
}

.service-card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card-modern:hover::before {
    height: 100%;
    opacity: 0.05;
}

.service-icon-modern {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card-modern.card-verde .service-icon-modern {
    background: linear-gradient(135deg, var(--verde-salvia), var(--azul-aqua));
    color: white;
}

.service-card-modern.card-aqua .service-icon-modern {
    background: linear-gradient(135deg, var(--azul-aqua), var(--azul-bruma));
    color: white;
}

.service-card-modern.card-bruma .service-icon-modern {
    background: linear-gradient(135deg, var(--azul-bruma), var(--azul-naval));
    color: white;
}

.service-card-modern.card-naval .service-icon-modern {
    background: linear-gradient(135deg, var(--azul-naval), var(--verde-salvia));
    color: white;
}

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

.service-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-naval);
    margin-bottom: 15px;
}

.service-card-modern p {
    color: var(--texto-gris);
    line-height: 1.7;
    margin-bottom: 0;
}

/* CTA Section con Diseño Dividido */
.cta-split {
    display: flex;
    min-height: 500px;
}

.cta-left {
    flex: 1;
    background: linear-gradient(135deg, var(--verde-salvia) 0%, var(--azul-aqua) 100%);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.cta-right {
    flex: 1;
    background: linear-gradient(135deg, var(--azul-bruma) 0%, var(--azul-naval) 100%);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.cta-split h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-split p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-cta-white {
    background: white;
    color: var(--azul-naval);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* Testimonios con Diseño de Cards Flotantes */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.testimonial-card-modern {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 5px solid var(--azul-aqua);
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--texto-gris);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul-aqua), var(--azul-bruma));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--azul-naval);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--texto-gris);
}

/* Footer Moderno */
.footer-modern {
    background: linear-gradient(135deg, var(--verde-salvia) 0%, var(--azul-aqua) 100%);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-modern h5 {
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-modern a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

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

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

.social-link:hover {
    background: white;
    color: var(--azul-naval) !important;
    transform: translateY(-5px);
}

/* WhatsApp Flotante Mejorado */
.whatsapp-float-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float-modern:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Animaciones */
@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);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-modern h1 {
        font-size: 2.5rem;
    }
    
    .hero-modern .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-split {
        flex-direction: column;
    }
    
    .cta-left, .cta-right {
        padding: 60px 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }
    
    .floating-card {
        display: none;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--verde-salvia);
    z-index: 9999;
    transition: width 0.1s ease;
}

