/* Almar coming-soon page (index.php). Same family look as temp.xopi and temp.casalambar: one brand-color
   page with soft glows on a fixed layer and floating rounded cards. Colors from the logo and the printed
   menus; menu vocabulary (eyebrows, arched figure, seal, menu categories) from Simple Series' restaurant theme. */

:root {
    --blue: #162a74;
    --cream: #e6dfd2;
    --paper: #f8f7f3;
    --paper-deep: #efece4;
    --ink: #1d2233;
    --ink-soft: #4a4f60;
    --coral: #d04535;
    /* Coral for text on paper: the brand coral reaches only 4.3:1 there. */
    --coral-ink: #b83a2c;
    --line: rgba(22, 42, 116, 0.16);
    --line-cream: rgba(230, 223, 210, 0.32);
    --card: rgba(255, 255, 255, 0.06);
    --shadow: 0 2rem 4rem -1.5rem rgba(4, 10, 36, 0.6);
    --glow-top-left: rgba(208, 69, 53, 0.22);
    --glow-bottom-right: rgba(230, 223, 210, 0.08);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --wrap: 72rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    color-scheme: light;
}

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

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--cream);
    background: var(--blue);
    -webkit-font-smoothing: antialiased;
}

/* Soft glows behind the whole page, fixed to the screen like on the sister sites. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 8%, var(--glow-top-left), transparent 38%),
        radial-gradient(circle at 88% 92%, var(--glow-bottom-right), transparent 42%);
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
}

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

.carte :focus-visible {
    outline-color: var(--blue);
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Small caps label with a rule on each side ("Próximamente", "Nuestra carta"). */
.eyebrow,
.soon {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after,
.soon::before,
.soon::after {
    content: "";
    width: 1.6rem;
    height: 1px;
    background: var(--coral);
}

/* Placeholder for a photo that hasn't been uploaded yet (imagenes/<slot>.jpg). */
.ph {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: var(--paper-deep) repeating-linear-gradient(-45deg, transparent 0 15px, rgba(22, 42, 116, 0.06) 15px 16px);
    border: 1px solid var(--line);
}

/* On the blue page (hero, gallery) the placeholder is a translucent tint instead of paper. */
.hero .ph,
.gallery .ph {
    background: var(--card) repeating-linear-gradient(-45deg, transparent 0 15px, rgba(230, 223, 210, 0.06) 15px 16px);
    border-color: var(--line-cream);
}

.hero .ph span,
.gallery .ph span {
    border-color: var(--line-cream);
    background: var(--blue);
    color: var(--cream);
}

.ph span {
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink-soft);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 5.5rem var(--gutter) 3.5rem;
}

.hero-inner {
    display: grid;
    gap: 3rem;
    justify-items: center;
    width: 100%;
    max-width: var(--wrap);
}

.hero-copy {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
    text-align: center;
}

.hero-logo img {
    width: min(48vw, 13rem);
}

.tagline {
    max-width: 30ch;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    line-height: 1.45;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    background: var(--cream);
    color: var(--blue);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.button:hover {
    transform: translateY(-2px);
    background: #fff;
}

.button svg {
    width: 0.95em;
    height: 0.95em;
    fill: currentColor;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.link-arrow span {
    transition: transform 0.35s var(--ease);
}

.link-arrow:hover span {
    transform: translateX(6px);
}

/* The entrance photo in an arch, with a round seal over its corner. */
.hero-figure {
    position: relative;
    width: min(100%, 19rem);
}

.hero-figure img,
.hero-figure .ph {
    aspect-ratio: 0.82;
    object-fit: cover;
    border-radius: 300px 300px 14px 14px;
}

.seal {
    position: absolute;
    bottom: -1.4rem;
    left: -1.4rem;
    display: grid;
    place-items: center;
    width: 6.5rem;
    height: 6.5rem;
    border: 2px solid var(--coral);
    border-radius: 50%;
    background: var(--cream);
    color: var(--blue);
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.15;
    text-align: center;
}

.lang-switch {
    position: absolute;
    top: 1rem;
    right: var(--gutter);
    display: flex;
    gap: 0.35rem;
}

.lang-switch a {
    display: inline-grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    border: 1px solid var(--line-cream);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.lang-switch [aria-current="true"] {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--blue);
}

@media (min-width: 56rem) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: center;
    }

    .hero-copy {
        justify-items: start;
        text-align: left;
    }

    .hero-logo img {
        width: 15rem;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-figure {
        justify-self: center;
        width: min(100%, 24rem);
    }
}

/* ---------- Section heads ---------- */

.sec-head {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.sec-head h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.4rem, 6.4vw, 4.5rem);
    line-height: 1;
}

/* ---------- Menus ---------- */

.menu {
    padding: clamp(4rem, 9vw, 7rem) 0;
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.menu-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--line-cream);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.menu-tabs a:hover,
.menu-tabs a[aria-selected="true"] {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--blue);
}

/* Each menu is a sheet of paper on the blue table, like the printed menus. */
.carte {
    display: grid;
    gap: 2rem;
    padding: clamp(1.25rem, 4vw, 3rem);
    border-radius: clamp(1.25rem, 3vw, 1.75rem);
    background: var(--paper);
    box-shadow: var(--shadow);
    color: var(--ink);
    scroll-margin-top: 1.5rem;
}

.carte[hidden] {
    display: none;
}

.carte + .carte {
    margin-top: 2.5rem;
}

.has-tabs .carte + .carte {
    margin-top: 0;
}

.carte-cover img,
.carte-cover .ph {
    width: 100%;
    max-height: 22rem;
    object-fit: cover;
    border-radius: 14px;
}

.carte-cover .ph {
    aspect-ratio: 4 / 3;
}

.carte-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.1;
    color: var(--blue);
}

.carte-soon {
    margin-top: 1rem;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--ink-soft);
}

@media (min-width: 60rem) {
    .carte {
        grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
        align-items: start;
        gap: 3.5rem;
    }

    .carte-cover {
        position: sticky;
        top: 1.5rem;
    }

    .carte-cover img,
    .carte-cover .ph {
        max-height: none;
    }

    .carte-cover .ph {
        aspect-ratio: 0.65;
    }
}

.mcat {
    margin-top: 2.5rem;
}

.carte-title + .mcat {
    margin-top: 1.5rem;
}

.mcat-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.mcat-head h4 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue);
}

.mcat-head .rule {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.mcat-head .ct {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
}

.mcat-note,
.mcat-cols {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--ink-soft);
}

.mcat-cols {
    text-align: right;
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem 1.25rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.dish h5 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--coral-ink);
}

.dish .price {
    font-family: var(--serif);
    font-weight: 600;
    white-space: nowrap;
}

.dish .desc,
.dish .extra {
    grid-column: 1 / -1;
    max-width: 62ch;
    color: var(--ink-soft);
}

.dish .extra {
    font-size: 0.9rem;
    font-style: italic;
}

/* ---------- La casa ---------- */

.house {
    padding: 0 0 clamp(4rem, 9vw, 7rem);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1.5rem;
}

.gallery img,
.gallery .ph {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 14px;
}

.gallery figcaption {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ---------- Info card: hours, location, contact ---------- */

.info {
    padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6rem);
}

.info-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 2.5rem 3rem;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem);
    border: 1px solid var(--line-cream);
    border-radius: clamp(1.25rem, 3vw, 1.75rem);
    /* The card tint over a solid page color, so the fixed glows never sit behind its text. */
    background: linear-gradient(var(--card), var(--card)), var(--blue);
    box-shadow: var(--shadow);
}

.block h2 {
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.hours-row + .hours-row {
    margin-top: 1rem;
}

.days {
    font-size: 1.05rem;
}

.time {
    margin-top: 0.25rem;
    font-family: var(--serif);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.1;
}

.time time {
    white-space: nowrap;
}

.location + .location {
    margin-top: 1.75rem;
}

.location h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 500;
}

address {
    margin-bottom: 1.25rem;
    font-style: normal;
    font-size: 1.05rem;
}

.contact-list li + li {
    margin-top: 0.5rem;
}

.contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    font-size: 1.05rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-list a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.contact-list svg {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line-cream);
    border-radius: 50%;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.social a:hover {
    background: var(--cream);
    color: var(--blue);
}

.social svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 1.5rem var(--gutter) 2rem;
    text-align: center;
}

.site-footer p {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
