/* ============================================================
   SONMAX Logistics — concept-03-v2-03-visual-bilingual
   Shared stylesheet for index.html (UA) and ru.html (RU).
   Base: concept-03-v2-03-visual — all visuals preserved.
   Addition: language switcher (.lang-switch).
   ============================================================ */

:root {
  --yellow:    #fff500;
  --black:     #000000;
  --bg:        #0d0d0d;
  --panel:     #161616;
  --panel-alt: #111111;
  --border:    #252525;
  --muted:     #666;
  --text:      #bbb;
  --white:     #ffffff;
  --container: 1280px;
  --gap:       48px;
  --radius:    4px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}
.section-label {
  color: var(--yellow);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
}
.btn--lg   { padding: 18px 44px; font-size: 15px; }
.btn--full { width: 100%; text-align: center; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: #f5ea00; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__icon {
  width: 38px; height: 38px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; flex-shrink: 0;
}
.logo__text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo__name    { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: 0.06em; }
.logo__tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--yellow);
  letter-spacing: 0.18em;
  margin-top: 3px;
}

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav__link:hover { color: var(--white); }

.header__cta-group { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__phone { font-size: 14px; font-weight: 500; color: var(--text); transition: color 0.2s; }
.header__phone:hover { color: var(--yellow); }

/* ── Language switcher ── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 10px;
  flex-shrink: 0;
}
.lang-switch__item {
  color: var(--muted);
  padding: 1px 5px;
  border-radius: 2px;
  transition: color 0.15s;
}
.lang-switch__item:hover { color: var(--white); }
.lang-switch__item--active {
  color: var(--yellow);
  /* subtle yellow underline to mark active language */
  border-bottom: 1px solid rgba(255,245,0,0.5);
}
.lang-switch__sep { color: var(--border); padding: 0 1px; user-select: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,245,0,0.13) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 50%,
    rgba(255,245,0,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}
.hero__route-wrap {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.hero__route-svg { width: 100%; height: 100%; opacity: 0.6; }

.hero__inner {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__eyebrow {
  color: var(--yellow);
  margin-bottom: 28px;
  display: inline-block;
  border: 1px solid rgba(255,245,0,0.25);
  padding: 6px 18px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.hero__title {
  font-size: 120px; font-weight: 700;
  color: var(--white); line-height: 0.9;
  letter-spacing: -0.03em; margin-bottom: 24px;
  text-shadow: 0 0 60px rgba(0,0,0,0.8), 0 0 120px rgba(0,0,0,0.6);
}
.hero__subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; color: var(--muted);
  letter-spacing: 0.1em; line-height: 1.6;
  margin-bottom: 48px; max-width: 600px;
}
.hero__service-pills {
  display: flex; gap: 12px;
  margin-bottom: 48px; flex-wrap: wrap; justify-content: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; border-radius: var(--radius);
  transition: all 0.2s;
  background: rgba(13,13,13,0.7);
}
.pill:hover { border-color: var(--yellow); color: var(--yellow); }
.pill__icon { flex-shrink: 0; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 0;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}
.form-section__wrap {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 500px;
}
.form-section__left {
  padding: 80px 64px 80px 0;
  border-right: 1px solid var(--border);
}
.form-section__tag   { color: var(--yellow); margin-bottom: 16px; }
.form-section__title { font-size: 38px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.form-section__desc  { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 36px; }

.form-trust   { display: flex; flex-direction: column; gap: 14px; }
.trust-item   { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--text); }
.trust-item__icon {
  width: 24px; height: 24px;
  background: var(--yellow); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border-radius: 2px; flex-shrink: 0; margin-top: 1px;
}
.form-section__right { padding: 80px 0 80px 64px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__heading { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text); }
.form-input {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--white); font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; padding: 14px 16px; outline: none;
  transition: border-color 0.2s; width: 100%; border-radius: var(--radius);
}
.form-input::placeholder { color: var(--muted); }
.form-input:focus { border-color: var(--yellow); }
.form-textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   DELIVERY TABS
   ============================================================ */
.delivery { padding: 100px 0; border-bottom: 1px solid var(--border); }
#t-sea, #t-air, #t-rail { display: none; }

.tab-nav { display: flex; gap: 8px; margin-bottom: 24px; }
.tab-nav__item {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: 20px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted); cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.2s; text-align: center;
}
.tab-nav__item:hover { color: var(--white); border-color: var(--muted); }
.tab-icon { display: block; width: 28px; height: 28px; flex-shrink: 0; }

#t-sea:checked  ~ .tab-nav label[for="t-sea"],
#t-air:checked  ~ .tab-nav label[for="t-air"],
#t-rail:checked ~ .tab-nav label[for="t-rail"] {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255,245,0,0.05);
}

.tab-panel {
  display: none;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
#t-sea:checked  ~ .tab-panels #p-sea,
#t-air:checked  ~ .tab-panels #p-air,
#t-rail:checked ~ .tab-panels #p-rail { display: block; }

.tab-panel__grid { display: grid; grid-template-columns: 1fr 300px; }
.tab-panel__info { padding: 48px 56px; border-right: 1px solid var(--border); }
.tab-panel__label { color: var(--yellow); margin-bottom: 14px; }
.tab-panel__title { font-size: 24px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 14px; }
.tab-panel__desc  { color: var(--muted); margin-bottom: 28px; font-size: 15px; }
.tab-panel__details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.detail-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; font-size: 14px; }
.detail-key { color: var(--muted); font-weight: 500; }
.detail-val { color: var(--text); }

.tab-panel__meta {
  padding: 32px 28px 40px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 24px;
  border-left: 3px solid rgba(255,245,0,0.12);
}
.tab-transport { width: 100%; flex-shrink: 0; }
.transport-svg {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 0 6px rgba(255,245,0,0.06));
}

.eta-block { text-align: center; }
.eta-block__label { color: var(--yellow); margin-bottom: 10px; }
.eta-block__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 8px;
}
.eta-block__note { font-size: 13px; color: var(--muted); }

.tab-highlights { display: flex; flex-direction: column; gap: 7px; }
.highlight {
  font-size: 12px; color: var(--text);
  padding: 9px 13px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); font-weight: 500;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--panel-alt);
  border-bottom: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(255,245,0,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,245,0,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
}
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about__title { font-size: 34px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 28px; }
.about__inline-stats {
  display: flex; gap: 0; margin-bottom: 28px; border: 1px solid var(--border);
}
.inline-stat {
  flex: 1; padding: 20px 24px;
  display: flex; align-items: center; gap: 14px;
  border-right: 1px solid var(--border);
}
.inline-stat:last-child { border-right: none; }
.inline-stat__num   { font-size: 40px; font-weight: 700; color: var(--yellow); line-height: 1; flex-shrink: 0; }
.inline-stat__label { font-size: 13px; color: var(--muted); line-height: 1.3; }
.about__text { color: var(--muted); font-size: 16px; line-height: 1.8; }

.service-cards { display: flex; flex-direction: column; gap: 16px; }
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  padding: 24px 28px; border-radius: var(--radius); transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--yellow); }
.service-card__head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.service-card__svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--yellow); opacity: 0.75; }
.service-card__icon {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--yellow); font-weight: 700; letter-spacing: 0.1em;
}
.service-card__title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; line-height: 1.4; }
.service-card__desc  { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 100px 0; border-bottom: 1px solid var(--border); }
.process-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.process-card {
  background: var(--panel); padding: 48px 40px;
  position: relative; transition: background 0.2s;
}
.process-card:hover { background: var(--panel-alt); }
.process-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--yellow);
}
.process-card__step {
  font-size: 64px; font-weight: 700;
  color: rgba(255,245,0,0.12); line-height: 1;
  position: absolute; top: 28px; right: 28px;
}
.process-card__icon { margin-bottom: 16px; display: block; }
.process-card__title {
  font-size: 18px; font-weight: 600;
  color: var(--white); line-height: 1.4; margin-bottom: 12px;
  position: relative; z-index: 1; padding-right: 60px;
}
.process-card__desc {
  font-size: 14px; color: var(--muted); line-height: 1.6;
  position: relative; z-index: 1;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--black);
  padding: 80px 0;
  border-top: 3px solid var(--yellow);
  position: relative; overflow: hidden;
  background-image:
    linear-gradient(rgba(255,245,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,245,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.stats__deco {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px; pointer-events: none;
}
.stats__deco svg { width: 100%; height: 100%; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
  background: rgba(255,255,255,0.04); position: relative; z-index: 1;
}
.stat-item { background: var(--black); padding: 48px 32px; text-align: center; }
.stat-item__num {
  font-size: 56px; font-weight: 700;
  color: var(--yellow); line-height: 1; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.stat-item__label {
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: 120px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 400px at 50% 50%,
    rgba(255,245,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner {
  text-align: center; max-width: 760px;
  margin: 0 auto; position: relative; z-index: 1;
}
.cta-final__trust  { color: var(--yellow); margin-bottom: 24px; font-size: 11px; letter-spacing: 0.1em; }
.cta-final__title  { font-size: 48px; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.cta-final__sub    { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 48px; }
.cta-final__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer__route { width: 100%; overflow: hidden; line-height: 0; }
.footer__route-svg { width: 100%; display: block; height: 40px; }

.footer__top { padding: 64px 0; }
.footer__top-inner { display: grid; grid-template-columns: 320px 1fr; gap: 80px; }
.footer__desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.footer__links-wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.footer__col-title  { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 20px; letter-spacing: 0.04em; }
.footer-nav         { display: flex; flex-direction: column; gap: 10px; }
.footer-nav__link   { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-nav__link:hover { color: var(--white); }
.footer-contacts    { display: flex; flex-direction: column; gap: 10px; }
.footer-contact     { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-contact:hover { color: var(--white); }

.footer__bar { border-top: 1px solid var(--border); padding: 20px 0; }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; }
.footer__copy      { font-size: 13px; color: var(--muted); }
.footer__contact-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.footer__sep       { color: var(--border); }
.footer__quick-link { transition: color 0.2s; }
.footer__quick-link:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --gap: 20px; }

  .section-title { font-size: 26px; }

  /* Header */
  .header__inner { height: 64px; flex-wrap: nowrap; gap: 12px; }
  .nav           { display: none; }
  .header__phone { display: none; }
  .header__cta-group { margin-left: auto; gap: 10px; }
  .header__cta-group .btn { padding: 10px 16px; font-size: 12px; }

  /* Language switcher on mobile — stays visible, slightly compact */
  .lang-switch { padding: 4px 8px; font-size: 10px; }
  .lang-switch__item { padding: 1px 4px; }

  /* Hero */
  .hero { padding: 72px 0 64px; background-image: none; background-color: var(--bg); }
  .hero__route-wrap { display: none; }
  .hero__title    { font-size: 60px; text-shadow: none; }
  .hero__subtitle { font-size: 12px; }
  .hero__service-pills { gap: 8px; }
  .pill  { padding: 8px 16px; font-size: 12px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; width: 100%; }

  /* Form */
  .form-section__wrap   { grid-template-columns: 1fr; }
  .form-section__left   { padding: 48px var(--gap); border-right: none; border-bottom: 1px solid var(--border); }
  .form-section__right  { padding: 48px var(--gap); }
  .form-section__title  { font-size: 28px; }
  .form-grid            { grid-template-columns: 1fr; }

  /* Tabs */
  .delivery         { padding: 64px 0; }
  .tab-nav          { gap: 4px; }
  .tab-nav__item    { font-size: 10px; padding: 14px 8px; gap: 6px; }
  .tab-icon         { width: 22px; height: 22px; }
  .tab-panel__grid  { grid-template-columns: 1fr; }
  .tab-panel__info  { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .tab-panel__meta  { padding: 28px 24px; }
  .tab-transport    { max-height: 100px; overflow: hidden; }
  .eta-block__num   { font-size: 48px; }
  .tab-panel__title { font-size: 20px; }

  /* About */
  .about { padding: 64px 0; background-image: none; }
  .about__inner    { grid-template-columns: 1fr; gap: 48px; }
  .about__title    { font-size: 26px; }
  .about__inline-stats { flex-direction: column; }
  .inline-stat     { border-right: none; border-bottom: 1px solid var(--border); }
  .inline-stat:last-child { border-bottom: none; }
  .inline-stat__num { font-size: 32px; }

  /* Process */
  .process         { padding: 64px 0; }
  .process-grid    { grid-template-columns: 1fr; }
  .process-card    { padding: 32px 24px; }
  .process-card__title { font-size: 16px; padding-right: 0; }
  .process-card__step  { font-size: 48px; top: 20px; right: 16px; }

  /* Stats */
  .stats           { padding: 60px 0; background-image: none; }
  .stats__deco     { display: none; }
  .stats__inner    { grid-template-columns: 1fr 1fr; }
  .stat-item       { padding: 36px 20px; }
  .stat-item__num  { font-size: 40px; }

  /* CTA */
  .cta-final       { padding: 80px 0; }
  .cta-final__title { font-size: 32px; }
  .cta-final__actions { flex-direction: column; }
  .cta-final__actions .btn { width: 100%; text-align: center; }

  /* Footer */
  .footer__route        { display: none; }
  .footer__top          { padding: 48px 0; }
  .footer__top-inner    { grid-template-columns: 1fr; gap: 40px; }
  .footer__links-wrap   { grid-template-columns: 1fr; gap: 28px; }
  .footer__bar-inner    { flex-direction: column; gap: 12px; text-align: center; }
  .footer__contact-bar  { flex-wrap: wrap; justify-content: center; }
}
