/* ==========================================================================
   Tokens tomados del Figma "Mi marca" (página Borrador)
   ========================================================================== */
:root {
    --c-ink: #1c1c1a;
    --c-cream: #fefaf5;
    --c-sand: #f1ece3;
    --c-bone: #ebe6dd;
    --c-graphite: #222222;
    --c-blue: #2b4eaf;
    --c-electric: #0e70f7;
    --c-yellow: #f0c32e;
    --c-amber: #f0b429;
    --c-pink: #fca9d3;
    --c-red: #d94f3d;
    --c-orange: #f84b23;

    --f-logo: "Unbounded", "Work Sans", system-ui, sans-serif;
    --f-display: "Work Sans", system-ui, sans-serif;
    --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
    --f-body: "Plus Jakarta Sans", system-ui, sans-serif;
    --f-ui: "Inter", system-ui, sans-serif;
    --f-mono: "DM Mono", ui-monospace, monospace;
    --f-code: "JetBrains Mono", ui-monospace, monospace;

    --radius-card: 24px;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);

    /* Contenedor de 1280px (1232px útiles) centrado, como en el frame de 1534px */
    --container: 1280px;
    --gutter: 24px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--c-graphite);
    color: var(--c-ink);
    font-family: var(--f-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4, p, ul, ol {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--c-yellow);
    outline-offset: 3px;
}

section[id],
main [id] {
    scroll-margin-top: 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ==========================================================================
   Botones compartidos (Hero, Contacto)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    font-family: var(--f-ui);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn img {
    flex: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    padding: 18px 32px;
    background: var(--c-blue);
    color: var(--c-cream);
}

.btn--primary:hover {
    background: #3359c4;
}

.btn--outline {
    padding: 16px 30px;
    border: 2px solid #fff;
    color: #fff;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, .08);
}

.btn--amber {
    gap: 10px;
    padding: 20px 36px;
    background: var(--c-amber);
    color: var(--c-ink);
    font-weight: 700;
    letter-spacing: .35px;
}

.btn--amber:hover {
    box-shadow: 0 8px 24px rgba(28, 28, 26, .2);
}

/* ==========================================================================
   Página 404
   ========================================================================== */
.not-found {
    min-height: 100vh;
    display: grid;
    place-content: center;
    justify-items: start;
    gap: 20px;
    padding: 48px 24px;
    max-width: 560px;
    margin-inline: auto;
    color: var(--c-cream);
}

.not-found__logo {
    font-family: var(--f-logo);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -.6px;
}

.not-found__logo span {
    color: var(--c-red);
}

.not-found h1 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -1.5px;
}

.not-found p {
    font-family: var(--f-ui);
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: rgba(254, 250, 245, .8);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
