:root {
    /* Colores */
    --color-primary: #6BBF59; /* Verde natural */
    --color-secondary: #5DAB9F; /* Verde azulado suave */
    --color-background: #F8F8F4; /* Blanco roto cremoso */
    --color-text-dark: #2C3E50; /* Azul oscuro para texto */
    --color-text-light: #4A6572; /* Gris azulado para texto secundario */
    --color-accent: #6BBF59; /* Usamos el primario como acento */
    --color-footer-bg: #2C3E50; /* Fondo del pie de página */

    /* Colores de secciones de fondo */
    --section-bg-1: #FFFFFF;
    --section-bg-2: #F0FFF4;
    --section-bg-3: #F8F8F4;
    --section-bg-4: #E8F5E9;

    /* Tipografía */
    --font-heading: 'Lora', serif; /* Elegante y orgánico para títulos */
    --font-body: 'Open Sans', sans-serif; /* Limpio y legible para cuerpo */
    --font-size-base: 1.125rem; /* 18px */

    /* Espaciado */
    --spacing-unit: 1rem;
    --line-height-base: 1.7;

    /* Bordes y sombras */
    --border-radius-soft: 1.5rem; /* Bordes suavemente redondeados */
    --shadow-subtle: 0 8px 30px rgba(0, 0, 0, 0.08); /* Sombra suave y natural */
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12); /* Sombra al pasar el ratón */

    /* Transiciones */
    --transition-speed: 0.3s;
    --transition-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base styles for a fresh, natural, and elegant feel */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base para rem */
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Evitar scroll horizontal */
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em; /* Ligeramente más apretado para títulos */
}

h1 {
    font-size: 3.8rem; /* Muy grande para impacto */
    letter-spacing: -0.04em;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

h5 {
    font-size: 1.4rem;
}

h6 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

p {
    margin-bottom: 1.5em;
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease),
                text-decoration var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Custom Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: var(--border-radius-soft);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-speed) var(--transition-ease);
    box-shadow: var(--shadow-subtle);
    background-color: var(--color-button); /* Usar el color de botón especificado */
    color: white;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}

/* Card Styles */
.card {
    background-color: var(--section-bg-1); /* Fondo blanco para las tarjetas */
    border-radius: var(--border-radius-soft);
    padding: 2.5rem;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    position: relative;
    overflow: hidden; /* Para manejar cualquier elemento interno */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem; /* Ligeramente menos redondeado que los botones */
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: white;
    transition: border-color var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 191, 89, 0.2); /* Sombra suave para enfoque */
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Section Backgrounds - Organic and varied */
.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
}

/* Footer Styles */
.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0;
    font-size: 0.95rem;
    text-align: center;
}

.footer a {
    color: white;
    opacity: 0.7;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer .social-link {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-speed) var(--transition-ease);
}

.footer .social-link:hover {
    color: var(--color-primary);
}

/* Utility classes for spacing (Tailwind already handles most, but for custom elements) */
.mt-large {
    margin-top: 4rem;
}

.mb-large {
    margin-bottom: 4rem;
}

.py-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Animations and Effects (Neo-Naturalism) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s var(--transition-ease) forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .py-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 1rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    .card {
        padding: 2rem;
    }
    .py-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Custom styles for organic shapes or patterns (if needed, e.g., for background elements) */
.organic-shape-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 50% 50%, var(--color-primary) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.organic-shape-bg.top-left {
    top: -50px;
    left: -50px;
    transform: rotate(45deg);
}

.organic-shape-bg.bottom-right {
    bottom: -50px;
    right: -50px;
    transform: rotate(-30deg);
    background: radial-gradient(circle at 50% 50%, var(--color-secondary) 0%, rgba(255,255,255,0) 70%);
}

/* Further refinement for the "Neo-Naturalismo" concept */
/* Use subtle gradients for sections or hero elements */
.hero-section-gradient {
    background: linear-gradient(135deg, var(--section-bg-2) 0%, var(--section-bg-4) 100%);
    padding: 8rem 0;
}

/* Subtle border for images or elements that need a soft edge */
.img-rounded-soft {
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-subtle);
}

/* List styles for a cleaner look */
ul:not(.list-unstyled) {
    list-style: none;
    padding-left: 0;
}

ul:not(.list-unstyled) li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.8em;
    color: var(--color-text-light);
}

ul:not(.list-unstyled) li::before {
    content: '🌿'; /* Hoja sutil o similar */
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 1em;
    color: var(--color-primary);
}

/* Example for a custom feature/block */
.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    border-radius: var(--border-radius-soft);
    background-color: var(--section-bg-1);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-speed) var(--transition-ease);
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-block .icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-block h3 {
    margin-top: 0;
    font-size: 1.6rem;
}

/* Ensuring Tailwind doesn't override critical base styles if present */
/* This CSS is designed to complement Tailwind, so specific class usage is key. */
/* If Tailwind is used, these custom styles will apply to elements with these classes. */
/* For example, a div with `class="card"` will get the `.card` styles. */
/* Base element styles (h1, p, a, etc.) are generally more specific than Tailwind's base, */
/* but Tailwind's utility classes would still override them if applied directly. */
/* This approach assumes a "component-first" or "override" strategy where this CSS defines unique elements. */


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}