/*
Theme Name: TSF Restaurante Beija-Flor v4
Theme URI: https://tusitioenforma.com/
Author: Tu Sitio en Forma
Description: Demo WordPress de una sola página para Beija-Flor, Pachuca.
Version: 4.0.0
Text Domain: tsf-restaurante-beija-flor
*/
:root{
  --sage:#d3df98;
  --sage-dark:#75804c;
  --paper:#fffdf8;
  --cream:#f7f1e6;
  --beige:#eee2cf;
  --ink:#33272b;
  --muted:#74696b;
  --rose:#b96f80;
  --rose-dark:#8e5361;
  --white:#fff;
  --shadow:0 18px 50px rgba(51,39,43,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.55}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit}
.section{padding:96px max(24px,6vw)}
.eyebrow{display:inline-block;margin-bottom:12px;color:var(--rose-dark);font-size:.86rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;color:var(--ink);margin-top:0}
h1{font-size:clamp(4rem,7vw,7.2rem);line-height:.92;letter-spacing:-.045em;margin-bottom:24px}
h2{font-size:clamp(2.8rem,4.8vw,5rem);line-height:1.02;letter-spacing:-.035em;margin-bottom:22px}
h3{font-size:1.45rem}
p{margin-top:0}

/* HEADER */
.site-header{position:sticky;top:0;z-index:100;background:var(--sage);border-bottom:1px solid rgba(51,39,43,.10)}
.nav-wrap{width:min(1280px,94%);height:124px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px;transition:height .25s ease}
.brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.brand img,.brand .custom-logo,.custom-logo-link img{width:300px!important;height:auto!important;object-fit:contain!important;margin:0!important;padding:0!important}
.nav{display:flex;align-items:center;gap:30px}
.nav a{text-decoration:none;color:var(--ink);font-size:1.08rem;font-weight:780;white-space:nowrap}
.nav a:hover{color:var(--rose-dark)}
.nav-cta{background:var(--rose);color:#fff!important;padding:13px 22px;border-radius:999px;box-shadow:0 8px 22px rgba(185,111,128,.22)}
.menu-toggle{display:none;border:0;background:transparent;color:var(--ink);font-size:2rem;cursor:pointer}
.mobile-nav-label{display:none}
.site-header.is-compact .nav-wrap{height:96px}
.site-header.is-compact .brand img,.site-header.is-compact .brand .custom-logo,.site-header.is-compact .custom-logo-link img{width:230px!important}

/* HERO: image keeps exact 3:2 ratio, so no important crop */
.hero{width:min(1380px,94%);margin:0 auto;padding:62px 0 80px;display:grid;grid-template-columns:.86fr 1.14fr;gap:54px;align-items:center}
.hero-copy{padding-left:2vw}
.hero-pill{display:inline-block;margin-bottom:20px;padding:9px 14px;border-radius:999px;background:#edf3c9;color:#5f653d;font-size:.82rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.hero-copy p{max-width:600px;color:#63595c;font-size:1.22rem;line-height:1.72}
.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;text-decoration:none;font-weight:850;transition:.2s ease}
.btn.primary{background:var(--rose);color:#fff;box-shadow:0 10px 24px rgba(185,111,128,.22)}
.btn.primary:hover{background:var(--rose-dark);transform:translateY(-1px)}
.btn.secondary{border:1px solid rgba(51,39,43,.18);background:#fff;color:var(--ink)}
.hero-media{aspect-ratio:3/2;border-radius:30px;overflow:hidden;box-shadow:var(--shadow);background:#ddd}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center}

/* INTRO */
.intro{background:var(--cream);display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:center}
.intro-copy{max-width:650px;margin-left:auto}
.intro-copy p{font-size:1.08rem;color:var(--muted);line-height:1.8}
blockquote{margin:28px 0 0;padding:20px 24px;border-left:5px solid var(--rose);background:#fff;border-radius:0 18px 18px 0;font-family:Georgia,serif;font-size:1.5rem;color:var(--ink)}
.intro-image{max-width:720px}
.intro-image img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:28px;box-shadow:var(--shadow)}

/* FAVORITES */
.favorites{background:var(--paper)}
.section-title{max-width:780px;margin:0 auto 48px;text-align:center}
.section-title p{color:var(--muted);font-size:1.05rem}
.cards{width:min(1250px,100%);margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:#fff;border:1px solid rgba(51,39,43,.08);border-radius:24px;overflow:hidden;box-shadow:0 12px 30px rgba(51,39,43,.05)}
.card img{width:100%;aspect-ratio:3/2;object-fit:cover}
.card-copy{padding:24px 24px 28px}
.card-copy h3{margin-bottom:10px;font-size:1.65rem}
.card-copy p{color:var(--muted);line-height:1.7;margin:0}

/* MENU: light beige, no dark box, no text clipping */
.menu-section{background:var(--beige)}
.menu-inner{width:min(1180px,100%);margin:auto}
.menu-head{max-width:780px;padding:0 0 36px!important;margin:0}
.menu-head h2{margin-bottom:18px}
.menu-head p{color:#6e6265;font-size:1.05rem;line-height:1.75}
.menu-group{padding:30px 0;border-top:1px solid rgba(51,39,43,.18)}
.menu-group-title{display:flex;justify-content:space-between;align-items:baseline;gap:30px;margin-bottom:20px}
.menu-group-title h3{margin:0;color:var(--ink)!important;font-size:2rem;line-height:1.15}
.menu-group-title span{color:var(--rose-dark);font-weight:850;font-size:.88rem;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.menu-list{display:grid;grid-template-columns:1fr 1fr;gap:0 46px}
.menu-item{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:16px 0;border-bottom:1px solid rgba(51,39,43,.11);min-width:0}
.menu-item>div{min-width:0}
.menu-item strong{display:block;color:var(--ink);font-size:1rem;margin-bottom:5px}
.menu-item small{display:block;color:#75686b;line-height:1.55;font-size:.9rem}
.menu-item b{color:var(--rose-dark);font-weight:850;flex:0 0 auto}
.menu-note{margin-top:24px;padding-top:20px;border-top:1px solid rgba(51,39,43,.18);color:#6e6265;font-size:.9rem}

/* GALLERY */
.gallery-section{background:#fff}
.gallery-grid{width:min(1250px,100%);margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery-item{appearance:none;border:0;padding:0;background:transparent;border-radius:22px;overflow:hidden;cursor:pointer;aspect-ratio:3/2;box-shadow:0 12px 28px rgba(51,39,43,.08)}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.gallery-item:hover img{transform:scale(1.025)}
.gallery-hidden{display:none!important}

/* TESTIMONIALS */
.testimonials{background:var(--cream)}
.testimonial-carousel{width:min(1250px,100%);margin:auto;position:relative;padding:0 50px}
.testimonial-viewport{overflow:hidden}
.testimonial-track{display:flex;gap:20px;transition:transform .45s ease}
.testimonial-card{flex:0 0 calc((100% - 40px)/3);background:#fff;border-radius:22px;padding:28px;border:1px solid rgba(51,39,43,.08);min-height:250px;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(51,39,43,.05)}
.testimonial-stars{color:#b96f80;letter-spacing:.12em;margin-bottom:18px}
.testimonial-card p{font-family:Georgia,serif;font-size:1.16rem;line-height:1.65;color:#463a3e;flex:1}
.testimonial-card strong{font-size:1rem}
.testimonial-card span{font-size:.82rem;color:var(--muted);margin-top:4px}
.testimonial-arrow{position:absolute;top:45%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid rgba(51,39,43,.14);background:#fff;color:var(--ink);font-size:1.7rem;cursor:pointer;z-index:2}
.testimonial-prev{left:0}.testimonial-next{right:0}
.testimonial-dots{display:flex;justify-content:center;gap:8px;margin-top:24px}
.testimonial-dot{width:8px;height:8px;border:0;border-radius:50%;background:#cdbfc2;padding:0;cursor:pointer}
.testimonial-dot.active{background:var(--rose-dark)}

/* VISIT / MAP / CTA */
.visit{background:#3c3034;color:#fff;padding:90px max(24px,6vw)}
.visit-inner{width:min(1250px,100%);margin:auto;display:grid;grid-template-columns:1.2fr .8fr;gap:8vw}
.visit h2,.visit h3{color:#fff}
.eyebrow.light{color:#e7bec8}
.address,.hours p{color:#e3dadd;font-size:1.02rem;line-height:1.8}
.light-link,.phone-link{display:inline-block;margin-top:14px;color:#fff;font-weight:850;text-decoration:none}
.phone-link{font-size:1.35rem}
.map-section{background:var(--paper);padding-bottom:100px}
.map-head{padding-bottom:34px;text-align:center}
.map-head p{color:var(--muted)}
.map-wrap{width:min(1250px,88%);margin:auto;border-radius:24px;overflow:hidden;box-shadow:var(--shadow);border:1px solid rgba(51,39,43,.08)}
.map-wrap iframe{display:block;width:100%;height:460px}
.reserve{background:#fff}
.reserve-card{width:min(1250px,100%);margin:auto;background:var(--sage);border-radius:28px;padding:46px 50px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.reserve-card h2{font-size:clamp(2.6rem,4.5vw,4.4rem);margin-bottom:12px}
.reserve-card p{max-width:660px;color:#5a5545;margin-bottom:0}

/* FOOTER */
footer{background:#2d2428;color:#d9cfd2;padding:58px max(24px,6vw) 22px}
.footer-main{width:min(1250px,100%);margin:auto;display:grid;grid-template-columns:1.6fr .7fr .7fr;gap:60px}
.footer-brand img{width:270px;max-height:90px;object-fit:contain;margin-bottom:18px;filter:brightness(0) invert(1)}
.footer-brand p{max-width:460px;color:#b9abad;line-height:1.7}
footer h4{color:#fff;margin:0 0 16px}
footer a{display:block;color:#cbbec1;text-decoration:none;margin:10px 0}
footer a:hover{color:#fff}
.footer-bottom{width:min(1250px,100%);margin:42px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:20px;color:#8f8084;font-size:.78rem}

/* ANIMATION + LIGHTBOX */
.reveal,.reveal-right{opacity:0;transition:opacity .65s ease,transform .65s ease}
.reveal{transform:translateY(22px)}
.reveal-right{transform:translateX(24px)}
.is-visible{opacity:1;transform:none}
.delay-1{transition-delay:.08s}.delay-2{transition-delay:.16s}
.lightbox{position:fixed;inset:0;background:rgba(20,15,17,.94);z-index:999;display:none;align-items:center;justify-content:center;padding:60px 80px}
.lightbox.open{display:flex}
.lb-image{max-width:min(1200px,88vw);max-height:84vh;object-fit:contain;border-radius:14px;transition:opacity .17s ease}
.lb-image.is-changing{opacity:.2}
.lb-close,.lb-prev,.lb-next{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:50%;cursor:pointer;backdrop-filter:blur(6px)}
.lb-close{right:24px;top:22px;width:46px;height:46px;font-size:2rem}
.lb-prev,.lb-next{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:2.4rem}
.lb-prev{left:22px}.lb-next{right:22px}

@media(max-width:1050px){
  .nav{gap:20px}.nav a{font-size:1rem}
  .brand img,.brand .custom-logo,.custom-logo-link img{width:270px!important}
  .hero{grid-template-columns:1fr 1.1fr;gap:34px}
}
@media(max-width:950px){
  .nav-wrap{height:96px}
  .brand img,.brand .custom-logo,.custom-logo-link img{width:220px!important;height:auto!important}
  .menu-toggle{display:block}
  .desktop-nav-label{display:none}.mobile-nav-label{display:inline}
  .nav{display:none;position:absolute;top:90px;left:3%;right:3%;background:#3c3034;padding:20px;border-radius:18px;flex-direction:column;align-items:stretch;gap:8px;box-shadow:var(--shadow)}
  .nav.open{display:flex}
  .nav a{color:#fff!important;-webkit-text-fill-color:#fff!important;padding:12px 10px;font-size:1.05rem}
  .nav-cta{text-align:center;margin-top:6px;background:var(--rose)!important}
  .site-header.is-compact .nav-wrap{height:88px}
  .hero{grid-template-columns:1fr;padding-top:44px}
  .hero-copy{padding:0 3vw;text-align:center}
  .hero-copy p{margin-left:auto;margin-right:auto}
  .actions{justify-content:center}
  .hero-media{width:min(820px,100%);margin:auto}
  .intro{grid-template-columns:1fr}.intro-copy{margin:0}.intro-image{max-width:none}
  .cards{grid-template-columns:1fr 1fr}.cards .card:first-child{grid-column:1/-1}
  .menu-list{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .testimonial-card{flex-basis:calc((100% - 20px)/2)}
  .visit-inner,.footer-main{grid-template-columns:1fr}
  .reserve-card{flex-direction:column;align-items:flex-start}
}
@media(max-width:620px){
  .section{padding:76px 20px}
  .nav-wrap{height:88px}
  .brand img,.brand .custom-logo,.custom-logo-link img{width:200px!important;height:auto!important}
  .nav{top:82px}
  h1{font-size:clamp(3.4rem,16vw,5rem)}
  h2{font-size:clamp(2.45rem,12vw,3.7rem)}
  .hero{width:calc(100% - 32px);padding:34px 0 58px;gap:30px}
  .hero-copy{padding:0}
  .hero-copy p{font-size:1.05rem}
  .cards{grid-template-columns:1fr}.cards .card:first-child{grid-column:auto}
  .menu-group-title{display:block}.menu-group-title span{display:block;margin-top:8px}
  .gallery-grid{grid-template-columns:1fr}
  .testimonial-carousel{padding:0 30px}
  .testimonial-card{flex-basis:100%}
  .testimonial-prev{left:-5px}.testimonial-next{right:-5px}
  .map-wrap{width:calc(100% - 40px)}.map-wrap iframe{height:370px}
  .reserve-card{padding:34px 26px}
  .footer-bottom{flex-direction:column}
  .lightbox{padding:70px 14px}.lb-prev{left:7px}.lb-next{right:7px}
}




/* Beija-Flor v4 — carrusel con 6 reseñas / 6 indicadores */
.testimonial-dots{
  display:flex!important;
  justify-content:center!important;
  gap:10px!important;
  margin-top:24px!important;
}
.testimonial-dot{
  width:10px!important;
  height:10px!important;
  border-radius:50%!important;
  border:0!important;
  padding:0!important;
}
