/* =========================================================================
   Regenera SPA - Bio-Minimalist Theme
   ========================================================================= */

/* --- CSS Variables (Design Tokens) --- */
:root {
    /* Color Palette */
    --sage-light: #e8eee8;   /* Soft background */
    --sage-main: #8ba989;    /* Primary brand color */
    --sage-dark: #5c755a;    /* Text over sage / Hover states */
    --cream-bg: #fbfaf6;     /* Main background, warm and natural */
    --cream-dark: #f0eee2;   /* Secondary sections */
    
    /* Typography Colors */
    --text-main: #333d31;    /* Very dark green-gray for good contrast */
    --text-muted: #6b7768;   /* Subtitles and secondary text */
    --white: #ffffff;
    
    /* Typography Families */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --border-color: rgba(139, 169, 137, 0.2);
    --shadow-sm: 0 4px 12px rgba(92, 117, 90, 0.05);
    --shadow-md: 0 10px 30px rgba(92, 117, 90, 0.08);
    --shadow-float: 0 12px 30px rgba(139, 169, 137, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Resets y Globales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, .logo, .quote {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* --- Contenedores y Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-cream {
    background-color: var(--cream-dark);
}

.text-center {
    text-align: center;
}

/* --- Botones --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px; /* Pill shape for organic feel */
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--sage-main);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.btn-outline:hover {
    background-color: var(--sage-main);
    color: var(--white);
}

.btn-text {
    background-color: transparent;
    color: var(--sage-main);
    padding: 0;
}

.btn-text:hover {
    color: var(--sage-dark);
    gap: 0.8rem; /* Creates a small slide effect on arrow */
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Header & Nav --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(251, 250, 246, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-leaf {
    color: var(--sage-main);
    display: flex;
}

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

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-link:hover, .nav-link.active {
    color: var(--sage-main);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem; /* Offset for header */
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--sage-light);
    color: var(--sage-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

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

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

/* Hero Image Aesthetics */
.hero-visual {
    position: relative;
    height: 600px;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border-top-right-radius: 120px;
    border-bottom-left-radius: 120px;
    box-shadow: var(--shadow-md);
}

/* --- Typography & Titles --- */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-photo {
    width: 100%;
    /* aspect-ratio: 3/4; Removido para respetar el recorte original de Laura */
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 8px solid var(--white);
    box-shadow: var(--shadow-md);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -80px;
    right: 20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 10;
}

.stars {
    color: #f5b041;
    display: flex;
    gap: 0.2rem;
}

.quote {
    margin-top: 2rem;
    padding: 2rem;
    background-color: var(--white);
    border-left: 4px solid var(--sage-main);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 1.2rem;
    font-style: italic;
    box-shadow: var(--shadow-sm);
}

.quote cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: var(--sage-dark);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-main);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--sage-light);
    color: var(--sage-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--sage-main);
    color: var(--white);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
}

/* --- Testimonials Carousel --- */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    list-style: none;
}

.carousel-slide {
    min-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-card {
    background-color: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--sage-main);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-main);
    flex-grow: 1;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--sage-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--sage-dark);
}

.author-info strong {
    display: block;
    color: var(--text-main);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.carousel-btn {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--sage-dark);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    color: var(--sage-main);
    transform: scale(1.1);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.current-slide {
    background-color: var(--sage-dark);
    transform: scale(1.3);
}

/* --- CTA Section --- */
.cta-box {
    background-color: var(--sage-main);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-box .btn-primary {
    background-color: var(--white);
    color: var(--sage-dark);
}

.cta-box .btn-primary:hover {
    background-color: var(--cream-dark);
}

.cta-box .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cta-box .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

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

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links strong {
    display: block;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--sage-main);
}

.footer-legal {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Floating WhatsApp --- */
.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--sage-main) 0%, var(--sage-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-float);
    z-index: 999;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

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

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

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-container, .about-container {
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); /* Hidden by default */
        transition: clip-path 0.3s ease-out;
    }

    .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .nav-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-container, .about-container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
        height: 400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    .carousel-btn {
        display: none;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
}
