/* ============================================================
   ISOLA WINE / Cantine Balita - main stylesheet
   Full-wide section system, vanilla CSS only
   ============================================================ */

:root {
  --color-primary: #4b2628;
  --color-primary-hover: #591f22;
  --color-accent: #ae9f6a;
  --color-accent-light: #cfc39c;
  --color-dark: #241a1b;
  --color-darker: #170f10;
  --color-light: #f6f4ef;
  --color-light-2: #f5f5f1;
  --color-body: #424242;
  --color-white: #ffffff;
  --color-muted: #8a8178;
  --wa-green: #25d366;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sub: 'Lora', Georgia, serif;
  --font-script: 'Caveat', 'Segoe Script', cursive;
  --font-body: 'Tenali Ramakrishna', Georgia, serif;
  --font-ui: 'Work Sans', Arial, sans-serif;

  --section-pad: clamp(64px, 9vw, 110px);
  --container: 1200px;
  --gutter: 24px;
  --header-h: 84px;
  --radius: 2px;
}

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

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.55;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--color-accent); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 400; line-height: 1.15; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--color-accent); color: #fff; }

/* ---------- layout ---------- */
.section {
  position: relative;
  width: 100%;
  padding: var(--section-pad) 0;
}

.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--light { background: var(--color-light); }
.section--light-2 { background: var(--color-light-2); }
.section--dark { background: var(--color-dark); color: #e9e3d8; }
.section--primary { background: var(--color-primary); color: #f3ede2; }
.section--bg {
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section--parallax {
  background-attachment: fixed;
}

.section--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 13, .55);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}

.container--wide { max-width: 1440px; }

.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .kicker { display: block; margin-bottom: 10px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { max-width: 720px; margin: 0 auto; color: inherit; opacity: .85; }

.section--dark .section-head h2 { color: #fff; }
.section--primary .section-head h2 { color: #fff; }

/* ---------- typography ---------- */
.kicker {
  font-family: var(--font-script);
  font-size: clamp(24px, 3vw, 30px);
  color: var(--color-accent);
  line-height: 1;
}

.display {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff;
  line-height: .95;
}

.h1-display {
  font-size: clamp(52px, 12vw, 150px);
  letter-spacing: .2em;
  text-indent: .2em;
}

.h2-display {
  font-size: clamp(34px, 7vw, 84px);
  letter-spacing: .14em;
  text-indent: .14em;
}

h2.section-title {
  font-family: var(--font-sub);
  font-size: clamp(26px, 3.6vw, 48px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
}

h3.sub-title {
  font-family: var(--font-sub);
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lead {
  font-size: clamp(19px, 2vw, 23px);
  font-family: var(--font-body);
}

.small { font-size: 15px; font-family: var(--font-ui); }
.muted { color: var(--color-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all .3s ease;
  white-space: nowrap;
}

.btn--light {
  background: var(--color-white);
  color: #312428;
  border-color: #312428;
}
.btn--light:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn--gold {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--gold:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

.btn--whatsapp {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn--whatsapp:hover {
  background: #1eb457;
  border-color: #1eb457;
  color: #fff;
}

.btn--sm { padding: 11px 22px; font-size: 12px; }
.btn--block { display: block; width: 100%; }

/* ---------- header ---------- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1150;
  color: #fff;
  background: transparent;
  box-shadow: none;
  transition: background-color .45s ease, box-shadow .45s ease;
}

/* background langsung di elemen header saat scroll/solid */
#mainNav.scrolled,
#mainNav.is-solid {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 24px rgba(23, 15, 16, .14);
  color: var(--color-primary);
}

/* animated background layer: slides down on scroll (matches inline header bg exactly) */
#mainNav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .97);
  opacity: 0;
  transform: translateY(-101%);
  transition: transform .5s cubic-bezier(.22, .8, .24, 1), opacity .35s ease;
  z-index: 0;
}

/* gold accent line that draws in */
#mainNav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(174, 159, 106, .4) 55%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s ease .1s;
}

#mainNav.scrolled::before,
#mainNav.is-solid::before {
  opacity: 1;
  transform: translateY(0);
}

#mainNav.scrolled::after,
#mainNav.is-solid::after {
  transform: scaleX(1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  transition: height .4s ease;
}

#mainNav.scrolled .header-inner { height: 62px; }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; transition: height .4s ease, opacity .25s ease; }
.brand .logo-sticky { display: none; }
.brand .logo-mobile { display: none; }
#mainNav.scrolled .brand img { height: 36px; }
#mainNav.scrolled .brand .logo-desktop { display: none; }
#mainNav.scrolled .brand .logo-sticky { display: inline-block; }

.main-nav > ul { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }

.main-nav a {
  font-family: var(--font-sub);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
  padding: 8px 0;
  display: inline-block;
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after,
.main-nav > ul > li:hover > a::after { transform: scaleX(1); }
.main-nav a.active { color: var(--color-accent); }

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 26px;
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--color-primary);
  white-space: nowrap;
}
.dropdown a:hover { color: var(--color-accent); background: var(--color-light-2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 10px 4px;
  z-index: 1102;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* off-canvas mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 88vw);
  height: 100%;
  background: var(--color-darker);
  color: #fff;
  z-index: 1100;
  transform: translateX(105%);
  transition: transform .4s cubic-bezier(.2, .7, .3, 1);
  overflow-y: auto;
  padding: 110px 34px 48px;
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul li { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.mobile-menu a {
  display: block;
  font-family: var(--font-sub);
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  padding: 17px 0;
}
.mobile-menu a:hover { color: var(--color-accent); }

.mobile-menu .sub {
  display: none;
  padding-left: 16px;
}
.mobile-menu .sub.open { display: block; }
.mobile-menu .sub a { font-size: 12.5px; padding: 12px 0; color: #cfc6b8; }

.sub-toggle {
  float: right;
  width: 32px;
  height: 32px;
  margin-top: 9px;
  background: none;
  border: 0;
  color: inherit;
  position: relative;
}
.sub-toggle::before {
  content: '+';
  font-size: 22px;
  line-height: 1;
}
.has-sub.open > .sub-toggle::before { content: '–'; }

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
}
.menu-overlay.show { opacity: 1; visibility: visible; }

body.menu-open { overflow: hidden; }
body.age-locked { overflow: hidden; }

/* keep the close (X) toggle visible while the panel is open */
body.menu-open #mainNav {
  color: #fff;
  background: transparent;
  box-shadow: none;
}
body.menu-open #mainNav::before {
  opacity: 0;
  transform: translateY(-101%);
}
body.menu-open #mainNav::after { transform: scaleX(0); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-darker);
}

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 9, 10, .55), rgba(15, 9, 10, .25) 45%, rgba(15, 9, 10, .6));
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero__sub {
  display: block;
  margin-top: clamp(6px, 1.4vw, 18px);
  font-family: var(--font-sub);
  font-size: clamp(16px, 2.6vw, 30px);
  letter-spacing: .62em;
  text-indent: .62em;
  text-transform: uppercase;
  color: #fff;
}

.hero__cta { margin-top: clamp(28px, 4vw, 44px); }

.hero--page { min-height: clamp(380px, 52vh, 560px); }
.hero--page .h1-display { font-size: clamp(44px, 9vw, 110px); }

/* ---------- intro ---------- */
.intro-logo { margin: 0 auto 26px; max-width: 190px; }
.intro-logo img { width: 100%; height: auto; }

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .6, .3, 1);
}

.tile:hover img { transform: scale(1.07); }

.tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 7, 8, .62), rgba(12, 7, 8, .05) 55%);
  transition: background .5s ease;
}

.tile:hover .tile__overlay { background: linear-gradient(to top, rgba(12, 7, 8, .74), rgba(12, 7, 8, .12) 60%); }

.tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: .3em;
  text-indent: .3em;
  text-transform: uppercase;
  color: #fff;
}

.tile__label::after {
  content: '';
  display: block;
  width: 42px;
  height: 1px;
  background: var(--color-accent);
  margin: 14px auto 0;
  transition: width .4s ease;
}

.tile:hover .tile__label::after { width: 84px; }

/* ---------- values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(18px, 3vw, 42px);
  text-align: center;
}

.value-item img { width: clamp(72px, 8vw, 108px); height: auto; margin: 0 auto 20px; }
.value-item .value-label {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section--dark .value-item .value-label { color: #fff; }

/* ---------- where to buy ---------- */
.store-section { margin-top: clamp(50px, 7vw, 90px); }

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 46px);
}

.store-box {
  position: relative;
  border: 1px solid var(--color-dark);
  border-radius: 6px;
  background: var(--color-light-2);
  padding: clamp(34px, 5vw, 46px) clamp(20px, 3vw, 30px) clamp(26px, 3vw, 32px);
}

.store-box__title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-light-2);
  padding: 0 20px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
}

.store-box__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: center;
}

.store-item img { max-height: 60px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- parallax banner ---------- */
.banner {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 52vh, 560px);
  background-image: var(--bg, none);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 12, .5);
}

.banner__inner { position: relative; z-index: 2; padding: 48px 24px; }

/* ---------- alternating rows ---------- */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.row--reverse .row__media { order: 2; }

.row__media { position: relative; }
.row__media img { width: 100%; height: auto; object-fit: cover; }

.row__media--ratio { aspect-ratio: 4 / 5; }
.row__media--ratio img { height: 100%; }

.row__body h2 { margin-bottom: 18px; }
.row__body .lead { margin-bottom: 12px; }

.row + .row { margin-top: var(--section-pad); }

/* ---------- quote ---------- */
.quote-section {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.quote-section blockquote {
  margin: 0;
  font-family: var(--font-sub);
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.45;
  color: #fff;
}

.quote-section cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-family: var(--font-sub);
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.quote-section cite small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .72);
}

.quote--plain .quote-section blockquote { color: var(--color-primary); }
.quote--plain .quote-section cite small { color: var(--color-muted); }

/* ---------- timeline ---------- */
.timeline {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  padding: 10px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(174, 159, 106, .2) 100%);
}

.timeline-item {
  position: relative;
  padding: 0 0 52px 58px;
}
.timeline-item:last-child { padding-bottom: 8px; }

/* ring + dot on the line */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 0 5px rgba(174, 159, 106, .16);
}

/* connector from dot to content */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 17px;
  width: 38px;
  height: 1px;
  background: rgba(174, 159, 106, .55);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 14px;
}

.timeline-year::after {
  content: '';
  display: block;
  width: 38px;
  height: 2px;
  background: rgba(174, 159, 106, .65);
  margin-top: 9px;
}

.timeline-body p {
  color: #d9d2c4;
  font-size: 19px;
  max-width: 640px;
  margin-bottom: 12px;
}

/* ---------- grape varieties list ---------- */
.varieties-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.variety-row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .09);
  border-radius: 4px;
  padding: clamp(18px, 2.6vw, 26px) clamp(18px, 3vw, 32px);
  transition: transform .3s ease, box-shadow .3s ease;
}

.variety-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(35, 22, 24, .09);
}

.variety-row__img {
  flex: 0 0 auto;
  width: clamp(84px, 10vw, 112px);
  height: clamp(84px, 10vw, 112px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-light);
  box-shadow: 0 0 0 1px rgba(75, 38, 40, .12);
}

.variety-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variety-row__body h3 {
  font-family: var(--font-sub);
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.variety-row__body .small { color: var(--color-body); }

@media (max-width: 640px) {
  .variety-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- map figure ---------- */
.map-figure {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .1);
  box-shadow: 0 18px 50px rgba(35, 22, 24, .1);
  padding: 14px;
}

.map-figure img { width: 100%; height: auto; }

.map-figure figcaption {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 14px 10px 8px;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.card {
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .08);
  padding: clamp(24px, 3vw, 36px);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(35, 22, 24, .1);
}

.card h3 {
  font-family: var(--font-sub);
  font-size: 19px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.card .btn { margin-top: 16px; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 34px);
}

.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 18px; }
.team-card h3 {
  font-family: var(--font-sub);
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.team-card .pos {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---------- order grid ---------- */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(16px, 2.6vw, 26px);
}

.order-card {
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .09);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(35, 22, 24, .1);
}

.order-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.order-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.order-card:hover .order-card__media img { transform: scale(1.04); }

.order-card__body {
  padding: 20px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.order-card__body h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.order-card__body .variety {
  font-family: var(--font-script);
  font-size: 18px;
  color: var(--color-accent);
  margin: 0;
}

.order-card__actions {
  margin-top: auto;
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.order-help {
  margin-top: clamp(36px, 6vw, 64px);
  text-align: center;
}

/* ---------- product list (wines) ---------- */
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  width: 100%;
  padding: clamp(40px, 6vw, 76px) 0;
}

.product-row--reverse { direction: rtl; }
.product-row--reverse > * { direction: ltr; }

.product-row:nth-child(even) { background: var(--color-light); }

.product-row__media { position: relative; }
.product-row__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-row__body h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-row__body .variety {
  font-family: var(--font-script);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.product-row__body .btn { margin: 18px 12px 0 0; }

.badge-raw {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  padding: 5px 12px;
  margin-bottom: 14px;
}

/* ---------- product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.product-gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery__thumbs button {
  padding: 0;
  border: 1px solid transparent;
  background: none;
  width: 84px;
}
.product-gallery__thumbs button.active { border-color: var(--color-accent); }
.product-gallery__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.spec-list { margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.spec-list dt {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.spec-list dd { margin: 0; font-family: var(--font-sub); font-size: 16px; color: var(--color-primary); }

.detail-section h3 {
  font-family: var(--font-sub);
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 28px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(75, 38, 40, .12);
}

/* ---------- gallery ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.tab-btn {
  font-family: var(--font-sub);
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 13px 26px;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(75, 38, 40, .3);
  border-radius: var(--radius);
  transition: all .3s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.gallery-grid { columns: 3 280px; column-gap: 16px; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img { width: 100%; height: auto; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(12, 7, 8, .72), transparent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 7, 8, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

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

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

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

.lightbox figcaption {
  color: #fff;
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 16px;
}

.lightbox__btn {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 0;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transition: background .25s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- news article ---------- */
.news-article {
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .09);
  border-radius: 6px;
  padding: clamp(22px, 4vw, 48px);
}

.news-article__img { margin: 0 0 26px; }
.news-article__img img { width: 100%; height: auto; }

.news-article__body {
  font-size: 20px;
  line-height: 1.75;
}

.news-article__body p { margin-bottom: 1.2em; }

.news-article__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(75, 38, 40, .1);
}

/* ---------- media list ---------- */
.media-list { max-width: 900px; margin: 0 auto; }

.media-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(75, 38, 40, .12);
}
.media-item:first-child { padding-top: 0; }

.media-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.media-item h3 { font-family: var(--font-sub); font-size: 20px; letter-spacing: .02em; margin-bottom: 6px; }
.media-item .meta { font-family: var(--font-ui); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 12px; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.field label .req { color: #b3402a; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-body);
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .25);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .25s ease;
}

.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-errors {
  background: #fbe9e7;
  border: 1px solid #e5b8b0;
  color: #8c2f1e;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-family: var(--font-ui);
  font-size: 14px;
}
.form-errors ul { list-style: disc; padding-left: 20px; }

.form-success {
  background: #e8f5ec;
  border: 1px solid #b6dcc4;
  color: #1e6b3a;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-family: var(--font-ui);
  font-size: 15px;
}

.contact-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(75, 38, 40, .1);
  padding: clamp(24px, 3.4vw, 44px);
}

.info-list li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(75, 38, 40, .09);
  font-size: 19px;
}
.info-list li:first-child { padding-top: 0; }
.info-list .ic { flex: 0 0 auto; color: var(--color-accent); }

.map-embed { width: 100%; border: 0; display: block; min-height: 420px; }

/* framed map card */
.map-card {
  border: 1px solid rgba(75, 38, 40, .12);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(35, 22, 24, .08);
  line-height: 0;
}

.map-card iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 440px;
}

/* ---------- footer ---------- */
.site-footer {
  background: #1d1314;
  color: #cbc3b4;
  width: 100%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(48px, 7vw, 84px) 0 40px;
}

.site-footer h4 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-logo img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-tag { font-family: var(--font-script); font-size: 24px; color: var(--color-accent); }

.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: #cbc3b4;
  font-family: var(--font-sub);
  font-size: 13.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-contact li { margin-bottom: 12px; font-size: 17px; line-height: 1.5; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--color-accent); }

.social-row { display: flex; gap: 12px; margin-top: 22px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #e8e2d4;
  transition: all .3s ease;
}
.social-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #968e80;
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
  transition: transform .3s ease, box-shadow .3s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(0, 0, 0, .34); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--color-light);
  overflow-y: auto;
  padding: clamp(28px, 6vw, 64px) 24px;
}

.age-gate[hidden] { display: none; }

.age-gate__inner { max-width: 640px; margin: 0 auto; }

.age-gate__card {
  background: var(--color-white);
  border-radius: 0 56px 0 0;
  box-shadow: 0 18px 44px rgba(36, 26, 27, .12);
  padding: clamp(30px, 5vw, 48px) clamp(26px, 5vw, 50px);
  text-align: center;
}

.age-gate__card h2 {
  font-family: var(--font-heading);
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: 30px;
}

.age-gate__field { margin-bottom: 16px; }
.age-gate__field input[type="text"] {
  width: 100%;
  border: 1px solid var(--color-dark);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 15px 18px;
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: .03em;
  color: var(--color-primary);
}
.age-gate__field input::placeholder { color: var(--color-muted); }

.age-gate__error {
  color: #a3372f;
  font-family: var(--font-ui);
  font-size: 14px;
  margin: -4px 0 16px;
  text-align: left;
}

.age-gate__remember {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 28px;
  cursor: pointer;
}
.age-gate__remember input { margin-top: 3px; accent-color: var(--color-primary); flex-shrink: 0; }
.age-gate__remember em { font-style: normal; color: var(--color-muted); }

.age-gate__submit {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--color-dark);
  color: var(--color-white);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 17px;
  cursor: pointer;
  transition: background .2s ease;
}
.age-gate__submit:hover { background: var(--color-darker); }

.age-gate__footer {
  text-align: center;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-body);
  margin-top: clamp(32px, 5vw, 56px);
}
.age-gate__drink {
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.age-gate__footer p { margin-bottom: 14px; }
.age-gate__footer a { color: var(--color-primary); text-decoration: underline; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile img { transition: none; }
  #mainNav,
  #mainNav::before,
  #mainNav::after,
  .header-inner,
  .header-inner.scrolled { transition: none !important; }
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-darker);
  color: #fff;
  padding: 140px 24px 80px;
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(90px, 20vw, 220px);
  line-height: 1;
  color: var(--color-accent);
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 4000;
  background: #fff;
  color: var(--color-primary);
  padding: 12px 20px;
  font-family: var(--font-ui);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .brand img { height: 38px; }
  .brand .logo-desktop { display: none; }
  .brand .logo-mobile { display: block; }
  #mainNav.scrolled .brand .logo-desktop { display: none; }
  #mainNav.scrolled .brand .logo-sticky { display: none; }
  #mainNav.scrolled .brand .logo-mobile { display: block; }

  .tiles { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .row--reverse .row__media { order: 0; }
  .product-row { grid-template-columns: 1fr; gap: 28px; }
  .product-row--reverse { direction: ltr; }
  .product-row__media { max-width: 420px; }
  .product-detail { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section--parallax { background-attachment: scroll; }
}

@media (max-width: 640px) {
  body { font-size: 19px; }
  .tiles { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .media-item { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2 160px; }
  .btn { padding: 14px 26px; }
  .hero__sub { letter-spacing: .42em; text-indent: .42em; }
  .product-row__body .btn { margin-right: 8px; }
}
