/* ==========================================================================
   FinLogistics — theme skin (neutral professional, pre-Webflow-template).
   Entirely UNLAYERED standard CSS: unlayered beats every framework @layer in
   globals.css, so theme rules win with zero workaround. :root re-points the
   ACSS colour tokens; components reference the ACSS names directly.
   ========================================================================== */

/* ---- self-hosted Manrope (latin + latin-ext + cyrillic, BG-ready) -------- */
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---- tokens: re-point ACSS names to the FinLogistics palette ------------- */
:root {
  --primary:        #0c2340;   /* deep navy */
  --primary-hover:  #16355c;
  --primary-dark:   #081830;
  --secondary:      #1e4976;   /* steel blue */
  --accent:         #f5a623;   /* signal amber */
  --accent-light:   #fdeecd;
  --surface:        #f6f8fb;   /* page ground */
  --surface-raised: #ffffff;
  --shade:          #eaeff6;
  --text:           #13202f;
  --text-soft:      #4c5b6c;
  --base-dark:      #33445a;
  --border:         #dbe3ee;

  --font-primary: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* project tokens (no ACSS equivalent) */
  --finlog-maxw:   72rem;
  --finlog-radius: 0.75rem;
  --finlog-radius-s: 0.5rem;
  --finlog-shadow: 0 1.5rem 3rem -1.5rem rgba(12, 35, 64, 0.25);
  --finlog-shadow-s: 0 0.4rem 1.2rem -0.5rem rgba(12, 35, 64, 0.18);
  --header-h: 4.5rem; /* synced live by app.js */
}

/* ---- base ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-primary);
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
a { color: inherit; }

.wrapper { width: min(100% - 2.5rem, var(--finlog-maxw)); margin-inline: auto; }
.wrapper--narrow { max-width: 52rem; }

.u-nowrap, a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.8em 1.5em;
  background: var(--primary); color: #fff;
  border: 1px solid var(--primary); border-radius: var(--finlog-radius-s);
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

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

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

.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---- eyebrow / section titles -------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: var(--space-s, 0.75rem);
}
.eyebrow--light { color: var(--accent); }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--shade { background: var(--shade); }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: var(--space-m, 1.25rem); text-wrap: balance; }
.section__lead { color: var(--text-soft); max-width: 44ch; }
.section--cta { text-align: center; }
.section--cta .section__lead { margin-inline: auto; }
.section__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: var(--space-l, 2rem); }

/* ---- header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.site-header.is-stuck { box-shadow: var(--finlog-shadow-s); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--primary); }
.brand__mark { display: inline-flex; color: var(--accent); }
.brand__name { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; }
.brand__name b { font-weight: 800; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 0.55em 0.85em;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  color: var(--text-soft); border-radius: var(--finlog-radius-s);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--primary); background: var(--shade); }

.lang-switcher { display: inline-flex; gap: 0.15rem; }
.lang-switcher__link {
  padding: 0.35em 0.5em; font-size: 0.8rem; font-weight: 700; text-decoration: none;
  color: var(--text-soft); border-radius: var(--finlog-radius-s);
}
.lang-switcher__link:hover { background: var(--shade); }
.lang-switcher__link.is-current { color: var(--primary); background: var(--shade); }

.nav-toggle { display: none; }

/* ---- mobile nav ----------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
  background: var(--surface-raised);
  padding: 2rem 1.5rem;
  transform: translateX(100%); transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobile-nav ul a {
  display: block; padding: 0.8em 0.25em;
  font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav__contact { margin-top: 1.5rem; color: var(--text-soft); line-height: 2; }
.mobile-nav__contact a { text-decoration: none; font-weight: 600; color: var(--primary); }

/* ---- hero ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(70rem 30rem at 85% -20%, rgba(30, 73, 118, 0.55), transparent 60%),
    radial-gradient(40rem 22rem at -10% 110%, rgba(245, 166, 35, 0.14), transparent 60%),
    var(--primary-dark);
  color: #fff;
}
.hero__inner { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.hero__copy { max-width: 38rem; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: var(--space-m, 1.25rem); color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; max-width: 46ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: var(--space-l, 2rem); }
.hero__chips { display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; list-style: none; margin: var(--space-xl, 2.5rem) 0 0; padding: 0; }
.hero__chips li {
  position: relative; padding-left: 1.3rem;
  font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.75);
}
.hero__chips li::before {
  content: ''; position: absolute; left: 0; top: 0.42em;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--accent);
}

/* ---- service cards -------------------------------------------------------- */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: var(--space-l, 2rem);
}
.service-card {
  background: var(--surface-raised);
  border: 1px solid var(--border); border-radius: var(--finlog-radius);
  padding: 1.75rem;
  box-shadow: var(--finlog-shadow-s);
}
.service-card__num { font-size: 0.85rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; }
.service-card__title { font-size: 1.2rem; margin-top: 0.6rem; }
.service-card__text { color: var(--text-soft); margin-top: 0.6rem; font-size: 0.97rem; }

/* ---- split (text + aside) -------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split__title--sm { font-size: 1.45rem; margin-bottom: 0.6rem; }
.split__text { color: var(--text-soft); margin-bottom: var(--space-m, 1.25rem); max-width: 46ch; }

/* ---- price list ------------------------------------------------------------ */
.price-list {
  list-style: none; margin: 0; padding: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border); border-radius: var(--finlog-radius);
  box-shadow: var(--finlog-shadow-s);
  overflow: hidden;
}
.price-list--page { margin-bottom: var(--space-l, 2rem); }
.price-list__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.05rem 1.5rem;
}
.price-list__row + .price-list__row { border-top: 1px solid var(--border); }
.price-list__label { font-weight: 600; }
.price-list__value { font-weight: 800; color: var(--primary); }

.note-list { list-style: none; margin: 0 0 var(--space-l, 2rem); padding: 0; color: var(--text-soft); }
.note-list li { position: relative; padding-left: 1.4rem; margin-bottom: 0.5rem; }
.note-list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent);
}

/* ---- steps ----------------------------------------------------------------- */
.step-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  list-style: none; margin: var(--space-l, 2rem) 0 0; padding: 0;
  counter-reset: step;
}
.step-grid--stack { grid-template-columns: 1fr; margin-bottom: var(--space-l, 2rem); }
.step-card {
  background: var(--surface-raised);
  border: 1px solid var(--border); border-radius: var(--finlog-radius);
  padding: 1.5rem;
}
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--accent-light); color: var(--primary);
  font-weight: 800; font-size: 0.95rem;
}
.step-card__title { font-size: 1.05rem; margin-top: 0.8rem; }
.step-card__text { color: var(--text-soft); font-size: 0.93rem; margin-top: 0.4rem; }

/* ---- band (dark CTA strip) -------------------------------------------------- */
.band { background: var(--primary); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.band__title { font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.band__text { color: rgba(255, 255, 255, 0.75); margin-top: 0.4rem; max-width: 52ch; }

/* ---- page hero + breadcrumbs ------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(50rem 20rem at 90% -30%, rgba(30, 73, 118, 0.5), transparent 60%),
    var(--primary-dark);
  color: #fff;
  padding-block: clamp(2.75rem, 6.5vw, 4.5rem);
}
.page-hero__title { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero__lead { margin-top: var(--space-s, 0.75rem); color: rgba(255, 255, 255, 0.8); max-width: 56ch; }

.breadcrumbs { font-size: 0.83rem; margin-bottom: var(--space-m, 1.25rem); color: rgba(255, 255, 255, 0.6); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin-inline: 0.4em; }
.breadcrumbs .cur { color: rgba(255, 255, 255, 0.6); }

/* ---- prose ------------------------------------------------------------------ */
.prose { color: var(--text); }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--secondary); }

/* ---- info card / callout ----------------------------------------------------- */
.info-card, .callout {
  background: var(--surface-raised);
  border: 1px solid var(--border); border-radius: var(--finlog-radius);
  padding: 1.75rem;
  box-shadow: var(--finlog-shadow-s);
}
.info-card__title { font-size: 1.25rem; margin-bottom: 0.9rem; }
.info-card__list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.info-card__list li { margin-bottom: 0.55rem; color: var(--text-soft); }
.info-card__list strong { color: var(--text); }
.info-card__list a { color: var(--secondary); text-decoration: none; font-weight: 600; }
.info-card__list a:hover { text-decoration: underline; }

.callout { text-align: center; margin-top: var(--space-l, 2rem); }
.callout__title { font-size: 1.3rem; }
.callout__text { color: var(--text-soft); margin: 0.6rem auto 1.25rem; max-width: 52ch; }

.help-note { margin-top: var(--space-l, 2rem); color: var(--text-soft); text-align: center; }
.help-note a { color: var(--secondary); font-weight: 600; text-decoration: none; }

/* ---- forms -------------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 700; color: var(--text); }
.field input, .field textarea {
  font: inherit; font-weight: 400;
  padding: 0.7em 0.9em;
  border: 1px solid var(--border); border-radius: var(--finlog-radius-s);
  background: var(--surface-raised); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(30, 73, 118, 0.15);
}
.form__hp { position: absolute; left: -624.9375rem; width: 1px; height: 1px; opacity: 0; }
.form__status { font-weight: 600; padding: 0.75em 1em; border-radius: var(--finlog-radius-s); }
.form__status.is-ok { background: #e7f6ec; color: #17683a; }
.form__status.is-err { background: #fdecec; color: #a02323; }

/* ---- footer --------------------------------------------------------------------- */
.site-footer { background: var(--primary-dark); color: rgba(255, 255, 255, 0.78); margin-top: auto; }
.site-footer__main {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer__brand p { font-size: 0.92rem; max-width: 34ch; }
.site-footer__col h2 {
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); margin-bottom: 1rem;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.site-footer__col a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.83rem; color: rgba(255, 255, 255, 0.5);
}

/* ---- 404 -------------------------------------------------------------------------- */
.error-404 { padding-block: clamp(4rem, 10vw, 7rem); text-align: center; }
.error-404__code { font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 800; color: var(--primary); line-height: 1; }
.error-404__code b { color: var(--accent); }

/* ---- reveal on scroll --------------------------------------------------------------- */
html.js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- layout: shell sticks footer to bottom ------------------------------------------ */
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* ---- responsive --------------------------------------------------------------------- */
@media (max-width: 64rem) {
  .service-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 51.25rem) {
  .main-nav, .site-header__cta, .site-header .lang-switcher { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 0.32rem;
    margin-left: auto;
    width: 2.75rem; height: 2.75rem; padding: 0.55rem;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(0.42rem) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-0.42rem) rotate(-45deg); }
}

@media (max-width: 40rem) {
  .step-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; gap: 1.75rem; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .price-list__row { padding-inline: 1.1rem; }
}
