/* Design tokens */
:root {
  --green: #176b45;
  --deep: #0d5033;
  --lime: #b8dc65;
  --cream: #f7f8f2;
  --ink: #183026;
  --muted: #5f6f67;
  --line: #dfe5df;
  --shadow: 0 18px 50px rgba(25, 55, 42, 0.16);
}
/* Base styles and shared elements */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans", Arial, sans-serif;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.site-header {
  height: 82px;
  max-width: 1280px;
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  font:
    700 17px "Google Sans",
    sans-serif;
  letter-spacing: -1px;
  box-shadow: inset 0 -3px rgba(0, 0, 0, 0.12);
}
.brand strong,
.brand small {
  display: block;
  line-height: 1;
}
.brand strong {
  font:
    700 19px "Google Sans",
    sans-serif;
}
.brand small {
  margin-top: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a:not(.nav-cta):hover {
  color: var(--green);
}
.nav-cta {
  color: #fff;
  background: var(--green);
  padding: 11px 20px;
  border-radius: 22px;
}
.language-toggle {
  min-width: 64px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #cbd6cf;
  border-radius: 22px;
  color: var(--green);
  background: #fff;
  font:
    700 13px "Noto Sans",
    sans-serif;
  cursor: pointer;
}
.language-toggle:hover {
  border-color: var(--green);
  background: var(--cream);
}
/* Hero and primary calls to action */
.hero {
  min-height: 650px;
  padding: 55px max(32px, calc((100vw - 1216px) / 2)) 76px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 72px;
  align-items: center;
  background: linear-gradient(120deg, #f7f8f2 0%, #f7f8f2 71%, #eef3e9 71%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
h1,
h2,
h3 {
  font-family: "Google Sans", sans-serif;
}
h1 {
  font-size: clamp(46px, 5.3vw, 74px);
  line-height: 1.03;
  letter-spacing: -3.3px;
  margin: 22px 0 25px;
}
h1 span {
  color: var(--green);
}
.hero-copy > p {
  max-width: 550px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 22px rgba(23, 107, 69, 0.25);
}
.primary:hover,
.nav-cta:hover {
  background: var(--deep);
}
.secondary {
  border: 1px solid #bac7bf;
  background: white;
}
.open-note {
  display: flex;
  align-items: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
}
.open-note .status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: #39a86b;
  box-shadow: 0 0 0 4px #dff2e7;
}
.open-note strong {
  color: var(--ink);
  margin-right: 4px;
}
.open-note[data-state="soon"] .status-dot {
  background: #e59b26;
  box-shadow: 0 0 0 4px #f8ead2;
}
.open-note[data-state="closed"] .status-dot {
  background: #89938d;
  box-shadow: 0 0 0 4px #e5e8e6;
}
/* Featured-products carousel */
.status-location:before {
  content: "\00b7";
  margin-right: 4px;
}
.carousel {
  position: relative;
  min-width: 0;
}
.slides {
  position: relative;
  height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: #dce5dc;
  box-shadow: var(--shadow);
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide:first-child img {
  object-position: center;
}
.slide:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(7, 26, 17, 0.78));
}
.slide figcaption {
  position: absolute;
  z-index: 1;
  left: 34px;
  right: 34px;
  bottom: 31px;
  color: white;
}
.slide figcaption strong,
.slide figcaption span {
  display: block;
}
.slide figcaption strong {
  font:
    600 22px "Google Sans",
    sans-serif;
}
.slide figcaption span {
  font-size: 13px;
  margin-top: 5px;
  opacity: 0.86;
}
.carousel-button {
  position: absolute;
  z-index: 2;
  top: 45%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}
.carousel-button:hover {
  background: white;
  transform: scale(1.04);
}
.previous {
  left: -21px;
}
.next {
  right: -21px;
}
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.dots {
  display: flex;
  gap: 7px;
}
.dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #bdc7c0;
  cursor: pointer;
  transition: 0.25s;
}
.dot.active {
  width: 24px;
  background: var(--green);
}
.pause-button {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  background: #fff;
  font-size: 10px;
  cursor: pointer;
}
/* Departments overview */
.departments {
  max-width: 1216px;
  margin: auto;
  padding: 105px 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 47px;
}
.section-heading h2,
.visit h2 {
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -2px;
  margin: 14px 0 0;
}
.section-heading > p {
  max-width: 450px;
  color: var(--muted);
  line-height: 1.7;
}
.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.department-grid article {
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: 0.2s;
}
.department-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(22, 60, 42, 0.09);
}
.department-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}
.produce {
  background: #e7f3d0;
  color: #537f19;
}
.seafood {
  background: #ddecf4;
  color: #28657d;
}
.pantry {
  background: #fff0cd;
  color: #987222;
}
.snacks {
  background: #f4e4e9;
  color: #9b4961;
}
.department-grid h3 {
  margin: 20px 0 9px;
  font-size: 18px;
}
.department-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
/* Visit information and footer */
.visit {
  max-width: 1216px;
  margin: 0 auto 86px;
  padding: 58px 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  color: white;
  background: var(--green);
  border-radius: 28px;
}
.eyebrow.light {
  color: #dff1c8;
}
.visit h2 {
  margin-top: 12px;
}
.visit-details {
  min-width: 270px;
}
.visit-details p {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin: 8px 0;
  font-size: 14px;
}
.visit-details span {
  color: #c4ddcf;
}
.visit-details a:not(.button) {
  font-weight: 600;
}
.white {
  margin-top: 16px;
  color: var(--green);
  background: white;
  width: 100%;
}
footer {
  max-width: 1216px;
  margin: auto;
  padding: 28px 32px 38px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
}
footer p:nth-last-child(1) {
  margin-left: auto;
}
.footer-brand {
  margin-right: 10px;
}
.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 14px;
}
.footer-brand strong {
  font-size: 15px;
}
.footer-brand small {
  font-size: 8px;
}
/* Language selection modal */
.language-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(8, 31, 21, 0.68);
  backdrop-filter: blur(7px);
}
.language-modal[hidden] {
  display: none;
}
.language-dialog {
  width: min(100%, 520px);
  padding: 38px;
  border-radius: 28px;
  text-align: center;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}
.language-symbol {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--green);
  font-size: 24px;
  font-weight: 700;
}
.dialog-eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.language-dialog h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -1px;
}
.language-dialog > p:not(.dialog-eyebrow) {
  margin: 13px 0 26px;
  color: var(--muted);
  line-height: 1.7;
}
.language-dialog > p span {
  font-size: 14px;
}
.language-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.language-option {
  padding: 17px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.language-option:hover,
.language-option:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 107, 69, 0.12);
}
.language-option.primary-language {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}
.language-option strong,
.language-option span {
  display: block;
}
.language-option strong {
  font-size: 17px;
}
.language-option span {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.78;
}
.language-dialog small {
  display: block;
  margin-top: 22px;
  color: #7a8881;
  font-size: 10px;
}
/* Tablet layout */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    max-width: 700px;
  }
  .slides {
    height: 520px;
  }
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visit {
    margin-left: 24px;
    margin-right: 24px;
  }
  .site-header nav a:not(.nav-cta) {
    display: none;
  }
}
/* Mobile layout */
@media (max-width: 600px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }
  .site-header nav {
    gap: 8px;
  }
  .nav-cta {
    display: none;
  }
  .language-toggle {
    min-width: 58px;
    padding: 0 12px;
  }
  .hero {
    padding: 45px 20px 60px;
    gap: 38px;
    background: var(--cream);
  }
  h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .slides {
    height: 430px;
    border-radius: 22px;
  }
  .previous {
    left: 10px;
  }
  .next {
    right: 10px;
  }
  .section-heading {
    display: block;
  }
  .departments {
    padding: 78px 20px;
  }
  .department-grid {
    grid-template-columns: 1fr;
  }
  .visit {
    margin: 0 16px 60px;
    padding: 42px 28px;
    display: block;
  }
  .visit-details {
    margin-top: 30px;
  }
  .visit-details p {
    display: block;
  }
  .visit-details p > * {
    display: block;
    margin-top: 5px;
  }
  footer {
    margin: 0 20px;
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
  }
  .language-dialog {
    padding: 30px 20px;
  }
  .language-options {
    grid-template-columns: 1fr;
  }
  footer p:nth-last-child(1) {
    margin-left: 0;
    width: 100%;
  }
}
/* Respect visitors who prefer minimal animation */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .slide,
  .department-grid article {
    transition: none;
  }
}
