/*
Theme Name: VECTOR LOGISTICA 0.2
Theme URI: https://vectorlogistica.ru/
Author: VECTOR LOGISTICA
Description: Яркая персональная страница специалиста по международным контейнерным перевозкам.
Version: 0.2.0
Text Domain: vector-logistica
*/

:root {
  --vl-navy: #0a2a66;
  --vl-deep: #061c49;
  --vl-blue: #007bff;
  --vl-blue-dark: #0052d4;
  --vl-cyan: #00c6ff;
  --vl-ink: #10264f;
  --vl-muted: #536782;
  --vl-pale: #eef6ff;
  --vl-line: #d7e6f7;
  --vl-white: #fff;
  --vl-shadow: 0 18px 48px rgba(10, 42, 102, .12);
  --vl-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vl-ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--vl-cyan); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 1000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; margin: 0; clip: auto; background: #fff; color: var(--vl-navy); }
.site-shell { overflow: hidden; }
.container { width: min(1420px, calc(100% - 80px)); margin-inline: auto; }
.section { padding: 84px 0; }
.section--soft { background: linear-gradient(135deg, #eef7ff 0%, #e2f0ff 58%, #f7fbff 100%); }
.section-title { margin: 0 0 14px; color: var(--vl-navy); font-size: clamp(32px, 3.5vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.section-lead { max-width: 700px; margin: 0; color: var(--vl-muted); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--vl-blue); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ""; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 10px; background: linear-gradient(110deg, #0787ff 0%, #0066ee 60%, #064bc7 100%); box-shadow: 0 10px 26px rgba(0, 104, 239, .28); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 104, 239, .34); }
.button--outline { border-color: #8bbcff; background: rgba(255,255,255,.94); box-shadow: none; color: var(--vl-blue-dark); }
.button-arrow { font-size: 20px; line-height: 1; }

/* Header */
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(10,42,102,.10); background: linear-gradient(100deg, #fff 0%, #f2f8ff 58%, #e8f4ff 100%); }
.header-inner { display: flex; min-height: 88px; align-items: center; gap: 28px; }
.brand-link { display: block; width: 245px; flex: 0 0 245px; }
.brand-link img { width: 100%; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #21395e; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--vl-blue); }
.header-contact { display: flex; align-items: center; gap: 15px; }
.phone-link { color: var(--vl-navy); font-size: 15px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.phone-caption { display: block; color: var(--vl-muted); font-size: 11px; font-weight: 500; text-align: right; }
.header-cta { min-height: 48px; padding-inline: 18px; font-size: 13px; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--vl-line); border-radius: 10px; background: #fff; color: var(--vl-navy); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 19px; height: 2px; background: currentColor; content: ""; }
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* Bright port hero */
.hero { position: relative; display: flex; min-height: 650px; align-items: center; isolation: isolate; background: #bfe0ff; }
.hero::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.84) 30%, rgba(255,255,255,.30) 48%, rgba(255,255,255,.02) 69%), url("assets/images/hero-container-port.png"); background-position: center, center 54%; background-size: cover; content: ""; }
.hero-content { position: relative; z-index: 2; padding-block: 76px 96px; }
.hero-copy { max-width: 640px; }
.hero .eyebrow { color: var(--vl-navy); }
.hero h1 { max-width: 650px; margin: 0 0 20px; color: var(--vl-navy); font-size: clamp(48px, 5.2vw, 76px); font-weight: 900; line-height: .99; letter-spacing: -.05em; }
.hero h1 span { display: block; color: var(--vl-blue); }
.hero-lead { max-width: 575px; margin: 0 0 28px; color: #21395e; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.48; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .button { min-height: 58px; padding-inline: 27px; }
.hero-routes { position: absolute; z-index: 1; top: 28px; right: max(36px, calc((100% - 1420px) / 2 + 36px)); width: min(610px, 46vw); height: 282px; pointer-events: none; }
.hero-routes svg { width: 100%; height: 100%; overflow: visible; }
.hero-route { fill: none; stroke: #007bff; stroke-width: 3.2; stroke-linecap: round; opacity: .9; }
.hero-route--cyan { stroke: #00a9e8; stroke-dasharray: 5 8; }
.hero-route-point { fill: #007bff; stroke: #fff; stroke-width: 4; }
.hero-route-point--origin { fill: var(--vl-navy); }
.hero-route-label { fill: var(--vl-navy); font: 800 17px "Segoe UI", Arial, sans-serif; paint-order: stroke; stroke: rgba(255,255,255,.94); stroke-width: 6px; stroke-linejoin: round; }
.hero-proof { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(10,42,102,.12); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { display: flex; min-height: 104px; align-items: center; gap: 18px; padding: 18px 28px; color: var(--vl-navy); font-size: 17px; font-weight: 800; }
.proof-item + .proof-item { border-left: 1px solid #b9d2f1; }
.proof-icon { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border-radius: 50%; background: #e6f2ff; color: var(--vl-blue); }
.proof-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

/* Route map */
.direction-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 60px; }
.direction-copy .section-lead { margin-bottom: 28px; }
.route-list { display: flex; flex-wrap: wrap; gap: 10px; }
.route-chip { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #b8d5fa; border-radius: 999px; background: linear-gradient(180deg, #fff, #edf6ff); color: #123b79; font-size: 14px; font-weight: 750; box-shadow: 0 3px 10px rgba(10,42,102,.05); }
.route-map { position: relative; min-height: 370px; overflow: hidden; border: 1px solid #c6ddf7; border-radius: 26px; background: radial-gradient(ellipse at 52% 52%, #fff 0%, #eaf5ff 62%, #dcecff 100%); box-shadow: var(--vl-shadow); }
.route-map::before { position: absolute; inset: 0; background-image: radial-gradient(#88b8ee 1px, transparent 1.4px); background-size: 10px 10px; opacity: .46; content: ""; mask-image: radial-gradient(ellipse at center, #000 18%, transparent 78%); }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-land { fill: #d4e7fb; stroke: #a9c9ed; stroke-width: 1.3; }
.map-route { fill: none; stroke: #007bff; stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: 5 8; }
.map-route--cyan { stroke: #00a9e8; }
.map-point { fill: #007bff; stroke: #fff; stroke-width: 4; }
.map-point--origin { fill: var(--vl-navy); }
.map-label { fill: var(--vl-navy); font: 800 13px "Segoe UI", Arial, sans-serif; }
.map-tag { position: absolute; padding: 7px 11px; border: 1px solid #bdd8f5; border-radius: 8px; background: rgba(255,255,255,.96); color: var(--vl-navy); font-size: 12px; font-weight: 800; box-shadow: 0 3px 12px rgba(10,42,102,.08); }
.map-tag--russia { top: 25%; left: 52%; }
.map-tag--asia { right: 8%; bottom: 24%; }
.map-tag--europe { top: 46%; left: 10%; }

/* Transport cards */
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading .section-lead { max-width: 520px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { overflow: hidden; border: 1px solid #c7ddf6; border-radius: 18px; background: linear-gradient(160deg, #fff 0%, #f3f8ff 100%); box-shadow: 0 12px 32px rgba(10,42,102,.11); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(10,42,102,.17); }
.service-photo { position: relative; height: 190px; overflow: hidden; background: var(--vl-navy); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-photo::after { position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(4,20,51,.45)); content: ""; }
.service-body { padding: 22px 22px 24px; }
.service-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-top: -46px; position: relative; z-index: 1; margin-bottom: 15px; border: 3px solid #fff; border-radius: 14px; background: linear-gradient(140deg, #0787ff, #0055db); color: #fff; box-shadow: 0 6px 16px rgba(0,84,214,.28); }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service-card h3 { min-height: 52px; margin: 0 0 8px; color: var(--vl-navy); font-size: 20px; line-height: 1.18; }
.service-card p { min-height: 66px; margin: 0; color: var(--vl-muted); font-size: 14px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--vl-blue-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.service-link span { font-size: 19px; }

/* Work stages */
.process-panel { position: relative; overflow: hidden; padding: 44px; border-radius: 26px; background: linear-gradient(120deg, #0a2a66 0%, #0058d9 66%, #0787ff 100%); color: #fff; box-shadow: 0 20px 52px rgba(0,70,170,.24); }
.process-panel::after { position: absolute; top: -170px; right: -70px; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.06), 0 0 0 80px rgba(255,255,255,.04); content: ""; }
.process-panel .section-title { color: #fff; }
.process-panel .section-lead { color: #d5e8ff; }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.process-step { position: relative; min-height: 185px; padding: 24px 20px; border-top: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.08); }
.process-step::before { position: absolute; top: -7px; left: 20px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--vl-cyan); content: ""; }
.step-number { display: block; margin-bottom: 22px; color: #8cceff; font-size: 13px; font-weight: 850; letter-spacing: .16em; }
.process-step h3 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.process-step p { margin: 0; color: #dcecff; font-size: 14px; }

/* Quote banner and contacts */
.quote-banner { position: relative; overflow: hidden; padding: 52px 0; background: linear-gradient(105deg, #0047b8 0%, #0068ef 54%, rgba(0,75,180,.72) 100%), url("assets/images/hero-container-port.png") center 56% / cover; color: #fff; }
.quote-banner::after { position: absolute; top: 0; right: 31%; width: 140px; height: 100%; transform: skewX(-22deg); border-right: 15px solid rgba(255,255,255,.45); border-left: 15px solid rgba(255,255,255,.22); content: ""; }
.quote-banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.quote-banner h2 { max-width: 650px; margin: 0 0 10px; color: #fff; font-size: clamp(34px, 4.3vw, 54px); line-height: 1.04; }
.quote-banner p { max-width: 630px; margin: 0; color: #e3f0ff; font-size: 17px; }
.button--light { flex: 0 0 auto; border-color: #fff; background: #fff; color: var(--vl-navy); box-shadow: 0 12px 28px rgba(0,26,78,.2); }
.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; padding: 42px; border: 1px solid #c9def7; border-radius: 24px; background: linear-gradient(135deg, #eff7ff 0%, #fff 72%); box-shadow: var(--vl-shadow); }
.contact-panel h2 { margin: 0 0 14px; color: var(--vl-navy); font-size: clamp(30px, 3vw, 42px); line-height: 1.06; }
.contact-panel .section-lead { font-size: 16px; }
.contact-list { display: grid; gap: 16px; margin-top: 24px; }
.contact-item { display: flex; align-items: center; gap: 12px; color: var(--vl-navy); font-weight: 800; text-decoration: none; }
.contact-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 12px; background: #dfedff; color: var(--vl-blue); font-size: 18px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { color: #344c70; font-size: 12px; font-weight: 800; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #c8d9ed; border-radius: 9px; background: #fff; color: var(--vl-ink); }
.field textarea { min-height: 88px; resize: vertical; }
.quote-form .button { grid-column: 1 / -1; justify-self: start; }
.form-footnote { grid-column: 1 / -1; margin: -2px 0 0; color: #687b95; font-size: 11px; }

/* Footer */
.site-footer { padding: 32px 0 22px; border-top: 1px solid #c8ddf4; background: linear-gradient(105deg, #fff 0%, #f0f7ff 100%); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand .brand-link { width: 220px; flex-basis: 220px; }
.footer-note { max-width: 300px; margin: 0; color: var(--vl-muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #3c5476; font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #dce8f7; color: #71829a; font-size: 11px; }

@media (max-width: 1200px) {
  .container { width: min(100% - 56px, 1080px); }
  .header-inner { gap: 16px; }
  .brand-link { width: 210px; flex-basis: 210px; }
  .primary-nav ul { gap: 14px; }
  .primary-nav a { font-size: 12px; }
  .phone-caption { display: none; }
  .header-cta { display: none; }
  .hero-routes { right: 28px; width: 48vw; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 600px); }
  .section { padding: 62px 0; }
  .header-inner { min-height: 72px; justify-content: space-between; }
  .brand-link { width: 205px; flex-basis: 205px; }
  .phone-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; padding: 12px 16px; border: 1px solid var(--vl-line); border-radius: 14px; background: #fff; box-shadow: var(--vl-shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 0; }
  .primary-nav li + li { border-top: 1px solid #e9f1fb; }
  .primary-nav a { display: block; padding: 12px 8px; font-size: 15px; }
  .hero { min-height: 770px; align-items: flex-start; }
  .hero::before { background-image: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.84) 37%, rgba(255,255,255,.12) 72%), url("assets/images/hero-container-port.png"); background-position: center, 64% center; }
  .hero-content { padding-block: 46px 330px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { max-width: 560px; font-size: clamp(42px, 10.5vw, 60px); }
  .hero-lead { font-size: 17px; }
  .hero-routes { top: auto; right: 5%; bottom: 184px; width: 90%; height: 190px; opacity: .88; }
  .hero-proof { position: relative; margin-top: -1px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 74px; padding: 12px 4px; font-size: 15px; }
  .proof-item + .proof-item { border-top: 1px solid #d3e3f6; border-left: 0; }
  .proof-icon { width: 44px; height: 44px; flex-basis: 44px; }
  .direction-grid, .contact-panel { grid-template-columns: 1fr; gap: 28px; }
  .direction-grid { gap: 28px; }
  .route-map { min-height: 285px; }
  .section-heading { display: block; }
  .section-heading .section-lead { margin-top: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-photo { height: 220px; }
  .service-card h3, .service-card p { min-height: 0; }
  .process-panel { padding: 30px 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 10px; }
  .process-step { min-height: 0; padding: 20px 18px 20px 28px; border-top: 0; border-left: 1px solid rgba(255,255,255,.42); }
  .process-step::before { top: 24px; left: -7px; }
  .step-number { margin-bottom: 9px; }
  .quote-banner { padding: 42px 0; }
  .quote-banner-inner { align-items: flex-start; flex-direction: column; }
  .quote-banner::after { right: 10%; opacity: .55; }
  .contact-panel { padding: 28px 20px; }
  .footer-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 480px) {
  .hero { min-height: 820px; }
  .hero-content { padding-block: 40px 350px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-routes { bottom: 195px; height: 160px; }
  .quote-form { grid-template-columns: 1fr; }
  .field--wide, .quote-form .button, .form-footnote { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
