:root {
  --black: #050505;
  --panel: rgba(10, 10, 10, 0.9);
  --white: #fff;
  --muted: #cacaca;
  --green: #51d83e;
  --green-dark: #39bd2a;
  --content-width: 1160px;
  --font-xs: clamp(0.75rem, 0.72rem + 0.14vw, 0.8125rem);
  --font-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
  --font-base: clamp(1rem, 0.95rem + 0.24vw, 1.125rem);
  --font-md: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --font-lg: clamp(1.375rem, 1.18rem + 0.9vw, 1.875rem);
  --font-xl: clamp(1.75rem, 1.38rem + 1.7vw, 2.75rem);
  --font-display: clamp(2.25rem, 1.7rem + 2.5vw, 3.75rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--font-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:has(.lightbox:target) {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  height: 116px;
  background: var(--black);
}

.header-inner {
  width: min(calc(100% - 32px), 1230px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  width: 145px;
  flex: 0 0 auto;
}

.brand img {
  width: 145px;
  height: 74px;
  object-fit: contain;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}

.desktop-nav a {
  position: relative;
  padding: 16px 0;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--font-sm);
  letter-spacing: 0.01em;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  min-height: 44px;
  padding: 11px 26px;
  border: 2px solid var(--green);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: var(--black);
  text-align: center;
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.1;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
}

.header-call {
  flex: 0 0 auto;
  min-width: 160px;
}

.header-call img,
.floating-call img {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: -2;
  background: #222;
}

.hero-slide {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  animation: hero-fade 20s infinite;
}

.hero-slide-2 {
  background-image: url("images/20240919_122412.webp");
  animation-delay: 5s;
}

.hero-slide-3 {
  background-image: url("images/20240919_104215.webp");
  animation-delay: 10s;
}

.hero-slide-4 {
  background-image: url("images/20240919_104227.webp");
  animation-delay: 15s;
}

@keyframes hero-fade {
  0%, 23% { opacity: 1; }
  27%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-shade {
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
}

.hero-inner {
  width: min(calc(100% - 40px), var(--content-width));
  min-height: 590px;
  margin: 0 auto;
  padding: 70px 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(650px, 100%);
  padding: clamp(34px, 4vw, 54px);
  background: var(--panel);
}

.hero h1 {
  max-width: 15ch;
  margin: 0 0 clamp(18px, 2vw, 26px);
  font-size: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-kicker {
  max-width: 22ch;
  margin: 0 0 clamp(20px, 2vw, 28px);
  font-size: var(--font-lg);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy > p:not(.hero-kicker) {
  max-width: 55ch;
  margin: 0 0 clamp(16px, 1.8vw, 22px);
  color: #ededed;
  font-size: var(--font-base);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero address {
  margin: 0;
  font-style: normal;
  font-size: var(--font-sm);
  font-weight: 500;
  line-height: 1.45;
}

.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.content-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1280px);
  margin: -60px auto 0;
  background: var(--white);
}

.promotions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 20px;
  background: var(--white);
}

.promotion-card {
  min-height: 425px;
  padding: 58px 28px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--black);
  text-align: center;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
}

.promotion-logo {
  display: grid;
  place-items: center;
}

.promotion-logo.drinks-man {
  width: 230px;
  height: 150px;
}

.promotion-logo.drinks-man img {
  width: 230px;
  height: 150px;
  object-fit: contain;
}

.promotion-logo.bottler {
  width: min(360px, 90%);
  min-height: 150px;
}

.promotion-logo.bottler img {
  width: 100%;
  object-fit: contain;
}

.rule {
  width: 88px;
  height: 1px;
  margin: 30px 0 24px;
  background: rgba(255, 255, 255, 0.8);
}

.promotion-card p {
  max-width: 46ch;
  min-height: 24px;
  margin: 0 0 25px;
  font-size: var(--font-md);
  line-height: 1.35;
  text-wrap: balance;
}

.gallery-section {
  padding: 28px max(24px, calc((100% - var(--content-width)) / 2)) 86px;
  background: var(--white);
  scroll-margin-top: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.gallery-item::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.38);
  color: var(--white);
  font-size: var(--font-xl);
  font-weight: 200;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.025);
}

.site-footer {
  min-height: 76px;
  padding: 22px max(24px, calc((100% - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--black);
  color: #cfcfcf;
  font-size: var(--font-xs);
  line-height: 1.4;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.floating-call {
  position: fixed;
  z-index: 30;
  right: 42px;
  bottom: 42px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background-color 180ms ease;
}

.floating-call:hover,
.floating-call:focus-visible {
  background: var(--green-dark);
  transform: scale(1.05);
}

.floating-call img {
  width: 26px;
  height: 26px;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 54px 74px;
  display: none;
  place-items: center;
}

.lightbox:target {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: 100%;
  display: grid;
  place-items: center;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-arrow {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 2px 8px #000;
}

.lightbox-close {
  top: 12px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: clamp(2.25rem, 2rem + 1vw, 2.75rem);
  font-weight: 200;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 58px;
  height: 86px;
  margin-top: -43px;
  font-size: clamp(3rem, 2.5rem + 2vw, 4rem);
  font-weight: 200;
}

.lightbox-arrow.previous {
  left: 7px;
}

.lightbox-arrow.next {
  right: 7px;
}

.lightbox-count {
  position: fixed;
  z-index: 2;
  top: 24px;
  left: 24px;
  color: var(--white);
  font-size: var(--font-sm);
}

@media (max-width: 900px) {
  .site-header {
    height: 96px;
  }

  .desktop-nav,
  .header-call {
    display: none;
  }

  .brand,
  .brand img {
    width: 116px;
    height: 64px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-inner {
    width: 100%;
    padding: 190px 20px 38px;
    align-items: flex-end;
  }

  .hero-copy {
    width: 100%;
    padding: 26px 0 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 75%, transparent 100%);
  }

  .hero h1 {
    margin-bottom: 16px;
  }

  .button-row {
    display: grid;
    gap: 12px;
    margin-top: 28px;
  }

  .button-row .button {
    width: 100%;
  }

  .promotions {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .content-shell {
    width: calc(100% - 20px);
    margin-top: 0;
  }

  .promotion-card {
    min-height: 410px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-section {
    padding: 10px 20px 64px;
  }

  .site-footer {
    padding-right: 100px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .floating-call {
    right: 20px;
    bottom: 22px;
    width: 64px;
    height: 64px;
  }

  .lightbox {
    padding: 58px 42px 46px;
  }

  .lightbox-arrow {
    width: 38px;
    font-size: clamp(2.75rem, 10vw, 3.125rem);
  }
}

@media (max-width: 430px) {
  .header-inner {
    width: calc(100% - 28px);
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    padding-inline: 18px;
  }

  .promotion-card {
    min-height: 390px;
    padding-inline: 18px;
  }

  .promotion-logo.bottler {
    width: 270px;
  }

  .lightbox {
    padding-inline: 34px;
  }
}

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

  .hero-slide {
    animation: none;
    opacity: 0;
  }

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
