/* =====================================================================
   O Restaurante — sistema de diseño de la web de presentación.
   Identidad: "taberna moderna gallega". Verde botella como tinta, papel
   cálido, azafrán como acción. Titulares Bricolage Grotesque, cuerpo
   Hanken Grotesk. Light-only, accesible, rápido.
   ===================================================================== */

:root {
  /* Color — identidad corporativa ORestauBar: marino + cobre (del logo). */
  --ink: #12283f;          /* azul marino del logo, hace de negro */
  --ink-soft: #4a5a6b;     /* texto secundario */
  --paper: #faf7f2;        /* fondo de página, blanco cálido */
  --paper-2: #f0eadf;      /* paneles */
  --paper-3: #e7dfd1;      /* paneles más hondos */
  --saffron: #c97c42;      /* COBRE del logo — acento de acción */
  --saffron-deep: #a9622e; /* cobre oscuro: contraste de texto sobre claro */
  --tomato: #c8452d;       /* alerta/urgencia puntual */
  --sage: #8793a0;         /* gris-azulado apagado */
  --line: #e4ddce;         /* hairlines sobre papel */
  --line-2: #d6cdbb;
  --white: #ffffff;
  --ok: #2f7d5b;

  /* Tipografía */
  --sans: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Bricolage Grotesque", var(--sans);

  /* Escala tipográfica (Bringhurst, base 18/1.333) */
  --t-xs: 0.78rem;
  --t-sm: 0.9rem;
  --t-base: 1.0625rem;   /* 17px */
  --t-md: 1.22rem;
  --t-lg: 1.62rem;
  --t-xl: 2.16rem;
  --t-2xl: 2.85rem;
  --t-3xl: 3.7rem;
  --t-4xl: clamp(2.9rem, 6.5vw, 5.2rem);

  /* Espacio y forma */
  --gutter: clamp(1rem, 4vw, 2rem);
  --maxw: 1160px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(21, 51, 42, .06), 0 10px 30px rgba(21, 51, 42, .07);
  --shadow-lift: 0 2px 6px rgba(21, 51, 42, .08), 0 24px 60px rgba(21, 51, 42, .14);
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.015em; font-weight: 700; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }

/* ---------- Utilidades de layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--saffron-deep);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--saffron); border-radius: 2px; }
.lede { font-size: var(--t-md); color: var(--ink-soft); max-width: 46ch; }
.section-title { font-size: var(--t-2xl); max-width: 18ch; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .7rem 1rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0; }
.skip:focus { left: 0; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--display); font-weight: 600; font-size: var(--t-base);
  padding: .82rem 1.4rem; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg); cursor: pointer;
  text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--saffron); --fg: var(--ink); border-color: var(--saffron); }
.btn--primary:hover { --bg: #f0ad4b; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--white); }
.btn--lg { padding: 1rem 1.7rem; font-size: var(--t-md); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.2rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--saffron-deep); }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-soft); font-size: var(--t-sm); }
.nav a:hover { color: var(--ink); }
.nav .btn { font-size: var(--t-sm); padding: .6rem 1.1rem; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.2rem;
    transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow-soft); }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: var(--t-base); }
  .nav .btn { margin-top: .8rem; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1.5px solid var(--line-2);
    border-radius: var(--r-sm); width: 42px; height: 38px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: .2s; }
  .nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero::before { /* resplandor azafrán muy sutil tras el mockup */
  content: ""; position: absolute; right: -10%; top: -20%; width: 55%; height: 120%;
  background: radial-gradient(60% 50% at 60% 40%, rgba(232,161,60,.20), transparent 70%); z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: var(--t-4xl); font-weight: 800; letter-spacing: -.03em; }
.hero h1 .warm { color: var(--saffron-deep); }
.hero p.lede { margin-top: 1.2rem; font-size: var(--t-md); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1.1rem; color: var(--ink-soft); font-size: var(--t-sm); }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust svg { color: var(--ok); flex: none; }
.hero-visual { position: relative; }

/* Marco de dispositivo para los mockups */
.device { background: var(--ink); border-radius: 26px; padding: 12px; box-shadow: var(--shadow-lift); }
.device__screen { background: var(--white); border-radius: 16px; overflow: hidden; }
.device__screen img { display: block; width: 100%; height: auto; }
.device--float { transform: rotate(-1.2deg); }
.badge-float { position: absolute; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  border-radius: var(--r-md); padding: .6rem .8rem; font-size: var(--t-sm); display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.badge-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 4px rgba(47,125,91,.15); }
.badge-float--a { right: -14px; top: 18%; }
.badge-float--b { left: -18px; bottom: 14%; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .badge-float { display: none; }
}

/* ---------- Tira de confianza ---------- */
.strip { background: var(--ink); color: var(--paper); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2.2rem; }
.strip .stat b { font-family: var(--display); font-size: var(--t-xl); font-weight: 800; display: block; color: var(--saffron); line-height: 1; }
.strip .stat span { font-size: var(--t-sm); color: color-mix(in srgb, var(--paper) 75%, transparent); }
@media (max-width: 680px) { .strip .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 920px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--sage); transform: translateY(-2px); }
.feature .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; color: var(--ink); margin-bottom: .5rem; }
.feature h3 { font-size: var(--t-md); }
.feature p { color: var(--ink-soft); font-size: var(--t-sm); }

/* ---------- Showcase (pantallas grandes) ---------- */
.showcase { background: var(--paper-2); }
.showcase__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.showcase__row + .showcase__row { margin-top: clamp(3rem, 7vw, 5rem); }
.showcase__row--rev .showcase__text { order: 2; }
.showcase__text h3 { font-size: var(--t-xl); margin-bottom: .8rem; }
.showcase__text p { color: var(--ink-soft); max-width: 50ch; }
.ticklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.ticklist li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--t-sm); }
.ticklist svg { color: var(--ok); flex: none; margin-top: 3px; }
@media (max-width: 760px) { .showcase__row { grid-template-columns: 1fr; } .showcase__row--rev .showcase__text { order: 0; } }

/* ---------- Cómo funciona (flujo) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; counter-reset: step; }
.flow .step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1rem; }
.flow .step .n { font-family: var(--display); font-weight: 800; color: var(--saffron-deep); font-size: var(--t-lg); line-height: 1; }
.flow .step h4 { font-size: var(--t-md); margin: .5rem 0 .3rem; }
.flow .step p { font-size: var(--t-xs); color: var(--ink-soft); }
.flow .step:not(:last-child)::after { content: "→"; position: absolute; right: -.75rem; top: 50%; transform: translateY(-50%); color: var(--sage); font-size: 1.1rem; z-index: 1; }
@media (max-width: 920px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow .step::after { display: none; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lift); position: relative; }
.plan__tag { position: absolute; top: -13px; left: 1.7rem; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 600; font-size: var(--t-xs); padding: .3rem .7rem; border-radius: var(--r-pill); }
.plan h3 { font-size: var(--t-lg); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: var(--t-2xl); margin: .4rem 0 .1rem; line-height: 1; }
.plan .price small { font-size: var(--t-sm); font-weight: 500; color: var(--ink-soft); font-family: var(--sans); }
.plan .price-note { font-size: var(--t-xs); color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--t-sm); }
.plan li svg { color: var(--ok); flex: none; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: var(--t-md); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--saffron-deep); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); margin-top: .7rem; max-width: 65ch; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(232,161,60,.22), transparent 70%); }
.cta-final > * { position: relative; }
.cta-final h2 { font-size: var(--t-2xl); color: var(--white); max-width: 20ch; margin-inline: auto; }
.cta-final p { color: color-mix(in srgb, var(--paper) 80%, transparent); max-width: 50ch; margin: 1rem auto 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 3rem 2rem; margin-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--display); font-size: var(--t-sm); margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: var(--t-sm); }
.footer-grid a:hover { color: var(--ink); }
.footer-grid p { color: var(--ink-soft); font-size: var(--t-sm); max-width: 32ch; margin-top: .8rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; font-size: var(--t-xs); color: var(--ink-soft); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mockups SVG: colores internos coherentes ---------- */
.mk { font-family: var(--sans); }
.mk-bg { fill: var(--white); }
.mk-panel { fill: var(--paper); }
.mk-line { stroke: var(--line); stroke-width: 1; }
.mk-ink { fill: var(--ink); }
.mk-soft { fill: var(--ink-soft); }
.mk-saffron { fill: var(--saffron); }
.mk-tomato { fill: var(--tomato); }
.mk-ok { fill: var(--ok); }
.mk-txt { fill: var(--ink); font-weight: 600; }
.mk-txt-sm { fill: var(--ink-soft); }

/* ---------- Ayuda ---------- */
.help-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
.help-nav { position: sticky; top: 84px; border-right: 1px solid var(--line); padding-right: 1.2rem; }
.help-nav strong { font-family: var(--display); font-size: var(--t-sm); display: block; margin: 1.1rem 0 .5rem; color: var(--saffron-deep); }
.help-nav a { display: block; text-decoration: none; color: var(--ink-soft); font-size: var(--t-sm); padding: .32rem 0; }
.help-nav a:hover { color: var(--ink); }
.help-article { max-width: 760px; }
.help-section { padding-block: clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.help-section h2 { font-size: var(--t-xl); margin-bottom: .3rem; }
.help-section > .tag { color: var(--saffron-deep); font-weight: 600; font-size: var(--t-sm); font-family: var(--display); }
.help-section p { color: var(--ink-soft); margin-top: .8rem; max-width: 64ch; }
.help-figure { margin: 1.3rem 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; }
.help-figure figcaption { font-size: var(--t-xs); color: var(--ink-soft); margin-top: .6rem; text-align: center; }
.help-steps { margin: 1rem 0 0; padding-left: 1.2rem; }
.help-steps li { margin-bottom: .5rem; }
.help-steps li::marker { color: var(--saffron-deep); font-family: var(--display); font-weight: 700; }
@media (max-width: 820px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
  .help-nav strong { width: 100%; margin: .6rem 0 0; }
}

/* ---------- Formulario contratar ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow-soft); max-width: 560px; margin-inline: auto; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: .35rem; }
.field input, .field select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--saffron); outline: none; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--t-sm); margin-bottom: .6rem; color: var(--ink-soft); }
.check input { margin-top: .25rem; flex: none; width: 18px; height: 18px; accent-color: var(--ink); }
.form-note { font-size: var(--t-xs); color: var(--ink-soft); margin-top: 1rem; }
.form-msg { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--r-sm); font-size: var(--t-sm); display: none; }
.form-msg--err { display: block; background: #fbe9e4; color: #8f2d1a; border: 1px solid #e7b9ad; }
.form-msg--ok { display: block; background: #e6f2ec; color: #1d5e42; border: 1px solid #b7d8c6; }

/* Reveal al hacer scroll (respeta reduced-motion vía bloque de arriba) */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   v2 — Diseño liderado por FOTOGRAFÍA (premium). Fotos reales de hostelería
   + mockups flotando en contexto, secciones oscuras y bandas full-bleed.
   ===================================================================== */

/* Full-bleed: romper el ancho del contenedor */
.full { width: 100%; }

/* ---------- Hero fotográfico ---------- */
.hero2 { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center;
  overflow: hidden; background: #0c1a2b; isolation: isolate; }
.hero2__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* Slider de fondo del hero: 5 imágenes con crossfade + Ken Burns (CSS puro) */
.hero2__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0c1a2b; }
.hero2__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; will-change: opacity, transform; animation: heroKen 36s infinite both; }
.hero2__slide:nth-child(1) { animation-delay:  0s; }
.hero2__slide:nth-child(2) { animation-delay:  7.2s; }
.hero2__slide:nth-child(3) { animation-delay: 14.4s; }
.hero2__slide:nth-child(4) { animation-delay: 21.6s; }
.hero2__slide:nth-child(5) { animation-delay: 28.8s; }
@keyframes heroKen {
  0%    { opacity: 0; transform: scale(1.02); }
  2.5%  { opacity: 1; }
  18%   { opacity: 1; }
  22%   { opacity: 0; transform: scale(1.10); }
  100%  { opacity: 0; transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .hero2__slide { animation: none; opacity: 0; }
  .hero2__slide:nth-child(1) { opacity: 1; }
}
.hero2__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,20,34,.93) 0%, rgba(9,20,34,.78) 38%, rgba(9,20,34,.30) 70%, rgba(9,20,34,.55) 100%),
    linear-gradient(0deg, rgba(9,20,34,.6), transparent 45%); }
.hero2__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3rem); align-items: center;
  padding-block: clamp(3rem, 8vh, 6rem); }
.hero2 .eyebrow { color: var(--saffron); }
.hero2 .eyebrow::before { background: var(--saffron); }
.hero2 h1 { color: #fff; font-size: var(--t-4xl); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.hero2 h1 .warm { color: var(--saffron); }
.hero2 .lede { color: rgba(251,247,239,.86); margin-top: 1.1rem; max-width: 42ch; }
.hero2 .hero-trust { color: rgba(251,247,239,.8); margin-top: 1.5rem; }
.hero2 .hero-trust svg { color: var(--saffron); }
.hero2__card { justify-self: end; width: 100%; max-width: 380px; }
.hero2__card .device { box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: rotate(-1deg); }
@media (max-width: 900px) {
  .hero2__inner { grid-template-columns: 1fr; }
  .hero2__card { justify-self: center; max-width: 330px; margin-top: .5rem; }
  .hero2 { min-height: 0; padding-top: 1rem; }
}

/* ---------- Franja de "cómo" bajo el hero (sobre papel) ---------- */
.underhero { background: var(--ink); color: var(--paper); }
.underhero .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: center; justify-content: center;
  padding-block: 1.1rem; font-size: var(--t-sm); color: rgba(251,247,239,.8); }
.underhero b { color: var(--saffron); font-family: var(--display); }

/* ---------- Fila media: foto real + texto (+ mockup) ---------- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.media + .media { margin-top: clamp(3.5rem, 8vw, 6rem); }
.media--rev .media__text { order: 2; }
.media__text h2 { font-size: var(--t-xl); margin-bottom: .8rem; max-width: 16ch; }
.media__text p { color: var(--ink-soft); max-width: 48ch; }
.media__visual { position: relative; }
.photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lift); display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--tall { aspect-ratio: 4/5; }
.photo--wide { aspect-ratio: 5/4; }
/* mockup flotando sobre la foto */
.media__visual .float-mock { position: absolute; width: 58%; right: -6%; bottom: -8%; filter: drop-shadow(0 24px 50px rgba(0,0,0,.35)); }
.media__visual .float-mock .device { padding: 8px; border-radius: 18px; }
.media__visual .float-mock .device__screen { border-radius: 11px; }
@media (max-width: 760px) {
  .media { grid-template-columns: 1fr; }
  .media--rev .media__text { order: 0; }
  .media__visual .float-mock { position: static; width: 78%; margin: -18% auto 0; right: auto; bottom: auto; }
}

/* ---------- Banda fotográfica full-bleed con frase ---------- */
.band { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(9,20,34,.82), rgba(9,20,34,.45)); }
.band__inner { padding-block: clamp(3rem, 8vw, 5rem); color: #fff; max-width: 40ch; }
.band__inner .eyebrow { color: var(--saffron); } .band__inner .eyebrow::before { background: var(--saffron); }
.band__inner h2 { color: #fff; font-size: var(--t-3xl); letter-spacing: -.03em; text-wrap: balance; }
.band__inner p { color: rgba(251,247,239,.85); margin-top: 1rem; font-size: var(--t-md); }
.band--right .band__inner { margin-left: auto; text-align: right; }
.band--right .band__scrim { background: linear-gradient(0deg, rgba(9,20,34,.8), rgba(9,20,34,.35)); }

/* ---------- Secciones oscuras (features / precios premium) ---------- */
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .section-title, .section--dark .band__inner h2, .section--dark h2 { color: #fff; }
.section--dark .lede { color: rgba(251,247,239,.8); }
.section--dark .eyebrow { color: var(--saffron); } .section--dark .eyebrow::before { background: var(--saffron); }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .feature h3 { color: #fff; }
.section--dark .feature p { color: rgba(251,247,239,.7); }
.section--dark .feature .ico { background: rgba(232,161,60,.16); color: var(--saffron); }
.section--dark .feature:hover { border-color: rgba(232,161,60,.5); }

/* ---------- Galería / mosaico de fotos ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: .8rem; }
.mosaic .ph { overflow: hidden; border-radius: var(--r-md); }
.mosaic .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic .ph:hover img { transform: scale(1.05); }
.mosaic .ph--big { grid-column: span 2; grid-row: span 2; }
.mosaic .ph--wide { grid-column: span 2; }
@media (max-width: 680px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; } .mosaic .ph--big { grid-column: span 2; grid-row: span 1; } }

/* ---------- CTA con foto ---------- */
.cta-photo { position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,20,34,.92), rgba(9,20,34,.6)); }
.cta-photo .inner { padding: clamp(2.5rem, 7vw, 5rem); color: #fff; max-width: min(640px, 100%); }
.cta-photo h2 { color: #fff; font-size: var(--t-2xl); max-width: 16ch; text-wrap: balance; }
.cta-photo p { color: rgba(251,247,239,.85); margin: 1rem 0 1.8rem; max-width: 44ch; }

/* ---------- Página de Funciones (SEO) ---------- */
.func-hero { background: var(--ink); color: var(--paper); }
.func-hero h1 { color: #fff; font-size: var(--t-2xl); max-width: 20ch; }
.func-hero .lede { color: rgba(251,247,239,.82); margin-top: .8rem; }
.func-hero .eyebrow { color: var(--saffron); } .func-hero .eyebrow::before { background: var(--saffron); }
.breadcrumb { font-size: var(--t-xs); color: var(--ink-soft); margin-bottom: .8rem; }
.breadcrumb a { text-decoration: none; } .breadcrumb[data-dark] { color: rgba(251,247,239,.7); }
.spec { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.4rem; }
.spec h3 { font-size: var(--t-sm); font-family: var(--display); color: var(--saffron-deep); margin-bottom: .7rem; }
.spec ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.spec li { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--t-sm); }
.spec li svg { color: var(--ok); flex: none; margin-top: 3px; }
.func-cta { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem,4vw,2.4rem); text-align: center; }

/* ---------- Logo corporativo (imagen real ORestauBar) ---------- */
.brand-logo { height: 52px; width: auto; display: block; }
.site-footer .brand-logo { height: 46px; }
@media (max-width: 520px) { .brand-logo { height: 42px; } }

/* ---------- Recorrido del cliente (pedir online) ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 5vw, 3rem); align-items: start; margin-top: 1rem; }
.jstep { position: relative; text-align: center; }
.jstep .phone { max-width: 230px; margin: 0 auto 1.2rem; }
.jstep .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--saffron); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: var(--t-sm); margin-bottom: .6rem; }
.jstep h3 { font-size: var(--t-md); }
.jstep p { color: var(--ink-soft); font-size: var(--t-sm); max-width: 30ch; margin: .35rem auto 0; }
.jstep:not(:last-child)::after { content: ""; position: absolute; top: 120px; right: -6%;
  width: clamp(1.5rem, 5vw, 3rem); height: 2px; background: repeating-linear-gradient(90deg, var(--saffron) 0 8px, transparent 8px 14px); }
.jstep:not(:last-child) .arrowhead { position: absolute; top: 112px; right: -6%; color: var(--saffron); }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 2rem; }
  .jstep:not(:last-child)::after, .jstep .arrowhead { display: none; }
}
/* marco de móvil */
.phone { background: var(--ink); border-radius: 26px; padding: 8px; box-shadow: var(--shadow-lift); }
.phone__screen { background: var(--white); border-radius: 18px; overflow: hidden; }
.phone__screen img { display: block; width: 100%; height: auto; }

/* ---------- Recorrido 2.0: móvil real + pasos ---------- */
.journey2 { display: grid; grid-template-columns: minmax(0,0.9fr) 1.1fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; margin-top: 1rem; }
.journey2__device { justify-self: center; text-align: center; max-width: 320px; }
.journey2 .phone { transform: rotate(-1.4deg); }
.journey2__cap { display: block; margin-top: 1rem; font-size: var(--t-sm); color: var(--ink-soft); max-width: 24ch; margin-inline: auto; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; position: relative; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: -1.4rem; width: 2px;
  background: repeating-linear-gradient(var(--saffron) 0 7px, transparent 7px 13px); }
.steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--saffron); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; box-shadow: 0 6px 16px rgba(201,124,66,.3); }
.steps h3 { font-size: var(--t-md); margin: .4rem 0 .25rem; }
.steps p { color: var(--ink-soft); font-size: var(--t-sm); max-width: 44ch; }
@media (max-width: 820px) {
  .journey2 { grid-template-columns: 1fr; gap: 2.2rem; }
  .journey2__device { order: -1; }
}

/* ---------- Ventana de app (para el diseñador de ambientes) ---------- */
.appwin { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line); background: var(--white); max-width: 920px; margin-inline: auto; }
.appwin__bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.appwin__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9cdb8; display: inline-block; }
.appwin__bar i:nth-child(1){ background:#e0785f } .appwin__bar i:nth-child(2){ background:#e8b64a } .appwin__bar i:nth-child(3){ background:#6fae7e }
.appwin__bar span { margin-left: .6rem; font-size: var(--t-xs); color: var(--ink-soft); font-family: var(--display); font-weight: 600; }
.appwin__body { display: block; }
.appwin__body svg { display: block; width: 100%; height: auto; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; justify-content: center; margin-top: 1.1rem; font-size: var(--t-xs); color: var(--ink-soft); }
.legend b { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.legend .d { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* ---------- Profundidad de contenido en Funciones ---------- */
.help-section h3 { font-size: var(--t-md); font-family: var(--display); font-weight: 700; margin-top: 1.5rem; margin-bottom: .3rem; color: var(--ink); }
.help-section p + p { margin-top: .9rem; }
.help-section .lead-q { font-size: var(--t-md); color: var(--ink); font-weight: 500; }
.help-steps li { margin-bottom: .55rem; color: var(--ink-soft); }
.help-steps li strong { color: var(--ink); }
.pullquote { border-left: 3px solid var(--saffron); padding: .2rem 0 .2rem 1.1rem; margin: 1.4rem 0; font-family: var(--display); font-size: var(--t-md); color: var(--ink); font-weight: 600; }

/* ---------- Ventana de navegador (para pantallas reales de la app) ---------- */
.browser { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lift); border: 1px solid var(--line); background: #fff; }
.browser__bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; background: #eef2f5; border-bottom: 1px solid #dde4ea; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; }
.browser__bar i:nth-child(1){ background:#ec6a5e } .browser__bar i:nth-child(2){ background:#f4bf4f } .browser__bar i:nth-child(3){ background:#61c454 }
.browser__bar span { margin-left: .7rem; font-size: var(--t-xs); color: #7a8794; font-family: var(--sans); background:#fff; border:1px solid #dde4ea; border-radius:6px; padding:.12rem .7rem; }
.browser img { display: block; width: 100%; height: auto; }
/* captura real flotando sobre una foto */
.media__visual .float-shot { position: absolute; width: 66%; right: -6%; bottom: -9%; }
.media__visual .float-shot .browser { box-shadow: 0 24px 50px rgba(9,20,34,.28); }
@media (max-width: 760px){ .media__visual .float-shot { position: static; width: 86%; margin: -16% auto 0; right:auto; bottom:auto; } }

/* ---------- Galería de pantallas reales ---------- */
.shots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 3vw, 1.6rem); }
@media (max-width: 720px){ .shots-grid { grid-template-columns: 1fr; } }
.shot figcaption { font-size: var(--t-sm); color: var(--ink-soft); margin-top: .6rem; text-align: center; }
.shot figcaption b { color: var(--ink); font-family: var(--display); }
.shot .browser { transition: transform .25s ease, box-shadow .25s ease; }
.shot:hover .browser { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(9,20,34,.2); }
.shot--wide { grid-column: 1 / -1; }

/* ---------- Tríptico de paneles reales (detalle) ---------- */
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: end; margin-top: 1.4rem; }
.panel { text-align: center; }
.panel__shot { border-radius: 20px; overflow: hidden; box-shadow: 0 26px 60px rgba(9,20,34,.22); border: 1px solid var(--line); background: #fff; max-width: 300px; margin: 0 auto; }
.panel__shot img { display: block; width: 100%; height: auto; }
.panel:nth-child(1) .panel__shot { transform: rotate(-1.6deg); }
.panel:nth-child(3) .panel__shot { transform: rotate(1.6deg); }
.panel h3 { font-size: var(--t-md); margin: 1.1rem 0 .25rem; }
.panel p { color: var(--ink-soft); font-size: var(--t-sm); max-width: 30ch; margin-inline: auto; }
@media (max-width: 820px) {
  .panels { grid-template-columns: 1fr; gap: 2.6rem; }
  .panel:nth-child(1) .panel__shot, .panel:nth-child(3) .panel__shot { transform: none; }
}
