:root {
    /* M3 Color Palette from Tailwind config */
    --surface-container-highest: #e2e2e2;
    --inverse-primary: #ffb3b0;
    --on-error: #ffffff;
    --on-tertiary-fixed: #001f29;
    --inverse-on-surface: #f1f1f1;
    --outline-variant: #e3bebb;
    --secondary: #5f5e5e;
    --secondary-container: #e4e2e1;
    --surface-container-low: #f3f3f3;
    --primary: #BE1E2D;
    --primary-container: #930019;
    --surface-bright: #f9f9f9;
    --on-primary: #ffffff;
    --surface-container: #eeeeee;
    --tertiary-fixed-dim: #85d1ef;
    --secondary-fixed: #e4e2e1;
    --surface-tint: #b91a2a;
    --inverse-surface: #2f3131;
    --surface-dim: #dadada;
    --on-secondary-fixed-variant: #474747;
    --surface-container-high: #e8e8e8;
    --background: #f9f9f9;
    --on-primary-fixed-variant: #930019;
    --error-container: #ffdad6;
    --surface: #f9f9f9;
    --on-error-container: #93000a;
    --secondary-fixed-dim: #c8c6c6;
    --on-tertiary-fixed-variant: #004d62;
    --on-background: #1a1c1c;
    --tertiary-fixed: #baeaff;
    --on-tertiary-container: #abe6ff;
    --on-secondary-container: #656464;
    --surface-container-lowest: #ffffff;
    --tertiary: #005066;
    --error: #ba1a1a;
    --on-secondary-fixed: #1b1c1c;
    --outline: #8f6f6e;
    --tertiary-container: #006a85;
    --primary-fixed: #ffdad8;
    --on-surface-variant: #5b403f;
    --surface-variant: #e2e2e2;
    --on-primary-container: #ffd3d1;
    --on-secondary: #ffffff;
    --on-surface: #1a1c1c;
    --on-tertiary: #ffffff;
    --on-primary-fixed: #410006;

    /* Fonts */
    --font-headline: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    line-height: 1.5;
}

/* Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Common Animations */
.animate-bounce-subtle {
    animation: bounce-subtle 2s infinite;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.animate-spin-slow {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Common Layout & Shared Components */
.max-7xl {
    max-width: 80rem;
    margin: 0 auto;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(10, 11, 12, 0.9); /* Oscuro como el inicio */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #ffffff; /* Texto blanco */
    text-decoration: none;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    text-decoration: none;
    font-family: var(--font-headline);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #a8a29e; /* stone-400 */
    transition: color 0.2s;
}

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

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.125rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-container);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: white; /* Icono blanco */
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: #0A0B0C;
    border-top: 1px solid #292524;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

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

.mobile-nav-link {
    text-decoration: none;
    font-family: var(--font-headline);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    color: #a8a29e;
}

.mobile-nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

/* Footer */
.footer {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #f8fafc; /* stone-50 */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 1.875rem;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    color: #78716c; /* stone-500 */
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-heading {
    font-family: var(--font-headline);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-item {
    font-size: 0.875rem;
    color: #78716c;
}

.footer-item:hover {
    color: var(--primary);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.125rem;
    background-color: #e7e5e4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: var(--primary);
    color: white;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e7e5e4;
    text-align: center;
}

.footer-copy {
    color: #78716c;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366; /* WhatsApp Green */
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-fab .material-symbols-outlined {
    color: white;
    font-size: 2rem;
    font-variation-settings: 'FILL' 1;
}
