/* ============================================================
   KKS Consulting Company Limited
   Premium B2B advisory site — petroleum procurement consulting
   ============================================================ */

:root {
  /* Type scale — fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.2rem + 1vw, 2rem);
  --text-2xl: clamp(1.875rem, 1.4rem + 2.2vw, 3.25rem);
  --text-hero: clamp(2.25rem, 1.4rem + 4vw, 4.5rem);

  /* Spacing — 4px base */
  --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;
  --space-32: 8rem;

  /* Light theme — graphite + deep navy + steel teal */
  --color-bg: #f6f5f1;
  --color-surface: #fbfaf6;
  --color-surface-2: #ffffff;
  --color-surface-offset: #ecebe6;
  --color-surface-deep: #0e1a26;        /* deep navy / petroleum blue */
  --color-divider: #d9d6cf;
  --color-border: #c8c4ba;

  --color-text: #14181d;                /* graphite */
  --color-text-muted: #5a6068;
  --color-text-faint: #8e9299;
  --color-text-inverse: #f4f2ec;
  --color-text-on-deep: #e6e9ee;
  --color-text-on-deep-muted: #98a2af;

  --color-primary: #14424b;             /* muted teal / petroleum */
  --color-primary-hover: #0e3137;
  --color-primary-soft: #e2eae9;
  --color-accent: #b6936a;              /* warm brass — used very sparingly */

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(20, 24, 29, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 24, 29, 0.07);
  --shadow-lg: 0 24px 48px rgba(20, 24, 29, 0.10);

  --content-narrow: 720px;
  --content-default: 1100px;
  --content-wide: 1320px;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme='dark'] {
  --color-bg: #0a1118;
  --color-surface: #0f1820;
  --color-surface-2: #131e27;
  --color-surface-offset: #16222d;
  --color-surface-deep: #060c12;
  --color-divider: #1e2a36;
  --color-border: #2a3845;

  --color-text: #e6e9ee;
  --color-text-muted: #8b95a1;
  --color-text-faint: #5b6571;
  --color-text-inverse: #0a1118;
  --color-text-on-deep: #e6e9ee;
  --color-text-on-deep-muted: #8b95a1;

  --color-primary: #5a9aa1;
  --color-primary-hover: #7bb6bd;
  --color-primary-soft: #16282b;
  --color-accent: #c9a87a;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p { text-wrap: pretty; }

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

::selection { background: rgba(20, 66, 75, 0.2); }

:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

a, button, input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              opacity var(--transition-interactive);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- layout helpers -------------------- */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  letter-spacing: -0.015em;
  margin-top: var(--space-5);
  max-width: 22ch;
}

.section-lede {
  margin-top: var(--space-6);
  max-width: 62ch;
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.55;
}

.divider-rule {
  border: 0;
  border-top: 1px solid var(--color-divider);
  margin: 0;
}

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.95rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-text); }

.btn--ghost-light {
  background: transparent;
  color: var(--color-text-on-deep);
  border-color: rgba(230, 233, 238, 0.3);
}
.btn--ghost-light:hover { border-color: rgba(230, 233, 238, 0.7); background: rgba(230,233,238,0.04); }

/* ---- View Current Supplier Offers — vivid green ---- */
.btn--supplier-offers {
  background: #1a7a44;
  color: #e8f8ee;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(26,122,68,0);
  transition: background var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}
.btn--supplier-offers:hover {
  background: #15653a;
  box-shadow: 0 4px 20px rgba(26,122,68,0.42);
  transform: translateY(-1px);
}
.btn--supplier-offers:active {
  background: #0f4d2b;
  transform: none;
  box-shadow: none;
}

/* ---- Request Consultation — muted green ---- */
.btn--cta-request {
  background: #1e4d35;
  color: #c8e8d4;
  border: 1px solid rgba(78,195,120,0.28);
  transition: background var(--transition-interactive),
              border-color var(--transition-interactive);
}
.btn--cta-request:hover {
  background: #194229;
  border-color: rgba(78,195,120,0.55);
}
.btn--cta-request:active {
  background: #122e1d;
}

.btn .arrow {
  width: 14px; height: 10px;
  transition: transform var(--transition-interactive);
}
.btn:hover .arrow { transform: translateX(4px); }

/* -------------------- header -------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 245, 241, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}
[data-theme='dark'] .header { background: rgba(10, 17, 24, 0.85); }
.header.is-scrolled {
  border-bottom-color: var(--color-divider);
  background: rgba(246, 245, 241, 0.96);
}
[data-theme='dark'] .header.is-scrolled { background: rgba(10, 17, 24, 0.96); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 76px;
  min-width: 0;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text .lt-1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.logo-text .lt-2 {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 1;
  min-width: 0;
}
.nav a {
  font-size: 13.5px;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .nav { gap: var(--space-3); }
  .nav a { font-size: 13px; }
}
.nav a:hover { color: var(--color-text); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}
.nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-offset); }

.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center; justify-content: center;
    color: var(--color-text);
  }
}

.mobile-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-6) clamp(1.25rem, 4vw, 2.5rem) var(--space-8);
  display: none;
  z-index: 49;
}
.mobile-nav.is-open { display: block; }

/* Prevent page scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
  touch-action: none;
  /* iOS Safari fix — prevents rubber-band scroll */
  position: fixed;
  width: 100%;
}
.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text);
}
.mobile-nav .btn { margin-top: var(--space-6); width: 100%; justify-content: center; }

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: 76px;
  background: var(--color-surface-deep);
  color: var(--color-text-on-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6,12,18,0.95) 0%, rgba(6,12,18,0.7) 45%, rgba(6,12,18,0.35) 100%),
    linear-gradient(to top, rgba(6,12,18,1), rgba(6,12,18,0) 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(230,233,238,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(230,233,238,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at left, black 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-16);
  align-items: center;
  min-height: calc(92vh - 76px);
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.hero-eyebrow {
  color: var(--color-text-on-deep-muted);
}
.hero-eyebrow::before { background: var(--color-text-on-deep-muted); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: var(--space-6);
  color: #f5f3ec;
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  color: #c9d4d4;
}

.hero-sub {
  margin-top: var(--space-8);
  max-width: 52ch;
  color: var(--color-text-on-deep-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.hero-actions {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-meta {
  margin-top: var(--space-16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(230,233,238,0.15);
  max-width: 580px;
}
.hero-meta dt {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-on-deep-muted);
}
.hero-meta dd {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f5f3ec;
}

/* hero side card */
.hero-card {
  background: rgba(13, 22, 30, 0.65);
  border: 1px solid rgba(230,233,238,0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  padding: var(--space-8);
  font-size: var(--text-sm);
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(230,233,238,0.12);
}
.hero-card-head h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #f5f3ec;
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-on-deep-muted);
}
.live-dot::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ec3a4;
  box-shadow: 0 0 0 4px rgba(78,195,164,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.5; } }

.hero-card ul { display: flex; flex-direction: column; gap: var(--space-4); }
.hero-card li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px dashed rgba(230,233,238,0.1);
}
.hero-card li:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card .li-name {
  color: #f5f3ec;
  font-weight: 500;
}
.hero-card .li-meta {
  display: block;
  margin-top: 2px;
  color: var(--color-text-on-deep-muted);
  font-size: var(--text-xs);
}
.hero-card .li-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #cdd9dc;
  align-self: start;
  background: rgba(230,233,238,0.06);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(230,233,238,0.1);
}

.hero-card-foot {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-on-deep-muted);
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-block: var(--space-16);
  }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
}

/* -------------------- ABOUT -------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,18,0) 30%, rgba(6,12,18,0.92) 100%);
  z-index: 1;
}

.about-tag {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  z-index: 2;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding: var(--space-3) var(--space-4);
  background: rgba(4, 10, 16, 0.75);
  border-left: 2px solid rgba(78,195,164,0.6);
  backdrop-filter: blur(6px);
  text-shadow: none;
}


.about-spec {
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-divider);
}
.about-spec li {
  list-style: none;
  padding: var(--space-5) var(--space-4) var(--space-5) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.about-spec li::before {
  content: '';
  width: 6px; height: 6px;
  border: 1px solid var(--color-primary);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.about-spec li:nth-child(odd) { padding-right: var(--space-6); }

.advantages {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-divider);
}
.advantage {
  padding: var(--space-8) var(--space-6) var(--space-6) 0;
  border-right: 1px solid var(--color-divider);
}
.advantage:last-child { border-right: 0; padding-right: 0; }
.advantage-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.1em;
}
.advantage h4 {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.advantage p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16/10; }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .advantage { border-right: 0; border-bottom: 1px solid var(--color-divider); padding: var(--space-6) 0; }
  .advantage:nth-child(odd) { border-right: 1px solid var(--color-divider); padding-right: var(--space-5); }
  .advantage:nth-child(even) { padding-left: var(--space-5); }
}
@media (max-width: 600px) {
  .about-spec, .advantages { grid-template-columns: 1fr; }
  .advantage { border-right: 0 !important; padding: var(--space-6) 0 !important; }
}

/* -------------------- SERVICES -------------------- */
.services-section { background: var(--color-surface); border-block: 1px solid var(--color-divider); }

.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: end;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.services-head .section-lede { margin-top: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-divider);
}
.service {
  padding: var(--space-10) var(--space-8) var(--space-10) 0;
  border-bottom: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-5);
  align-items: start;
}
.service:nth-child(even) { padding-right: 0; padding-left: var(--space-8); border-right: 0; }
.service-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-primary);
  padding-top: 6px;
}
.service h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.service p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 50ch;
}

@media (max-width: 800px) {
  .services-head { grid-template-columns: 1fr; gap: var(--space-6); }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) {
    border-right: 0;
    padding: var(--space-8) 0;
  }
}

/* -------------------- SUPPLIER OFFERS -------------------- */
.offers-section {
  background: var(--color-surface-deep);
  color: var(--color-text-on-deep);
  position: relative;
  overflow: hidden;
}
.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/global-routes.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.offers-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,12,18,0.55), rgba(6,12,18,0.95));
  z-index: 0;
}
.offers-section .wrap { position: relative; z-index: 1; }

.offers-section .eyebrow,
.offers-section .eyebrow::before { color: var(--color-text-on-deep-muted); background-color: var(--color-text-on-deep-muted); }
.offers-section .section-title { color: #f5f3ec; }
.offers-section .section-lede { color: var(--color-text-on-deep-muted); }

.offers-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-10);
}
.offers-head .live-dot {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  white-space: nowrap;
}
.offers-head-text {
  grid-column: 1;
  grid-row: 1;
}
.offers-head .live-dot { color: #4ec3a4; }

.offers-disclaimer {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-on-deep-muted);
  font-style: italic;
  max-width: 60ch;
}

.offers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(230,233,238,0.12);
}
.filter-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.filter-group label {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-on-deep-muted);
  margin-right: var(--space-2);
}
.chip {
  padding: 0.65rem 1.25rem;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  color: var(--color-text-on-deep);
  border: 1px solid rgba(230,233,238,0.18);
  border-radius: var(--radius-sm);
  background: transparent;
}
.chip:hover { border-color: rgba(230,233,238,0.5); }
.chip.is-active {
  background: rgba(78,195,164,0.12);
  border-color: rgba(78,195,164,0.5);
  color: #cfece2;
}

/* offers table */
.offers-table-wrap {
  border: 1px solid rgba(230,233,238,0.12);
  border-radius: var(--radius-md);
  background: rgba(13,22,30,0.55);
  backdrop-filter: blur(8px);
  overflow-x: auto;
}
.offers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  min-width: 920px;
}
.offers-table thead th {
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-on-deep-muted);
  padding: var(--space-5) var(--space-5);
  border-bottom: 1px solid rgba(230,233,238,0.12);
  background: rgba(6,12,18,0.5);
  white-space: nowrap;
}
.offers-table tbody td {
  padding: var(--space-5) var(--space-5);
  border-bottom: 1px solid rgba(230,233,238,0.08);
  vertical-align: middle;
  color: var(--color-text-on-deep);
}
.offers-table tbody tr:last-child td { border-bottom: 0; }
.offers-table tbody tr { transition: background 200ms; }
.offers-table tbody tr:hover { background: rgba(230,233,238,0.03); }

.cell-product {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #f5f3ec;
  letter-spacing: -0.005em;
}
.cell-product small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-on-deep-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cell-mono {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #d3dde0;
  letter-spacing: 0.02em;
}
.cell-date { color: var(--color-text-on-deep-muted); font-size: var(--text-xs); white-space: nowrap; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid currentColor;
  white-space: nowrap;
}
.status-pill::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.status-pill.is-active { color: #4ec3a4; }
.status-pill.is-spot { color: #c9a87a; }
.status-pill.is-procedure { color: #5a9aa1; }
.status-pill.is-trial { color: #9eb7c4; }

.offers-cta {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ec3a4;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.offers-cta:hover { color: #7dd5b8; }
.offers-cta::after {
  content: '→';
  transition: transform var(--transition-interactive);
}
.offers-cta:hover::after { transform: translateX(3px); }

.offers-foot {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-on-deep-muted);
}

.offers-empty { display: none; padding: var(--space-12); text-align: center; color: var(--color-text-on-deep-muted); }

/* -------------------- PROCESS -------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  border-top: 1px solid var(--color-divider);
}
.step {
  padding: var(--space-8) var(--space-5) var(--space-8) 0;
  border-right: 1px solid var(--color-divider);
  position: relative;
}
.step:last-child { border-right: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.step h4 {
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.step p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .step { border-bottom: 1px solid var(--color-divider); padding: var(--space-6) var(--space-5) var(--space-6) 0; }
  .step:nth-child(3n) { border-right: 0; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; padding: var(--space-6) 0; }
}

/* -------------------- PRODUCTS / INDUSTRIES -------------------- */
.products-section { background: var(--color-surface); border-block: 1px solid var(--color-divider); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
}
.product {
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 220px;
  position: relative;
  transition: background var(--transition-interactive);
}
.product:hover { background: var(--color-surface-2); }
.product-code {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.08em;
}
.product h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: auto;
}
.product p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 980px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .products-grid { grid-template-columns: 1fr; } }

/* -------------------- TRUST -------------------- */
.trust-section {
  background: var(--color-surface-deep);
  color: var(--color-text-on-deep);
}
.trust-section .eyebrow,
.trust-section .eyebrow::before { color: var(--color-text-on-deep-muted); background-color: var(--color-text-on-deep-muted); }
.trust-section .section-title { color: #f5f3ec; }

.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: start;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(230,233,238,0.12);
  border: 1px solid rgba(230,233,238,0.12);
}
.trust-card {
  background: var(--color-surface-deep);
  padding: var(--space-8) var(--space-6);
  min-height: 200px;
}
.trust-card .num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: #4ec3a4;
}
.trust-card h4 {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #f5f3ec;
  font-weight: 500;
}
.trust-card p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-on-deep-muted);
  line-height: 1.6;
}
.trust-text { color: var(--color-text-on-deep-muted); }
.trust-text p { font-size: var(--text-base); line-height: 1.7; max-width: 50ch; }
.trust-text p + p { margin-top: var(--space-5); }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .trust-list { grid-template-columns: 1fr; }
}

/* -------------------- CONTACT -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: start;
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.contact-block {
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}
.contact-block:last-child { border-bottom: 0; }
.contact-block .label {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.contact-block .value {
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.contact-block .sub {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  padding: 0.85rem 0;
  font-size: var(--text-base);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-bottom-color: var(--color-primary);
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-4);
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 38ch;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: var(--color-surface-deep);
  color: var(--color-text-on-deep-muted);
  padding-block: clamp(var(--space-12), 5vw, var(--space-16)) var(--space-6);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(230,233,238,0.12);
}
.footer .logo-text .lt-1 { color: #f5f3ec; }
.footer .logo-text .lt-2 { color: var(--color-text-on-deep-muted); }
.footer-tag { margin-top: var(--space-5); font-size: var(--text-sm); max-width: 36ch; line-height: 1.6; }
.footer h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f5f3ec;
  margin-bottom: var(--space-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); list-style: none; }
.footer-col a { font-size: var(--text-sm); color: var(--color-text-on-deep-muted); }
.footer-col a:hover { color: #f5f3ec; }

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-on-deep-muted);
}
.footer-bottom .legal { max-width: 70ch; line-height: 1.6; }
.footer-bottom .meta { display: flex; gap: var(--space-6); flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* -------------------- reveal animation -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* -------------------- language switcher -------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  flex-shrink: 0;
  white-space: nowrap;
}
.lang-btn {
  padding: 5px 7px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
  line-height: 1.2;
  white-space: nowrap;
  min-width: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lang-btn[data-lang="zh"] {
  font-family: 'Noto Serif SC', var(--font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  min-width: 36px;
}
.lang-btn[data-lang="hi"] {
  font-family: 'Noto Sans Devanagari', var(--font-body), sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  min-width: 36px;
  padding-left: 7px;
  padding-right: 7px;
}
.lang-btn:hover {
  color: var(--color-text);
}
.lang-btn.is-active {
  background: var(--color-primary);
  color: #f4f2ec;
}
.lang-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
[data-theme='dark'] .lang-switch {
  border-color: rgba(230,233,238,0.18);
  background: transparent;
}
[data-theme='dark'] .lang-btn {
  color: var(--color-text-on-deep-muted);
}
[data-theme='dark'] .lang-btn:hover {
  color: #f5f3ec;
}
[data-theme='dark'] .lang-btn.is-active {
  background: var(--color-primary);
  color: #f5f3ec;
}

.lang-switch--mobile {
  display: none;
  margin: var(--space-4) 0;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .header-cta .lang-switch { display: none; }
  .lang-switch--mobile { display: inline-flex; }
}

/* -------------------- hero updates -------------------- */
.hero-meta--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-card-list--clean { list-style: none; padding: 0; margin: 0; }
.hero-card-list--clean li {
  display: block;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(245,243,236,0.08);
}
.hero-card-list--clean li:last-child { border-bottom: 0; }
.hero-card-list--clean .li-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #f5f3ec;
  letter-spacing: 0.01em;
}

/* -------------------- chinese typography hook -------------------- */
body.lang-zh .hero-title,
body.lang-zh .section-title,
body.lang-zh .product h3,
body.lang-zh .service h3,
body.lang-zh .advantage h4,
body.lang-zh .step h4,
body.lang-zh .trust-card h4,
body.lang-zh .about-tag,
body.lang-zh .logo-text .lt-1,
body.lang-zh .contact-block .value,
body.lang-zh .footer h5 {
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
}
body.lang-zh .hero-title em,
body.lang-zh .section-title em {
  font-style: normal;
}

/* -------------------- hindi typography hook -------------------- */
body.lang-hi .hero-title,
body.lang-hi .section-title,
body.lang-hi .product h3,
body.lang-hi .service h3,
body.lang-hi .advantage h4,
body.lang-hi .step h4,
body.lang-hi .trust-card h4,
body.lang-hi .about-tag,
body.lang-hi .contact-block .value,
body.lang-hi .footer h5 {
  font-family: 'Noto Serif Devanagari', 'Cormorant Garamond', serif;
  letter-spacing: 0;
}
body.lang-hi .hero-title em,
body.lang-hi .section-title em {
  font-style: normal;
}
body.lang-hi .btn {
  line-height: 1.4;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  align-items: center;
}
body.lang-hi .hero-title { line-height: 1.35; }
body.lang-hi .section-title { line-height: 1.4; }
body.lang-hi .nav a,
body.lang-hi .mobile-nav a,
body.lang-hi .eyebrow,
body.lang-hi .footer-col a,
body.lang-hi .hero-sub,
body.lang-hi .section-lede,
body.lang-hi .service p,
body.lang-hi .advantage p,
body.lang-hi .step p,
body.lang-hi .product p,
body.lang-hi .trust-card p,
body.lang-hi .footer-tag,
body.lang-hi .hero-card-list--clean .li-name,
body.lang-hi .field label,
body.lang-hi .form-note,
body.lang-hi .legal,
body.lang-hi .footer-bottom,
body.lang-hi .contact-block .label,
body.lang-hi .contact-block .sub,
body.lang-hi .filter-group label,
body.lang-hi .chip,
body.lang-hi .cell-product,
body.lang-hi .offers-table th,
body.lang-hi .offers-table td,
body.lang-hi .status-pill,
body.lang-hi .btn,
body.lang-hi .offers-disclaimer,
body.lang-hi .offers-empty {
  font-family: 'Noto Sans Devanagari', 'Inter', system-ui, sans-serif;
}

/* -------------------- PROTOCOL -------------------- */
.protocol-section { background: var(--color-surface); border-block: 1px solid var(--color-divider); }

.protocol-steps {
  margin-top: clamp(var(--space-10), 5vw, var(--space-14));
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-divider);
}
.protocol-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(var(--space-6), 4vw, var(--space-10));
  padding: clamp(var(--space-6), 3vw, var(--space-8)) 0;
  border-bottom: 1px solid var(--color-divider);
  align-items: start;
}
.protocol-step-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: 0.25rem;
}
.protocol-step-body h4 {
  font-family: var(--font-body);
  font-size: var(--text-lg, 1.125rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-3);
}
.protocol-step-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 78ch;
}

.protocol-extras {
  margin-top: clamp(var(--space-12), 6vw, var(--space-16));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
  padding-top: clamp(var(--space-8), 4vw, var(--space-10));
  border-top: 1px solid var(--color-divider);
}
.protocol-extra {
  background: var(--color-surface-2);
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  border: 1px solid var(--color-divider);
}
.protocol-extra h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.protocol-extra-intro {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}
.protocol-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.protocol-list li {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.65;
  padding-left: var(--space-4);
  position: relative;
}
.protocol-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 1px;
  background: var(--color-primary);
}
.protocol-list--bullets li::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  top: 0.55rem;
  background: var(--color-primary);
}

@media (max-width: 900px) {
  .protocol-step { grid-template-columns: 1fr; gap: var(--space-3); }
  .protocol-step-num { font-size: 1.75rem; }
  .protocol-extras { grid-template-columns: 1fr; }
}

/* -------------------- SELECT DARK MODE -------------------- */
[data-theme='dark'] .field select {
  background: var(--color-surface);
  color: var(--color-text);
}
[data-theme='dark'] .field select option {
  background: var(--color-surface);
  color: var(--color-text);
}
.field select option {
  background: var(--color-surface);
  color: var(--color-text);
}


/* ================================================
   ACCUMULATED FIXES
   ================================================ */

/* Always dark */
:root { color-scheme: dark; }
html, html[data-theme="dark"], html:not([data-theme]) { background-color: #0a1118; }
body { background-color: #0a1118; color: #e6e9ee; }

/* FIX HORIZONTAL SCROLL */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }

/* Hide theme toggle */
.theme-toggle { display: none !important; }

/* Eyebrow — transparent background always */
.eyebrow, .eyebrow::before { background-color: transparent !important; }

/* filter-group: PRODUCT full width, DELIVERY on new line */
.filter-group:first-child { flex-basis: 100%; width: 100%; flex-wrap: wrap; }

/* Header — sticky fixed navbar */
.header {
  position: fixed !important;
  background: rgba(10, 17, 24, 0.98) !important;
  border-bottom: 1px solid rgba(230,233,238,0.10) !important;
  width: 100%;
  box-sizing: border-box;
}

/* Hero no top padding */
.hero { padding-top: 76px !important; }

/* CTA button — no shrink */
.header-cta-btn { white-space: nowrap; flex-shrink: 0; }

/* mobile-nav — fixed positioning enforced */
.mobile-nav { position: fixed !important; inset: 76px 0 auto 0 !important; }


/* FOB sub-delivery row */
.filter-group-subdelivery {
  flex-basis: 100%;
  width: 100%;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(230,233,238,0.08);
}

.filter-group-subdelivery[hidden] {
  display: none !important;
}

.chip-subdelivery {
  background: rgba(230,233,238,0.02);
}

.filter-group-delivery[hidden] { display: none !important; }

/* ── OFFERS SECTION MOBILE ─────────────────────────────── */
@media (max-width: 700px) {
  /* Заголовок: убираем grid, делаем вертикальный стек */
  .offers-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }

  /* live-dot переносим под заголовок */
  .offers-head .live-dot {
    align-self: flex-start;
    order: -1;
  }

  /* lede и disclaimer — более компактные */
  .offers-section .section-lede {
    font-size: var(--text-sm);
    line-height: 1.55;
  }

  .offers-disclaimer {
    font-size: 0.7rem;
    max-width: 100%;
  }

  /* фильтры: переносим в столбец */
  .offers-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
  }

  .filter-group {
    width: 100%;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .filter-group label {
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--space-1);
  }

  /* чипы чуть компактнее на мобиле */
  .chip {
    padding: 0.5rem 0.9rem;
    font-size: var(--text-xs);
  }
}

/* ── OFFER DOWNLOAD BAR ─────────────────────────────────── */




}





@media (max-width: 700px) {
  
  
}


/* -------------------- OFFER FILE LIST (manifest-based) -------------------- */

.offer-download-bar {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: rgba(78, 195, 164, 0.06);
  border: 1px solid rgba(78, 195, 164, 0.22);
  border-radius: var(--radius-md);
  animation: fadeSlideDown 0.22s ease;
}

.offer-download-bar[hidden] {
  display: none !important;
}

.offer-download-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(78, 195, 164, 0.18);
}

.offer-download-icon {
  color: #4ec3a4;
  flex-shrink: 0;
  display: flex;
}

.offer-download-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4ec3a4;
}

/* File list */
.offer-file-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.offer-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(13, 22, 30, 0.5);
  border: 1px solid rgba(230, 233, 238, 0.08);
  border-radius: var(--radius-sm);
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}

.offer-file-item:hover {
  background: rgba(78, 195, 164, 0.07);
  border-color: rgba(78, 195, 164, 0.25);
}

.offer-file-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.offer-file-name {
  font-size: var(--text-sm);
  color: #e6e9ee;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
}

.offer-file-meta {
  font-size: var(--text-xs);
  color: var(--color-text-on-deep-muted);
  letter-spacing: 0.04em;
}

/* Download button inside each file row */
.offer-file-item .offer-download-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #4ec3a4;
  border: 1px solid rgba(78, 195, 164, 0.4);
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}

.offer-file-item .offer-download-btn:hover {
  background: rgba(78, 195, 164, 0.12);
  border-color: rgba(78, 195, 164, 0.7);
}

/* Loading state */
.offer-file-loading {
  padding: var(--space-4) 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-on-deep-muted);
  font-size: var(--text-sm);
}

.offer-loading-dots {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ec3a4;
  animation: pulse 1.2s ease-in-out infinite;
}

/* No files message */
.offer-no-files {
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: var(--color-text-on-deep-muted);
  font-style: italic;
}

.offer-no-files[hidden] {
  display: none !important;
}

/* Mobile */
@media (max-width: 600px) {
  .offer-file-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .offer-file-item .offer-download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* sticky nav: anchor offset */
section[id], div[id] {
  scroll-margin-top: 76px;
}
