/* ==========================================================================
   KATTE AGENCY — base.css
   Variables de diseño, tipografía, reset accesible y utilidades base.
   ========================================================================== */

/* Fuentes autoalojadas: colocar los .woff2 en /assets/fonts/ (ver README). */
@font-face {
    font-family: 'Cormorant Garamond';
    src: local('Cormorant Garamond SemiBold'), local('CormorantGaramond-SemiBold'),
         url('/assets/fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans'), local('DMSans-Regular'),
         url('/assets/fonts/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: local('DM Sans SemiBold'), local('DMSans-SemiBold'),
         url('/assets/fonts/DMSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --fondo: #0A0A0B;
    --panel: #141215;
    --panel-elevado: #1D1A1F;
    --borde: #2A252C;
    --acento: #D9A497;
    --acento-claro: #F3D3CA;
    --texto: #F7F1EE;
    --texto-2: #A89A97;
    --exito: #4CB782;
    --advertencia: #E5A93C;
    --error: #E55353;
    --fuente-titulo: 'Cormorant Garamond', Georgia, serif;
    --fuente-ui: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radio: 10px;
    --radio-grande: 14px;
    --sombra: 0 10px 30px rgba(0, 0, 0, 0.45);
}

*, *::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: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

a {
    color: var(--acento-claro);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--acento);
}

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

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

.contenedor {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

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

.contenido-principal {
    flex: 1;
}

.seccion-espaciada {
    padding: 3.5rem 0;
}

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

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

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.25rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.form-en-linea { display: inline-block; }
