/* ==========================================================================
   KATTE AGENCY — base.css
   Variables maestras de diseño: Negro puro y Oro Rosa Metálico oficial del logo.
   Tipografía de lujo, reset moderno accesible y utilidades fluidas.
   ========================================================================== */

/* Tipografía moderna de alta legibilidad — Sin dependencias rotas de fuentes locales */
:root {
    /* Fondos (negro absoluto y carbón de alta gama) */
    --fondo: #070506;
    --fondo-suave: #070607;
    --panel: #0E0B0D;
    --panel-elevado: #161214;
    --panel-cristal: rgba(16, 12, 14, 0.78);
    --borde: rgba(228, 168, 157, 0.14);
    --borde-oro: rgba(228, 168, 157, 0.35);
    --borde-oro-fuerte: #E4A89D;

    /* Oro rosa metálico oficial (extraído del logotipo) */
    --oro-rosa-reflejo: #FFF0EC;
    --oro-rosa-claro: #F7D4CC;
    --oro-rosa: #E4A89D;
    --oro-rosa-medio: #C8897E;
    --oro-rosa-oscuro: #9C5F56;
    --degradado-oro: linear-gradient(135deg, #F7D4CC 0%, #E4A89D 42%, #B8786E 100%);
    --degradado-oro-hover: linear-gradient(135deg, #FFF0EC 0%, #EDB8AF 42%, #C8897E 100%);
    --degradado-oro-suave: linear-gradient(135deg, rgba(247,212,204,0.15) 0%, rgba(228,168,157,0.08) 100%);

    /* Alias de retrocompatibilidad */
    --acento: var(--oro-rosa);
    --acento-claro: var(--oro-rosa-claro);

    /* Texto */
    --texto: #FBF6F4;
    --texto-2: #C4B3B0;
    --texto-apagado: #A39491;

    /* Estados */
    --exito: #4CB782;
    --exito-bg: rgba(76, 183, 130, 0.16);
    --advertencia: #E5A93C;
    --error: #E55353;
    --whatsapp: #25D366;
    --whatsapp-hover: #2ee672;

    /* Bordes curvos orgánicos — Cero aspecto cuadrado */
    --radio-pequeno: 10px;
    --radio: 16px;
    --radio-grande: 24px;
    --radio-pildora: 999px;

    /* Sombras y resplandores de lujo */
    --sombra-suave: 0 8px 24px rgba(0, 0, 0, 0.5);
    --sombra: 0 16px 40px rgba(0, 0, 0, 0.75);
    --sombra-flotante: 0 20px 50px rgba(0, 0, 0, 0.85);
    --brillo-oro: 0 0 24px rgba(228, 168, 157, 0.22);
    --brillo-oro-intenso: 0 0 35px rgba(228, 168, 157, 0.4);

    --fuente-titulo: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fuente-ui: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--fondo);
    color: var(--texto);
    font-family: var(--fuente-ui);
    line-height: 1.6;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, .fuente-titulo {
    font-family: var(--fuente-titulo);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.015em;
    color: var(--texto);
}

a {
    color: var(--oro-rosa-claro);
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
    color: var(--oro-rosa);
}

:focus-visible {
    outline: 2px solid var(--oro-rosa);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contenedor {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 1.5rem);
}

.contenedor-angosto {
    max-width: 540px;
}

.contenedor-medio {
    max-width: 860px;
    margin-inline: auto;
}

.contenido-principal {
    flex: 1;
}

.seccion-espaciada {
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.texto-secundario {
    color: var(--texto-2);
}

.texto-pequeno {
    font-size: 0.875rem;
}

.texto-centro {
    text-align: center;
}

/* Tipografía de marca con degradado de oro rosa */
.texto-oro-degradado {
    background: var(--degradado-oro);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Divisor sutil con corazón ♥ (eco del logo oficial) */
.separador-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: var(--oro-rosa);
    margin: 2rem 0;
    font-size: 0.95rem;
    user-select: none;
}

.separador-marca::before,
.separador-marca::after {
    content: "";
    flex: 1;
    max-width: 160px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(228, 168, 157, 0.5), transparent);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.form-en-linea { display: inline-block; }
.texto-derecha { text-align: right; }
.texto-oro { color: var(--oro-rosa); }
.font-semibold { font-weight: 600; }
.w-100 { width: 100%; }

.con-puerta-edad,
.con-puerta-edad body {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
