/* =========================================
   CLÍNICA VITAL - ESTILO WELLNESS
   ========================================= */

:root {
    --primary: #00b894;
    /* Turquesa Salud */
    --secondary: #00cec9;
    /* Turquesa Claro */
    --dark: #2d3436;
    --light: #f0fdfa;
    /* Fondo menta muy suave */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 184, 148, 0.15);
}

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

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
}

h1,
h2,
h3 {
    font-weight: 800;
    color: var(--dark);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--dark);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.tb-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials a {
    color: white;
    margin-left: 15px;
    font-weight: bold;
}

/* --- NAVBAR --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

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

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
}

/* --- HERO --- */
.hero {
    padding: 80px 0;
    background-color: var(--light);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-soft {
    background: rgba(0, 184, 148, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #636e72;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.btn-link {
    color: var(--dark);
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
}

.img-blob img {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: var(--shadow);
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 30% 30% 70% 70% / 50% 30% 70% 50%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* --- SERVICIOS --- */
.section-services {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #636e72;
}

/* --- CASOS (ANTES Y DESPUÉS) --- */
.section-cases {
    padding: 80px 0;
    background-color: var(--dark);
    color: white;
}

.section-cases h2 {
    color: white;
}

.section-cases p {
    color: #b2bec3;
}

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

.case-card {
    background: #3d4648;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-img {
    position: relative;
    height: 250px;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag-result {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
}

.case-info {
    padding: 20px;
}

.case-info h4 {
    color: white;
    margin-bottom: 5px;
}

.case-info p {
    color: #b2bec3;
    font-size: 0.9rem;
}

/* --- TESTIMONIOS --- */
.section-testimonials {
    padding: 100px 0;
    background: var(--light);
}

.testimonial-box {
    background: white;
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 30px;
    left: 30px;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--dark);
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.client-info div {
    text-align: left;
}

.client-info strong {
    display: block;
    font-size: 1rem;
}

.client-info small {
    color: var(--primary);
    font-weight: bold;
}

/* --- CONTACTO --- */
.section-contact {
    padding: 100px 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.c-text {
    background: var(--primary);
    color: white;
    padding: 50px;
}

.c-text h2 {
    color: white;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 1.1rem;
}

.c-form {
    background: white;
    padding: 50px;
}

.input-field {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: 'Manrope';
}

.btn-submit {
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: black;
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    color: #999;
}

/* --- WHATSAPP --- */
.float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero-img {
        order: -1;
    }

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