:root {
    --primary: #ea580c; /* Orange matching logo */
    --primary-light: #ffedd5;
    --primary-dark: #c2410c;
    --text-main: #291c14; /* Dark warm brown/black instead of cool gray */
    --text-muted: #5c4d43; /* Medium warm brown instead of gray */
    --bg-body: #fffaf5; /* Soft beige instead of cool gray */
    --bg-surface: #ffffff;
    --border-color: #fcebdc; /* Warm light orange/beige border instead of gray */
    --shadow-sm: 0 1px 2px 0 rgb(234 88 12 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(41 28 20 / 0.08), 0 2px 4px -2px rgb(41 28 20 / 0.08);
    --shadow-lg: 0 10px 15px -3px rgb(41 28 20 / 0.08), 0 4px 6px -4px rgb(41 28 20 / 0.08);
    --shadow-card: 0 20px 25px -5px rgb(41 28 20 / 0.05), 0 8px 10px -6px rgb(41 28 20 / 0.02);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-main);
}
.logo-img {
    max-height: 70px;
    width: auto;
    mix-blend-mode: multiply; /* Removes any pure white background */
    clip-path: circle(49% at 50% 50%); /* Crops out the fake checkerboard corners perfectly */
}
.logo-text {
    font-weight: 700;
}
.logo-accent {
    color: var(--primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(12, 166, 184, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 166, 184, 0.4);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
}

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

.btn-text {
    color: var(--text-muted);
    font-weight: 600;
    padding: 0;
}
.btn-text:hover {
    color: var(--primary);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    background: var(--bg-surface);
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Abstract Background Blob */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.google-rating-badge {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.google-rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rating-text strong {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-right: 4px;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255,255,255,0.5);
}

.badge-icon {
    font-size: 1.5rem;
}
.badge-text {
    font-weight: 700;
    color: var(--primary-dark);
}

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

/* Sections Structure */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--primary-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: none;
    border-left: 6px solid var(--primary);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--primary-dark);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--bg-surface);
    border-radius: 16px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Results Section */
.results {
    background-color: var(--bg-surface);
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--text-main);
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.carousel-item.active img {
    transform: scale(1.05); /* Slow zoom effect on active slide */
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.carousel-control:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

.image-overlay-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 20;
}

.results-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.results-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.results-list {
    list-style: none;
    margin-bottom: 2rem;
}

.results-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 1.5rem 1rem;
    color: var(--text-muted);
}

.faq-answer ul {
    padding-left: 3rem;
    list-style: none;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    position: relative;
}

.faq-answer li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 800px; /* Aumentado para permitir respuestas largas con listas */
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

.medical-disclaimer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background-color: var(--primary-light);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.medical-disclaimer p {
    margin: 0;
    line-height: 1.5;
}

.medical-disclaimer strong {
    color: var(--text-main);
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--bg-body), var(--primary-light));
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.6);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-success {
    display: none;
    margin-top: 1.5rem;
    color: #10b981;
    font-weight: 600;
    background: #ecfdf5;
    padding: 1rem;
    border-radius: var(--radius-md);
}

/* Instagram Section */
.instagram-section {
    background-color: var(--bg-surface);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ig-post {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    display: block;
    box-shadow: var(--shadow-sm);
}

.ig-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ig-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.ig-post:hover img {
    transform: scale(1.05);
}

.ig-post:hover .ig-overlay {
    opacity: 1;
}

.ig-icon {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-actions {
    text-align: center;
    margin-top: 2rem;
}


/* Location Section */
.location {
    background: linear-gradient(to bottom, var(--bg-body), var(--primary-light));
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.location-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.location-info > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.location-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.address-icon {
    font-size: 2rem;
    background: var(--primary-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
}

.address-details strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.address-details p {
    color: var(--text-muted);
    margin: 0.2rem 0;
    line-height: 1.4;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 16/10;
    border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper {
        aspect-ratio: 4/3;
    }
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo .logo {
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-body);
    color: var(--text-main);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.footer-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.privacy-link {
    margin-top: 0.5rem;
}

.privacy-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.privacy-link a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Expectations Section */
.expectations-section {
    background: var(--bg-surface);
}

.expectations-container {
    max-width: 800px;
    margin: 0 auto;
}

.expectations-body p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.expectations-body strong {
    color: var(--text-main);
    font-size: 1.25rem;
}

.quote-box {
    background: var(--primary-light);
    border-left: 5px solid var(--primary);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.quote-box p {
    font-style: italic;
    color: var(--text-main);
    font-weight: 500;
    margin: 0;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .results-container, .location-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-badge {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-image {
        margin: 0 auto;
        max-width: 500px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-wrapper {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .nav-links a:not(.btn) {
        display: none; /* Hide text links, keep CTA button */
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .instagram-grid {
        grid-template-columns: 1fr; /* Stack instagram posts vertically */
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .contact-card {
        padding: 2rem 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .logo-text {
        display: none; /* Only show logo image on very small screens to save space */
    }
    
    .ig-post-embed {
        height: 420px !important; /* Prevent instagram embeds from being too tall on small screens */
    }
    
    .ig-post-embed iframe {
        height: 460px !important;
    }
    
    .address-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .google-rating-badge {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
}
