:root {
  --bg: #f3f0e7;
  --ink: #171d1f;
  --muted: #657070;
  --line: rgba(23, 29, 31, 0.16);
  --paper: #fffaf0;
  --green: #18313a;
  --green-strong: #101b1f;
  --wine: #b5532f;
  --clay: #d97a3c;
  --gold: #c99745;
  --sea: #1e5d6b;
  --smoke: #d8d3c8;
  --charcoal: #101416;
  --shadow: 0 22px 70px rgba(16, 20, 22, 0.18);
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Newsreader", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.2rem, 9vw, 8rem);
}

h2 {
  max-width: 16ch;
  font-size: clamp(3rem, 5vw, 4.4rem);
}

h3 {
  font-size: 2.15rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.container {
  width: calc(100vw - 2rem);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(18, 19, 19, 0.12);
  background: #fff;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  min-height: 5.6rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark,
.brand-logo {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
}

.brand-mark {
  border: 1px solid rgba(18, 19, 19, 0.16);
  background: var(--charcoal);
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.brand-logo {
  width: 7.2rem;
  height: 5.1rem;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: grid;
  grid-auto-flow: column;
  justify-content: end;
  align-items: center;
  gap: 1rem;
}

.site-nav a,
.mobile-menu a {
  color: #252925;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--sea);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  justify-self: end;
}

.language-switch a {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid transparent;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
}

.language-switch a:hover,
.language-switch a.is-active {
  border-color: var(--line);
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: var(--sea);
  border-color: var(--sea);
}

.button-ghost {
  background: transparent;
  color: inherit;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.18rem auto;
  background: var(--ink);
}

.mobile-menu {
  width: calc(100vw - 2rem);
  margin: 0 auto;
  padding: 0.25rem 0 0.75rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-menu a {
  display: block;
  padding: 0.72rem 0;
}

.hero-section {
  min-height: 72svh;
  display: grid;
  align-items: start;
  padding: 6.5rem 0 3.25rem;
  background:
    radial-gradient(circle at 72% 32%, rgba(217, 122, 60, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(10, 15, 17, 0.76), rgba(10, 15, 17, 0.44) 48%, rgba(10, 15, 17, 0.16)),
    url("../images/fumar-meso-grill.jpg") center / cover;
  color: #fff;
}

.hero-inner {
  display: grid;
  gap: 1.15rem;
  align-content: start;
  width: min(38rem, 100%);
  max-width: 38rem;
  justify-self: start;
  margin-left: 0;
  padding-left: 0.85rem;
  justify-items: start;
  text-align: left;
}

.hero-section .eyebrow,
.hero-section h1 {
  color: #fff;
}

.hero-text {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.hero-section .button {
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-section .button-primary {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.eyebrow {
  display: inline-block;
  width: fit-content;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signature-section,
.fire-board,
.gallery-section,
.contact-section {
  padding: 5rem 0;
}

.signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.64fr);
  gap: 2rem;
  align-items: stretch;
}

.signature-copy {
  display: grid;
  gap: 1rem;
  align-content: end;
  min-height: 28rem;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(16, 20, 22, 0.08), rgba(16, 20, 22, 0.78)),
    url("../images/fumar-riba-grill.jpg") center / cover;
  color: #fff;
}

.signature-copy h2 {
  max-width: 15ch;
  color: #fff;
  font-size: clamp(3.3rem, 5.4vw, 5rem);
}

.signature-copy p {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.82);
}

.signature-notes {
  display: grid;
  align-content: stretch;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.signature-notes p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 1.55rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.signature-notes span {
  color: #273033;
  font-weight: 800;
  line-height: 1.45;
}

.fire-board {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
  width: calc(100vw - 2rem);
  margin: 0 auto;
  padding-top: 0;
}

.fire-board-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--charcoal);
  color: #fff;
}

.fire-board-copy h2 {
  max-width: 11ch;
  color: #fff;
}

.fire-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fire-lanes article {
  min-height: 14rem;
  display: grid;
  align-content: end;
  gap: 0.8rem;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.fire-lanes span {
  width: fit-content;
  padding: 0.4rem 0.55rem;
  background: var(--clay);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fire-lanes p {
  color: #343c3d;
  font-weight: 500;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: 78svh;
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 122, 60, 0.16), transparent 30%),
    linear-gradient(135deg, var(--charcoal), var(--green));
  color: #fff;
}

.split-image {
  min-height: 32rem;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.1rem;
  padding: 4rem 3rem;
}

.split-copy p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.split-copy .eyebrow {
  color: #fff;
}

.split-copy h2 {
  max-width: 17ch;
  font-size: 2.85rem;
  line-height: 1.02;
}

.split-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  font-weight: 500;
}

.split-detail {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.97rem;
}

.split-points {
  display: grid;
  gap: 0.65rem;
  width: 100%;
  max-width: 34rem;
}

.split-points p {
  max-width: none;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 250, 240, 0.07);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

.split-copy .button-primary {
  border-color: #fff;
  background: #fffaf0;
  color: var(--charcoal);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.fumar-gallery .gallery-grid {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(720px, 78vw);
  gap: 1rem;
  width: calc(100vw - 2rem);
  margin: 0 auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.6rem;
}

.gallery-item {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  scroll-snap-align: start;
}

.fumar-gallery .gallery-item-wide {
  min-height: 42rem;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 4px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 8, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--charcoal);
}

.gallery-lightbox-dialog img,
.gallery-lightbox-dialog video {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.gallery-lightbox-dialog video[hidden] {
  display: none;
}

.gallery-lightbox-copy {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
  color: #fff;
}

.gallery-lightbox-copy strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.3rem;
}

.gallery-lightbox-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.contact-section {
  padding: 2.4rem 0;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.contact-grid h2 {
  max-width: 24ch;
  margin-top: 0.65rem;
  font-size: 2.25rem;
  line-height: 1.05;
}

.contact-list {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
  font-weight: 800;
}

.contact-list a,
.contact-list span {
  max-width: 100%;
}

.contact-list span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .signature-grid,
  .fire-board,
  .fire-lanes,
  .fumar-gallery .gallery-grid,
  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-copy {
    padding: 3rem 1rem;
  }

  .signature-copy {
    min-height: 32rem;
  }

  .fumar-gallery .gallery-grid {
    grid-auto-columns: minmax(82vw, 1fr);
  }

  .fire-lanes article {
    min-height: auto;
    align-content: start;
    gap: 0.45rem;
    padding: 0.85rem;
  }

  .fire-lanes h3 {
    font-size: 1.55rem;
    line-height: 1.02;
  }

  .fire-lanes p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .gallery-item {
    min-height: 28rem;
  }

  .contact-list {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100vw - 1.25rem);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto auto;
    min-height: 4.8rem;
    gap: 0.65rem;
  }

  .brand {
    min-width: 0;
    grid-column: 1;
  }

  .language-switch {
    grid-column: 3;
    justify-self: end;
    gap: 0.2rem;
  }

  .language-switch a {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1rem;
  }

  .nav-toggle {
    grid-column: 4;
    justify-self: end;
  }

  .brand-mark {
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.55rem;
    flex: 0 0 auto;
  }

  .brand-logo {
    width: 5.75rem;
    height: 4.15rem;
    flex: 0 0 auto;
  }

  .hero-section {
    min-height: 78svh;
    align-items: end;
    padding: 4rem 0 2rem;
    background-position: 58% center;
  }

  .hero-inner {
    padding-inline: 1rem;
    gap: 0.9rem;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(3.1rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  h3 {
    font-size: 1.8rem;
  }

  .hero-text {
    max-width: 24rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button,
  .split-copy .button {
    width: 100%;
  }

  .hero-actions .button {
    max-width: calc(100% - 1rem);
    margin-inline: auto;
  }

  .signature-section,
  .fire-board,
  .gallery-section {
    padding: 2.75rem 0;
  }

  .signature-grid,
  .fire-board,
  .fire-lanes,
  .fumar-gallery .gallery-grid {
    grid-template-columns: 1fr;
  }

  .signature-copy {
    min-height: 30rem;
    padding: 1.2rem;
    background-position: center;
  }

  .signature-copy h2 {
    font-size: clamp(2.55rem, 12vw, 3.4rem);
  }

  .signature-notes p {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .fire-board-copy {
    padding: 1.2rem;
  }

  .fire-board-copy h2 {
    max-width: 100%;
  }

  .fire-lanes article {
    min-height: auto;
    align-content: start;
    gap: 0.35rem;
    padding: 0.65rem 0.75rem;
  }

  .fire-lanes span {
    padding: 0.26rem 0.42rem;
    font-size: 0.62rem;
  }

  .fire-lanes h3 {
    font-size: 1.32rem;
    line-height: 1.02;
  }

  .fire-lanes p {
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .split-image {
    min-height: 20rem;
  }

  .split-copy {
    gap: 0.9rem;
    padding: 2rem 0.75rem;
  }

  .split-copy h2 {
    font-size: 2.35rem;
  }

  .split-points p {
    padding: 0.75rem;
  }

  .section-head {
    width: calc(100vw - 1.25rem);
    margin-bottom: 1rem;
  }

  .fumar-gallery .gallery-grid {
    width: calc(100vw - 1.25rem);
    grid-auto-columns: 88vw;
    gap: 0.75rem;
  }

  .gallery-item {
    min-height: 18rem;
  }

  .fumar-gallery .gallery-item-wide {
    min-height: 18rem;
  }

  .contact-section {
    padding: 2.2rem 0;
  }

  .contact-grid {
    gap: 1.3rem;
  }

  .contact-grid h2 {
    font-size: 2.15rem;
  }

  .contact-list {
    width: 100%;
    gap: 0.7rem;
  }

  .contact-list a,
  .contact-list span {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    background: #fff;
  }

}

@media (max-width: 390px) {
  h1 {
    font-size: 2.85rem;
  }

  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .button {
    padding-inline: 0.85rem;
  }
}
}
