/* La Pantera — Roma Norte CDMX
   Landing fullscreen mobile-first.
   Tipografía: Archivo Narrow Bold (toda la UI, embebida local). */

@font-face {
    font-family: 'ArchivoNarrowBold';
    src: url('assets/ArchivoNarrow-Bold.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
    font-display: block;
}

:root {
    --bg: #1a1a1a;
    --bg-placeholder: #2a2a2a;
    --ink: #f5f5f5;
    --ink-soft: #cfcfcf;
    --shadow: 0 2px 24px rgba(0, 0, 0, 0.45);

    --pad-x: clamp(1rem, 4vw, 3rem);
    --pad-y: clamp(1.25rem, 3.5vh, 2.25rem);

    --gap-menu: clamp(0.75rem, 2.5vw, 2rem);
}

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

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--ink);
    font-family: 'ArchivoNarrowBold', 'Arial Narrow', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================
   STAGE — Fullscreen layout
   ============================ */

.stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: var(--pad-y) var(--pad-x);
    background-color: var(--bg-placeholder);
    background-image: url('assets/bg-mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .stage {
        background-image: url('assets/bg-desktop.jpg');
    }
}

/* ============================
   TOP — Header (menú)
   ============================ */

.top {
    display: flex;
    justify-content: center;
    text-shadow: var(--shadow);
}

.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 3rem);
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    letter-spacing: 0.06em;
}

.links a {
    color: var(--ink);
    transition: opacity 0.2s ease;
    padding: 0.25rem 0;
    white-space: nowrap;
}

.links a:hover {
    opacity: 0.75;
}

/* ============================
   WORDMARK — Centro
   ============================ */

.wordmark {
    align-self: center;
    justify-self: center;
    text-align: center;
    color: var(--ink);
    line-height: 0;
    filter: drop-shadow(var(--shadow));
}

.wordmark__svg {
    display: block;
    width: clamp(240px, 78vw, 880px);
    height: auto;
    color: var(--ink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================
   BOTTOM — Footer (contacto)
   ============================ */

.bottom {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: var(--gap-menu);
    font-weight: 700;
    font-size: clamp(1.2rem, 1.75vw, 1.7rem);
    letter-spacing: 0.06em;
    text-shadow: var(--shadow);
}

.contact {
    color: var(--ink);
    transition: opacity 0.2s ease;
    padding: 0.25rem 0;
}

.contact:hover {
    opacity: 0.75;
}

.contact-right {
    text-align: right;
}

.address {
    text-align: center;
    font-style: normal;
    color: var(--ink);
}

/* En mobile chico el footer se apila en filas */
@media (max-width: 479px) {
    .bottom {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "address address"
            "tel mail";
        row-gap: 0.75rem;
        text-align: center;
    }

    .bottom .contact:first-of-type { grid-area: tel; text-align: left; }
    .bottom .contact:last-of-type  { grid-area: mail; text-align: right; }
    .bottom .address               { grid-area: address; }
}

/* ============================
   Accesibilidad / focus
   ============================ */

a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
    border-radius: 2px;
}
