/* /conocenos: página sola, al estilo del linktree en producción.
   No carga Caffino ni el menú del sitio. */

:root {
    --tinta: #181715;
    --papel: #E3E2E0;
    --crema: #F7F8E3;
    --hueso: #F0F0D8;
    --rojo: #BF3522;
    --dorado: #CFAC20;
    --medio: #3A332E;
    --script: "indie", "Yellowtail", cursive;
    --sans: "Alegreya Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.45;
    color: var(--hueso);
    background: var(--tinta);
}

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

a { color: inherit; }

.buc-lt-skip {
    position: absolute;
    left: -999px;
}

.buc-lt-skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 5;
    background: var(--crema);
    color: var(--tinta);
    padding: 0.5rem 0.8rem;
}

:focus-visible {
    outline: 3px solid var(--dorado);
    outline-offset: 3px;
}

.buc-lt {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 30% 0%, #2a2724 0, transparent 60%),
        var(--tinta);
    color: var(--hueso);
    padding: 0.75rem 0.9rem 1.5rem;
}

.buc-lt-wrap {
    width: min(560px, 100%);
    margin: 0 auto;
}

.buc-lt-cab {
    position: relative;
    width: 100%;
    border: 1px solid var(--dorado);
    border-radius: 14px;
    overflow: hidden;
    height: 112px;
    max-height: 112px;
    background: #000;
}

.buc-lt-cab img.buc-lt-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter: brightness(0.78);
}

.buc-lt-logo {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.6rem 1rem 0.7rem;
    background: linear-gradient(transparent, rgba(24, 23, 21, 0.92));
}

.buc-lt-logo h1 { margin: 0; }

.buc-lt-logo img {
    width: min(240px, 68%);
    height: auto;
    filter: none;
}

.buc-lt-sub {
    margin: 0.7rem 0 0.15rem;
    color: var(--dorado);
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.45;
}

.buc-lt-intro {
    text-align: center;
    max-width: 28ch;
    margin: 0.15rem auto 0.75rem;
    color: var(--hueso);
    font-size: 0.98rem;
}

.buc-lt-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.buc-lt-grupo {
    margin: 1.15rem 0 0.5rem;
    color: var(--dorado);
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.buc-lt-btn {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 58px;
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--dorado);
    border-radius: 10px;
    text-decoration: none;
    color: var(--hueso);
    background: rgba(247, 248, 227, 0.05);
    font-weight: 700;
    font-size: 1.02rem;
}

.buc-lt-btn:hover { background: rgba(207, 172, 32, 0.16); }

.buc-lt-btn svg {
    width: 24px;
    height: 24px;
    flex: none;
    fill: currentColor;
}

.buc-lt-btn svg path[stroke] {
    fill: none;
}

.buc-lt-btn small {
    display: block;
    margin-top: 0.1rem;
    font-weight: 400;
    font-size: 0.92rem;
    color: var(--hueso);
}

.buc-lt-btn.resena {
    background: var(--crema);
    color: var(--tinta);
    border-color: var(--crema);
}

.buc-lt-btn.resena small { color: var(--medio); }

.buc-lt-btn.eventos {
    background: var(--rojo);
    border-color: var(--rojo);
    color: #fff;
}

.buc-lt-btn.eventos small { color: var(--hueso); }

.buc-lt-fila {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.buc-lt-fila > li { min-width: 0; }

.buc-lt-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 64px;
    padding: 0.45rem 0.3rem;
    border: 1px solid var(--dorado);
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--hueso);
    background: rgba(247, 248, 227, 0.05);
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.15;
}

.buc-lt-mini svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.buc-lt-mini:hover { background: rgba(207, 172, 32, 0.16); }

/* Logos oficiales sobre placa clara. El relleno es el espacio libre; el marco queda fuera. */
.buc-lt-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 16px;
    border: 1px solid var(--dorado);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
}

.buc-lt-marca img {
    width: 100%;
    height: 32px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.buc-lt-marca:hover { background: #F6F4F4; }

.buc-lt-iconos {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}

.buc-lt-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--dorado);
    border-radius: 50%;
    color: var(--hueso);
    background: rgba(247, 248, 227, 0.05);
}

.buc-lt-ico svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.buc-lt-ico:hover { background: rgba(207, 172, 32, 0.16); }

.buc-lt-pie {
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--dorado);
    text-align: center;
    font-size: 0.95rem;
}

.buc-lt-pie p {
    max-width: 26rem;
    margin: 0.2rem auto;
}

.buc-lt-pie a { text-decoration: underline; text-underline-offset: 2px; }

.buc-lt-sitio {
    display: inline-block;
    margin-top: 0.7rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--hueso);
}

dialog.buc-pop {
    border: 0;
    padding: 0;
    max-width: 440px;
    width: calc(100% - 2rem);
    background: var(--papel);
    color: var(--tinta);
    border-radius: 14px;
}

dialog.buc-pop::backdrop { background: rgba(24, 23, 21, 0.62); }

.buc-pop-in {
    display: grid;
    grid-template-columns: 1fr 108px;
    gap: 0.4rem;
    padding: 1.3rem 1.15rem 1.1rem;
    border: 1px solid var(--dorado);
    border-radius: 14px;
    margin: 6px;
}

.buc-pop h2 {
    font-family: var(--script);
    font-weight: 400;
    color: var(--rojo);
    font-size: 2rem;
    letter-spacing: 0.04em;
    line-height: 1.22;
    margin: 0 0 0.3rem;
    padding-left: 0.12em;
}

.buc-pop p {
    margin: 0.2rem 0 0.8rem;
    color: var(--medio);
    font-size: 0.98rem;
}

.buc-pop img {
    align-self: end;
    width: 108px;
    height: auto;
}

.buc-pop-cerrar {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--tinta);
    cursor: pointer;
    border-radius: 50%;
}

.buc-pop-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    background: #225C6A;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
}

.buc-pop-cta:hover { background: #1a4854; }

.buc-pop-luego {
    display: block;
    margin-top: 0.45rem;
    background: none;
    border: 0;
    font: inherit;
    color: var(--medio);
    text-decoration: underline;
    cursor: pointer;
    padding: 0.35rem 0;
}

@media (min-width: 720px) {
    .buc-lt { padding: 2rem 1rem 2.5rem; }
    .buc-lt-cab {
        aspect-ratio: 16 / 9;
        height: auto;
        max-height: none;
    }
    .buc-lt-logo { padding: 2rem 1.4rem 1rem; }
    .buc-lt-logo img { width: min(320px, 75%); }
    .buc-lt-sub { letter-spacing: 0.12em; font-size: 0.78rem; margin-top: 1.1rem; }
    .buc-lt-intro { font-size: 1.05rem; margin-bottom: 1.2rem; max-width: 36ch; }
    .buc-lt-links { gap: 0.75rem; }
    .buc-lt-btn { min-height: 64px; font-size: 1.05rem; }
}

@media (max-width: 719px) {
    dialog.buc-pop {
        position: fixed;
        inset: auto 0 0 0;
        margin: 0;
        width: 100%;
        max-width: none;
        max-height: 62dvh;
        border-radius: 18px 18px 0 0;
    }

    dialog.buc-pop[open] { animation: buc-hoja 0.35s ease; }

    .buc-pop-in {
        grid-template-columns: 1fr 84px;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .buc-pop img { width: 84px; }
    .buc-pop h2 { font-size: 1.75rem; }
}

@keyframes buc-hoja {
    from { transform: translateY(110%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    dialog.buc-pop[open] { animation: none; }
    .buc-lt-btn, .buc-lt-mini, .buc-lt-ico { transition: none; }
}
