/* ===================================================
   Chester Pub B2B — Wholesale Site Stylesheet
   =================================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --color-bg:        #0D0A07;
  --color-surface:   #141008;
  --color-surface2:  #1E1812;
  --color-border:    rgba(212, 164, 58, 0.14);
  --color-border-hover: rgba(212, 164, 58, 0.35);
  --color-text:      #F5F0E8;
  --color-muted:     rgba(245, 240, 232, 0.55);
  --color-faint:     rgba(245, 240, 232, 0.22);
  --color-primary:   #D4A43A;
  --color-primary-h: #B8860B;
  --color-success:   #4CAF82;
  --color-error:     #E05252;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;

  --radius-sm: 6px;    --radius-md: 10px;
  --radius-lg: 16px;   --radius-full: 9999px;

  --nav-h: 68px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 24px rgba(212,164,58,0.18);

  --section-gap: var(--space-24);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

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

img, svg { display: block; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ---- Scroll-reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay { transition-delay: 0.12s; }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--color-primary-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,164,58,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid rgba(212,164,58,0.5);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-outline:hover {
  background: rgba(212,164,58,0.08);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-lg { padding: 0.9rem 2rem; font-size: 0.95rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1rem; }

/* ---- Eyebrow + Headings ---- */
.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.65;
}

.section-header { margin-bottom: var(--space-12); }

.section { padding: var(--section-gap) 0; }

/* ===================================================
   HEADER
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: rgba(13,10,7,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-h);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.5); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-primary);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.08em;
}
.logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.logo > img{width: 32px; height: 32px;}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex: 1;
}
.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--color-text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-muted);
  transition: color 0.15s;
}
.header-phone:hover { color: var(--color-primary); }

.header-cta { padding: 0.55rem 1.25rem; font-size: 0.83rem; }

.header-actions-preview{display:flex; justify-content: center; align-items: center;}
.header-actions-preview .prod-badge{position: relative; top:-2px; opacity: 1;}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   SITE OVERLAYS (loader + age warning)
   =================================================== */
.site-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader {
  z-index: 10001;
  background: #000;
}

.site-loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(212, 164, 58, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: site-loader-spin 0.85s linear infinite;
}

@keyframes site-loader-spin {
  to { transform: rotate(360deg); }
}

.site-warning {
  z-index: 10000;
  background: #0D0A07;
  padding: var(--space-8);
  opacity: 1;
  transition: opacity 0.825s ease, visibility 0.825s ease;  
}

.site-warning.is-hiding {
  opacity: 0;
  pointer-events: none;
}

.site-warning.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-warning .hero-bg {
  position: absolute;
  inset: 0;
}

.site-warning-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  transition: opacity 0.675s ease, transform 0.675s ease;
}

.site-warning.is-hiding .site-warning-inner {
  opacity: 0;
  transform: translateX(-24px);
}

.site-warning .hero-title {
  margin-bottom: var(--space-6);
}

.site-warning .hero-sub {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
}

.site-warning .hero-ctas {
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.site-overlay-lock,
body.site-overlay-lock {
  overflow: hidden;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(180,130,40,0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 20% 60%, rgba(120,80,20,0.07) 0%, transparent 60%),
    linear-gradient(170deg, #161008 0%, #0D0A07 50%, #120E07 100%);
}

/* grain texture */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  gap: var(--space-16);
}

.hero-content { max-width: 700px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.stat-plus, .stat-pct {
  font-size: 1.4rem;
  vertical-align: super;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.35;
}

/* ===================================================
   TRUST BAR
   =================================================== */
.trust-bar {
  background: rgba(212,164,58,0.06);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-muted);
}
.trust-item svg { color: var(--color-primary); flex-shrink: 0; }

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ===================================================
   ADVANTAGES
   =================================================== */
.advantages { background: var(--color-surface); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.adv-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color 0.25s, transform 0.25s;
}
.adv-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-3px);
}

.adv-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,164,58,0.12);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.adv-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.adv-card p { font-size: 0.88rem; color: var(--color-muted); line-height: 1.65; }

/* ===================================================
   CATALOG
   =================================================== */
.catalog { background: var(--color-bg); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.prod-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.prod-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card);
}

.prod-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--badge-color) 20%, transparent);
  color: var(--badge-color);
  border: 1px solid color-mix(in srgb, var(--badge-color) 50%, transparent);
}

.prod-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  opacity: 0.8;
  margin-top: var(--space-2);
}

.prod-info { flex: 1; }

.prod-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  padding-right: var(--space-12);
}

.prod-style { font-size: 0.78rem; color: var(--color-muted); margin-bottom: var(--space-3); }

.prod-formats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.fmt-tag {
  padding: 2px 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  color: var(--color-muted);
}

.prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.prod-price {
  font-size: 0.78rem;
  color: var(--color-faint);
  font-style: italic;
}

.btn-add-cart {
  padding: 5px 14px;
  background: transparent;
  border: 1px solid rgba(212,164,58,0.35);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-add-cart:hover,
.btn-add-cart.in-cart {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Cart preview bar */
.cart-preview {
  margin-top: var(--space-8);
  background: rgba(212,164,58,0.08);
  border: 1px solid rgba(212,164,58,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.cart-preview.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cart-preview-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-primary);
  flex-wrap: wrap;
}
.cart-count {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}
.cart-go-btn { padding: 0.45rem 1.1rem; font-size: 0.82rem; }

/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-it-works { background: var(--color-surface); }

.steps-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch; /* <-- теперь все элементы внутри будут выравниваться по высоте */
  gap: var(--space-4);
}

.step-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.step-item p { font-size: 0.84rem; color: var(--color-muted); line-height: 1.6; }

.step-arrow {
  color: var(--color-primary);
  opacity: 0.4;
  margin-top: var(--space-12);
  flex-shrink: 0;
}

/* ===================================================
   TIERS
   =================================================== */
.tiers { background: var(--color-bg); }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.tier-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.tier-card--featured {
  border-color: rgba(212,164,58,0.5);
  box-shadow: 0 0 0 1px rgba(212,164,58,0.15), var(--shadow-glow);
  transform: scale(1.03);
}

.tier-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.tier-volume {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.tier-features { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-8); }

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: 0.85rem;
  line-height: 1.4;
}
.feat-yes::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-no {
  color: var(--color-faint);
}
.feat-no::before {
  content: '—';
  color: var(--color-faint);
  flex-shrink: 0;
  margin-top: 1px;
}

.tier-cta { width: 100%; justify-content: center; }

/* ===================================================
   MAP
   =================================================== */
.map-section { background: var(--color-surface); padding-bottom: 0; }
.map-section .container { padding-bottom: 0; }

.map-wrap { position: relative; margin-top: var(--space-8); }

#b2b-map-canvas {
  height: 420px;
  background: #1a1a1a;
  z-index: 10;
}

.map-legend {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(13,10,7,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  z-index: 1000;
}

.mleg-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--color-muted);
}
.mleg-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Leaflet popup overrides */
.leaflet-popup-content-wrapper {
  background: #1A1510 !important;
  border: 1px solid rgba(212,164,58,0.4) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6) !important;
  padding: 0 !important;
}
.leaflet-popup-tip { display: none !important; }
.leaflet-popup-content {
  margin: 0 !important;
  padding: var(--space-4) var(--space-5) !important;
  color: var(--color-text) !important;
  min-width: 200px;
}
.leaflet-popup-content a { color: var(--color-primary); }
.leaflet-container a.leaflet-popup-close-button {
  color: rgba(245,240,232,0.5) !important;
  top: 8px !important; right: 8px !important;
  font-size: 18px !important;
}
.leaflet-container a.leaflet-popup-close-button:hover { color: var(--color-primary) !important; }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials { background: var(--color-bg); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.review-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color 0.2s;
}
.review-card:hover { border-color: var(--color-border-hover); }

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--av-color) 20%, transparent);
  border: 2px solid color-mix(in srgb, var(--av-color) 60%, transparent);
  color: var(--av-color);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.review-name { font-size: 0.9rem; font-weight: 700; color: var(--color-text); }
.review-role { font-size: 0.75rem; color: var(--color-muted); margin-top: 2px; }
.review-stars { color: var(--color-primary); font-size: 0.8rem; margin-top: 2px; letter-spacing: 2px; }

.review-quote {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.review-meta {
  font-size: 0.72rem;
  color: var(--color-primary);
  font-weight: 600;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

/* ===================================================
   ORDER FORM
   =================================================== */
.order-section {
  background: var(--color-surface);
  padding: var(--space-24) 0;
}

.order-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.order-info { position: sticky; top: calc(var(--nav-h) + var(--space-8)); }

.order-info .section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.order-info p { font-size: 0.9rem; color: var(--color-muted); line-height: 1.65; margin-bottom: var(--space-8); }

.order-contacts { display: flex; flex-direction: column; gap: var(--space-3); }
.oc-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.88rem;
  color: var(--color-muted);
}
.oc-item svg { color: var(--color-primary); flex-shrink: 0; }
.oc-item a { color: var(--color-text); font-weight: 600; }
.oc-item a:hover { color: var(--color-primary); }

.selected-products-info {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: rgba(212,164,58,0.07);
  border: 1px solid rgba(212,164,58,0.2);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--color-text);
  display: none;
}
.selected-products-info.show { display: block; }
.sel-label { font-weight: 600; color: var(--color-primary); margin-bottom: var(--space-2); }
.sel-list { color: var(--color-muted); line-height: 1.6; }

/* Form wrap */
.order-form-wrap {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
}

.f-field--full { grid-column: 1 / -1; }

/* Labels */
.f-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}
.f-req { color: var(--color-primary); }
.f-opt { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.68rem; color: var(--color-faint); }

/* Inputs */
.f-field input,
.f-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  box-sizing: border-box;
  resize: vertical;
}
.f-field input::placeholder,
.f-field textarea::placeholder { color: rgba(245,240,232,0.22); }

.f-field input:focus,
.f-field textarea:focus {
  border-color: var(--color-primary);
  background: rgba(212,164,58,0.05);
  box-shadow: 0 0 0 3px rgba(212,164,58,0.12);
}

/* Custom select */
.f-select-wrap { position: relative; }
.f-select-wrap select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(245,240,232,0.12);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-10) var(--space-3) var(--space-4);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
}
.f-select-wrap select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212,164,58,0.12);
}
.f-select-wrap select option { background: #1a1510; color: #f5f0e8; }
.f-chevron {
  position: absolute; right: var(--space-3); top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(245,240,232,0.35);
  transition: color 0.18s;
}
.f-select-wrap:focus-within .f-chevron { color: var(--color-primary); }

/* Product checkboxes */
.product-checks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.pcheck {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  user-select: none;
}
.pcheck:hover { border-color: rgba(212,164,58,0.3); color: var(--color-text); }
.pcheck input[type="checkbox"] { accent-color: var(--color-primary); width: 14px; height: 14px; }
.pcheck:has(input:checked) {
  background: rgba(212,164,58,0.12);
  border-color: rgba(212,164,58,0.5);
  color: var(--color-text);
}

/* Validation */
.f-field.invalid input,
.f-field.invalid .f-select-wrap select {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(224,82,82,0.12);
}

@keyframes f-shake {
  0%,100% { transform: translateX(0); }
  15%      { transform: translateX(-5px); }
  35%      { transform: translateX(5px); }
  55%      { transform: translateX(-3px); }
  75%      { transform: translateX(3px); }
  90%      { transform: translateX(-2px); }
}
.f-field.shaking { animation: f-shake 0.36s ease; }

.f-error {
  display: block;
  min-height: 1rem;
  font-size: 0.68rem;
  color: #e88080;
  margin-top: var(--space-1);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.18s, transform 0.18s;
}
.f-field.invalid .f-error { opacity: 1; transform: none; }

/* Submit row */
.form-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.btn-submit { flex-shrink: 0; }
.form-note {
  font-size: 0.7rem;
  color: rgba(245,240,232,0.25);
  line-height: 1.45;
  flex: 1;
}

.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Success state */
@keyframes ring-draw {
  from { stroke-dashoffset: 160; }
  to   { stroke-dashoffset: 0; }
}
@keyframes check-draw {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-16) var(--space-8);
  gap: var(--space-4);
}
.form-success[aria-hidden="false"] { display: flex; }

.success-icon-wrap { width: 72px; height: 72px; color: var(--color-primary); }
.success-svg { width: 100%; height: 100%; overflow: visible; }
.s-ring { stroke-dasharray: 160; stroke-dashoffset: 160; }
.s-check { stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-success[aria-hidden="false"] .s-ring { animation: ring-draw 0.5s cubic-bezier(0.4,0,0.2,1) 0.1s forwards; }
.form-success[aria-hidden="false"] .s-check { animation: check-draw 0.4s cubic-bezier(0.4,0,0.2,1) 0.5s forwards; }

.success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text);
}
.success-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 400px;
}
.success-text a { color: var(--color-primary); font-weight: 600; }
.success-reset {
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-6);
  font-size: 0.85rem;
}

#order-form-el { transition: opacity 0.3s ease; }
#order-form-el.fading { opacity: 0; pointer-events: none; }

/* ===================================================
   FAQ
   =================================================== */
.faq-section { background: var(--color-bg); }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--color-primary); }
.faq-q[aria-expanded="true"] { color: var(--color-primary); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--color-muted);
  transition: transform 0.25s ease;
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--color-primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), padding 0.25s;
}
.faq-a.open { max-height: 400px; padding-bottom: var(--space-5); }
.faq-a p { font-size: 0.88rem; color: var(--color-muted); line-height: 1.7; }

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}

.footer-brand .logo { margin-bottom: var(--space-4); }
.footer-tagline { font-size: 0.82rem; color: var(--color-faint); line-height: 1.5; }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col li { font-size: 0.84rem; color: var(--color-faint); }
.footer-col a { color: var(--color-muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
}
.footer-legal {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.2);
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
/* ===================================================
   AWARDS SECTION
   =================================================== */
.awards-section { background: var(--color-surface); }

/* ---- Stat counters ---- */
.awards-counters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: var(--space-8) var(--space-10);
  background: linear-gradient(135deg, rgba(212,164,58,0.07) 0%, rgba(212,164,58,0.02) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin: 0 0 var(--space-12);
}
.award-counter { text-align: center; }
.award-counter-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}
.award-counter-label {
  display: block;
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: var(--space-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.award-counter-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ---- Grid ---- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-12);
}
.award-card--wide { grid-column: span 2; }

/* ---- Card ---- */
.award-card {
  position: relative;
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow: hidden;
  outline: none;
}
.award-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,164,58,0.06) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.award-card:hover,
.award-card:focus-visible {
  border-color: var(--color-border-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.award-card:hover::before { opacity: 1; }

/* Dynamic glow spot (injected by JS) */
.award-card .card-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,164,58,0.18) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
  z-index: 0;
}
.award-card:hover .card-glow { opacity: 1; }

/* Keep card children above glow */
.award-card > *:not(.card-glow) { position: relative; z-index: 1; }

/* Year watermark */
.award-card-year {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(212,164,58,0.13);
  line-height: 1;
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  user-select: none;
  z-index: 0;
}
.award-card-year--small { font-size: 2.2rem; }

/* Icon */
.award-card-icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.award-card-icon svg { width: 100%; height: 100%; }

/* Body */
.award-card-body { flex: 1; }

.award-card-comp {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-2);
}

.award-card-medal {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.award-medal--gold    { background: rgba(212,164,58,0.18); color: #FFD95A; }
.award-medal--winner  { background: rgba(212,164,58,0.22); color: var(--color-primary); }
.award-medal--triple  { background: rgba(212,164,58,0.15); color: var(--color-primary); }
.award-medal--heritage { background: rgba(76,175,130,0.15); color: var(--color-success); }

.award-card-beer {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.award-card-tagline {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.award-card-btn {
  align-self: flex-start;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  margin-top: auto;
}
.award-card:hover .award-card-btn,
.award-card:focus-visible .award-card-btn {
  border-color: var(--color-primary);
  background: rgba(212,164,58,0.1);
}

/* ---- B2B CTA strip ---- */
.awards-b2b-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-10);
  background: linear-gradient(135deg, rgba(212,164,58,0.1) 0%, rgba(212,164,58,0.03) 100%);
  border: 1px solid rgba(212,164,58,0.28);
  border-radius: var(--radius-lg);
}
.awards-b2b-cta-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  max-width: 540px;
  line-height: 1.55;
}

/* ---- Awards Modal ---- */
.awards-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.awards-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.awards-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(6px);
}
.awards-modal-content 
{
  position: relative;
  z-index: 1;
  background: var(--color-surface2);
  border: 1px solid rgba(212,164,58,0.28);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(212,164,58,0.2) transparent;
  display: flex;
  flex-direction: row;
  gap: var(--space-4);
}

.awards-modal.has-foto .awards-modal-content {
  max-width: 70vw;
}

.awards-modal-content > img{width:40%; margin:-2rem; margin-right:2rem; object-fit: cover;}
.awards-modal-content > div{flex: 1 1 auto;}

.awards-modal.open .awards-modal-content {
  transform: translateY(0) scale(1);
}
.awards-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(245,240,232,0.07);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.awards-modal-close:hover {
  background: rgba(245,240,232,0.14);
  border-color: var(--color-border-hover);
}
.awards-modal-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-right: var(--space-10);
}
.awards-modal-year {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
}
.awards-modal-badge {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.28rem 0.9rem;
  background: rgba(212,164,58,0.16);
  color: #FFD95A;
  border-radius: var(--radius-full);
}
.awards-modal-comp {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.awards-modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  line-height: 1.25;
}
.awards-modal-story {
  color: var(--color-muted);
  line-height: 1.78;
  font-size: 0.94rem;
  margin-bottom: var(--space-6);
}
.awards-modal-gallery {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.awards-modal-gallery-item {
  flex: 1;
  height: 88px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-end;
  padding: var(--space-2) var(--space-3);
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}
.awards-modal-b2b {
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, rgba(212,164,58,0.09) 0%, rgba(212,164,58,0.02) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.awards-modal-b2b p {
  font-size: 0.87rem;
  color: var(--color-muted);
  flex: 1;
  min-width: 180px;
  line-height: 1.55;
}
.awards-modal-cta-btn {
  white-space: nowrap;
  font-size: 0.82rem !important;
  padding: 0.55rem 1.3rem !important;
}

/* ===================================================
   AWARDS TIMELINE
   =================================================== */

.tl-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* Scrollable wrapper */
.tl-outer {
  margin-bottom: var(--space-12);
}
.tl-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
  scrollbar-color: rgba(212,164,58,0.18) transparent;
  /* subtle inset shadow to hint scroll */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.tl-scroll::-webkit-scrollbar { height: 4px; }
.tl-scroll::-webkit-scrollbar-track { background: transparent; }
.tl-scroll::-webkit-scrollbar-thumb { background: rgba(212,164,58,0.2); border-radius: 2px; }

/* Track */
.tl-track {
  display: flex;
  height: 300px;
  position: relative;
  min-width: max-content;
  padding: 0 var(--space-8);
}

/* Spine — real element, animated by JS */
.tl-spine {
  position: absolute;
  top: 150px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212,164,58,0.22) 3%,
    rgba(212,164,58,0.55) 20%,
    rgba(212,164,58,0.55) 80%,
    rgba(212,164,58,0.22) 97%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
  /* start hidden — JS animates via clip-path */
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

/* Individual node */
.tl-node {
  width: 148px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: default;
  /* draw animation: start hidden, transition always present for reliability */
  opacity: 0;
  transform: translateY(10px);
  will-change: opacity, transform;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- UP node (label above line) ---- */
.tl-up .tl-label-box {
  height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 10px 0;
  flex-shrink: 0;
}
.tl-up .tl-tick  { height: 18px; width: 1px; background: rgba(212,164,58,0.28); flex-shrink: 0; }
.tl-up .tl-dot   { flex-shrink: 0; }
.tl-up .tl-space { flex: 1; }
/* up-nodes drift upward before reveal */
.tl-node.tl-up   { transform: translateY(-10px); }

/* ---- DOWN node (label below line) ---- */
.tl-dn .tl-space     { height: 143px; flex-shrink: 0; }
.tl-dn .tl-dot       { flex-shrink: 0; }
.tl-dn .tl-tick      { height: 18px; width: 1px; background: rgba(212,164,58,0.28); flex-shrink: 0; }
.tl-dn .tl-label-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 10px 0;
}

/* ---- Revealed node state (added by initTimeline JS) ---- */
.tl-node.tl-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Medal tick ---- */
.tl-tick--medal { background: rgba(212,164,58,0.55) !important; }

/* ---- Dot ---- */
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-surface2);
  border: 2px solid rgba(212,164,58,0.45);
  box-shadow: 0 0 8px rgba(212,164,58,0.2);
  z-index: 1;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.tl-dot--medal {
  background: var(--color-primary);
  border-color: var(--color-primary);
  width: 18px;
  height: 18px;
  box-shadow: 0 0 16px rgba(212,164,58,0.6);
}
/* Adjust space offset for larger medal dot (18px vs 14px = +2px top margin offset) */
.tl-dn .tl-dot--medal { margin-top: -2px; }
.tl-up .tl-dot--medal + .tl-space { margin-top: -2px; }

.tl-node:hover .tl-dot {
  transform: scale(1.4);
  box-shadow: 0 0 22px rgba(212,164,58,0.75);
  border-color: var(--color-primary);
}

/* ---- Label text ---- */
.tl-year {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}
.tl-icon {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 3px;
  line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
}
.tl-text {
  font-size: 0.7rem;
  color: var(--color-muted);
  line-height: 1.4;
  max-width: 120px;
}
.tl-text--medal {
  color: rgba(212,164,58,0.85);
  font-weight: 600;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .award-card--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
  .award-card--wide { grid-column: span 1; }
  .awards-counters { gap: var(--space-5); }
  .award-counter-divider { height: 32px; }
  .award-counter-num { font-size: 2rem; }
  .awards-b2b-cta { flex-direction: column; align-items: flex-start; padding: var(--space-6); }
  .awards-b2b-cta-text { font-size: 1rem; }
  .awards-modal-content { padding: var(--space-6); }
  .awards-modal-gallery { flex-direction: column; }
  .awards-modal-gallery-item { height: 60px; }
  .awards-modal-year { font-size: 2rem; }
  .awards-modal-title { font-size: 1.3rem; }
  .awards-modal-b2b { flex-direction: column; }
}

@media (max-width: 1100px) {
  .steps-flow {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .step-arrow { display: none; }
  .steps-flow { display: flex; flex-direction: column; gap: var(--space-4); }
  
  .awards-modal.has-foto .awards-modal-content{flex-direction: column;}
  .awards-modal-content > img{width:100%; margin:0; height: 15rem;}
}

@media (max-width: 980px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid    { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid      { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .tier-card--featured { transform: none; }
  .reviews-grid    { grid-template-columns: 1fr; }
  .hero-stats      { grid-template-columns: repeat(2, 1fr); }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .order-layout    { grid-template-columns: 1fr; }
  .order-info      { position: static; }
}

@media (max-width: 720px) {
  :root { --section-gap: 4rem; }

  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(13,10,7,0.97);
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    z-index: 90;
    backdrop-filter: blur(16px);
  }
  .header-nav.open a { font-size: 1.3rem; }

  .header-actions .header-phone { display: none; }
  .burger { display: flex; }

  .advantages-grid { grid-template-columns: 1fr; }
  .catalog-grid    { grid-template-columns: 1fr; }
  .reviews-grid    { grid-template-columns: 1fr; }
  .hero-stats      { grid-template-columns: repeat(2, 1fr); }
  .footer-inner    { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding: var(--space-16) 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-outline { justify-content: center; }

  .trust-bar-inner { gap: var(--space-4); justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 var(--space-4); }
  .trust-divider { display: none; }

  .form-grid { grid-template-columns: 1fr; }
  .f-field--full { grid-column: 1; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .btn-submit { justify-content: center; }
  .form-note { text-align: center; }

  .order-form-wrap { padding: var(--space-6); }

  #b2b-map-canvas { height: 300px; z-index:10}
  .map-legend { position: static; margin: var(--space-4); border-radius: var(--radius-md); }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .product-checks { flex-direction: column; }
}

/* ===== OVERFLOW FIX ===== */

.trust-bar { overflow: hidden; }

@media (max-width: 720px) {
  .trust-bar-inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100vw;
  }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
  
  /* Ensure steps don't overflow */
  .steps-flow { overflow: hidden; }
}

.leaflet-control-attribution{display: none!important;}