/* Variables y estilos base */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #CFA7A3; /*-- Rosa acento */
    --primary-light: #E7D4D3; /*-- Nude base */
    --primary-dark: #BEC6AD; /*-- Verde premium */
    --accent: #CADADA; /*-- Celeste */
    --text-dark: #CCCACB; /*-- Gris texto */
    --text-light: #CCCACB; /*-- Gris texto */
    --bg-light: #F5F3F2; /*-- Blanco */
    --white: #F5F3F2; /*-- Blanco */
    --shadow: 0 10px 40px rgba(207, 167, 163, 0.18);
    --shadow-hover: 0 20px 60px rgba(190, 198, 173, 0.24);
    --margin: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(245, 243, 242, 0.35) 0%, transparent 70%);
    pointer-events: none;
}


.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    max-width: 1100px;
}

.hero-content {
    z-index: 1;
    flex: 1;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-photo img {
    width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(45, 138, 110, 0.18);
    border: 6px solid var(--white);
    background: var(--white);
    display: block;
}

@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-photo img {
        width: 220px;
        height: 260px;
    }
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}
.nombre {
    color: white;
    font-weight: 600;
}
.tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: rgba(245, 243, 242, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}
.btn-AgendaCita {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-AgendaCita:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(202, 218, 218, 0.45);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(202, 218, 218, 0.45);
}

.btn-full {
    width: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Titles */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}


@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.icon {
    font-size: 5rem;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.benefits .section-title {
    color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item p {
    color: rgba(245, 243, 242, 0.85);
    line-height: 1.6;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
}

.benefit-item h4 {
    color: var(--white);
    margin: 1rem 0;
    font-size: 1.2rem;
}

.benefit-item p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}
.contact-item:hover h4 {
    text-decoration: underline;
}
.contact-icon {
    font-size: 2rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 15px;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-link {
    text-decoration: none;
    color: inherit;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #d9d9d9;
    border-radius: 12px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(207, 167, 163, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 4rem 0 2rem;
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(245, 243, 242, 0.2);
}

.footer-brand h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(245, 243, 242, 0.75);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: rgba(245, 243, 242, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .program-row,
    .program-row.reverse {
        grid-template-columns: 1fr;
    }

    .program-row.reverse .program-image,
    .program-row.reverse .program-content {
        order: initial;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .program-row {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .program-content h3 {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    .btn-AgendaCita {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    .service-card {
        padding: 2rem 1.5rem;
    }

    .program-image img {
        min-height: 240px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}




/* Imagen de la nutrióloga */
.hero-photo img,
.about-photo {
    box-shadow: 0 8px 32px rgba(207, 167, 163, 0.22);
}

/* Galería de resultados */
.gallery {
    padding: 6rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 3/4;
    background: var(--bg-light);
}

/* Programas */
.programs {
    padding: 6rem 0;
    background: var(--white);
}

.programs-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.program-row {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--bg-light);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.program-row.reverse {
    grid-template-columns: 1fr minmax(260px, 380px);
}

.program-row.reverse .program-image {
    order: 2;
}

.program-row.reverse .program-content {
    order: 1;
}

.program-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 8px 32px rgba(207, 167, 163, 0.22);
}

.program-content h3 {
    color: var(--primary);
    font-size: 1.9rem;
    margin: 0 0 1rem;
}

.program-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 1rem;
}

.program-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(202, 218, 218, 0.45);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.program-result {
    color: var(--primary) !important;
    font-size: 1.05rem;
    font-weight: 600;
}

.program-includes {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    color: var(--text-light);
}

.program-includes li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

/* Testimonios */
.testimonials {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 18px;
    padding: 2.5rem 2rem 2rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-light);
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.form-success-message {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #eaf8ee;
    border: 1px solid #8bc79a;
    color: #2f6b3b;
    font-weight: 600;
}