/* ==========================================================================
   ПрАТ «Український авіаційний технічний центр» — standalone site styles.
   Light editorial "airworthiness dossier": cool paper + petrol-navy ink,
   single aviation-red accent drawn from the company An-26 / An-32 livery.
   ========================================================================== */

:root {
  --paper: #f2f5f8;
  --paper-2: #ffffff;
  --mist: #e7eef3;
  --line: #d7e0e8;
  --line-2: #c2cfdb;
  --ink: #0e1a28;
  --ink-2: #17293a;
  --steel: #4d6274;
  --steel-2: #6a7f92;
  --accent: #c8102e;
  --accent-2: #a50c24;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--line); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
[id] { scroll-margin-top: 92px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* ---- kicker / labels ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; color: var(--steel-2); margin-bottom: 20px;
}
.label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.label.on-dark { color: rgba(255,255,255,0.6); }

/* ---- headings ---- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
.h2 { font-size: clamp(30px, 4vw, 44px); }
.lead { color: var(--steel); font-size: 16.5px; line-height: 1.65; max-width: 56ch; }

/* ---- buttons (bespoke) ---- */
.btn-primary, .btn-submit {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  background: var(--ink); color: #fff; border: 0;
  padding: 15px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  font-family: var(--sans); letter-spacing: -0.01em;
  transition: transform .3s ease, background .3s ease;
}
.btn-primary:hover, .btn-submit:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn-primary .chip, .btn-submit .chip {
  display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 999px; background: var(--accent); color: #fff; transition: transform .3s ease;
}
.btn-primary:hover .chip, .btn-submit:hover .chip { transform: translateX(2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(14,26,40,0.2); color: var(--ink);
  padding: 15px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: background .3s ease, color .3s ease;
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.link-underline {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s ease; padding-bottom: 2px;
}
.link-underline:hover { background-size: 100% 1.5px; }

.tag {
  display: inline-flex; align-items: center; border: 1px solid var(--line-2);
  background: var(--paper-2); color: var(--steel);
  border-radius: 999px; padding: 4px 12px; font-family: var(--mono); font-size: 12px;
}
.tag.accent { border-color: rgba(200,16,46,0.3); background: rgba(200,16,46,0.05); color: var(--accent); }
.tag.ink { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); }

/* ==== HEADER / NAV ==== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled { background: rgba(242,245,248,0.85); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { transition: transform .3s ease; }
.brand:hover svg { transform: rotate(-6deg); }
.brand .wm { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.brand .wm-sub { margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--steel-2); }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--steel); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: none; }
.nav-cta a {
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .3s, background .3s;
}
.nav-cta a:hover { transform: translateY(-2px); background: var(--ink-2); }
.nav-cta a .chip { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; background: var(--accent); }
.burger { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--paper-2); border-radius: 999px; cursor: pointer; }
.burger span { position: relative; width: 20px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; height: 2px; width: 20px; background: var(--ink); transition: all .3s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.burger.open i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.mobile-panel { max-height: 0; overflow: hidden; background: rgba(242,245,248,0.97); backdrop-filter: blur(12px); border-top: 1px solid transparent; transition: max-height .4s ease; }
.mobile-panel.open { max-height: 560px; border-top-color: var(--line); }
.mobile-panel .inner { display: flex; flex-direction: column; gap: 4px; padding: 16px 24px 24px; }
.mobile-panel a { padding: 12px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.mobile-panel a:hover { background: var(--mist); }
.mobile-panel .m-cta { margin-top: 8px; text-align: center; background: var(--ink); color: #fff; }
@media (min-width: 1024px) {
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
  .mobile-panel { display: none; }
}

/* ==== HERO ==== */
.hero { position: relative; padding-top: 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; padding: 56px 0; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-title { font-size: clamp(40px, 6.4vw, 62px); font-weight: 800; margin-top: 24px; }
.hero-sub { margin-top: 24px; max-width: 54ch; color: var(--steel); font-size: 17px; line-height: 1.65; }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-media { position: relative; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--ink); box-shadow: 0 30px 60px -24px rgba(14,26,40,0.45);
}
.hero-frame .par { aspect-ratio: 4/3; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-frame .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,26,40,0.5), transparent 55%); }
.photo-chip {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(14,26,40,0.55); backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 999px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.85);
}
.photo-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.seal {
  position: absolute; left: -20px; top: -20px; width: 96px; height: 96px; display: none;
  place-items: center; text-align: center; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--paper-2); box-shadow: 0 10px 25px -8px rgba(14,26,40,0.35); transform: rotate(-8deg);
}
.seal b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.seal small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--steel-2); }
@media (min-width: 640px) { .seal { display: grid; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; padding: 96px 0; }
}
/* stats band */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.stats .grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 32px 8px; border-top: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-top: 0; }
.stat:nth-child(even) { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--steel); line-height: 1.35; }
@media (min-width: 768px) {
  .stats .grid { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 32px; border-top: 0; border-left: 1px solid var(--line); }
  .stat:first-child { border-left: 0; }
}

/* ==== generic section ==== */
.section { padding: 96px 0; }
.section.tint { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.framed { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(14,26,40,0.4); }
.framed img { width: 100%; object-fit: cover; }
.media-cap { position: absolute; left: 16px; bottom: 16px; border: 1px solid rgba(255,255,255,0.15); background: rgba(14,26,40,0.55); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 999px; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.85); }

/* about facts */
.facts { margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.facts dd { font-size: 15.5px; font-weight: 500; }
@media (min-width: 640px) { .facts div { flex-direction: row; align-items: baseline; gap: 24px; } .facts dt { width: 160px; flex: none; } }
.stack > * + * { margin-top: 16px; }

/* ==== services ==== */
.svc-features { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .svc-features { grid-template-columns: 1fr 1fr; } }
.svc-feature { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink); }
.svc-feature .ph { position: relative; height: 224px; }
.svc-feature .ph img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform .7s ease; }
.svc-feature:hover .ph img { transform: scale(1.05); }
.svc-feature .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), transparent); }
.svc-feature .body { padding: 28px; }
.svc-feature h3 { color: #fff; font-size: 20px; }
.svc-feature p { color: rgba(255,255,255,0.7); font-size: 15px; margin-top: 12px; line-height: 1.6; }
.svc-feature .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.svc-grid { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc-card { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s; height: 100%; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 48px -28px rgba(14,26,40,0.4); }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); transition: color .3s, border-color .3s; }
.svc-card:hover .svc-ico { color: var(--accent); border-color: var(--accent); }
.svc-card h3 { font-size: 20px; margin-top: 24px; }
.svc-card p { color: var(--steel); font-size: 15px; margin-top: 12px; line-height: 1.6; }
.svc-points { list-style: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.svc-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.svc-points svg { color: var(--accent); flex: none; }

.labs { display: grid; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.labs div { padding: 28px; border-top: 1px solid var(--line); }
.labs div:first-child { border-top: 0; }
.labs h4 { font-size: 15px; }
.labs p { margin-top: 8px; font-size: 14px; color: var(--steel); line-height: 1.6; }
@media (min-width: 768px) { .labs { grid-template-columns: repeat(3, 1fr); } .labs div { border-top: 0; border-left: 1px solid var(--line); } .labs div:first-child { border-left: 0; } }

/* ==== fleet register ==== */
.fleet-head { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .fleet-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.fleet { margin-top: 48px; border-top: 1px solid var(--line-2); }
.fleet-row { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.fleet-row:hover { background: var(--mist); }
.fleet-id { display: flex; align-items: center; gap: 16px; }
.fleet-id .pin { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); transition: color .3s, border-color .3s; }
.fleet-row:hover .fleet-id .pin { color: var(--accent); border-color: var(--accent); }
.fleet-code { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.fleet-mods { font-family: var(--mono); font-size: 12px; color: var(--steel-2); }
.fleet-role { font-size: 15px; color: var(--steel); }
.fleet-levels { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 768px) { .fleet-row { grid-template-columns: 220px 1fr auto; gap: 32px; padding: 24px 16px; } .fleet-levels { justify-content: flex-end; } }

/* ==== certifications (dark) ==== */
.certs { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 96px 0; }
.certs .wash { position: absolute; inset: 0; opacity: 0.14; }
.certs .wash img { width: 100%; height: 100%; object-fit: cover; }
.certs .graph { position: absolute; inset: 0; opacity: 0.4; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 44px 44px; }
.certs .container { position: relative; }
.certs h2 { color: #fff; }
.certs .lead { color: rgba(255,255,255,0.7); }
.cert-cards { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 1024px) { .cert-cards { grid-template-columns: 1fr 1fr; } }
.cert-card { display: flex; gap: 20px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); backdrop-filter: blur(4px); border-radius: var(--radius); padding: 20px; height: 100%; }
.cert-card img { width: 112px; height: 160px; flex: none; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15); object-fit: cover; }
.cert-card h3 { font-size: 18px; color: #fff; }
.cert-card p { margin-top: 8px; font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.cert-lower { display: grid; gap: 24px; margin-top: 32px; align-items: center; }
@media (min-width: 1024px) { .cert-lower { grid-template-columns: 1fr auto; } }
.ratings { display: grid; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); overflow: hidden; }
.ratings div { padding: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.ratings div:first-child { border-top: 0; }
.ratings b { font-size: 24px; font-weight: 800; }
.ratings .cat { margin-top: 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); }
.ratings p { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; }
@media (min-width: 640px) { .ratings { grid-template-columns: repeat(3, 1fr); } .ratings div { border-top: 0; border-left: 1px solid rgba(255,255,255,0.1); } .ratings div:first-child { border-left: 0; } }
.docs { display: flex; gap: 12px; }
.docs img { width: 64px; height: 96px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); object-fit: cover; transition: transform .3s; }
.docs img:hover { transform: translateY(-4px); }

/* ==== facility ==== */
.fac-items { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.fac-item { display: flex; gap: 20px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 16px; padding: 20px; }
.fac-item .n { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-top: 2px; }
.fac-item b { font-size: 15.5px; }
.fac-item span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--steel); }
.diagrams { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.diagram { border: 1px solid var(--line); background: var(--paper-2); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; }
.diagram img { margin: auto; width: 100%; object-fit: contain; }
.diagram span { margin-top: 8px; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--steel-2); }

/* ==== history ==== */
.hist-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .hist-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
.hist-photo { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); filter: grayscale(1); margin-top: 32px; }
.hist-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.timeline { position: relative; border-left: 1px solid var(--line-2); padding-left: 32px; list-style: none; }
.timeline li { position: relative; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .node { position: absolute; left: -45px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper-2); }
.timeline .node i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.timeline p { margin-top: 8px; max-width: 60ch; font-size: 15.5px; color: var(--steel); line-height: 1.6; }

/* ==== contact ==== */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.contact-cards { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 16px; padding: 20px; transition: border-color .3s; }
.contact-card:hover { border-color: var(--line-2); }
.contact-card .ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); transition: color .3s, border-color .3s; }
.contact-card:hover .ico { color: var(--accent); border-color: var(--accent); }
.contact-card .k { font-family: var(--mono); font-size: 12px; color: var(--steel-2); }
.contact-card .v { margin-top: 4px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.form-wrap { border: 1px solid var(--line); background: var(--paper-2); border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(14,26,40,0.35); }
@media (min-width: 640px) { .form-wrap { padding: 36px; } }
.form-row { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink);
  border-radius: 12px; padding: 12px 16px; font-size: 15px; font-family: var(--sans);
  outline: none; transition: border-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel-2); }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--steel-2); margin-bottom: 16px; }
.form-done { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.form-done .ok { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(200,16,46,0.1); color: var(--accent); }
.form-done h3 { font-size: 24px; margin-top: 24px; }
.form-done p { margin-top: 12px; max-width: 38ch; font-size: 15px; color: var(--steel); }

/* ==== trust / marquee ==== */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); padding: 56px 0; }
.trust .cap { text-align: center; font-family: var(--mono); font-size: 13px; color: var(--steel-2); margin-bottom: 32px; }
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee .track { display: flex; flex: none; min-width: 100%; align-items: center; animation: marquee 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.m-item { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 28px; font-size: 19px; font-weight: 600; color: rgba(14,26,40,0.85); }
.m-item .sep { margin-left: 28px; width: 6px; height: 6px; border-radius: 50%; background: rgba(200,16,46,0.7); }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; border-top: 1px solid var(--line); padding-top: 36px; margin-top: 48px; }
.partners .plabel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--steel-2); }
.partners .pname { font-size: 15px; font-weight: 600; color: var(--steel); }

/* ==== footer ==== */
.footer { background: var(--ink); color: #fff; }
.footer .cols { display: grid; gap: 40px; padding: 64px 0 0; }
@media (min-width: 768px) { .footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .about p { margin-top: 24px; max-width: 38ch; font-size: 14.5px; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer .flabel { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); }
.footer ul { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 15px; color: rgba(255,255,255,0.75); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer .fcontact { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; font-size: 14.5px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer .fcontact a { color: #fff; width: fit-content; }
.footer .bottom { margin-top: 56px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.45); }
@media (min-width: 640px) { .footer .bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer .bottom .r { font-family: var(--mono); }

/* ==== motion (screenshot/SSR-safe: transform only) ==== */
.reveal { transform: translateY(24px); transition: transform .85s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.reveal.in { transform: translateY(0); }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim-up { animation: up .95s cubic-bezier(.22,.61,.36,1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .anim-up { transition: none !important; animation: none !important; transform: none !important; }
  .marquee .track { animation: none !important; }
}

/* ==== highlighted partners stripe ==== */
.partners-band {
  margin-top: 48px;
  padding: 48px 0 52px;
  background: linear-gradient(180deg, var(--paper-2), var(--mist));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-head { text-align: center; margin-bottom: 34px; }
.partners-head .kicker { justify-content: center; }
.partners-head h3 { font-size: clamp(21px, 3vw, 30px); margin-top: 16px; }
.partners-head p { max-width: 60ch; margin: 14px auto 0; color: var(--steel); font-size: 15.5px; line-height: 1.6; }
.partners-marquee { padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-marquee .track { animation-duration: 58s; }
.partner-card {
  display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; width: 216px; margin: 0 12px; padding: 24px 20px 20px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 14px 34px -22px rgba(14,26,40,0.35); position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.partner-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); opacity: .85; }
.partner-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 22px 44px -22px rgba(14,26,40,0.42); }
.partner-card .logo { height: 62px; display: grid; place-items: center; }
.partner-card .logo img { max-height: 62px; max-width: 160px; width: auto; object-fit: contain; }
.partner-card .pname { font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; line-height: 1.25; }

/* ==== language switcher ==== */
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--paper-2); color: var(--ink);
  border-radius: 999px; padding: 8px 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.lang-btn svg { width: 15px; height: 15px; opacity: .8; }
.lang-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.lang-btn:hover svg { opacity: 1; }
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-btn .lang-label { display: none; }
/* full-width variant inside the mobile menu */
.lang-btn--block {
  width: 100%; justify-content: flex-start; gap: 12px; padding: 12px;
  border-radius: 12px; border-color: var(--line);
  font-family: var(--sans); font-size: 15px; letter-spacing: 0; font-weight: 500; margin-top: 4px;
}
.lang-btn--block .lang-label { display: inline; }
.lang-btn--block .lang-code { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--steel-2); }
.lang-btn--block:hover .lang-code { color: #fff; }
