/* La Hoja Verde · propuesta privada (lote 9) · Kódika Studio
   Dirección: "pizarra y flores colgantes". Colores de su logo (hoja verde sobre negro) y de su portada
   (pizarra con letras de tiza: "Nuestra parrilla, a tu gusto"); el techo de flores blancas del salón como foto
   protagonista. Letra: Oswald (como el "A TU GUSTO" de su portada) + Cabin Sketch (tiza) + Karla. */
:root {
  --pizarra: #141614;
  --pizarra-2: #1f231f;
  --hoja: #8cc63f;
  --hoja-2: #5f9a24;
  --tiza: #f1f0e8;
  --flor: #fbfaf5;
  --ladrillo: #a8513a;
  --tinta: #1b1d1a;
  --gris: #5c6058;
  --linea: #e2e4da;
  --radio: 6px;
  --f: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-titulo: "Oswald", "Arial Narrow", sans-serif;
  --f-tiza: "Cabin Sketch", "Comic Sans MS", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 var(--f); color: var(--tinta); background: var(--flor); padding-bottom: 64px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hoja-2); }
h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 700; }
h2 { font: 700 clamp(2rem, 6.4vw, 3.4rem)/1.02 var(--f-titulo); text-transform: uppercase; color: var(--pizarra); letter-spacing: .01em; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
html.lang-en [data-lang="es"], html.lang-es [data-lang="en"] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--hoja); color: var(--pizarra); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--hoja); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.eyebrow { font: 700 .8rem/1.2 var(--f); letter-spacing: .16em; text-transform: uppercase; color: var(--hoja-2); margin: 0 0 .9rem; }
.lede { font-size: 1.1rem; color: var(--gris); max-width: 56ch; margin: 1rem 0 0; }
.note { font-size: .9rem; color: var(--gris); margin-top: 1.4rem; }
.tiza { font: 700 clamp(1.5rem, 5vw, 2.1rem)/1.1 var(--f-tiza); color: var(--tiza); margin: 0; }

.demo-strip { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: center; padding: .5rem 16px; background: #000; color: #e6e6dd; font-size: .78rem; text-align: center; }
.demo-strip a { color: var(--hoja); font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.5rem; border-radius: var(--radio); font: 700 1rem/1 var(--f); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; text-transform: uppercase; letter-spacing: .04em; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--hoja); color: var(--pizarra); }
.btn-main:hover { background: #9ed24f; }
.btn-line { border-color: var(--tiza); color: var(--tiza); }
.btn-line:hover { background: var(--tiza); color: var(--pizarra); }
.btn-dark { background: var(--pizarra); color: #fff; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* Barra */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1rem; padding: .45rem 16px; background: var(--pizarra); transition: box-shadow .2s ease; }
.nav.is-solid { box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--tiza); font: 700 1.25rem/1 var(--f-titulo); text-transform: uppercase; letter-spacing: .04em; }
.brand b { color: var(--hoja); }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.nav-links { display: none; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: var(--tiza); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: .92rem; letter-spacing: .05em; }
.nav-links a:hover { color: var(--hoja); }
.lang { margin-left: auto; display: flex; border: 2px solid var(--tiza); border-radius: var(--radio); overflow: hidden; }
.lang button { font: 700 .85rem/1 var(--f); padding: .55rem .8rem; min-width: 44px; min-height: 40px; border: 0; background: transparent; color: var(--tiza); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--hoja); color: var(--pizarra); }
@media (min-width: 900px) { .nav { padding: .55rem 32px; } .brand img { width: 54px; height: 54px; } .nav-links { display: flex; } .lang { margin-left: 1.4rem; } }

/* Portada: pizarra como su portada de Facebook */
.hero { padding: 0; display: grid; background: var(--pizarra) radial-gradient(ellipse at 30% 40%, #2a2f2a 0%, var(--pizarra) 70%); color: var(--tiza); }
.hero-text { padding: 2rem 16px 2.4rem; order: 2; }
.hero-img { order: 1; display: block; }
.hero-img img { width: 100%; height: 40svh; min-height: 240px; max-height: 460px; object-fit: cover; }
.kicker { margin: 0 0 1.2rem; font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hoja); }
.hero h1 { font: 700 clamp(3.2rem, 14vw, 6.4rem)/.95 var(--f-titulo); text-transform: uppercase; color: #fff; margin-top: .2rem; }
.hero h1::after { content: ""; display: block; width: 3.2em; height: 6px; margin-top: .25em; background: var(--hoja); border-radius: 3px; transform: rotate(-1.5deg); }
.sub { font-size: 1.12rem; color: #cfd0c7; max-width: 44ch; margin: 1.3rem 0 0; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin: 1.2rem 0 0; font-weight: 700; font-size: .96rem; }
.hero .status { border: 1px solid rgba(255, 255, 255, .25); padding: .45rem .85rem; border-radius: var(--radio); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #9da095; flex: none; }
.is-open .dot { background: var(--hoja); box-shadow: 0 0 0 4px rgba(140, 198, 63, .25); }
.is-closed .dot { background: #e0574a; }
.score { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.4rem; color: var(--tiza); text-decoration: none; font-size: .95rem; }
.score b { background: var(--hoja); color: var(--pizarra); padding: .3rem .6rem; border-radius: var(--radio); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: min(82svh, 720px); }
  .hero-text { order: 1; align-self: center; padding: 3rem 3rem 3rem max(32px, calc((100vw - 1160px) / 2)); }
  .hero-img { order: 2; }
  .hero-img img { height: 100%; max-height: none; }
}

/* Platos */
.cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { background: #fff; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card p { margin: 0; padding: .75rem .9rem; font: 700 1.05rem/1.2 var(--f-titulo); text-transform: uppercase; letter-spacing: .03em; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.pizarra { margin-top: 2.6rem; background: var(--pizarra-2); color: var(--tiza); border-radius: 10px; padding: 1.6rem 1.4rem; border: 10px solid #6b4a30; box-shadow: inset 0 0 40px rgba(0, 0, 0, .5); }
.pizarra .lista { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .2rem; }
.pizarra .lista li { font: 700 1.15rem/1.3 var(--f-tiza); padding: .25rem 0; }
.pizarra .lista li::before { content: "— "; color: var(--hoja); }
.pizarra .note { color: #b7b9ae; }
@media (min-width: 900px) { .pizarra { padding: 2.2rem 2.6rem; } .pizarra .lista { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }

/* El lugar: el techo de flores manda */
.lugar { padding-top: 0; background: var(--flor); }
.lugar-foto img { width: 100%; height: 56svh; min-height: 300px; max-height: 620px; object-fit: cover; }
.lugar-in { margin-top: -4rem; position: relative; background: var(--flor); padding: 2rem 1.2rem 0; border-radius: 10px 10px 0 0; }
.terraza { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radio); margin-top: 1.6rem; }
@media (min-width: 900px) { .lugar-in { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; padding: 3rem 3rem 0; } .lugar-in .terraza { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; align-self: center; } }
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.facts li { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.facts li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--hoja); border-radius: 0 80% 0 80%; }

/* Pedido */
.pedido { background: var(--hoja); }
.pedido .eyebrow { color: var(--pizarra); }
.pedido .lede { color: #253312; }
.two { display: grid; gap: 2.4rem; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; } }
.form { background: var(--pizarra); color: var(--tiza); border-radius: 10px; padding: 1.4rem; display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .92rem; color: var(--tiza); }
.form select, .form input { font: 600 1rem var(--f); color: var(--tinta); min-height: 48px; padding: .6rem .8rem; border: 2px solid transparent; border-radius: var(--radio); background: #fff; width: 100%; }
.form select:focus, .form input:focus { border-color: var(--hoja); outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.small { font-size: .85rem; color: #b7b9ae; margin: 0; text-align: center; }

/* Visita */
.visita h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
.hours { width: 100%; border-collapse: collapse; margin-top: 1.4rem; }
.hours th, .hours td { padding: .6rem .2rem; border-bottom: 1px solid var(--linea); text-align: left; font-weight: 600; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--hoja-2); }
.hours tr.is-today th::after { content: " ●"; color: var(--hoja); }
.datos { margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.datos div { display: flex; gap: 1rem; }
.datos dt { font-weight: 700; min-width: 6rem; }
.datos dd { margin: 0; }
.map { border-radius: var(--radio); overflow: hidden; min-height: 340px; background: var(--linea); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

.footer { background: var(--pizarra); color: #c8c9c0; padding: 2.4rem 16px 1.6rem; text-align: center; font-size: .88rem; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem; }
.footer p { max-width: 70ch; margin: .5rem auto; }
.footer a { color: var(--hoja); }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(20, 22, 20, .96); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: var(--radio); font-weight: 700; text-decoration: none; background: var(--hoja); color: var(--pizarra); text-transform: uppercase; }
.mobile-bar .mb-alt { background: transparent; color: var(--tiza); border: 2px solid var(--tiza); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
