/* Variables globales */
:root {
    /* Paleta profesional basada en el nuevo logo - tonos tierra naturales y verdes sanadores */
    --primary-color: #6B4E3D;          /* Marrón Tierra del logo - confianza y estabilidad */
    --primary-light: #8D6E63;          /* Cacao Suave - más cálido y acogedor */
    --primary-dark: #4E342E;           /* Tierra Profunda - para elementos importantes */
    
    --accent-color: #A8C090;           /* Verde Salvia del logo - crecimiento y sanación */
    --accent-light: #C8D5B9;          /* Verde Claro - suave y relajante */
    --accent-dark: #7A9B57;           /* Verde Profundo - para acentos vibrantes */
    
    /* Verde adicional para elementos especiales */
    --healing-green: #B8CCB8;         /* Verde Sanador - suave y terapéutico */
    --nature-green: #90A878;          /* Verde Naturaleza - equilibrio */
    
    /* Rojo corazón del logo */
    --heart-color: #C17B7B;           /* Rojo Coral suave - calidez emocional */
    --heart-light: #D4A5A5;          /* Rosa Suave - ternura */
    
    --text-dark: #3E2723;             /* Marrón Chocolate - lectura cómoda */
    --text-medium: #5D4037;           /* Tierra Media - texto secundario */
    --text-light: #8D6E63;            /* Cacao Claro - texto terciario */
    
    --bg-light: #F9F7F4;              /* Crema Natural - fondo principal muy suave */
    --bg-white: #FFFFFF;              /* Blanco puro */
    --bg-dark: #4A3429;               /* Tierra Nocturna - fondo oscuro cálido */
    --bg-cream: #F5F2E8;              /* Crema Cálida - alternativa suave */
    
    /* Espaciados responsive */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Fuentes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Sombras - con tonos tierra naturales */
    --shadow-sm: 0 2px 4px rgba(107, 78, 61, 0.08);     
    --shadow-md: 0 4px 8px rgba(107, 78, 61, 0.12); 
    --shadow-lg: 0 8px 16px rgba(107, 78, 61, 0.15);
    --shadow-warm: 0 4px 12px rgba(168, 192, 144, 0.2); /* Sombra verde suave */
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Bordes */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Gradientes temáticos */
    --gradient-earth: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-growth: linear-gradient(135deg, var(--accent-color), var(--nature-green));
    --gradient-healing: linear-gradient(135deg, var(--healing-green), var(--accent-light));
    --gradient-warm: linear-gradient(135deg, var(--heart-light), var(--accent-light));
}

/* Reset y estilos básicos */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    height: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
}

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

a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Tipografía responsive */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Botones responsive */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
    white-space: nowrap;
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    font-weight: 600;
}

.primary-btn:hover {
    background-color: var(--accent-dark);
    color: white;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}

/* Header responsive */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-symbol {
    width: clamp(40px, 8vw, 60px);
    height: auto;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.logo-title {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--text-medium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-dark);
}

.contact-btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(0.8rem, 2vw, 1.2rem);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.contact-btn:hover {
    background-color: var(--accent-dark);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: var(--transition-normal);
}

/* Secciones responsive */
section {
    padding: clamp(2rem, 5vw, var(--space-xl)) 0;
    position: relative;
    flex: 1;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, var(--space-xl));
}

.section-tag {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-weight: 600;
    display: block;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.section-underline {
    display: block;
    width: clamp(60px, 10vw, 80px);
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

/* Footer sticky */
.footer {
    background-color: #A1887F;
    color: white;
    padding: clamp(2rem, 5vw, var(--space-xl)) 0 clamp(1rem, 3vw, var(--space-md));
    margin-top: auto;
}

.whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .whatsapp-float-btn {
            width: 60px;
            height: 60px;
            background-color: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            font-size: 1.8rem;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
            transition: all var(--transition-normal);
            animation: pulse 2s infinite;
        }

        .whatsapp-float-btn:hover {
            background-color: #20B954;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        }


/* RESPONSIVE MOBILE - ÚNICO BREAKPOINT */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
    
    .navbar {
        height: 70px;
        padding: 0.5rem 0;
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .contact-btn {
        padding: 0.6rem 1.5rem;
        margin-top: 1rem;
    }
    
    /* Animación del menú hamburguesa */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Ajustes de contenedor en móvil */
    .container {
        padding: 0 1rem;
    }
    
    /* Espaciados móviles */
    :root {
        --space-xs: 0.25rem;
        --space-sm: 0.5rem;
        --space-md: 1rem;
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
    }
    
    /* Footer móvil */
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

body.no-scroll {
    overflow: hidden;
}