/* =========================================================
   Frato · Bar & Restó — estilos (mobile-first)
   ========================================================= */

/* Fuentes servidas desde el sitio (latin, variables) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Special Elite"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/special-elite.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/caveat.woff2") format("woff2"); }

:root {  --navy: #0F1B2D;
  --navy-2: #16263D;
  --navy-3: #1D3150;
  --cream: #F3EBDD;
  --ivory: #E6E1D6;
  --text-2: rgba(230, 225, 214, .75);
  --sand: #C9A97A;
  --sand-soft: rgba(201, 169, 122, .35);

  --f-title: "Special Elite", "Courier Prime", "Courier New", monospace;
  --f-body: "Inter", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Caveat", "Segoe Script", cursive;

  --pad: max(16px, env(safe-area-inset-left), env(safe-area-inset-right)); /* respeta el notch en celulares acostados */
  --max: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t: 200ms;

  --grain: url("../img/tex-grain.webp");
  --wood: url("../img/tex-wood.webp");
  --specks: url("../img/tex-specks.webp");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font: 400 1rem/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* textura de grano sobre todo el sitio (~6%) */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--grain);
  opacity: .06;
  pointer-events: none;
  z-index: 100;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--navy); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
.title {
  font-family: var(--f-title);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.05;
  color: var(--cream);
}
.title--lg { font-size: clamp(2.6rem, 9vw, 4.6rem); }
.kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .8em;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--sand); }
.script { font-family: var(--f-script); font-size: 1.9rem; color: var(--sand); line-height: 1.1; margin-top: 1.4rem; }
.script--xl { font-size: clamp(3rem, 12vw, 5.5rem); text-align: center; transform: rotate(-4deg); margin: 2rem 0 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1rem 2rem;
  background: var(--sand);
  color: var(--navy);
  border: 1px solid var(--sand);
  font: 600 .82rem/1 var(--f-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease, transform var(--t) ease;
}
.btn:hover, .btn:focus-visible { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .85rem 1.5rem; font-size: .75rem; }
.btn svg { width: 20px; height: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 .8rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--sand); text-decoration: none;
  transition: color var(--t) ease;
}
.link-arrow svg { width: 22px; height: 22px; transition: transform var(--t) ease; }
.link-arrow:hover { color: var(--cream); }
.link-arrow:focus-visible svg { transform: translateX(4px); }

.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--sand-soft); border-radius: 50%; background: none; color: var(--sand); cursor: pointer;
  transition: background-color var(--t) ease, color var(--t) ease, border-color var(--t) ease;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
  padding-block: 1.1rem;
}
.nav.is-scrolled { background: rgba(15, 27, 45, .97); box-shadow: 0 8px 30px rgba(4, 9, 18, .45); padding-block: .7rem; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--f-title); font-size: 1.9rem; text-decoration: none; color: var(--cream); letter-spacing: .02em; position: relative; z-index: 2; }
.nav__toggle {
  position: relative; z-index: 2;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  display: grid; place-content: center; gap: 6px;
}
.nav__toggle span { width: 26px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav__menu {
  position: fixed; inset: 0;
  background: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; }
.nav__menu a { font-family: var(--f-title); font-size: 2rem; text-decoration: none; color: var(--cream); transition: color var(--t); }
.nav__menu a:hover { color: var(--sand); }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; flex-direction: row; gap: 2.2rem; background: none;
    opacity: 1; visibility: visible;
  }
  .nav__menu a {
    font: 500 .78rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase;
    position: relative; padding-block: .4rem;
  }
  .nav__menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sand);
    transform: scaleX(0); transform-origin: left; transition: transform var(--t) ease;
  }
  .nav__menu a:hover { color: var(--cream); }
  .nav__menu a:hover::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
  background: var(--navy);
}
/* foto del cartel FTO.: en mobile ocupa toda la pantalla con el cartel arriba */
.hero__bg {
  position: absolute; inset: 0 0 auto; width: 100%; height: 78%; z-index: -2;
  object-fit: cover; object-position: 44% 22%;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
  transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,27,45,.45) 0%, rgba(15,27,45,.05) 18%, rgba(15,27,45,.1) 42%, rgba(15,27,45,.82) 66%, var(--navy) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { text-align: center; padding-top: 5rem; padding-bottom: 6.5rem; display: flex; flex-direction: column; align-items: center; }

/* desktop: texto a la izquierda, foto a la derecha fundida con el marino */
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero__bg {
    inset: 0 0 0 auto; width: 56%; height: 100%;
    object-position: 40% 35%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .hero::after {
    background:
      radial-gradient(ellipse 45% 55% at 18% 50%, rgba(201,169,122,.10), transparent 70%),
      linear-gradient(180deg, rgba(15,27,45,.35) 0%, transparent 20%, transparent 75%, var(--navy) 100%);
  }
  .hero__content { text-align: left; align-items: flex-start; padding-block: 7rem; }
  .hero__content > * { max-width: 44%; }
  .hero__content .kicker::after { display: none; }
  .hero__title { font-size: clamp(6rem, 11vw, 10rem); }
}
.hero__content .kicker::after { content: ""; width: 28px; height: 1px; background: var(--sand); }
.hero__title {
  font-family: var(--f-title);
  font-size: clamp(5rem, 24vw, 12rem);
  line-height: .9;
  letter-spacing: .02em;
  text-shadow: 0 6px 40px rgba(4, 9, 18, .5);
}
.hero__lead {
  font-family: var(--f-script);
  font-size: clamp(1.7rem, 5.5vw, 2.5rem);
  color: var(--cream);
  margin: 1rem 0 2.2rem;
  max-width: 22ch;
  line-height: 1.15;
}
.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 1px solid var(--sand-soft); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--sand); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section, .footer { position: relative; isolation: isolate; overflow: hidden; }
.section { padding-block: 5.5rem; }
/* luces cálidas tipo lámpara colgante + sombra de fondo */
.section {
  background:
    radial-gradient(ellipse 55% 42% at 12% 0%, rgba(201, 169, 122, .13), transparent 70%),
    radial-gradient(ellipse 50% 40% at 92% 96%, rgba(201, 169, 122, .07), transparent 70%),
    radial-gradient(ellipse 80% 60% at 70% 40%, var(--navy-3), transparent 75%),
    var(--navy);
}
.section--alt {
  background:
    radial-gradient(ellipse 55% 40% at 88% 0%, rgba(201, 169, 122, .14), transparent 70%),
    radial-gradient(ellipse 50% 45% at 6% 100%, rgba(201, 169, 122, .07), transparent 70%),
    radial-gradient(ellipse 90% 70% at 30% 55%, #1E3352, transparent 75%),
    var(--navy-2);
}
/* vetas de madera (tablones) sobre todas las secciones */
.section::before, .footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--wood), repeating-linear-gradient(180deg, transparent 0 139px, rgba(3, 8, 16, .55) 139px 141px);
  background-size: 900px 280px, auto;
  opacity: .12;
}
/* en desktop la mezcla soft-light da más profundidad; en celulares se evita porque es costosa al scrollear */
@media (min-width: 900px) and (hover: hover) {
  .section::before, .footer::before { opacity: .28; mix-blend-mode: soft-light; }
}
/* viñeta */
.section::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 85% 75% at 50% 50%, transparent 55%, rgba(5, 10, 20, .5));
}
.section > :not(.bg-layer), .footer > :not(.bg-layer) { position: relative; z-index: 1; }
@media (min-width: 900px) { .section { padding-block: 8rem; } }

/* capa decorativa de fondo: palabra gigante, ilustraciones de línea, harina y especias */
.bg-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bg-layer svg {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--w); height: var(--w);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r, 0deg));
}
.lineart { color: var(--sand); opacity: .2; }
.dust { opacity: .3; }
.glow {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 122, .16), transparent 62%);
}
.watermark {
  position: absolute;
  left: var(--wx, auto); right: var(--wr, auto); top: var(--wy, auto); bottom: var(--wb, auto);
  font-family: var(--f-title);
  font-size: clamp(6rem, 24vw, 21rem);
  line-height: .8;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: rgba(243, 235, 221, .015);
  -webkit-text-stroke: 1px rgba(201, 169, 122, .17);
  user-select: none;
}
.watermark--script {
  font-family: var(--f-script); font-size: clamp(5rem, 18vw, 15rem);
  color: rgba(201, 169, 122, .06); -webkit-text-stroke: 0; transform: rotate(-8deg);
}
.watermark--footer {
  left: 50%; bottom: -.18em; translate: -50% 0;
  font-size: clamp(8rem, 34vw, 30rem);
  -webkit-text-stroke-color: rgba(201, 169, 122, .12);
}
@media (max-width: 767px) {
  .lineart { opacity: .13; }
}

/* encabezado con línea que cruza la pantalla */
.section-head {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.4rem; row-gap: .8rem;
  padding-left: max(var(--pad), calc((100% - var(--max)) / 2));
  margin-bottom: 3.5rem;
}
.section-head .title { flex: 0 0 auto; }
.section-head .rule { flex: 1 1 60px; height: 1px; background: linear-gradient(90deg, var(--sand), rgba(201,169,122,.25)); align-self: center; margin-top: .4em; }
.section-head > :last-child:not(.rule) {
  flex-basis: 100%;
  display: flex; justify-content: flex-end;
  padding-right: max(var(--pad), calc((100% - var(--max)) / 2));
}
.section-head > a.link-arrow:last-child { justify-content: flex-end; }

/* ---------- Elementos decorativos ---------- */
.plate {
  position: relative; z-index: 1;
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  box-shadow: 0 30px 60px -10px rgba(3, 8, 16, .75), 0 0 0 1px rgba(243, 235, 221, .06);
}
.deco {
  position: absolute; z-index: 2;
  left: var(--x); top: var(--y);
  width: var(--w); height: var(--w);
  transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r, 0deg));
  filter: drop-shadow(0 8px 10px rgba(3, 8, 16, .55));
  pointer-events: none;
}
/* nube de harina/sal alrededor de cada plato */
.flour {
  position: absolute; inset: -16%; z-index: 0; pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 26% 30%, rgba(243,235,221,.30), transparent),
    radial-gradient(closest-side at 76% 70%, rgba(243,235,221,.22), transparent),
    radial-gradient(closest-side at 60% 20%, rgba(243,235,221,.16), transparent);
  filter: blur(10px);
}
.flour::after {
  content: ""; position: absolute; inset: -6%;
  background-image: var(--specks); background-size: 260px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  mask-image: radial-gradient(closest-side, #000 55%, transparent);
  filter: blur(.2px);
  opacity: .9;
}
.flour--lg { inset: -18%; }
.flour--splash { inset: -12% -20%; border-radius: 40%; transform: rotate(-14deg); }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; gap: 4rem; align-items: center; }
.about__text p:not(.kicker):not(.script) { color: var(--text-2); max-width: 52ch; }
.about__text .title { margin-bottom: 1.6rem; }
.about__visual { position: relative; width: min(86vw, 520px); margin-inline: auto; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
  /* la imagen desborda el contenedor hacia la derecha */
  .about__visual { width: min(46vw, 600px); margin-right: max(-60px, calc((var(--max) + var(--pad) * 2 - 100vw) / 2)); margin-left: 0; justify-self: end; }
}

/* ---------- Carta ---------- */
.menu__lead { text-align: center; margin: -1.5rem auto 3rem; }
.menu__lead .script { display: block; margin: 0; font-size: clamp(2rem, 6vw, 3rem); color: var(--cream); }
.menu__lead .script + .script { color: var(--sand); transform: translateX(1.5em) rotate(-3deg); }
.menu__cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-top: -2rem; }
.menu__cta p { margin: 0; color: var(--text-2); max-width: 36ch; }
.dish__price { font: 400 1.25rem/1.3 var(--f-title); color: var(--cream) !important; margin-top: .4rem; }
.dish__price small { font: 500 .7rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.about__day { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.about__day li { color: var(--text-2); display: flex; gap: 1rem; align-items: baseline; }
.about__day span { flex: 0 0 7.5rem; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
.dishes { display: grid; gap: 5rem; counter-reset: dish; }
/* aros alrededor de cada plato */
.dish__media::before, .dish__media::after, .about__visual::before {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.dish__media::before, .about__visual::before { inset: -8%; border: 1px dashed rgba(201, 169, 122, .45); animation: spin 90s linear infinite; }
.dish__media::after { inset: -3.5%; border: 1px solid rgba(201, 169, 122, .2); }
@keyframes spin { to { transform: rotate(360deg); } }
/* número de plato en contorno */
.dish__body::before {
  counter-increment: dish;
  content: "0" counter(dish);
  display: block;
  font: 400 4.2rem/1 var(--f-title);
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 122, .6);
  margin-bottom: .6rem;
}
/* marco doble tipo carta impresa */
@media (min-width: 900px) {
  .dishes { position: relative; padding: 5rem 3rem 4rem; }
  .dishes::before, .dishes::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(201, 169, 122, .22); }
  .dishes::before { inset: 0 var(--pad); }
  .dishes::after { inset: 10px calc(var(--pad) + 10px); border-color: rgba(201, 169, 122, .1); }
}

/* sello giratorio */
.seal { position: absolute; z-index: 3; width: 118px; height: 118px; left: -2%; bottom: 2%; filter: drop-shadow(0 10px 20px rgba(3, 8, 16, .6)); }
.seal__ring { transform-origin: 100px 100px; animation: spin 28s linear infinite; }
@media (min-width: 900px) { .seal { width: 150px; height: 150px; left: -8%; } }
.dish { display: grid; gap: 2.4rem; justify-items: center; text-align: center; }
.dish__media { position: relative; width: min(74vw, 340px); }
.dish__cat { font-family: var(--f-title); font-size: 1.05rem; color: var(--text-2); margin-bottom: .6rem; }
.dish__name {
  font: 600 1.15rem/1.35 var(--f-body);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .9rem;
}
.dish__body p:not(.dish__cat) { color: var(--text-2); max-width: 40ch; margin-inline: auto; }
.dish__body::after { content: ""; display: block; width: 44px; height: 1px; background: var(--sand-soft); margin: 1.4rem auto 0; }

@media (min-width: 768px) {
  .dishes { gap: 6rem; }
  .dish { grid-template-columns: 1fr 1fr; align-items: center; text-align: left; gap: 4rem; justify-items: stretch; }
  .dish__media { width: min(100%, 380px); justify-self: center; }
  .dish__body p:not(.dish__cat) { margin-inline: 0; }
  .dish__body::after { margin-left: 0; }
  .dish--rev .dish__media { order: 2; }
  .dish--rev .dish__body { text-align: right; }
  .dish--rev .dish__body p:not(.dish__cat) { margin-left: auto; }
  .dish--rev .dish__body::after { margin-left: auto; margin-right: 0; }
}

/* ---------- Galería ---------- */
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.gallery__grid a { position: relative; display: block; overflow: hidden; aspect-ratio: 1; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: saturate(.92); }
.gallery__grid a::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(15, 27, 45, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='%23F3EBDD' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='4.2' fill='none' stroke='%23F3EBDD' stroke-width='1.6'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.1' fill='%23F3EBDD'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0; transition: opacity var(--t) ease;
}
.gallery__grid a:focus-visible img { transform: scale(1.06); filter: saturate(1.05); }
.gallery__grid a:focus-visible::after { opacity: 1; }
/* efectos hover solo en dispositivos con mouse (en touch quedan "pegados" al tocar) */
@media (hover: hover) {
  .gallery__grid a:hover img { transform: scale(1.06); filter: saturate(1.05); }
  .gallery__grid a:hover::after { opacity: 1; }
  .link-arrow:hover svg { transform: translateX(4px); }
}
@media (min-width: 768px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

/* ---------- Reservas ---------- */
.booking { position: relative; isolation: isolate; padding-block: 6rem; overflow: hidden; }
.booking__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.booking::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 27, 45, .82); }
.booking__inner { display: grid; gap: 3rem; align-items: center; }
.booking__intro p:not(.kicker) { color: var(--ivory); max-width: 40ch; margin: 1.2rem 0 2rem; }

.form { background: rgba(15, 27, 45, .72); border: 1px solid var(--sand-soft); padding: 2rem 1.4rem; backdrop-filter: blur(6px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form__grid .form__row:first-child { grid-column: 1 / -1; }
.form__row { display: flex; flex-direction: column; margin-bottom: 1.4rem; }
.form label { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: .4rem; }
.form input, .form select {
  font: 400 1rem/1.4 var(--f-body);
  color: var(--cream);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(243, 235, 221, .35);
  padding: .6rem 0;
  border-radius: 0;
  color-scheme: dark;
  transition: border-color var(--t);
}
.form select option { background: var(--navy); }
.form input:focus, .form select:focus { outline: none; border-bottom-color: var(--sand); }
.form [aria-invalid="true"] { border-bottom-color: #E8A08F; }
.form__note { min-height: 1.4em; font-size: .9rem; color: var(--ivory); }
.form .btn { width: 100%; }

@media (min-width: 900px) {
  .booking { padding-block: 8rem; }
  .booking__inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .form { padding: 2.6rem 2.4rem; }
  .form__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .form__grid .form__row:first-child { grid-column: auto; }
}

/* ---------- Footer ---------- */
.footer { background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(201, 169, 122, .08), transparent 70%), #0C1626; border-top: 1px solid rgba(201,169,122,.2); padding-top: 4.5rem; color: var(--cream); }
.footer__grid { display: grid; gap: 2.6rem; }
.footer__tag { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--sand); margin-top: .3rem; }
.footer__h { font: 600 .74rem/1 var(--f-body); letter-spacing: .28em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.footer address { font-style: normal; color: var(--cream); }
/* tarjetas de contacto */
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact a {
  display: flex; align-items: center; gap: .9rem;
  padding: .75rem .9rem; min-height: 64px;
  border: 1px solid rgba(201, 169, 122, .22);
  background: rgba(22, 38, 61, .55);
  color: var(--cream); text-decoration: none;
  transition: border-color var(--t), background-color var(--t);
}
.contact__icon {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--sand-soft); color: var(--sand);
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.contact__icon svg { width: 19px; height: 19px; }
.contact__icon--wa { background: var(--sand); border-color: var(--sand); color: var(--navy); }
.contact__text { display: flex; flex-direction: column; line-height: 1.35; font-size: .95rem; min-width: 0; }
.contact__text small { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: .2rem; }
.contact address { font-style: normal; }
@media (hover: hover) {
  .contact a:hover { border-color: var(--sand); background: rgba(29, 49, 80, .8); }
  .contact a:hover .contact__icon { background: var(--cream); border-color: var(--cream); color: var(--navy); }
}
.footer__links { margin-top: 1rem; line-height: 2; }
.footer__links a { color: var(--sand); text-decoration: none; transition: color var(--t); }
.footer__links a:hover { color: var(--cream); }
.footer__note { color: var(--text-2); font-size: .9rem; margin-bottom: .4rem; }
.footer__hours { list-style: none; margin: 0; padding: 0; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 260px; border-bottom: 1px dotted rgba(243,235,221,.18); padding: .35rem 0; }
.footer__hours span { color: var(--text-2); }
.footer__social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer__social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--sand-soft); border-radius: 50%; color: var(--cream);
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.footer__social a:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.footer__social svg { width: 20px; height: 20px; }
.footer__map iframe {
  width: 100%; height: 240px; border: 1px solid var(--sand-soft);
  filter: grayscale(1) invert(.92) hue-rotate(185deg) contrast(.85) brightness(.95);
}
.footer__map { min-height: 240px; }
.map-ph {
  height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  padding: 1rem; text-align: center; border: 1px solid var(--sand-soft);
  background: radial-gradient(circle at 50% 40%, rgba(201,169,122,.10), transparent 70%), var(--navy-2);
}
.map-ph svg { width: 34px; height: 34px; color: var(--sand); }
.map-ph p { margin: 0; color: var(--text-2); font-size: .88rem; max-width: 30ch; }
.footer__bottom a { color: var(--sand); text-decoration: none; }
.footer__bottom a:hover { color: var(--cream); }

/* aviso de cookies: chico, abajo a la izquierda */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  max-width: 360px;
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1rem 1.1rem;
  background: rgba(22, 38, 61, .97); border: 1px solid var(--sand-soft);
  box-shadow: 0 14px 40px rgba(3, 8, 16, .55);
  font-size: .86rem; color: var(--ivory);
  animation: consentIn .35s var(--ease);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent a { color: var(--sand); }
.consent__actions { display: flex; gap: .5rem; justify-content: flex-end; }
.consent__btn {
  padding: .55rem 1rem; cursor: pointer;
  font: 600 .7rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  background: transparent; color: var(--cream); border: 1px solid rgba(243,235,221,.35);
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.consent__btn:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.consent__btn--ok { background: var(--sand); color: var(--navy); border-color: var(--sand); }
@keyframes consentIn { from { opacity: 0; transform: translateY(12px); } }
.footer__bottom { font-size: .78rem; color: var(--text-2); border-top: 1px solid rgba(243,235,221,.08); margin-top: 3.5rem; padding-top: 1.4rem; padding-bottom: 1.6rem; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: .8fr 1.4fr 1fr 1.5fr; gap: 2.6rem; }
}

/* ---------- Animaciones de aparición ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .12s; }
.js .hero .reveal:nth-child(3) { transition-delay: .24s; }
.js .hero .reveal:nth-child(4) { transition-delay: .36s; }

/* ---------- Celulares: táctil, notch y rendimiento ---------- */
.consent { bottom: calc(12px + env(safe-area-inset-bottom)); }
.consent__btn { min-height: 44px; padding-inline: 1.1rem; }
.footer__links a, .footer__bottom a { display: inline-block; padding-block: .35rem; }
.footer__social a { width: 48px; height: 48px; }
.nav__menu { padding-bottom: env(safe-area-inset-bottom); }
a, button, .btn { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { -webkit-user-drag: none; }
@media (max-width: 767px) {
  /* sombras con filter son caras de pintar en celulares: se usan versiones livianas */
  .deco { filter: none; }
  .seal { filter: none; box-shadow: 0 10px 20px rgba(3, 8, 16, .5); border-radius: 50%; }
  .flour { filter: blur(6px); }
  .form { backdrop-filter: none; background: rgba(15, 27, 45, .9); }
  .watermark { -webkit-text-stroke-width: .8px; }
}
/* teléfonos acostados: el hero no necesita ocupar toda la altura */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .nav__menu { gap: .8rem; }
  .nav__menu a { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .deco { transform: rotate(var(--r, 0deg)); }
}
