:root {
    --teal-primary: #008F86;
    --teal-hover: #007066;
    --carbon-gray: #2D2F31;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --whatsapp: #25D366;
}

/* Eliminar todos los bordes redondeados */
*, *::before, *::after {
    border-radius: 0 !important;
}

/* Tipografía */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--carbon-gray);
    padding-top: 76px; /* Espacio para navbar fijo */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--teal-primary) !important;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--carbon-gray) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--teal-primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--teal-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Botones */
.btn-primary {
    background-color: var(--teal-primary);
    border-color: var(--teal-primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--teal-hover);
    border-color: var(--teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 150, 136, 0.3);
}

.btn-outline-primary {
    color: var(--teal-primary);
    border-color: var(--teal-primary);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--teal-primary);
    border-color: var(--teal-primary);
    color: var(--white);
}

/* Hero Sections */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section-small {
    padding: 80px 0;
}

/* Animaciones */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

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

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    transition: transform 0.3s ease;
}

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

/* Membership Cards */
.membership-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.membership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

.membership-card .card-img-top {
    transition: transform 0.3s ease;
}

.membership-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Badges */
.bg-primary-light {
    background-color: #4DB6AC !important;
}

.bg-primary-dark {
    background-color: var(--teal-hover) !important;
}

.bg-primary-special {
    background-color: #80CBC4 !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: var(--white);
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: var(--white);
    text-decoration: none;
}

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

/* Footer */
.footer {
    background-color: var(--carbon-gray) !important;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--teal-primary) !important;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--teal-primary) !important;
    transform: translateY(-3px);
}

/* Formularios */
.form-control:focus {
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 150, 136, 0.25);
}

.form-check-input:checked {
    background-color: var(--teal-primary);
    border-color: var(--teal-primary);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
}

/* Contact Info */
.contact-icon {
    width: 50px;
    text-align: center;
}

/* Service Items */
.service-item {
    padding: 1rem;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: var(--light-gray);
    transform: translateX(5px);
}

.service-icon-wrapper {
    flex-shrink: 0;
}

/* Tabla Comparativa */
.table-hover tbody tr:hover {
    background-color: rgba(0, 150, 136, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Lazy Loading Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        background-attachment: scroll;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--teal-primary) !important;
}

.bg-primary {
    background-color: var(--teal-primary) !important;
}

/* Fade in on scroll */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.link-primary{
    color: var(--teal-primary) !important;
    text-decoration: none;
}
.link-primary:hover{
    color: var(--teal-hover) !important;
    text-decoration: none;
}