/* =========================================================
   La Bernarda — Propuesta de rediseño
   Cafetería-restaurante de desayunos y brunch en Soto del Henares
   (Torrejón de Ardoz). Estética luminosa y acogedora inspirada en
   las fotos reales del local: paredes color miel/mostaza, mobiliario
   blanco, madera clara y el propio rótulo negro y dorado de la
   fachada. Tipografía cálida y con carácter (nada de serif de
   restaurante de postín ni festivo infantil): esto es un sitio de
   desayunar con calma, no una cena de gala.
   ========================================================= */

:root {
  /* Marca — miel/mostaza de las paredes reales + dorado del rótulo */
  --honey: #c78a2e;
  --honey-dark: #9c6a1f;
  --honey-light: #f6e2b8;
  --honey-050: #fbf3e2;

  --sage: #7f9268;
  --sage-dark: #5f7049;
  --sage-light: #e7ecdd;

  /* Neutros — crema cálido, no blanco de "app" */
  --ink: #2c241c;
  --ink-soft: #6b5e4f;
  --line: #ecdfc2;
  --cream: #fdf9f0;
  --cream-soft: #f6ecd6;
  --cream-dark: #1e1810;
  --white: #ffffff;

  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(44, 36, 28, .08);
  --shadow: 0 16px 38px rgba(44, 36, 28, .14);
  --shadow-lg: 0 26px 64px rgba(44, 36, 28, .24);

  --maxw: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--honey-dark);
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--honey); }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--honey); }

.section { padding: clamp(58px, 8vw, 108px) 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin: 14px 0 12px; }
.section-head h2 em { font-style: normal; color: var(--honey-dark); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .96rem;
  padding: 14px 27px; border-radius: var(--radius-pill);
  cursor: pointer; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s var(--ease), color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap; max-width: 100%;
}
/* Salvaguarda: si algún texto de botón es más largo de lo previsto, que
   envuelva en vez de desbordar el viewport en móvil (visto en valor.html). */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--honey); color: #fff; box-shadow: 0 10px 24px rgba(199, 138, 46, .32); }
.btn-primary:hover { background: var(--honey-dark); box-shadow: 0 14px 30px rgba(199, 138, 46, .4); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebc59; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey-dark); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-wa svg { fill: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: padding .35s var(--ease), background .35s, box-shadow .35s, backdrop-filter .35s;
}
.header::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 160px; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,24,16,.62), rgba(30,24,16,0));
  z-index: 0; transition: opacity .35s;
}
.header.scrolled { background: rgba(30,24,16,.94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.22); padding: 12px 0; }
.header.scrolled::before { opacity: 0; }

/* La marca es siempre clara (fija), no hereda currentColor: así se ve igual
   de bien sobre el hero transparente y sobre la cabecera ya sólida tras hacer
   scroll (la cabecera es siempre de tono oscuro en los dos estados). */
.header .nav { position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; color: #fdf6e6; }
.brand b { font-weight: 800; color: var(--honey-light); }
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .92rem; }
.nav-links > a { color: rgba(255,255,255,.86); transition: color .2s; }
.nav-links > a:hover { color: var(--honey-light); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.header .btn-ghost:hover { border-color: var(--honey-light); color: var(--honey-light); }
.burger { display: none; position: relative; background: none; border: 0; width: 27px; height: 27px; cursor: pointer; color: #fff; }
.burger svg { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; transition: opacity .2s; stroke: currentColor; }
.burger .icon-close { opacity: 0; }
.header.menu-open .burger .icon-menu { opacity: 0; }
.header.menu-open .burger .icon-close { opacity: 1; }

/* El panel exterior anima max-height y NO lleva padding propio: si lo
   llevara, el padding no se comprimiría por debajo de max-height y dejaría
   una barra visible tapando la cabecera incluso "cerrado". El padding real
   vive en .mobile-menu-inner. z-index por debajo de .header .nav (5) para
   que la marca y la hamburguesa (que también cierra el menú) queden
   siempre visibles y pulsables por encima del panel. */
.mobile-menu {
  display: none;
  position: fixed; left: 0; right: 0; top: 0; z-index: 2;
  background: var(--cream-dark); box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.mobile-menu.open { max-height: 100vh; overflow-y: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 2px; padding: 92px 24px 24px; }
.mm-link { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 600; color: rgba(255,255,255,.9); font-size: .98rem; }
.mm-cta { justify-content: center; margin-top: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(30,22,12,.42) 0%, rgba(30,22,12,.58) 55%, rgba(20,15,8,.9) 100%), url('img/fachada.jpg') center 62% / cover no-repeat;
}
.hero-inner { color: #fff; max-width: 680px; }
.hero .eyebrow { color: var(--honey-light); }
.hero .eyebrow::before { background: var(--honey-light); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); margin: 20px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--honey-light); }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 32px; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn-ghost:hover { border-color: var(--honey-light); color: var(--honey-light); }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: rgba(255,255,255,.7); font-size: .88rem; letter-spacing: .01em; }
.hero-trust b { color: var(--honey-light); font-family: var(--font-display); font-size: 1.05rem; }
.hero-trust .div { width: 1px; height: 20px; background: rgba(255,255,255,.3); }
.hero-trust svg { width: 15px; height: 15px; fill: var(--honey-light); vertical-align: -2px; margin-right: 3px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Sobre La Bernarda ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-head { margin-bottom: 26px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 24px; font-size: 1.02rem; }
.trait-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.trait { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trait .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--honey); font-weight: 800; flex-shrink: 0; width: 28px; }
.trait h4 { font-size: 1rem; margin-bottom: 4px; }
.trait p { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-photo { aspect-ratio: 16/10; } }

.zones { background: var(--cream-soft); }

/* Chalkboard quote: reproduce el tono real de la pizarra del local */
.chalk-note {
  background: var(--cream-dark); color: #f3ecd9; border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); margin-top: 34px; position: relative; overflow: hidden;
}
.chalk-note::before {
  content: '☕'; position: absolute; font-size: 7rem; opacity: .07; right: -6px; top: -18px;
}
.chalk-note p { font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.5; position: relative; z-index: 1; }
.chalk-note cite { display: block; margin-top: 14px; font-style: normal; font-size: .82rem; opacity: .72; position: relative; z-index: 1; }

/* Grid genérico reutilizado por valor.html */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }

/* ---------- Desayunos ---------- */
.desayuno-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 44px; }
.desayuno-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.desayuno-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--honey-light); }
.desayuno-card .ico {
  width: 50px; height: 50px; border-radius: 15px; background: var(--honey-050); color: var(--honey-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.desayuno-card .ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; }
.desayuno-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.desayuno-card p { color: var(--ink-soft); font-size: .9rem; }

.batidos-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--sage-light); border-radius: var(--radius); padding: 18px 24px;
}
.batidos-row .ico { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--sage-dark); display: grid; place-items: center; flex-shrink: 0; }
.batidos-row .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.batidos-row strong { color: var(--sage-dark); }
.batidos-row span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- La carta: listado tipo carta impresa, sin PDFs ---------- */
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.menu-category { margin-bottom: 36px; break-inside: avoid; }
.menu-category h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800;
  color: var(--honey-dark); padding-bottom: 10px; border-bottom: 2px solid var(--honey); margin-bottom: 6px;
}
.menu-list { list-style: none; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.menu-item .name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .96rem; }
.menu-item .name small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.menu-item .leader { flex: 1; border-bottom: 1px dotted var(--line); margin-bottom: 5px; min-width: 16px; }
.menu-item .price { font-family: var(--font-display); font-weight: 800; color: var(--honey-dark); white-space: nowrap; font-size: .94rem; }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; } }

.menu-note {
  background: var(--white); border-left: 3px solid var(--honey);
  padding: 18px 24px; margin-top: 18px; color: var(--ink-soft); font-size: .9rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.menu-note b { color: var(--honey-dark); }

.diario-card {
  margin-top: 44px; background: linear-gradient(135deg, var(--honey), var(--honey-dark));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); text-align: center;
  position: relative; overflow: hidden;
}
.diario-card::before { content: '🍽️'; position: absolute; font-size: 6rem; opacity: .1; right: -6px; bottom: -18px; }
.diario-card > * { position: relative; z-index: 1; }
.diario-card .price-big { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; display: block; margin: 6px 0 8px; }
.diario-card p { max-width: 46ch; margin: 0 auto 20px; opacity: .95; }
.diario-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.diario-card .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }

/* ---------- Eventos privados: ángulo de venta principal ---------- */
.occasions { background: var(--cream-dark); color: rgba(255,255,255,.9); }
.occasions .section-head p { color: rgba(255,255,255,.68); }
.occasions .eyebrow { color: var(--honey-light); }
.occasions .eyebrow::before, .occasions .eyebrow::after { background: var(--honey-light); }
.occasions h2 { color: #fff; }
.evento-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.evento-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
.evento-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) { .evento-grid { grid-template-columns: 1fr; } }

.evento-callout {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 38px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
}
.evento-callout .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--honey); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.evento-callout .ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; }
.evento-callout h4 { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.evento-callout p { color: rgba(255,255,255,.72); font-size: .93rem; }
@media (max-width: 640px) { .evento-callout { grid-template-columns: 1fr; text-align: center; } .evento-callout .ico { margin: 0 auto; } }

/* ---------- Stats ---------- */
.stats { background: var(--cream-dark); border-radius: var(--radius-lg); padding: 46px 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stats .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--honey-light); }
.stats .lbl { color: rgba(255,255,255,.62); font-size: .85rem; margin-top: 8px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 18px; } }

/* ---------- Galería ---------- */
.gallery-teaser { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-teaser figure, .gallery figure { border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-teaser img, .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.gallery-teaser figure:hover img, .gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 720px) { .gallery-teaser { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Info práctica ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.info-item { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.info-item h4 { font-size: .98rem; margin-bottom: 8px; }
.info-item p { color: var(--ink-soft); font-size: .89rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px); box-shadow: var(--shadow-sm);
}
.contact-card .eyebrow { margin-bottom: 16px; }
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.contact-card > p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-line .ico { width: 42px; height: 42px; border-radius: 13px; background: var(--honey-050); color: var(--honey-dark); display: grid; place-items: center; flex: 0 0 auto; }
.contact-line .ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; }
.contact-line small { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-line b { font-size: 1rem; font-weight: 700; }
.contact-actions { display: flex; gap: 12px; margin: 24px 0 20px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--honey-dark); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--honey); color: #fff; border-color: var(--honey); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.map-card iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-final { background: var(--cream-dark); }
.cta-box { text-align: center; color: #fff; }
.cta-box .eyebrow { justify-content: center; color: var(--honey-light); }
.cta-box .eyebrow::after { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--honey-light); }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0; }
.cta-box p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 28px; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-box .btn-ghost:hover { border-color: var(--honey-light); color: var(--honey-light); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 38px; margin-bottom: 38px; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--honey-light); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand b { color: var(--honey-light); }
.footer p { font-size: .9rem; opacity: .78; max-width: 36ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .81rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
/* La Bernarda SÍ tiene WhatsApp real confirmado (wa.me/34654504992), así
   que el botón flotante persistente puede ser WhatsApp, no solo llamada. */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  border: 1.5px solid rgba(255,255,255,.3); transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: scale(1.07); background: #1ebc59; }
.wa-float svg { width: 27px; height: 27px; fill: currentColor; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,15,8,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 86vh; border-radius: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Página secundaria: cabecera simple (valor.html) ---------- */
.page-hero { padding: 140px 0 50px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 16px; justify-content: center; }

@media (max-width: 720px) {
  .hero { padding-top: 128px; }
}
