/* ==========================================================================
   Design System & Variables
   ========================================================================== */
   :root {
    /* Colors */
    --primary-color: #0d3b2e; /* Deep Emerald Green */
    --primary-light: #165b47;
    --secondary-color: #c4a162; /* Soft Gold */
    --secondary-dark: #a68449;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #fcfbf9; /* Cream/Off-white */
    --bg-light: #ffffff;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Box Shadow */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(13, 59, 46, 0.08);
    --shadow-lg: 0 15px 35px rgba(13, 59, 46, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.section-padding { padding: 5rem 0; }

.section-subtitle {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}
.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-full { width: 100%; }
.btn-large { padding: 1rem 3rem; font-size: 1.1rem; }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}
.floating-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 999;
    transition: var(--transition);
    background: transparent;
}
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}
header.scrolled .nav-links a { color: var(--primary-color); }
header.scrolled .logo-text { color: var(--primary-color); }

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

.logo { display: flex; flex-direction: column; }
.logo-text { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: #fff; }
.logo-accent { color: var(--secondary-color); }
.logo-subtext { font-size: 0.8rem; letter-spacing: 2px; color: var(--secondary-color); text-transform: uppercase; margin-top: -5px;}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: #fff; font-weight: 500; }
.nav-links a:hover { color: var(--secondary-color); }
.nav-links .btn-outline { color: #fff; border-color: #fff; }
.nav-links .btn-outline:hover { background: #fff; color: var(--primary-color); }

header.scrolled .nav-links .btn-outline { color: var(--primary-color); border-color: var(--primary-color); }
header.scrolled .nav-links .btn-outline:hover { background: var(--primary-color); color: #fff; }

.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
header.scrolled .mobile-menu-btn { color: var(--primary-color); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(13, 59, 46, 0.7), rgba(13, 59, 46, 0.4));
}
.hero-content { color: #fff; max-width: 800px; padding-top: 5rem; }
.hero-title { font-size: 4rem; color: #fff; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.5rem; margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; justify-content: center; gap: 1.5rem; }

/* Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Home Service Banner
   ========================================================================== */
.home-service-banner {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}
.home-service-banner a {
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 10px;
    background: #fff;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.home-service-banner a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}
.home-service-banner i {
    margin-right: 5px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image { border-radius: 15px; box-shadow: var(--shadow-lg); }
.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 50%;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.experience-badge .number { font-size: 2rem; font-weight: 700; font-family: var(--font-heading); line-height: 1; }
.experience-badge .text { font-size: 0.8rem; line-height: 1.2; margin-top: 5px; }
.about-features { margin-top: 2rem; }
.about-features li { margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.about-features i { color: var(--secondary-color); font-size: 1.2rem; }
.about-content p { margin-bottom: 1rem; color: var(--text-light); }

/* ==========================================================================
   Services Section (Pricing Cards)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.service-image { position: relative; height: 200px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-tier {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.service-content { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.service-content p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }

.service-list { margin-bottom: 2rem; flex-grow: 1; }
.service-list li { margin-bottom: 0.8rem; display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.95rem; }
.service-list i { color: var(--secondary-color); margin-top: 4px; }

/* Popular Card Highlighting */
.popular-card {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    z-index: 1;
}
.popular-card:hover { transform: scale(1.05) translateY(-10px); }
.popular-badge { background: var(--secondary-color); color: #fff; }

.premium-badge { background: var(--primary-color); color: #fff; }
.btn-premium-outline { border-color: var(--primary-color); color: var(--primary-color); }
.btn-premium-outline:hover { background: var(--primary-color); color: #fff; }

/* ==========================================================================
   Therapies Section
   ========================================================================== */
.therapies-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.therapy-image { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.therapy-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.therapy-item:hover { transform: translateX(10px); box-shadow: var(--shadow-md); border-left: 4px solid var(--secondary-color); }
.therapy-icon {
    width: 60px; height: 60px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; color: var(--primary-color);
    flex-shrink: 0;
}
.therapy-info h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.therapy-info p { color: var(--text-light); font-size: 0.95rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.stars { color: var(--secondary-color); margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.95rem; }
.author-info h4 { font-family: var(--font-body); font-size: 1rem; color: var(--primary-color); }
.author-info span { font-size: 0.8rem; color: var(--secondary-color); }

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: var(--primary-color);
    color: #fff;
    padding: 5rem 0;
    background-image: 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="%23c4a162" fill-opacity="0.1"%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');
}
.cta-content h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.2rem; margin-bottom: 2rem; font-weight: 300; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #08211b; color: #fff; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: #a0aab2; margin: 1rem 0; font-size: 0.9rem; max-width: 300px; }
.social-links { display: flex; gap: 1rem; }
.social-links a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; border-radius: 50%; color: #fff; }
.social-links a:hover { background: var(--secondary-color); transform: translateY(-3px); }

.footer h3 { color: #fff; font-family: var(--font-body); font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer ul li { margin-bottom: 0.8rem; }
.footer ul li a { color: #a0aab2; font-size: 0.95rem; }
.footer ul li a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-contact li { display: flex; align-items: center; gap: 1rem; color: #a0aab2; font-size: 0.95rem; }
.footer-contact i { color: var(--secondary-color); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; font-size: 0.9rem; color: #a0aab2; }

/* ==========================================================================
   Promotions Section
   ========================================================================== */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.promo-card {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    background: #fff;
    cursor: pointer;
}
.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.promo-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.promo-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.promo-card:hover .promo-image-wrapper img {
    transform: scale(1.02);
}
.promo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 59, 46, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}
.promo-card:hover .promo-overlay {
    opacity: 1;
}
.promo-overlay span {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 59, 46, 0.4);
    backdrop-filter: blur(4px);
}

/* Cover Button for Price */
.price-cover-btn {
    position: absolute;
    right: 5%;
    bottom: 13%; /* Posición estimada sobre el círculo del precio */
    width: 25%;
    aspect-ratio: 1/1;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 5;
    transition: var(--transition);
    border: 3px solid #fff;
    line-height: 1.2;
}
.price-cover-btn:hover {
    transform: scale(1.05);
    background: var(--primary-color);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr; gap: 3rem; }
    .popular-card { transform: scale(1); }
    .popular-card:hover { transform: translateY(-10px); }
    .therapies-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%; width: 250px; height: 100vh;
        background: var(--primary-color);
        flex-direction: column; justify-content: center;
        transition: var(--transition);
    }
    .nav-links.active { right: 0; }
    .mobile-menu-btn { display: block; z-index: 1000; }
    header.scrolled .mobile-menu-btn.active { color: #fff; }
    
    .about-container { grid-template-columns: 1fr; }
    .experience-badge { bottom: -20px; right: 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
}
