:root {
  --black: #090909;
  --ink: #151515;
  --paper: #f4f2ec;
  --paper2: #dedbd2;
  --accent: #9b1e3f;
  --accent2: #d04468;
  
  --muted: #77736c;
  --line: rgba(21, 21, 21, .14);
  --white: #fbfaf6;
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .8s, visibility .8s;
}

.loader.done { opacity: 0; visibility: hidden; }
.loader-word { font: 42px var(--serif); }

.loader-line {
  width: 150px;
  height: 1px;
  background: #39352e;
  margin-top: 20px;
  overflow: hidden;
}

.loader-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--rust);
  transform: translateX(-100%);
  animation: load 1.3s ease forwards;
}

@keyframes load {
  to { transform: none; }
}

.cursor,
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(193, 138, 102, .8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background: #fff;
  border: 0;
}

.cursor.grow {
  width: 65px;
  height: 65px;
  background: rgba(255, 255, 255, .08);
}

/* CABECERA */

.header {
  height: 86px;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  color: #fff;
  transition: .4s;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(11, 10, 8, .9);
  backdrop-filter: blur(18px);
  height: 70px;
  border-color: rgba(255, 255, 255, .08);
}

.header .logo { flex-shrink: 0; }

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo span { font: 32px var(--serif); }

.logo small {
  font-size: 7px;
  letter-spacing: .27em;
  margin-top: 5px;
  opacity: .65;
}

.desktop-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 42px;
}

.desktop-nav a,
.header-reserve {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.desktop-nav a { opacity: .75; transition: .2s; }
.desktop-nav a:hover { opacity: 1; color: var(--rust2); }

.header-reserve {
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .45);
  transition: .25s;
}

.header-reserve:hover { background: #fff; color: var(--ink); }
.header-reserve span { margin-left: 9px; }

.hamburger {
  display: none;
  background: none;
  border: 0;
}

.mobile-menu { display: none; }

/* DISTINTIVO REPSOL */

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.repsol-logo {
  display: block;
  width: 85px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.repsol-logo-sun{
	width: 120px;
}

.header-repsol {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: 22px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}

.header-repsol-sun {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #f3a51c;
  border-radius: 50%;
  color: #f3a51c;
  font: 700 21px/1 var(--serif);
}

.header-repsol strong {
  display: block;
  font-size: 10px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.header-repsol small {
  display: block;
  margin-top: 4px;
  font-size: 7px;
  letter-spacing: .13em;
  opacity: .7;
  white-space: nowrap;
}

/* PORTADA */

.hero {
  height: 100svh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #15110e;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: -3%;
  background-image: url("../images/_06.ALF_9273.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(.65);
  animation: heroZoom 14s ease-out forwards;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2.2s ease-in-out;
  filter: saturate(.78);
  animation: hero-zoom 5.5s linear infinite alternate;
}

.hero-slide.is-active { opacity: 1; }

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, .78), rgba(8, 7, 5, .25) 62%, rgba(8, 7, 5, .42)),
    linear-gradient(0deg, rgba(8, 7, 5, .72), transparent 42%);
}

.hero-grain {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: max(5vw, calc((100% - var(--max))/2));
  top: 50%;
  transform: translateY(-45%);
}

.kicker {
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
	font-weight: bold;
  color: #c9aa93;
  margin: 0 0 22px;
}

.kicker.dark { color: var(--rust); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .9;
  margin: 0;
}

h1 { font-size: clamp(60px, 9vw, 142px); }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--rust2);
}

.hero-intro {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  max-width: 500px;
  margin: 32px 0;
}

.circle-cta {
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  transition: .35s;
}

.circle-cta b {
  font-size: 18px;
  font-weight: 400;
  margin-top: 6px;
}

.circle-cta:hover {
  background: var(--rust);
  border-color: var(--rust);
  transform: scale(1.06);
}

.hero-meta {
  position: absolute;
  z-index: 2;
  left: 4vw;
  right: 4vw;
  bottom: 25px;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .55);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 3.8vw;
  top: 50%;
  writing-mode: vertical-rl;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff;
  opacity: .55;
}

.hero-scroll span {
  height: 50px;
  width: 1px;
  background: #fff;
  display: inline-block;
  margin-top: 13px;
  opacity: .5;
}

.hero-carousel-dots {
  position: absolute;
  z-index: 20;
  right: 4vw;
  bottom: 48px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hero-carousel-dots button {
  display: inline-block;
  position: relative;
  z-index: 21;
  width: 24px;
  height: 12px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid rgba(255, 255, 255, .45);
  background: transparent;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: width .25s, border-color .25s;
}

.hero-carousel-dots button.is-active {
  width: 42px;
  border-bottom-color: #fff;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* ÍNDICES Y MANIFIESTO */

.section-index {
  font-size: 8px;
  text-transform: uppercase;
	font-weight: bold;
  letter-spacing: .18em;
  color: var(--muted);
}

.section-index span { color: var(--rust); padding: 0 8px; }
.section-index.light { color: #777067; }

.manifesto {
  padding: 170px 5vw 160px;
  max-width: var(--max);
  margin: auto;
  position: relative;
}

.manifesto .section-index {
  position: absolute;
  top: 65px;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 10vw;
  align-items: end;
}

.manifesto h2,
.signature h2,
.wine h2,
.chef h2,
.visit h2 {
  font-size: clamp(55px, 6.4vw, 92px);
}

.manifesto-text {
  max-width: 520px;
  color: #615b52;
  font-size: 14px;
}

.manifesto-text p { margin: 0 0 22px; }

.line-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 17px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.line-link span { font-size: 15px; }

.full-image {
  height: 78vh;
  min-height: 550px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.full-image-1 {
  background-image: linear-gradient(0deg, rgba(10, 8, 6, .35), transparent), url("../images/_06.ALF_9273.jpg");
}

.image-caption {
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: .17em;
  opacity: .8;
}

/* MENÚ */

.menu {
  background: var(--black);
  color: var(--white);
  padding: 130px max(5vw, calc((100% - var(--max))/2));
  position: relative;
  overflow: hidden;
}

.menu-top {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 10vw;
  margin: 55px 0 70px;
  align-items: end;
}

.menu h2 { font-size: clamp(62px, 7vw, 100px); }

.menu-description {
  color: #8e887f;
  font-size: 13px;
  max-width: 420px;
  margin: 0;
}

.menu-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.menu-card {
  min-height: 570px;
  padding: 40px 45px;
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.menu-card.featured { background: #16130f; }

.menu-card-top {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: .18em;
  color: #817b73;
}

.menu-card-top span:first-child {
  font: 20px var(--serif);
  color: #9a8c7b;
}

.mini {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--rust2);
  margin: 0 0 13px;
}

.menu-card h3 { font-size: clamp(52px, 5vw, 75px); }

.card-copy {
  max-width: 440px;
  color: #858079;
  font-size: 13px;
  margin-top: 28px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
}

.card-bottom strong { font: 48px var(--serif); }

.card-bottom small,
.card-bottom span {
  color: #77716a;
  font-size: 9px;
}

.card-bottom a {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .13em;
  border-bottom: 1px solid #625b53;
  padding-bottom: 5px;
}

.dish-marquee {
  white-space: nowrap;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  font: 46px var(--serif);
  font-style: italic;
  color: #2f2b25;
  padding-top: 110px;
  text-transform: lowercase;
}

.dish-marquee i { font: 20px var(--sans); color: var(--rust); }

/* PLATOS DESTACADOS */

.signature {
  max-width: var(--max);
  margin: auto;
  padding: 155px 5vw;
  position: relative;
}

.signature > .section-index {
  position: absolute;
  top: 65px;
}

.signature-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 70px;
}

.signature-intro .line-link { margin-bottom: 7px; }
.dish-grid { border-top: 1px solid var(--line); }

.dish {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  transition: .35s;
}

.dish:hover { padding-left: 15px; }
.dish > span { font-size: 8px; color: var(--rust); }
.dish h3 { font-size: 27px; }

.dish p {
  font-size: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 4px 0 0;
}

.dish b {
  font-family: var(--sans) !important;
  font-size: 19px;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  opacity: 1;
}

/* BLOQUES EDITORIALES */

.editorial {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--paper2);
}

.editorial-image {
  min-height: 680px;
  background: url("../images/IMG_3280.PNG") center/cover;
  filter: saturate(.65);
}

.editorial-copy {
  padding: 120px max(7vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.editorial-copy h2 { font-size: clamp(65px, 7vw, 100px); }

.editorial-copy > p:not(.kicker) {
  max-width: 480px;
  color: #625c53;
  margin: 35px 0;
  font-size: 14px;
}

.quote-mark {
  position: absolute;
  right: 8%;
  bottom: 7%;
  font: 150px/1 var(--serif);
  color: #cdbca7;
  opacity: .65;
}

/* VINOS */

.wine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: #d8d0c3;
}

.wine-copy {
  padding: 120px max(7vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wine-copy .section-index { margin-bottom: 70px; }

.wine-copy > p:not(.kicker) {
  max-width: 450px;
  color: #625c53;
  font-size: 14px;
  margin: 35px 0 0;
}

.wine-image {
  min-height: 650px;
  background: linear-gradient(90deg, rgba(12, 9, 6, .2), rgba(12, 9, 6, .5)), url("../images/IMG_7428.jpg") center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wine-image span { font: 150px var(--serif); line-height: .8; }

.wine-image small {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 8px;
  margin-top: 20px;
}

/* CHEF */

.chef {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  min-height: 750px;
}

.chef-image {
  background: url("../images/DSC02140.jpeg") center/cover;
  filter: grayscale(.25) saturate(.7);
}

.chef-copy {
  padding: 110px max(7vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chef-copy .section-index { margin-bottom: 65px; }

.chef-copy > p:not(.kicker) {
  max-width: 470px;
  color: #625c53;
  margin: 35px 0;
  font-size: 14px;
}

.chef-note {
  display: flex;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 7px;
  color: var(--muted);
}

.chef-note span:first-child { color: var(--rust); }

/* REPSOL */

.repsol {
  background: var(--black);
  color: #fff;
  padding: 110px 5vw;
}

.repsol-line {
  height: 1px;
  background: #37332e;
  max-width: var(--max);
  margin: auto;
}

.repsol-content {
  max-width: 900px;
  margin: 75px auto 35px;
  display: flex;
  gap: 35px;
  align-items: center;
}

.sun {
  width: 150px;
  height: 150px;
  border: 1px solid #81715f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 55px var(--serif);
  flex: none;
}

.repsol-content p {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #a8917c;
  margin: 0 0 8px;
}

.repsol h2 { font-size: 55px; }

.repsol small {
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #66615a;
}

.repsol-copy {
  max-width: 550px;
  margin: 0 auto;
  color: #77716a;
  font-size: 12px;
}

/* EVENTOS */

.events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  background: var(--paper2);
}

.events-image {
  background: url("../images/IMG_6284.jpg") center/cover;
  filter: saturate(.6);
}

.events-copy {
  padding: 120px max(7vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-copy > p:not(.kicker) {
  max-width: 460px;
  color: #625c53;
  margin: 35px 0;
  font-size: 14px;
}

.btn-dark {
  display: inline-flex;
  align-self: flex-start;
  background: var(--ink);
  color: #fff;
  padding: 17px 23px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 8px;
}

.btn-dark span { margin-left: 15px; font-size: 13px; }

/* VISÍTANOS */

.visit {
  background: #eee9df;
  padding-top: 140px;
}

.visit-inner {
  max-width: var(--max);
  margin: auto;
  padding: 0 5vw 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10vw;
  align-items: end;
}

.visit-heading h2 { font-size: clamp(65px, 7vw, 100px); }

.visit-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.visit-info div:first-child { grid-column: span 2; }

.visit-info span {
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 7px;
  color: var(--rust);
}

.visit-info p {
  font-size: 12px;
  color: #5e584f;
  margin: 8px 0 0;
}

.visit-info a:hover { color: var(--rust); }

.visit-info small { font-size: 8px; color: #91897e; }

.big-reserve {
  grid-column: span 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font: 32px var(--serif);
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.big-reserve:hover { color: var(--rust); }
.big-reserve span { font: 18px var(--sans); }

.map { height: 400px; filter: grayscale(1) contrast(.9); }
.map iframe { border: 0; width: 100%; height: 100%; }

/* PIE DE PÁGINA */

footer {
  background: #080706;
  color: #fff;
  padding: 50px 5vw 22px;
}

.footer-main {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-logo { font: 42px var(--serif); }
.footer-nav { display: flex; gap: 22px; }

.footer-nav a,
.footer-book {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #88827a;
}

.footer-nav a:hover { color: #fff; }

.footer-book {
  color: #fff;
  border: 1px solid #555049;
  padding: 12px 17px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 55px auto 0;
  border-top: 1px solid #24211d;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #625e58;
}

.sticky-book { display: none; }



/* GALERÍA EDITORIAL HORIZONTAL */

.gallery-section {
  background: var(--paper);
  padding: clamp(80px, 10vw, 150px) 5vw 90px;
  position: relative;
  overflow: hidden;
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 7vw;
  align-items: end;
  margin: 0 0 35px;
}

.gallery-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 105px);
  line-height: .92;
  letter-spacing: -.04em;
}

.gallery-heading > p {
  max-width: 430px;
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(9, 9, 9, .68);
}

.gallery-showcase {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0 24px;
}

/*
 * El JavaScript debe duplicar los elementos de .gallery-track.
 * La animación desplaza la pista hasta la segunda copia.
 */

.gallery-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  padding: 18px 0 30px;
  margin-left: 5vw;
  animation: gallery-drift 48s linear infinite;
  will-change: transform;
}

@keyframes gallery-drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}

.gallery-showcase:hover .gallery-track,
.gallery-showcase:focus-within .gallery-track {
  animation-play-state: paused;
}

.gallery-showcase .gallery-item {
  position: relative;
  display: block;
  flex: 0 0 clamp(260px, 31vw, 440px);
  width: clamp(260px, 31vw, 440px);
  height: clamp(300px, 34vw, 430px);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #191714;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.gallery-showcase .gallery-item:nth-child(even) {
  height: clamp(240px, 27vw, 350px);
}

.gallery-showcase .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 1s ease;
  filter: saturate(.86);
}

.gallery-showcase .gallery-item:hover img,
.gallery-showcase .gallery-item:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1);
}

.gallery-showcase .gallery-item::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .4));
  pointer-events: none;
}

.gallery-showcase .gallery-item > span {
  position: absolute;
  z-index: 1;
  bottom: 17px;
  left: 18px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .18em;
}

/* CONTROLES DE LA GALERÍA */

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 8px 5vw 0;
}

.gallery-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(30, 28, 24, .3);
  border-radius: 50%;
  background: transparent;
  color: #25231f;
  font-size: 20px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.gallery-arrow:hover {
  background: #25231f;
  color: #fff;
}

.gallery-progress {
  width: 100px;
  height: 2px;
  overflow: hidden;
  background: rgba(30, 28, 24, .15);
}

.gallery-progress span {
  display: block;
  width: 35%;
  height: 100%;
  background: #25231f;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 5, .96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  opacity: 0;
  visibility: hidden;
  transition: .35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 88vw);
  max-height: 88vh;
  text-align: center;
}

.lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox figcaption {
  color: rgba(255, 255, 255, .65);
  font: 11px/1.4 "DM Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 14px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: 200;
  z-index: 2;
}

.lightbox-close {
  top: 20px;
  right: 28px;
  font-size: 42px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 70px;
  line-height: 1;
  padding: 20px;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: .6; }

/* TABLET */

@media (max-width: 900px) {
  .desktop-nav,
  .header-reserve { display: none; }

  .hamburger {
    display: block;
    margin-left: auto;
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 52;
  }

  .hamburger i {
    display: block;
    width: 23px;
    height: 1px;
    background: #fff;
    margin: 7px auto;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    z-index: 48;
    inset: 0;
    background: var(--black);
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: .55s;
  }

  .mobile-menu.open { transform: none; }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .mobile-menu nav a { font: 48px var(--serif); }

  .mobile-book {
    margin-top: 45px;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: .18em;
    color: var(--rust2);
  }

  .manifesto-inner,
  .menu-top,
  .editorial,
  .wine,
  .chef,
  .events,
  .visit-inner {
    grid-template-columns: 1fr;
  }

  .manifesto { padding-top: 130px; }

  .menu {
    padding-left: 6%;
    padding-right: 6%;
  }

  .menu-cards { grid-template-columns: 1fr; }
  .menu-card { min-height: 500px; }

  .editorial-image,
  .wine-image,
  .chef-image,
  .events-image { min-height: 500px; }

  .wine { min-height: auto; }
  .visit-info { margin-top: 40px; }
  .visit-info div:first-child { grid-column: auto; }
  .big-reserve { grid-column: auto; }

  .footer-main { grid-template-columns: 1fr; }
  .footer-nav { flex-wrap: wrap; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .cursor,
  .cursor-dot { display: none; }

  .header-repsol {
    margin-left: 12px;
    padding-left: 12px;
  }

  .header-repsol small { display: none; }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* MÓVIL */

@media (max-width: 600px) {
  body { padding-bottom: 55px; }

  .header { height: 70px; padding: 0 5vw; }
  .logo span { font-size: 25px; }

  .header-repsol {
    gap: 5px;
    margin-left: 9px;
    padding-left: 9px;
  }

  .header-repsol-sun {
    width: 27px;
    height: 27px;
    font-size: 17px;
  }

  .header-repsol strong {
    font-size: 8px;
    letter-spacing: .06em;
  }

  .hero { min-height: 700px; }

  .hero-copy {
    left: 7vw;
    right: 7vw;
  }

  .hero h1 { font-size: 60px; }
  .hero-intro { font-size: 13px; }
  .hero-meta span:nth-child(2) { display: none; }

  .hero-meta {
    left: 7vw;
    right: 7vw;
  }

  .hero-scroll { display: none; }

  .hero-carousel-dots {
    right: 5vw;
    bottom: 28px;
  }

  .manifesto,
  .signature {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .manifesto h2,
  .signature h2,
  .wine h2,
  .chef h2,
  .visit h2 { font-size: 58px; }

  .menu-top { margin-bottom: 50px; }
  .menu h2 { font-size: 65px; }
  .menu-card { padding: 32px 26px; }
  .menu-card h3 { font-size: 52px; }

  .card-bottom { display: block; }

  .card-bottom a {
    display: inline-block;
    margin-top: 15px;
  }

  .dish { grid-template-columns: 28px 1fr; gap: 10px; }
  .dish b { grid-column: 2; }

  .signature-intro { display: block; }
  .signature-intro .line-link { margin-top: 25px; }

  .dish-marquee {
    font-size: 35px;
    padding-top: 70px;
  }

  .full-image {
    height: 55vh;
    min-height: 420px;
  }

  .editorial-copy,
  .wine-copy,
  .chef-copy,
  .events-copy { padding: 90px 7vw; }

  .editorial-image,
  .wine-image,
  .chef-image,
  .events-image { min-height: 420px; }

  .wine-copy .section-index,
  .chef-copy .section-index { margin-bottom: 50px; }

  .wine-image span { font-size: 120px; }

  .repsol { padding: 80px 7vw; }

  .repsol-content {
    gap: 20px;
    margin-top: 50px;
  }

  .sun {
    width: 72px;
    height: 72px;
    font-size: 42px;
  }

  .repsol h2 { font-size: 38px; }
  .visit { padding-top: 100px; }
  .visit-inner { padding: 0 7vw 65px; }
  .visit-info { grid-template-columns: 1fr; }
  .visit-info div:first-child { grid-column: auto; }
  .big-reserve { font-size: 28px; }
  .map { height: 330px; }

  .sticky-book {
    display: block;
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent);
    color: #fff;
    text-align: center;
  }

  .sticky-book a {
    display: block;
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 9px;
  }

  .sticky-book span { margin-left: 10px; }
	

  .gallery-section {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .gallery-track {
    gap: 14px;
    margin-left: 0;
    padding: 18px 0 30px;
    animation-duration: 38s;
  }

  .gallery-showcase .gallery-item,
  .gallery-showcase .gallery-item:nth-child(even) {
    flex-basis: 78vw;
    width: 78vw;
    height: 310px;
  }

  .gallery-controls { gap: 12px; }
  .lightbox { padding: 18px; }
  .lightbox figure { max-width: 94vw; }

  .lightbox figure img { max-height: 76vh; }

  .lightbox-prev,
  .lightbox-next {
    font-size: 48px;
    padding: 10px;
  }

  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }

  .lightbox-close {
    top: 12px;
    right: 15px;
  }
}

/* ACCESIBILIDAD */

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

  .gallery-track {
    animation: none;
    transform: none;
  }

  .gallery-showcase .gallery-item img { transition: none; }
  .hero-slide { animation: none; transition: opacity .3s ease; }
}