:root {
    /* Colores base */
    --primary-color: #50B3A2; /* Verde azulado principal */
    --secondary-color: #F4F7F2; /* Blanco roto casi gris */
    --background-color: #E0F2F1; /* Verde menta claro */
    --footer-bg-color: #2C7873; /* Verde oscuro para pie de página */
    --button-color: #D1E2C4; /* Verde pálido para botones */
    --text-color: #333333;
    --heading-color: #2C7873; /* Oscuro similar al footer para títulos */
    --accent-color: #A8D0DB; /* Azul cielo suave para acentos */

    /* Colores de sección */
    --section-bg-1: #E0F2F1;
    --section-bg-2: #F4F7F2;
    --section-bg-3: #D1E2C4;
    --section-bg-4: #A8D0DB;
    --section-bg-5: #C2E0C4;

    /* Tipografía */
    --font-family-base: 'Montserrat', sans-serif;
    --font-family-heading: 'Poppins', sans-serif;
    --font-size-base: 1.125rem; /* 18px */
    --line-height-base: 1.7;

    /* Espaciado y bordes */
    --spacing-unit: 1.5rem; /* 24px */
    --border-radius-base: 1rem; /* 16px */
    --border-radius-card: 1.5rem; /* 24px */

    /* Sombras */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-glass-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--heading-color);
    line-height: 1.2;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 2.8rem; /* 45px */
}

h3 {
    font-size: 2.2rem; /* 35px */
}

h4 {
    font-size: 1.8rem; /* 29px */
}

p {
    margin-bottom: 1.5em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* General Layout & Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

section {
    padding: calc(var(--spacing-unit) * 4) 0;
    position: relative;
    overflow: hidden;
}

/* Backgrounds for sections */
.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);
}

.section-bg-5 {
    background-color: var(--section-bg-5);
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-light);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--heading-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--button-color);
    color: var(--heading-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Cards - Glassmorphism */
.card {
    background: rgba(255, 255, 255, 0.3); /* Fondo semitransparente */
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    box-shadow: var(--shadow-glass-hover);
    transform: translateY(-5px);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: var(--spacing-unit);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-base);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.2);
    background-color: #ffffff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Utility classes (can be used with Tailwind for specific cases) */
.text-center {
    text-align: center;
}

.mt-large {
    margin-top: calc(var(--spacing-unit) * 2);
}

.mb-large {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

/* Footer specific styles */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--secondary-color);
    padding: calc(var(--spacing-unit) * 2) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--button-color);
}

.footer a:hover {
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: calc(var(--spacing-unit) * 2) 0;
    }

    .container {
        padding: 0 calc(var(--spacing-unit) / 2);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    body {
        font-size: 1rem;
    }
}


/* 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;
    }
}