/* =========================================================
   Legion Logistic - styles
   ========================================================= */

:root {
  --navy-900: #071528;
  --navy-800: #0a1f3a;
  --navy-700: #0f2c52;
  --blue: #104c8f;          /* brand blue (from logo) */
  --blue-600: #0d3f77;
  --blue-100: #e6eef8;
  --accent: #f2a516;        /* amber - sunset / road-sign accent */
  --accent-600: #d98f05;
  --wa: #25d366;

  --ink: #0e1b2c;
  --ink-soft: #4a5a70;
  --line: #dde4ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;

  --font-head: "Barlow Condensed", "Noto Sans Georgian", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(10, 31, 58, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 58, .35);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Georgian: headline font is Latin-only, so use condensed Noto Sans Georgian */
html[lang="ka"] {
  --font-head: "Noto Sans Georgian", system-ui, sans-serif;
}
html[lang="ka"] h1,
html[lang="ka"] h2,
html[lang="ka"] h3,
html[lang="ka"] .brand-text,
html[lang="ka"] .btn,
html[lang="ka"] .eyebrow {
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 6px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy-800); text-transform: uppercase; }
html[lang="ka"] h2 { text-transform: none; font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.45rem; font-weight: 600; color: var(--navy-800); }
html[lang="ka"] h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; max-width: 820px; }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.eyebrow--light { color: #cfe0f5; }
html[lang="ka"] .eyebrow { letter-spacing: .04em; text-transform: none; font-size: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
html[lang="ka"] .btn { text-transform: none; letter-spacing: .01em; font-size: 1.05rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(242, 165, 22, .7); }
.btn--accent:hover { background: #ffb52a; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(16, 76, 143, .7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(4px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb957; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(10, 31, 58, .4);
  --header-h: 68px;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark { height: 44px; width: auto; }
.brand-mark--dark { display: none; }
.is-scrolled .brand-mark--light { display: none; }
.is-scrolled .brand-mark--dark { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: .9; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; }
.brand-name { font-size: 1.7rem; font-weight: 700; letter-spacing: .08em; }
.brand-sub { font-size: .82rem; font-weight: 600; letter-spacing: .42em; opacity: .85; padding-left: 2px; }
.is-scrolled .brand { color: var(--navy-800); }
.is-scrolled .brand-sub { color: var(--blue); opacity: 1; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  color: rgba(255, 255, 255, .9);
  font-weight: 500; font-size: .95rem;
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.is-scrolled .main-nav a { color: var(--ink); }
.nav-phone-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .8);
  font: 600 .8rem/1 var(--font-body); padding: 7px 11px; border-radius: 999px; cursor: pointer;
  font-family: "Noto Sans Georgian", "Inter", sans-serif;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--navy-800); }
.is-scrolled .lang-switch { border-color: var(--line); }
.is-scrolled .lang-switch button { color: var(--ink-soft); }
.is-scrolled .lang-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .95rem; color: #fff;
  padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12);
  transition: background .2s;
}
.header-phone svg { width: 17px; height: 17px; color: var(--accent); }
.header-phone:hover { background: rgba(255, 255, 255, .22); }
.is-scrolled .header-phone { background: var(--blue); color: #fff; }
.is-scrolled .header-phone:hover { background: var(--blue-600); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.is-scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--navy-800); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 18% 55%;
  z-index: -2;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 40, .92) 0%, rgba(7, 21, 40, .72) 38%, rgba(7, 21, 40, .2) 70%, rgba(7, 21, 40, .1) 100%),
    linear-gradient(0deg, rgba(7, 21, 40, .85) 0%, rgba(7, 21, 40, 0) 35%),
    linear-gradient(180deg, rgba(7, 21, 40, .55) 0%, rgba(7, 21, 40, 0) 22%);
}
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 170px; }
.hero-title {
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 700; text-transform: uppercase; line-height: .95;
  max-width: 11ch; margin-bottom: 26px;
  color: #fff;
}
.hero-title span { color: var(--accent); }
html[lang="ka"] .hero-title { text-transform: none; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.15; max-width: 16ch; }
html[lang="ka"] .hero-lead { max-width: 600px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 560px; color: rgba(255, 255, 255, .86); margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(7, 21, 40, .45);
  backdrop-filter: blur(8px);
}
.hero-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-item svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.strip-item strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; line-height: 1.1; }
.strip-item span { display: block; font-size: .88rem; line-height: 1.35; color: rgba(255, 255, 255, .72); }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-media { aspect-ratio: 3 / 2; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: 26px 28px 30px; position: relative; }
.service-tag {
  position: absolute; top: -18px; right: 24px;
  background: var(--blue); color: #fff;
  font: 700 .85rem/1 "Barlow Condensed", sans-serif; letter-spacing: .14em;
  padding: 10px 14px; border-radius: 8px;
  box-shadow: 0 8px 18px -8px rgba(16, 76, 143, .8);
}
.service-body p { color: var(--ink-soft); margin: 0; }

.service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.tile {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.tile:hover { background: #fff; border-color: #c9d6e8; }
.tile h3 { font-size: 1.3rem; margin-bottom: .3em; }
html[lang="ka"] .tile h3 { font-size: 1.1rem; }
.tile p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.tile-icon {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue); color: #fff;
}
.tile-icon svg { width: 26px; height: 26px; }

/* ---------- About ---------- */
.about { background: var(--bg-soft); overflow: hidden; }
.about::before {
  /* oversized emblem watermark */
  content: ""; position: absolute; right: -120px; top: 40px;
  width: 520px; height: 540px;
  background: url("../img/logo-mark.png") no-repeat center / contain;
  opacity: .045; pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; padding: 0 60px 60px 0; }
.about-img-main { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-img-small {
  position: absolute; right: 0; bottom: 0;
  width: 46%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute; left: -18px; top: 36px;
  display: flex; align-items: center; gap: 12px;
  background: var(--blue); color: #fff;
  padding: 14px 20px 14px 16px; border-radius: 12px;
  font-weight: 600; font-size: .9rem; max-width: 260px; line-height: 1.35;
  box-shadow: var(--shadow-lg);
}
.about-badge img { width: 34px; height: auto; flex: none; }
.about-text > p { color: var(--ink-soft); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") no-repeat center / 14px;
}

/* ---------- Routes ---------- */
.routes { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.routes-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: -2; }
.routes::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7, 21, 40, .97) 0%, rgba(7, 21, 40, .85) 50%, rgba(10, 31, 58, .7) 100%);
}
.routes h2 { color: #fff; }
.routes .section-lead { color: rgba(255, 255, 255, .72); }
.routes-grid { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 60px; row-gap: 36px; }
/* heading on its own row; list and map share the next row so the map panel lines up with the list */
.routes-text { grid-column: 1; grid-row: 1; }
.corridors { grid-column: 1; grid-row: 2; }
.route-map { grid-column: 2; grid-row: 2; }
.corridors { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.corridors li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.corridors li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(242, 165, 22, .5); transform: translateX(4px); }
.corridor-from {
  flex: none; font: 700 .9rem/1 "Barlow Condensed", sans-serif; letter-spacing: .1em;
  background: var(--blue); padding: 8px 10px; border-radius: 6px;
}
.corridor-arrow { color: var(--accent); font-size: 1.1rem; flex: none; width: 18px; text-align: center; }
.corridors strong { display: block; font-weight: 600; font-size: 1.02rem; }
.corridors span:not(.corridor-from):not(.corridor-arrow) { font-size: .88rem; color: rgba(255, 255, 255, .62); }

.route-map {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 24px; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, rgba(16, 76, 143, .28), rgba(7, 21, 40, .5));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.route-map svg { width: 100%; height: auto; overflow: visible; }
.map-grid path { stroke: rgba(255, 255, 255, .06); stroke-width: 1; fill: none; }
.map-routes path {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 6 8; opacity: .9;
  animation: dash 1.6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -28; } }
.map-nodes circle { fill: #fff; stroke: var(--blue); stroke-width: 4; }
.map-nodes circle.port { fill: var(--accent); stroke: none; }
.map-nodes text, .hub-label {
  fill: #fff; font: 600 14px "Inter", "Noto Sans Georgian", sans-serif; text-anchor: middle;
}
.map-nodes text.small { font-size: 12px; fill: rgba(255, 255, 255, .7); }
.hub { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.hub-label { text-anchor: start; font: 700 18px "Barlow Condensed", "Noto Sans Georgian", sans-serif; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%;
  height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.step { text-align: center; padding: 0 8px; position: relative; }
.step-num {
  display: grid; place-items: center; margin: 0 auto 24px;
  width: 70px; height: 70px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  font: 700 1.5rem/1 "Barlow Condensed", sans-serif;
  position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.step:hover .step-num { background: var(--blue); color: #fff; }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-soft); padding-top: 0; }
.gallery .section-head { padding-top: clamp(72px, 10vw, 120px); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 18px; }
.g-item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item:nth-child(1) { grid-column: 1; grid-row: span 2; }
.g-item:nth-child(4) { grid-column: 2 / span 2; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; padding: clamp(70px, 9vw, 110px) 0; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 76, 143, .95) 0%, rgba(13, 50, 100, .78) 45%, rgba(10, 31, 58, .25) 100%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .25em; }
.cta-inner p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 520px; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact-info > p { color: var(--ink-soft); font-size: 1.05rem; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card small { display: block; color: var(--ink-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font-weight: 600; font-size: 1rem; color: var(--navy-800); overflow-wrap: anywhere; }
.cc-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); }
.cc-icon svg { width: 22px; height: 22px; }
.cc-icon--wa { background: #e3f8eb; color: #16a34a; }
.cc-icon--fb { background: #e7effd; color: #1877f2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin: 16px 0 0; max-width: 300px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { transition: color .2s; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); margin-top: 6px; }
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { background: #1877f2; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; color: rgba(255, 255, 255, .45);
}
/* keep the credit clear of the floating WhatsApp button */
@media (max-width: 1360px) { .footer-bottom { padding-right: 76px; } }
.footer-credit { transition: color .2s; }
.footer-credit strong { font-weight: 600; color: rgba(255, 255, 255, .65); transition: color .2s; }
.footer-credit:hover, .footer-credit:hover strong { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transform: scale(0); transition: transform .35s var(--ease);
}
.fab-wa.is-visible { transform: scale(1); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1s; }
.hero .reveal:nth-child(2) { transition-delay: .1s; }
.hero .reveal:nth-child(3) { transition-delay: .2s; }
.hero .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .map-routes path { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .header-phone span { display: none; }
  .header-phone { padding: 11px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 auto 0; top: 0;
    padding: calc(var(--header-h) + 16px) 24px 28px;
    flex-direction: column; gap: 0;
    background: #fff; box-shadow: var(--shadow-lg);
    transform: translateY(-100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    z-index: -1;
  }
  .main-nav a { color: var(--ink); font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-phone-mobile { display: block; color: var(--blue) !important; font-weight: 700; border-bottom: 0 !important; }
  .nav-open .main-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-open .brand { color: var(--navy-800); }
  .nav-open .brand-mark--light { display: none; }
  .nav-open .brand-mark--dark { display: block; }
  .nav-open .lang-switch { border-color: var(--line); }
  .nav-open .lang-switch button { color: var(--ink-soft); }
  .nav-open .lang-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }

  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item { padding: 16px 12px; }
  .strip-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .hero-content { padding-bottom: 200px; }

  .service-cards, .service-tiles { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .about-grid, .routes-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .routes-text, .corridors, .route-map { grid-column: 1; grid-row: auto; }
  .route-map { max-width: 520px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g-item:nth-child(1) { grid-column: 1 / span 2; grid-row: auto; }
  .g-item:nth-child(4) { grid-column: 1 / span 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .brand-mark { height: 38px; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: .72rem; }
  .hero { min-height: 0; }
  .hero-bg { object-position: 60% 50%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(7, 21, 40, .7) 0%, rgba(7, 21, 40, .55) 45%, rgba(7, 21, 40, .92) 100%); }
  .hero-content { padding-top: calc(var(--header-h) + 64px); padding-bottom: 56px; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero-strip { position: relative; }
  .hero-cta .btn { flex: 1 1 100%; }
  .strip-item svg { width: 24px; height: 24px; }
  .strip-item strong { font-size: 1.2rem; }
  .strip-item span { font-size: .8rem; }
  .about-media { padding: 0 30px 40px 0; }
  .about-badge { left: -8px; top: 18px; font-size: .8rem; padding: 10px 14px; }
  .steps { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 22px 0 84px; }
  .fab-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
