@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Oswald:wght@400;700&display=swap');

:root {
    /* Colores */
    --color-primary: #0D47A1; /* Azul profundo */
    --color-secondary: #FFD700; /* Dorado brillante */
    --color-background: #F0F2F5; /* Gris claro */
    --color-footer-bg: #1A202C; /* Casi negro */
    --color-button: #008C76; /* Esmeralda oscuro */
    --color-text-dark: #1A202C;
    --color-text-light: #FFFFFF;
    --color-section-bg-1: #FFFFFF;
    --color-section-bg-2: #F8F8F8;
    --color-section-bg-3: #EFF3F6;
    --color-section-bg-4: #E4E8ED;

    /* Tipografía */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-size-base: 1rem; /* 16px */

    /* Espaciado y radios */
    --spacing-unit: 0.5rem; /* 8px */
    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 1rem; /* 16px */
    --border-radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base global styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Brutalism accents */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    letter-spacing: -0.03em; /* Brutalismo en tipografía */
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem; /* ~56px */
    font-weight: 700;
}

h2 {
    font-size: 2.5rem; /* ~40px */
    font-weight: 700;
}

h3 {
    font-size: 1.875rem; /* ~30px */
    font-weight: 700;
}

h4 {
    font-size: 1.5rem; /* ~24px */
    font-weight: 400;
}

h5 {
    font-size: 1.25rem; /* ~20px */
    font-weight: 400;
}

h6 {
    font-size: 1rem; /* ~16px */
    font-weight: 400;
}

p {
    margin-bottom: 1em;
    font-weight: 400;
}

a {
    color: var(--color-button);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

a:hover {
    color: var(--color-secondary);
    transform: translateY(-1px);
}

/* Layout and Spacing */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

section {
    padding: 4rem 0; /* Amplio espacio */
    margin-bottom: 2rem;
}

/* Section Backgrounds - Premium Minimalism */
.section-bg-1 {
    background-color: var(--color-section-bg-1);
}

.section-bg-2 {
    background-color: var(--color-section-bg-2);
}

.section-bg-3 {
    background-color: var(--color-section-bg-3);
}

.section-bg-4 {
    background-color: var(--color-section-bg-4);
}

/* Buttons - Acentos dorados/cobrizos y brutalismo */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 2em;
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: var(--border-radius-full); /* Muy redondeado */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg); /* drop-shadow-lg */
    position: relative;
    overflow: hidden;
    color: var(--color-text-light); /* Texto blanco para contraste */
    background-image: linear-gradient(to right, #008C76, #005F4F); /* bg-gradient-to-r from-emerald-600 to-emerald-800 */
}

.btn:hover {
    transform: scale(1.05); /* transform scale-105 */
    box-shadow: var(--shadow-xl);
    background-image: linear-gradient(to right, #00AC94, #007C64); /* Ligeramente más brillante en hover */
}

.btn:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: #FFEB3B; /* Dorado más claro */
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Cards - Líneas limpias */
.card {
    background-color: var(--color-section-bg-1);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.8em 1em;
    margin-bottom: 1em;
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    background-color: var(--color-section-bg-2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.2);
}

/* Utility classes for spacing (Tailwind-like, but custom) */
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.text-center { text-align: center; }

/* Especial para el pie de página */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 4rem;
}

footer a {
    color: var(--color-secondary);
}

footer a:hover {
    color: #FFEB3B;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.7em 1.5em;
        font-size: 0.9rem;
    }

    section {
        padding: 2rem 0;
    }
}


/* 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;
    }
}