/* ==========================================================================
   La Taberna de Pepe · Enoteca · Punta Cana Village
   Identity source: the client's own printed menu cover.
   Wine field, double hairline frame, corner circles, vertical rules,
   wide-tracked small caps. Everything below is built from that.
   ========================================================================== */

/* 1 ── TOKENS ─────────────────────────────────────────────────────────── */

:root {
  --wine:       #4B0017;
  --wine-soft:  #5A1414;
  --wine-deep:  #32000F;
  --cream:      #F6F1E9;
  --cream-deep: #EDE4D6;
  --brass:      #B08D57;
  --brass-deep: #8A6A3B;
  --ink:        #2A0A12;
  --ink-soft:   #6E5B60;

  --line:      rgba(42, 10, 18, 0.14);
  --line-wine: rgba(246, 241, 233, 0.22);

  --nav-h: 72px;
  --max:   1240px;
  --gut:   clamp(20px, 5vw, 56px);

  --sans:  "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2 ── RESET ──────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  top: 0; left: 0;
  padding: 14px 22px;
  background-color: var(--wine);
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 200;
  transform: translateY(-110%);
}
.skip:focus { transform: translateY(0); }

/* 3 ── UTILITIES ──────────────────────────────────────────────────────── */

.wrap {
  width: min(100% - (var(--gut) * 2), var(--max));
  margin-inline: auto;
}

/* The signature label: every eyebrow, caption, nav link, button. */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1;
}
.eyebrow--wine { color: var(--brass); }

.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin-top: 0.5em;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 300;
}

/* Vertical hairline, lifted straight off the menu cover. */
.rule {
  display: block;
  width: 1px;
  height: clamp(48px, 7vh, 84px);
  background-color: currentColor;
  opacity: 0.38;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9em 2.1em;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn--brass {
  border-color: var(--brass);
  color: var(--cream);
}
.btn--brass:hover, .btn--brass:focus-visible {
  background-color: var(--brass);
  color: var(--wine-deep);
  transform: translateY(-2px);
}
.btn--pill {
  border-color: var(--brass);
  color: var(--cream);
  border-radius: 999px;
}
.btn--pill:hover, .btn--pill:focus-visible {
  background-color: var(--brass);
  color: var(--wine-deep);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--wine);
  background-color: var(--wine);
  color: var(--cream);
  transform: translateY(-2px);
}

/* The cover ornament: double hairline frame plus a circle at each corner. */
.frame { position: absolute; border: 1px solid var(--line-wine); pointer-events: none; }
.frame--outer { inset: 16px; }
.frame--inner { inset: 30px; }

.corner {
  position: absolute;
  width: clamp(64px, 8vw, 118px);
  aspect-ratio: 1;
  border: 1px solid var(--line-wine);
  border-radius: 50%;
  pointer-events: none;
}
.corner--tl { top: 16px;    left: 16px;  transform: translate(-50%, -50%); }
.corner--tr { top: 16px;    right: 16px; transform: translate(50%, -50%); }
.corner--bl { bottom: 16px; left: 16px;  transform: translate(-50%, 50%); }
.corner--br { bottom: 16px; right: 16px; transform: translate(50%, 50%); }

/* 4 ── NAV ────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: var(--cream);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}
.nav.is-scrolled {
  background-color: rgba(75, 0, 23, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-wine);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.85);
}

.nav__inner {
  width: min(100% - (var(--gut) * 2), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: 100%;
}

.wordmark { display: flex; flex-direction: column; gap: 1px; line-height: 1; margin-right: auto; }
.wordmark__top {
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.86;
}
.wordmark__name {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding-block: 12px;
  opacity: 0.88;
  transition: opacity 0.35s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 1px;
  background-color: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover, .nav__links a:focus-visible { opacity: 1; }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  margin-right: -12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1px;
  background-color: currentColor;
  transition: transform 0.4s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.nav__menu {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  background-color: var(--wine-deep);
  border-bottom: 1px solid var(--line-wine);
  padding: 12px var(--gut) 32px;
  display: flex;
  flex-direction: column;
}
.nav__menu a {
  padding: 16px 0;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-wine);
}
.nav__menu .btn { margin-top: 22px; border-bottom: 0; }
.nav__menu[hidden] { display: none; }

/* 5 ── HERO ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--wine);
  color: var(--cream);
  overflow: hidden;
  padding-block: calc(var(--nav-h) + 5vh) 12vh;
  padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
}

.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 58%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
}
/* Vertical wine wash so the photo melts into the field. */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(75, 0, 23, 0.55) 0%, rgba(75, 0, 23, 0) 42%);
}

.hero__ornament { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100%, 40rem);
}

.hero__content .rule { margin-bottom: clamp(20px, 3vh, 34px); }

.lockup { display: block; margin-top: clamp(16px, 2.4vh, 26px); }
.lockup__top {
  display: block;
  font-size: clamp(0.62rem, 0.5rem + 0.5vw, 0.86rem);
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-left: 0.42em;
}
.lockup__name {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(3.6rem, 1.6rem + 9vw, 9.4rem);
  line-height: 0.92;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin-block: 0.06em 0.02em;
}
.lockup__name span { font-size: 0.3em; vertical-align: 0.42em; }
.lockup__sub {
  display: block;
  font-size: clamp(0.6rem, 0.5rem + 0.44vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--brass);
  padding-left: 0.5em;
}

.hero__lede {
  max-width: 34ch;
  margin-top: clamp(22px, 3.4vh, 38px);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
  color: rgba(246, 241, 233, 0.82);
}
.hero__content .btn { margin-top: clamp(24px, 3.6vh, 40px); }

.hero__cue {
  position: absolute;
  left: 50%; bottom: 26px;
  z-index: 3;
  width: 1px; height: 46px;
  background: linear-gradient(180deg, rgba(246, 241, 233, 0) 0%, var(--line-wine) 100%);
}

/* 6 ── LA CASA ────────────────────────────────────────────────────────── */

.casa {
  background-color: var(--cream);
  padding-block: clamp(84px, 12vh, 168px);
  overflow: hidden;
}

.casa__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.casa__text { max-width: 48ch; }
.casa__text .lede { margin-top: clamp(24px, 3.4vh, 38px); }
.casa__text p + p { margin-top: 1.15em; }
.casa__text p:not(.lede):not(.eyebrow) { color: var(--ink-soft); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vh, 68px);
  border-top: 1px solid var(--line);
}
.stats__item {
  padding: 22px 16px 0 0;
  border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1;
  color: var(--wine);
}
.stats__num span { font-size: 0.6em; opacity: 0.6; }
.stats__label {
  display: block;
  margin-top: 0.7em;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}

.casa__media { position: relative; }
.casa__figure { position: relative; margin-right: calc(var(--gut) * -1); }
.casa__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 46%;
}
.casa__inset {
  position: absolute;
  left: clamp(-72px, -4vw, -28px);
  bottom: clamp(-40px, -3vw, -22px);
  width: clamp(132px, 15vw, 196px);
  border: 8px solid var(--cream);
}
.casa__inset img { aspect-ratio: 1; object-fit: cover; }

/* 7 ── DIFERENCIA ─────────────────────────────────────────────────────── */

.diferencia {
  position: relative;
  background-color: var(--wine);
  color: var(--cream);
  padding-block: clamp(84px, 13vh, 172px);
  overflow: hidden;
}
.diferencia .eyebrow { margin-bottom: clamp(38px, 6vh, 72px); }

.diffs { display: grid; gap: 0; }
.diffs__item {
  display: grid;
  grid-template-columns: minmax(0, 0.18fr) minmax(0, 0.42fr) minmax(0, 0.4fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: baseline;
  padding-block: clamp(26px, 4vh, 44px);
  border-top: 1px solid var(--line-wine);
}
.diffs__item:last-child { border-bottom: 1px solid var(--line-wine); }

.diffs__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.3rem);
  line-height: 1;
  color: var(--brass);
}
.diffs__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.diffs__text {
  font-size: 0.95rem;
  color: rgba(246, 241, 233, 0.72);
  max-width: 42ch;
}

.diferencia__corner {
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border: 1px solid var(--line-wine);
  border-radius: 50%;
  pointer-events: none;
}

/* 8 ── LA CARTA ───────────────────────────────────────────────────────── */

.carta {
  background-color: var(--cream);
  padding-block: clamp(84px, 12vh, 168px);
}

.sec-head { max-width: 56ch; margin-bottom: clamp(48px, 7vh, 88px); }
.sec-head .lede { margin-top: 1.1em; color: var(--ink-soft); }

.carta__body { display: flex; flex-direction: column; gap: clamp(48px, 7vh, 84px); }

.group__title {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: clamp(26px, 3.4vh, 40px);
}
.group__rule { flex: 1; height: 1px; background-color: var(--line); }

.dishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 40px) clamp(32px, 5vw, 88px);
}
.dish h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.24rem, 1.06rem + 0.7vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.dish p {
  margin-top: 0.4em;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.carta__figure { position: relative; }
.carta__figure img { width: 100%; object-fit: cover; }
.carta__figure figcaption {
  margin-top: 12px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.carta__figure--a { width: min(100%, 62%); margin-left: auto; }
.carta__figure--a img { aspect-ratio: 5 / 4; }
.carta__figure--b { width: min(100%, 30%); margin-right: auto; }
.carta__figure--b img { aspect-ratio: 4 / 5; }

.carta__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  margin-top: clamp(56px, 8vh, 96px);
  padding-top: clamp(32px, 4vh, 48px);
  border-top: 1px solid var(--line);
}
.carta__en {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.carta__en:hover, .carta__en:focus-visible { color: var(--wine); border-color: var(--wine); }

/* 9 ── BANDA + TIRA ───────────────────────────────────────────────────── */

.banda {
  background-color: var(--wine-deep);
  color: var(--cream);
  padding-block: clamp(72px, 10vh, 128px) clamp(56px, 8vh, 96px);
  overflow: hidden;
}

.banda__head { max-width: 40ch; margin-bottom: clamp(44px, 6vh, 76px); }
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 1.05rem + 2.3vw, 3rem);
  line-height: 1.2;
  text-wrap: balance;
}
.quote__src {
  margin-top: 1.1em;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

.strip { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { height: 4px; }
.strip::-webkit-scrollbar-thumb { background-color: var(--line-wine); }

.strip__track {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  width: max-content;
  padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
  padding-bottom: 22px;
}
.strip__cell { scroll-snap-align: start; width: clamp(190px, 22vw, 268px); }
.strip__cell figure { border: 1px solid var(--line-wine); padding: 8px; }
.strip__cell img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.strip__cell figcaption {
  padding: 12px 4px 4px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.72);
}

/* 10 ── SIGNATURA ────────────────────────────────────────────────────── */

.signatura {
  background-color: var(--cream-deep);
  padding-block: clamp(84px, 12vh, 168px);
}

/* Three explicit columns so nothing tiles into a hole. The middle column
   carries the vertical offset that makes the grid read as staggered. */
.sig {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}
.sig__col {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.6vw, 40px);
}
.sig__col--offset { margin-top: clamp(24px, 5vw, 72px); }

.sig__item--photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.sig__item--photo h3 { margin-top: 20px; }

.sig__item--type {
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  background-color: var(--cream);
}
.sig__item h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.008em;
}
.sig__item p {
  margin-top: 0.55em;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* 11 ── VOZ DE LA CASA ───────────────────────────────────────────────── */

.voz {
  background-color: var(--wine);
  color: var(--cream);
  padding-block: clamp(72px, 10vh, 128px);
  overflow: hidden;
}
.voz__head { margin-bottom: clamp(40px, 5vh, 64px); }
.voz__rating {
  margin-top: 1.2em;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.4rem);
  color: rgba(246, 241, 233, 0.78);
}
.voz__rating span { opacity: 0.6; }

.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 72s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.marquee__group { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-right: clamp(20px, 2.4vw, 36px); }

.rev {
  width: clamp(280px, 30vw, 400px);
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line-wine);
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.rev blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.02rem, 0.94rem + 0.42vw, 1.24rem);
  line-height: 1.5;
  color: rgba(246, 241, 233, 0.94);
}
.rev cite {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: auto;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* 12 ── VISÍTANOS ────────────────────────────────────────────────────── */

.visita {
  background-color: var(--cream);
  padding-block: clamp(84px, 12vh, 168px);
}

.visita__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.visita__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.facts { margin-top: clamp(28px, 4vh, 44px); border-top: 1px solid var(--line); }
.facts__row {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(12px, 2vw, 28px);
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-deep);
  padding-top: 0.35em;
}
.facts dd { font-size: 0.98rem; color: var(--ink); }
.facts dd a { border-bottom: 1px solid var(--line); transition: border-color 0.35s var(--ease); }
.facts dd a:hover, .facts dd a:focus-visible { border-color: var(--wine); }

.visita__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4vh, 42px);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.4vw, 32px);
  margin-top: clamp(28px, 4vh, 42px);
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--line);
}
.social a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 8px;
  transition: color 0.35s var(--ease);
}
.social a:hover, .social a:focus-visible { color: var(--wine); }

/* 13 ── FOOTER ──────────────────────────────────────────────────────── */

.footer {
  position: relative;
  background-color: var(--wine);
  color: var(--cream);
  padding-block: clamp(72px, 10vh, 120px);
  overflow: hidden;
}
.footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer__inner .rule { margin-bottom: clamp(24px, 3vh, 34px); }
.footer__top {
  font-size: clamp(0.6rem, 0.52rem + 0.36vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  padding-left: 0.44em;
}
.footer__name {
  font-size: clamp(2rem, 1.2rem + 4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  margin-block: 0.1em;
}
.footer__name span { font-size: 0.3em; vertical-align: 0.42em; }
.footer__sub {
  font-size: clamp(0.58rem, 0.5rem + 0.34vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--brass);
  padding-left: 0.5em;
}
.footer__line {
  margin-top: clamp(26px, 3.6vh, 40px);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.66);
}
.footer__legal {
  margin-top: 1.4em;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 233, 0.42);
}

/* 14 ── MOTION ──────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: translate3d(0, 0, 0); }

.hero__content > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: rise 1s var(--ease-out) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.16s; }
.hero__content > *:nth-child(3) { animation-delay: 0.28s; }
.hero__content > *:nth-child(4) { animation-delay: 0.42s; }
.hero__content > *:nth-child(5) { animation-delay: 0.54s; }

.hero__photo { animation: fade 1.4s var(--ease-out) 0.1s both; }
.hero__ornament { animation: fade 1.6s var(--ease-out) 0.3s both; }

@keyframes rise {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 15 ── REDUCED MOTION ──────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .hero__content > *, .hero__photo, .hero__ornament { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
  .strip { scroll-behavior: auto; }
  .btn:hover, .btn:focus-visible { transform: none; }
}

/* 16 ── RESPONSIVE ──────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .casa__grid,
  .visita__grid { grid-template-columns: minmax(0, 1fr); }
  .casa__text { max-width: 60ch; }
  .casa__figure { margin-right: calc(var(--gut) * -1); }
  .casa__inset { left: auto; right: var(--gut); bottom: -34px; }

  .diffs__item { grid-template-columns: minmax(0, 0.14fr) minmax(0, 1fr); }
  .diffs__text { grid-column: 2; margin-top: 0.7em; }

  .sig__col--offset { margin-top: clamp(20px, 4vw, 44px); }
}

@media (max-width: 860px) {
  .nav__links, .nav__inner > .btn--pill { display: none; }
  .nav__toggle { display: flex; }

  .hero { padding-block: calc(var(--nav-h) + 3vh) 8vh; align-items: flex-start; }
  .hero__photo {
    position: relative;
    width: 100%;
    height: 42vh;
    margin-top: clamp(30px, 5vh, 46px);
    -webkit-mask-image: none;
            mask-image: none;
    order: 2;
  }
  .hero__photo::after {
    background: linear-gradient(180deg,
      var(--wine) 0%,
      rgba(75, 0, 23, 0) 30%,
      rgba(75, 0, 23, 0) 68%,
      var(--wine) 100%);
  }
  .hero { flex-direction: column; }
  .hero__content { order: 1; }
  .hero__cue { display: none; }

  .dishes { grid-template-columns: minmax(0, 1fr); }
  .carta__figure--a { width: 100%; margin-left: 0; }
  .carta__figure--b { width: min(100%, 62%); }

  .sig { grid-template-columns: minmax(0, 1fr); }
  .sig__col--offset { margin-top: 0; }

  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .facts dt { padding-top: 0; }
}

@media (max-width: 560px) {
  :root { --nav-h: 64px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding: 20px 14px 0 0; }
  .stats__item:nth-child(2n) { border-right: 0; }
  .stats__item:nth-child(n + 3) { margin-top: 20px; }

  .casa__inset { width: 118px; right: 16px; }

  .diffs__item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .diffs__text { grid-column: 1; }

  .strip__cell { width: 68vw; }
  .rev { width: 78vw; }

  .footer__line { font-size: 0.62rem; letter-spacing: 0.14em; }
}

/* ---- qa: touch targets >= 44px ---- */
.wordmark { min-height: 44px; justify-content: center; }

.nav__links a,
.nav__menu a,
.footer__links a,
a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.carta__en {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 0;
}

.carta__en::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  height: 1px;
  background: var(--line);
  transition: background-color 0.35s var(--ease);
}

.carta__en:hover::after,
.carta__en:focus-visible::after { background: var(--wine); }

a:not([class]) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.sig__item--photo img { margin-inline: auto; }

/* WhatsApp CTA sobre fondo claro: el texto crema del btn--brass era invisible */
.visita__actions .btn--brass {
  background-color: var(--brass);
  color: var(--wine-deep);
}
