/* CSS Variables & Base Styles */
:root {
    --color-white: #ffffff;
    --color-bg-light: #F5F5F7;
    --color-emerald: #004D40;
    --color-moss: #2E7D32;
    --color-text-dark: #1A1A1A;
    --color-text-light: #F5F5F7;
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.3);
    
    --font-primary: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

.bg-light { background-color: var(--color-bg-light); }
.text-center { text-align: center; }

/* 1. Sticky Mini-Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-glass-border);
    transition: var(--transition-smooth);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-emerald);
}

.btn-agendar {
    background-color: var(--color-emerald);
    color: var(--color-white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

.btn-agendar:hover {
    background-color: var(--color-moss);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

/* 2. Sección HERO Dinámica */
.hero-section {
    position: relative;
    height: 300vh;
    background-color: var(--color-white);
}

.hero-sticky-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 800px;
    color: var(--color-emerald);
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.9);
    will-change: opacity, transform;
}

#hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--color-emerald);
}

#hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.95;
    color: var(--color-moss);
}

.hero-fade-out {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--color-white));
    z-index: 3;
    pointer-events: none;
    will-change: opacity;
}

/* 2.1 Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.hero-scroll-indicator span {
    display: block;
    width: 18px;
    height: 18px;
    border-bottom: 3px solid var(--color-emerald);
    border-right: 3px solid var(--color-emerald);
    transform: rotate(45deg);
    opacity: 0;
    animation: scroll-indicator-anim 2.5s infinite;
}

.hero-scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scroll-indicator-anim {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    40% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(8px, 8px);
    }
}

/* 3. Sección Quiénes somos */
.about-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.about-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-emerald);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-lead {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.about-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-card h4 {
    color: var(--color-emerald);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.about-card p {
    color: #666;
    font-size: 0.95rem;
}

.philosophy-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(245, 245, 247, 0.5);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.green-fund-badge {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 77, 64, 0.08);
}

.green-fund-badge .emoji {
    font-size: 2.5rem;
}

.green-fund-badge h4 {
    color: var(--color-moss);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.green-fund-badge p {
    font-size: 0.9rem;
    color: #666;
}

/* 4. Sección Servicios */
.services-section {
    padding: 8rem 0;
}

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

.highlight-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--color-moss);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(0,77,64,0.03) 0%, transparent 100%);
    transition: var(--transition-smooth);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 77, 64, 0.08);
    border-color: rgba(0, 77, 64, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--color-emerald);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 5. Sección Proceso */
.process-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: var(--color-bg-light);
    z-index: 1;
}

.timeline-line-animated {
    position: absolute;
    top: 0;
    left: 24px;
    width: 2px;
    background: var(--color-emerald);
    z-index: 2;
    height: 0;
    transition: height 1s ease-out;
}

.process-step {
    position: relative;
    z-index: 3;
    display: flex;
    margin-bottom: 4rem;
    opacity: 0.3;
    transform: translateX(-20px);
    transition: all 0.8s ease;
}

.process-step.active {
    opacity: 1;
    transform: translateX(0);
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--color-white);
    border: 2px solid var(--color-emerald);
    color: var(--color-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 2.5rem;
    transition: var(--transition-smooth);
}

.process-step.active .step-number {
    background: var(--color-emerald);
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 77, 64, 0.2);
}

.step-content h3 {
    color: var(--color-emerald);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.step-content p {
    color: #666;
    font-size: 1.05rem;
}

/* 6. Sección "Bosque Húmedo" */
.impact-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-fixed-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.impact-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 77, 64, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.impact-message {
    color: var(--color-white);
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

/* 7. Sección de Conversión */
.conversion-section {
    padding: 8rem 0;
    background-color: var(--color-bg-light);
}

.conversion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.glassmorphism h3 {
    font-size: 1.8rem;
    color: var(--color-emerald);
    margin-bottom: 0.5rem;
}

.glassmorphism p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Formularios */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}
.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.8);
    font-family: var(--font-primary);
    transition: var(--transition-smooth);
}
.form-group input:focus {
    outline: none;
    border-color: var(--color-emerald);
    box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.1);
}
.btn-primary {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-emerald);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-primary:hover { background-color: var(--color-moss); }

/* Mockup Calendario */
.calendar-mockup {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}
.cal-nav { background: none; border: none; cursor: pointer; font-size: 1.2rem; color: #666; }
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.day-name { font-size: 0.8rem; color: #999; font-weight: 500; margin-bottom: 0.5rem; }
.cal-day {
    background: none; border: none; padding: 0.5rem; border-radius: 50%;
    cursor: pointer; transition: var(--transition-smooth); aspect-ratio: 1;
}
.cal-day:hover:not(.disabled):not(.selected) { background-color: rgba(46, 125, 50, 0.1); }
.cal-day.disabled { color: #ccc; cursor: default; }
.cal-day.selected { background-color: var(--color-emerald); color: var(--color-white); font-weight: bold; }
.time-slots h4 { font-size: 0.9rem; margin-bottom: 1rem; color: var(--color-text-dark); }
.slots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.time-slot {
    padding: 0.6rem; border: 1px solid rgba(0,0,0,0.1); background: transparent;
    border-radius: 6px; cursor: pointer; transition: var(--transition-smooth);
}
.time-slot:hover { border-color: var(--color-emerald); color: var(--color-emerald); }
.btn-secondary {
    width: 100%; padding: 0.8rem; background-color: transparent; color: var(--color-emerald);
    border: 2px solid var(--color-emerald); border-radius: 8px; font-weight: 600;
    cursor: pointer; transition: var(--transition-smooth);
}
.btn-secondary:hover { background-color: var(--color-emerald); color: var(--color-white); }

/* 8. Footer Premium Redesign */
.footer-premium {
    position: relative;
    background-color: #0A1A12;
    color: var(--color-white);
    padding: 6rem 0 2rem;
    overflow: hidden;
}

.footer-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw;
    height: 150vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(10,26,18,0) 70%);
    pointer-events: none;
    z-index: 1;
    animation: moonlightPulse 15s ease-in-out infinite alternate;
}

@keyframes moonlightPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.relative-z { position: relative; z-index: 2; }

.serif-header {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 4rem;
    color: var(--color-white);
    max-width: 900px;
}

.serif-header-small {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    letter-spacing: 0.5px;
}

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

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; color: rgba(255,255,255,0.7); font-size: 0.95rem; font-family: var(--font-primary); }
.footer-col a {
    color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition-smooth);
    position: relative; display: inline-block;
}
.footer-col a::after {
    content: ''; position: absolute; width: 0; height: 1px; bottom: -2px; left: 0;
    background-color: var(--color-white); transition: width 0.3s ease;
}
.footer-col a:hover { color: var(--color-white); }
.footer-col a:hover::after { width: 100%; }

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
    animation: floatLogo 6s ease-in-out infinite;
    transform-origin: center center;
}
.footer-logo:hover {
    transform: scale(1.08) translateY(-5px);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}
@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.footer-slogan { color: rgba(255,255,255,0.6); font-size: 0.95rem; max-width: 250px; }
.seal-col { display: flex; justify-content: flex-end; align-items: flex-start; }
.sustainability-seal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.sustainability-seal span { font-family: var(--font-primary); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.6); }

.footer-bottom-layer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.5); font-size: 0.85rem;
}
.legal-links a { color: rgba(255,255,255,0.5); text-decoration: none; margin-left: 2rem; transition: var(--transition-smooth); }
.legal-links a:hover { color: var(--color-white); }

/* Responsivo */
@media (max-width: 1024px) {
    .serif-header { font-size: 3rem; }
    .about-grid-4, .services-grid { grid-template-columns: repeat(2, 1fr); }
    .philosophy-block { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .conversion-grid { grid-template-columns: 1fr; }
    .footer-middle-layer { grid-template-columns: 1fr 1fr; }
    .seal-col { justify-content: flex-start; }
    #hero-title { font-size: 3rem; }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-emerald);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid-4, .services-grid { grid-template-columns: 1fr; }
    .footer-middle-layer { grid-template-columns: 1fr; gap: 2rem; }
    .serif-header { font-size: 2.2rem; margin-bottom: 2rem; }
    .footer-bottom-layer { flex-direction: column; gap: 1rem; text-align: center; }
    .legal-links a { margin: 0 1rem; }
    #hero-title { font-size: 2.2rem; padding: 0 1rem; }
    #hero-subtitle { font-size: 1rem; padding: 0 1.5rem; }
    .impact-message { font-size: 1.5rem; padding: 0 1rem; }
    
    .hero-scroll-indicator {
        left: 40px;
        transform: none;
        bottom: 60px;
        align-items: flex-start;
    }

    .process-timeline { padding: 2rem 1rem; }
    .step-number { margin-right: 1.5rem; }
    
    .calendar-block { padding: 1.5rem !important; }
}

/* Disable custom cursor on touch devices */
@media (pointer: coarse) {
    #cursor-dot, #cursor-circle {
        display: none !important;
    }
    body, a, button, input, .cal-day, .time-slot, .service-card, .about-card {
        cursor: auto !important;
    }
}

/* 9. Custom Cursor & Animations */
body, a, button, input, .cal-day, .time-slot, .service-card, .about-card {
    cursor: none !important;
}

#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    transition: opacity 0.2s ease;
    will-change: transform;
}

#cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-emerald);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999998;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    will-change: transform;
}

#cursor-circle.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 77, 64, 0.08);
}

#cursor-dot.white-mode {
    background-color: var(--color-white);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

#cursor-circle.white-mode {
    border-color: var(--color-white);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
}

#cursor-dot.hovered {
    opacity: 0;
}

/* Entrance Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 10. Cookie Consent Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 350px;
    z-index: 10000;
    padding: 2rem;
    border-radius: 20px;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
    opacity: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cookie-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-popup h4 {
    color: var(--color-emerald);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-popup p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cookie-options {
    margin-bottom: 1.5rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-option strong { 
    display: block; 
    font-size: 0.95rem; 
    color: var(--color-text-dark); 
}
.cookie-option span { 
    font-size: 0.75rem; 
    color: #777; 
}

/* Toggle Switch Minimalista */
.switch { 
    position: relative; 
    display: inline-block; 
    width: 40px; 
    height: 22px; 
}
.switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}
.slider { 
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    background-color: #ccc; 
    transition: .4s; 
}
.slider:before { 
    position: absolute; 
    content: ""; 
    height: 18px; 
    width: 18px; 
    left: 2px; 
    bottom: 2px; 
    background-color: white; 
    transition: .4s; 
}
input:checked + .slider { 
    background-color: var(--color-emerald); 
}
input:disabled + .slider { 
    opacity: 0.6; 
    cursor: not-allowed; 
}
input:checked + .slider:before { 
    transform: translateX(18px); 
}
.slider.round { 
    border-radius: 22px; 
}
.slider.round:before { 
    border-radius: 50%; 
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-privacy {
    font-size: 0.85rem;
    color: var(--color-emerald);
    text-decoration: underline;
    font-weight: 500;
}

#btn-accept-cookies {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 8px;
    background-color: var(--color-emerald);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

#btn-accept-cookies:hover {
    background-color: var(--color-moss);
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.3);
}

@media (max-width: 768px) {
    .cookie-popup {
        width: calc(100% - 4rem);
        bottom: 1rem;
        left: 2rem;
    }
}
