/* ═══════════════════════════════════════════════════════════════════
   La Caravana - Cocina Viajera
   Main Stylesheet  ·  v1.0.0
   Design: Warm-dark, Latin-inspired, modern restaurant
═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────────────── */
:root {
    /* Colors */
    --c-bg:         #0E1B18;   /* Deep forest night */
    --c-bg-alt:     #142420;   /* Card background */
    --c-bg-light:   #1C312D;   /* Slightly lighter */
    --c-primary:    #D4752E;   /* Warm terracotta/amber */
    --c-primary-dk: #B85E1F;   /* Darker amber */
    --c-gold:       #C9A84C;   /* Mediterranean gold */
    --c-gold-lt:    #E8CB7E;   /* Light gold */
    --c-text:       #F0E6D3;   /* Warm cream */
    --c-text-muted: #8A7F72;   /* Muted sand */
    --c-border:     rgba(255,255,255,.07);
    --c-overlay:    rgba(10,20,17,.75);

    /* Typography */
    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Jost', system-ui, sans-serif;

    /* Spacing */
    --space-xs:  .5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  7rem;
    --space-2xl: 10rem;

    /* Layout */
    --max-width:    1280px;
    --nav-height:   72px;
    --section-px:   var(--space-md);
    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --radius-full:  9999px;

    /* Transitions */
    --ease:     cubic-bezier(.4, 0, .2, 1);
    --duration: 300ms;
}

/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overscroll-behavior: none;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ───────────────────────────────────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: .75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--c-text);
}

.section-title em {
    font-style: italic;
    color: var(--c-gold);
}

.section-desc {
    color: var(--c-text-muted);
    max-width: 520px;
    margin: 1rem auto 0;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .05em;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-primary);
    color: #fff;
    border: 2px solid var(--c-primary);
}
.btn--primary:hover, .btn--primary:focus-visible {
    background: var(--c-primary-dk);
    border-color: var(--c-primary-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212,117,46,.35);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border: 2px solid rgba(240,230,211,.3);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
    border-color: var(--c-text);
    background: rgba(240,230,211,.07);
}

.btn--outline {
    background: transparent;
    color: var(--c-gold);
    border: 2px solid var(--c-gold);
}
.btn--outline:hover, .btn--outline:focus-visible {
    background: var(--c-gold);
    color: var(--c-bg);
}

.btn--sm { padding: .6rem 1.4rem; font-size: .82rem; }

/* ── Tags ─────────────────────────────────────────────────────────── */
.tag {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
}
.tag--veg   { background: rgba(80,170,90,.15); color: #6dcc78; border: 1px solid rgba(80,170,90,.3); }
.tag--gluten{ background: rgba(200,160,50,.15); color: #d4b04a; border: 1px solid rgba(200,160,50,.3); }
.tag--star  { background: rgba(212,117,46,.15); color: var(--c-primary); border: 1px solid rgba(212,117,46,.3); }

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    transition: background var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease);
}


.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8px var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.nav-logo { flex-shrink: 0; }

.nav-logo-img {
    height: 52px;
    width: 52px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-size: .88rem;
    font-weight: 400;
    letter-spacing: .04em;
    color: rgba(240,230,211,.8);
    transition: color var(--duration) var(--ease);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--c-gold);
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
    transform-origin: left;
}

.nav-link:hover,
.nav-link:focus-visible { color: var(--c-text); }
.nav-link:hover::after  { transform: scaleX(1); }

.nav-link--cta {
    background: var(--c-primary);
    color: #fff !important;
    padding: .5rem 1.25rem;
    border-radius: var(--radius-full);
    transition: background var(--duration) var(--ease),
                transform var(--duration) var(--ease) !important;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--c-primary-dk); transform: translateY(-1px); }

/* ── Mobile menu via <details>/<summary> — zero JS ─────────────── */
.nav-mobile { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-text);
    transition: all var(--duration) var(--ease);
    transform-origin: center;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--nav-height) var(--space-md) var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero__bg {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,19,17,.92) 0%,
        rgba(10,19,17,.65) 50%,
        rgba(10,19,17,.4) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp .8s var(--ease) .2s forwards;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 300;
    line-height: .95;
    color: var(--c-text);
    letter-spacing: -.02em;
    opacity: 0;
    animation: fadeInUp .8s var(--ease) .4s forwards;
}

.hero__title em {
    display: block;
    font-style: italic;
    color: var(--c-gold-lt);
    font-size: .55em;
}

.hero__subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--c-primary);
    letter-spacing: .04em;
    margin-top: .5rem;
    opacity: 0;
    animation: fadeInUp .8s var(--ease) .6s forwards;
}

.hero__desc {
    margin-top: 1.5rem;
    color: rgba(240,230,211,.75);
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp .8s var(--ease) .8s forwards;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    opacity: 0;
    animation: fadeInUp .8s var(--ease) 1s forwards;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    color: var(--c-text-muted);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
    z-index: 1;
}

.hero__stats {
    position: absolute;
    bottom: 3rem;
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(20,36,32,.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 2rem;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp .8s var(--ease) 1.2s forwards;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
}
.hero__stat strong {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--c-gold);
    line-height: 1;
}
.hero__stat span {
    font-size: .72rem;
    color: var(--c-text-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hero__stat-sep {
    width: 1px;
    height: 40px;
    background: var(--c-border);
}

/* ══════════════════════════════════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════════════════════════════════ */
.philosophy {
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    position: relative;
    z-index: 1;
}

.philosophy__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.philosophy__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: background var(--duration) var(--ease);
}

.philosophy__item:hover {
    background: rgba(255,255,255,.03);
}

.philosophy__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: rgba(212,117,46,.1);
    border: 1px solid rgba(212,117,46,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    margin-bottom: 1.25rem;
    transition: background var(--duration), border-color var(--duration);
}

.philosophy__item:hover .philosophy__icon {
    background: rgba(212,117,46,.18);
    border-color: rgba(212,117,46,.4);
}

.philosophy__item h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--c-text);
}

.philosophy__item p {
    font-size: .9rem;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════════ */
.about {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.about__visual:hover .about__image-wrap img {
    transform: scale(1.04);
}

.about__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--c-primary);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    box-shadow: 0 12px 40px rgba(212,117,46,.4);
}

.about__badge strong {
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}

.about__badge span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.about__content {
    padding-left: var(--space-sm);
}

.about__text {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(240,230,211,.75);
    line-height: 1.8;
}

.about__text strong { color: var(--c-text); font-weight: 500; }
.about__text em     { color: var(--c-gold); font-style: normal; }

.about__highlights {
    display: flex;
    gap: var(--space-md);
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
}

.about__highlight {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.about__highlight strong {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-gold);
    line-height: 1;
}

.about__highlight span {
    font-size: .78rem;
    color: var(--c-text-muted);
    letter-spacing: .05em;
}

/* ══════════════════════════════════════════════════════════════════
   MENU SECTION
══════════════════════════════════════════════════════════════════ */
.menu-section {
    background: var(--c-bg-alt);
    padding: var(--space-xl) 0;
    position: relative;
}

.menu-section__header {
    text-align: center;
    padding: 0 var(--space-md) var(--space-lg);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0 var(--space-md) var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.menu-tab {
    padding: .6rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--c-text-muted);
    border: 1.5px solid var(--c-border);
    transition: all var(--duration) var(--ease);
}

.menu-tab:hover {
    color: var(--c-text);
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.04);
}


.menu-panel {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: none;
}

/* ── Radio tabs — CSS :checked, zero JS ─────────────────────────── */
.menu-radio { display: none; }

/* Show panel when its radio is checked */
#tab-entrantes:checked ~ .menu-tabs ~ #panel-entrantes,
#tab-tacos:checked ~ .menu-tabs ~ #panel-tacos,
#tab-principales:checked ~ .menu-tabs ~ #panel-principales,
#tab-postres:checked ~ .menu-tabs ~ #panel-postres,
#tab-bebidas:checked ~ .menu-tabs ~ #panel-bebidas { display: block; }

/* Active tab label styling */
#tab-entrantes:checked ~ .menu-tabs label[for="tab-entrantes"],
#tab-tacos:checked ~ .menu-tabs label[for="tab-tacos"],
#tab-principales:checked ~ .menu-tabs label[for="tab-principales"],
#tab-postres:checked ~ .menu-tabs label[for="tab-postres"],
#tab-bebidas:checked ~ .menu-tabs label[for="tab-bebidas"] {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.menu-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--duration) var(--ease),
                box-shadow var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
    border-color: rgba(212,117,46,.3);
}

.menu-card--featured {
    border-color: rgba(212,117,46,.3);
    background: linear-gradient(135deg, var(--c-bg) 0%, rgba(212,117,46,.04) 100%);
}

.menu-card__img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.menu-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.menu-card:hover .menu-card__img img {
    transform: scale(1.08);
}

.menu-card__body {
    padding: 1.25rem;
}

.menu-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: .6rem;
}

.menu-card__header h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.3;
}

.menu-card__price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--c-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-card__body p {
    font-size: .88rem;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: .75rem;
}

.menu-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.menu-section__footer {
    text-align: center;
    padding: var(--space-lg) var(--space-md) 0;
    font-size: .85rem;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════════════ */
.gallery-section {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-section__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-section__cta {
    text-align: center;
    margin-top: var(--space-md);
}

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════════ */
.testimonials {
    background: var(--c-bg-alt);
    padding: var(--space-xl) var(--space-md);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.testimonials__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ── Testimonials slider — CSS scroll-snap, zero JS ─────────────── */
.testimonials__slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-md);
    padding-bottom: var(--space-sm);
    justify-content: center;
}
.testimonials__slider::-webkit-scrollbar { display: none; }

.testimonial-slide {
    flex: 0 0 min(400px, 90vw);
    scroll-snap-align: start;
}

.testimonial-slide blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-style: italic;
    line-height: 1.65;
    color: var(--c-text);
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.testimonial-slide blockquote::before {
    content: '"';
    position: absolute;
    top: -.5rem;
    left: 0;
    font-size: 4rem;
    color: var(--c-primary);
    opacity: .4;
    line-height: 1;
    font-family: var(--font-serif);
}

.testimonial-slide cite {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    font-size: .85rem;
    color: var(--c-gold);
    font-style: normal;
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 2rem;
}

.testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.15);
    transition: all var(--duration) var(--ease);
}


/* ══════════════════════════════════════════════════════════════════
   CONTACT / RESERVAS
══════════════════════════════════════════════════════════════════ */
.contact-section {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-section__container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact-section__info .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.contact-section__info > p {
    color: var(--c-text-muted);
    margin: 1rem 0 2rem;
    line-height: 1.75;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    transition: border-color var(--duration) var(--ease);
}

.contact-card:hover { border-color: rgba(212,117,46,.3); }

.contact-card svg {
    flex-shrink: 0;
    color: var(--c-primary);
    margin-top: .1rem;
}

.contact-card div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.contact-card strong {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-text-muted);
}

.contact-card span,
.contact-card a {
    font-size: .95rem;
    color: var(--c-text);
    line-height: 1.5;
}

.contact-card a:hover { color: var(--c-primary); }

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-section__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.contact-section__map iframe {
    display: block;
    filter: grayscale(30%) invert(5%) sepia(10%);
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--c-bg-alt);
    border-top: 1px solid var(--c-border);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: var(--space-lg);
}

.footer-tagline {
    color: var(--c-text-muted);
    font-style: italic;
    font-family: var(--font-serif);
    margin: .75rem 0 1.5rem;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-muted);
    transition: all var(--duration) var(--ease);
}

.footer-social a:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: rgba(212,117,46,.08);
}

.footer-col h4 {
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-col ul li {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    color: var(--c-text);
}

.footer-col ul li span:first-child { color: var(--c-text-muted); }

.footer-col ul li:has(svg) {
    align-items: flex-start;
    gap: .75rem;
    justify-content: flex-start;
}

.footer-col ul li svg { flex-shrink: 0; color: var(--c-primary); margin-top: .1rem; }
.footer-col ul li a:hover { color: var(--c-primary); }
.footer-col p { font-size: .88rem; color: var(--c-text-muted); line-height: 1.7; margin-bottom: 1.25rem; }

.footer-bottom {
    border-top: 1px solid var(--c-border);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: var(--c-text-muted);
}

/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; translate: 0 20px; }
    to   { opacity: 1; translate: 0 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Scroll animations — animation-timeline, zero JS ───────────── */
.animate-in {
  opacity: 1; /* fallback: visible by default */
}

@supports (animation-timeline: view()) {
  .animate-in {
    opacity: 0; /* start hidden, animate in */
    animation: fadeInUp 0.6s ease forwards;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}

/* hero__bg-img — full-cover for the hero background image */
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── WhatsApp floating button ─────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.35);
    transition: transform .2s var(--ease), box-shadow .2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
}
.whatsapp-float img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Language selector ───────────────────────────────────────── */
.lang-selector {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: var(--space-sm);
}
.lang-selector a {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    padding: .25rem .4rem;
    border-radius: var(--radius-sm);
    transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.lang-selector a:hover,
.lang-selector a.active {
    color: var(--c-text);
    background: rgba(255,255,255,.08);
}
.lang-selector__sep {
    color: var(--c-text-muted);
    opacity: .4;
    font-size: .75rem;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════ */

/* ── Tablet landscape ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .philosophy__grid  { grid-template-columns: repeat(2, 1fr); }
    .footer-container  { grid-template-columns: 1fr 1fr; }
    .about__container  { gap: var(--space-lg); }
    .contact-section__container { gap: var(--space-lg); }
    .gallery-grid {
        grid-template-rows: repeat(2, 220px);
    }
}

/* ── Tablet portrait / large phone ──────────────────────────────── */
@media (max-width: 768px) {
    :root {
        --space-xl:    3.5rem;
        --space-lg:    2rem;
        --section-px:  1.25rem;
    }

    /* Nav — CSS-only via <details>/<summary> */
    .nav-links--desktop { display: none; }
    .nav-mobile { display: block; }

    .nav-mobile summary.nav-toggle {
        list-style: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 8px;
    }
    .nav-mobile summary.nav-toggle::marker,
    .nav-mobile summary.nav-toggle::-webkit-details-marker { display: none; }

    .nav-mobile summary.nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: currentColor;
        transition: transform 0.3s, opacity 0.3s;
    }

    /* Hamburger → X when open */
    .nav-mobile[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-mobile[open] summary span:nth-child(2) { opacity: 0; }
    .nav-mobile[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav-links--mobile {
        display: none;
    }

    .nav-mobile[open] .nav-links--mobile {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--c-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--space-lg);
        z-index: 100;
    }
    .nav-link { font-size: 1.5rem; font-family: var(--font-serif); }
    .nav-link--cta { font-size: 1rem; }

    /* Hero */
    .hero__title { font-size: clamp(3rem, 11vw, 8rem); }
    .hero__scroll { display: none; }
    .hero__stats {
        position: static;
        margin-top: 2rem;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    .hero__stat strong { font-size: 1.5rem; }

    /* Layout */
    .about__container,
    .contact-section__container { grid-template-columns: 1fr; }
    .about__visual  { order: -1; }
    .about__badge   { right: 0; bottom: -1rem; }
    .about__content { padding-left: 0; }
    .about__highlights { gap: var(--space-md); }

    /* Gallery — 2 cols, auto heights, no span tricks */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: .6rem;
    }
    .gallery-item         { aspect-ratio: 4/3; }
    .gallery-item--tall,
    .gallery-item--wide   { grid-column: span 1; grid-row: span 1; }

    /* Philosophy */
    .philosophy__grid { grid-template-columns: repeat(2, 1fr); }

    /* Contact map */
    .contact-section__map iframe { height: 280px; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom    { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ── Phone ───────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --space-xl:   2.5rem;
        --space-lg:   1.75rem;
        --space-md:   1rem;
        --section-px: 1rem;
    }

    /* Hero */
    .hero__title    { font-size: clamp(2.8rem, 13vw, 5rem); }
    .hero__subtitle { font-size: 1.1rem; }
    .hero__desc     { font-size: .95rem; }
    .hero__actions  { flex-direction: column; align-items: flex-start; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__stats    {
        gap: .75rem;
        padding: .85rem 1rem;
        justify-content: space-around;
    }
    .hero__stat strong  { font-size: 1.3rem; }
    .hero__stat span    { font-size: .65rem; }
    .hero__stat-sep     { height: 28px; }

    /* Menu */
    .menu-grid { grid-template-columns: 1fr; }
    .menu-tabs {
        gap: .4rem;
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .5rem;
    }
    .menu-tabs::-webkit-scrollbar { display: none; }
    .menu-tab {
        flex-shrink: 0;
        padding: .5rem 1.1rem;
        font-size: .82rem;
        min-height: 44px;
    }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; gap: .5rem; }
    .gallery-item { aspect-ratio: 16/9; }

    /* Testimonials */
    .testimonial-slide blockquote { padding: 0 1rem; font-size: 1.05rem; }

    /* Contact */
    .contact-actions     { flex-direction: column; }
    .contact-actions .btn { width: 100%; justify-content: center; }
    .contact-section__map iframe { height: 240px; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr; gap: 1.75rem; }

    /* Philosophy */
    .philosophy__grid { grid-template-columns: 1fr; }

    /* Review CTA */
    .review-cta__buttons { flex-direction: column; align-items: center; }
    .btn--google,
    .btn--tripadvisor    { width: 100%; max-width: 300px; justify-content: center; }
}

/* ── Small phone (iPhone SE, Galaxy A) ──────────────────────────── */
@media (max-width: 375px) {
    :root { --section-px: .875rem; }

    .hero__title    { font-size: clamp(2.5rem, 14vw, 4rem); }
    .hero__stats    { gap: .5rem; }
    .hero__stat-sep { display: none; }

    .menu-card__body { padding: 1rem; }
    .section-title   { font-size: clamp(1.9rem, 8vw, 3.8rem); }

    .about__highlight strong { font-size: 1.6rem; }
}

/* ── Review CTA ─────────────────────────────────────────────────── */
.review-cta {
    background: var(--c-bg-alt);
    padding: var(--space-xl) var(--section-px);
    margin-top: 3rem;
    text-align: center;
}
.review-cta__stars {
    color: var(--c-accent);
    font-size: 1.5rem;
    letter-spacing: .2rem;
    margin-bottom: 1.5rem;
    display: block;
}
.review-cta .section-title {
    margin-bottom: .75rem;
}
.review-cta__sub {
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--c-text-muted);
    margin-bottom: 2.5rem;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
}
.review-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn--google {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.75rem;
    border-radius: 3rem;
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,.15);
    color: var(--c-text);
    background: rgba(255,255,255,.05);
    transition: background .25s, border-color .25s, transform .2s;
    letter-spacing: .04em;
}
.btn--google:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.3);
    transform: translateY(-2px);
}
.btn--tripadvisor {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.75rem;
    border-radius: 3rem;
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid rgba(52,183,104,.3);
    color: #34b768;
    background: rgba(52,183,104,.05);
    transition: background .25s, border-color .25s, transform .2s;
    letter-spacing: .04em;
}
.btn--tripadvisor:hover {
    background: rgba(52,183,104,.1);
    border-color: rgba(52,183,104,.6);
    transform: translateY(-2px);
}

/* SEO keyword — visible en DOM para crawlers, visualmente discreto */
.hero__title-keyword {
    display: block;
    font-size: .18em;
    font-weight: 400;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(201,168,76,.45);
    font-family: var(--font-sans);
    margin-top: .5em;
}
