/* ============================================================
   BLYSKAVKA — site stylesheet
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
/* Components below set their own `display: flex/grid`, which otherwise
   overrides the browser's default `[hidden]{display:none}` rule (author
   styles beat user-agent styles regardless of specificity). Without this,
   toggling the `hidden` attribute/property from JS has no visual effect. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-volt-400); color: #000; }
a { color: var(--color-volt-400); text-decoration: none; }
a:hover { color: var(--color-volt-300); }
h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: -0.03em; margin: 0; }
ul { margin: 0; }
input, select, textarea, button { font-family: var(--font-body); }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.section {
  scroll-margin-top: 80px;
  border-top: var(--border-w-hairline) solid var(--border-subtle);
}
.section > .container { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--tint { background: linear-gradient(180deg, var(--color-neutral-900) 0%, #000 100%); }
.section--tint-rev { background: linear-gradient(180deg, #000 0%, var(--color-neutral-900) 100%); }

.section__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section__num { font-family: var(--font-mono); font-size: 12px; color: var(--color-volt-400); letter-spacing: 0.1em; flex: none; }
.section__title { font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.02em; }
.section__lead { font-size: 16px; color: var(--color-neutral-400); max-width: 560px; margin: 16px 0 48px; line-height: 1.5; }

/* ---- Reveal-on-scroll ---- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; padding: 0 22px; min-height: 44px; text-align: center;
  transition: border-color .15s, background-color .15s, color .15s, box-shadow .15s;
}
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 12.5px; }
.btn--lg { min-height: 48px; padding: 0 28px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--action-fill); color: var(--action-text); }
.btn--primary:hover { background: var(--action-fill-hover); color: #000; }
.btn--primary:active { background: var(--action-fill-active); }
.btn--ghost { background: transparent; color: #fff; border-color: var(--border-default); }
.btn--ghost:hover { border-color: var(--color-volt-400); color: var(--color-volt-400); }
.btn:focus-visible { outline: none; box-shadow: var(--glow-focus); }

/* ---- Tag ---- */
.tag {
  display: inline-flex; align-items: center; white-space: nowrap; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border: 1px solid transparent;
}
.tag--volt { background: var(--color-volt-400); color: #000; }
.tag--outline { background: transparent; color: var(--color-neutral-300); border-color: var(--border-default); }
.tag--signal { background: transparent; color: var(--color-signal-red); border-color: var(--color-signal-red); }

/* ---- Hairline grid (thin dividers via 1px background gaps) ---- */
.hgrid { display: grid; gap: 1px; background: var(--border-subtle); border: var(--border-w-hairline) solid var(--border-subtle); }
.hgrid > * { background: #000; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.9); backdrop-filter: blur(6px);
  border-bottom: var(--border-w-hairline) solid var(--border-default);
}
.site-header nav {
  max-width: var(--container-max); margin: 0 auto; padding: 16px 40px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links {
  flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav__links a { color: var(--color-neutral-300); transition: color .12s; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__social { display: flex; align-items: center; gap: 10px; }
.nav__social a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: var(--color-neutral-400); transition: color .15s; }
.nav__social a:hover { color: var(--color-volt-400); }
.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border-default); padding: 3px 4px; flex: none; }
.lang-switch__item {
  background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; padding: 2px 5px; color: var(--color-neutral-500); transition: color .12s;
}
.lang-switch__item--active { color: var(--color-volt-400); }
a.lang-switch__item:hover { color: var(--color-volt-300); }
.lang-switch__sep { color: var(--color-neutral-700); font-size: 11px; }
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-default); color: #fff; cursor: pointer; padding: 0; flex: none;
}
.burger__bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger__bars span { display: block; height: 2px; background: currentColor; }

/* ============================================================
   HERO
   ============================================================ */
/* Full-bleed section: no max-width/horizontal padding here, so the
   background photo (an absolutely-positioned direct child) spans the
   entire viewport width. The text column is instead wrapped in a
   .container (below, in the markup) to keep its max-width/side padding. */
.hero {
  position: relative; overflow: hidden; scroll-margin-top: 80px;
  padding: 56px 0 88px;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 78%; transform: scale(1.15); transform-origin: 60% 70%; filter: grayscale(0.5) contrast(1.02); }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.15) 100%), linear-gradient(0deg, #000 2%, rgba(0,0,0,0) 38%); }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 120% at 88% 8%, rgba(200,241,74,0.16), rgba(200,241,74,0) 52%); }
.hero__content { position: relative; max-width: 880px; }
.hero__title {
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(52px, 7.8vw, 108px); line-height: 1.02;
  letter-spacing: -0.02em; margin: 0 0 30px; text-transform: uppercase; text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}
.hero__title em { color: var(--color-volt-400); font-style: normal; }
/* Desktop: force exactly two lines — "Не завдяки" on its own line, never
   internally wrapped, "а всупереч" on the line below it (the <br> in the
   markup). Reverted back to normal wrapping on tablet/mobile below. */
.hero__title-line, .hero__title em { white-space: nowrap; }
.hero__lead { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; color: var(--color-neutral-200); max-width: 640px; margin: 0 0 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 620px; }
.hero__stat { padding: 22px 20px; display: flex; flex-direction: column; }
/* One flex row per figure — guarantees "150+" / "TOP 3" always render as a
   single line, baseline-aligned, instead of relying on <sup>'s default
   vertical-align (which visually separates the number from its suffix). */
.hero__stat-figure { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-mono); font-weight: 500; font-size: 34px; color: var(--color-volt-400); letter-spacing: -0.02em; white-space: nowrap; }
.hero__stat-suffix { font-size: 18px; color: #fff; }
.hero__stat-label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-400); margin-top: 6px; }

/* ============================================================
   MISSION
   ============================================================ */
.mission-card { background: var(--color-neutral-900); padding: 40px 36px; }
.mission-card__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-volt-400); margin-bottom: 18px; }
.mission-card p { font-family: var(--font-heading); font-weight: 400; font-size: 24px; line-height: 1.4; color: #fff; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.product-card {
  position: relative; border: 1px solid var(--border-default);
  background: linear-gradient(155deg, var(--color-neutral-900) 0%, #000 70%);
  overflow: hidden; display: flex; flex-direction: column;
}
.product-card__head { padding: 32px 32px 0; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px; min-height: 104px; }
/* Force the title block onto its own row so the status tag always
   sits below it, regardless of how short/long the title text is. */
.product-card__title-wrap { flex: 1 1 100%; min-width: 100%; }
.product-card__eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--color-neutral-500); text-transform: uppercase; }
.product-card__name { font-family: var(--font-heading); font-weight: 700; font-size: clamp(19px, 2.1vw, 25px); letter-spacing: 0.01em; margin: 8px 0 0; color: #fff; }
.product-card__photo { height: 180px; margin: 24px 0 8px; position: relative; border-top: var(--border-w-hairline) solid var(--border-subtle); border-bottom: var(--border-w-hairline) solid var(--border-subtle); overflow: hidden; }
/* cover: fills the wide frame with no letterboxing. The source photos are
   portrait, so covering a wide short frame crops most of the height away —
   object-position (set per-image below, since each photo frames the drone
   at a different height) keeps that crop centered on the drone instead of
   the empty studio/background space above and below it. */
.product-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(0.5) contrast(1.05); }
.product-card__photo-cap { position: absolute; left: 16px; bottom: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--color-neutral-600); letter-spacing: 0.1em; }
.product-card__body { padding: 16px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.product-card__specs { grid-template-columns: 1fr 1fr; margin-bottom: 24px; min-height: 180px; grid-auto-rows: 1fr; }
.product-card__specs > div { background: var(--color-neutral-900); padding: 14px 16px; display: flex; flex-direction: column; }
.product-card__specs .k { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-500); min-height: 26px; }
.product-card__specs .v { font-family: var(--font-mono); font-size: 18px; color: #fff; margin-top: auto; }
.product-card__specs .v--accent { color: var(--color-volt-400); }
.product-card__specs .spec-note { font-family: var(--font-body); font-size: 10.5px; line-height: 1.3; font-weight: 400; text-transform: none; letter-spacing: normal; color: var(--color-neutral-600); margin-top: 2px; white-space: nowrap; }
.product-card details { margin-bottom: 24px; border-top: var(--border-w-hairline) solid var(--border-subtle); }
.product-card summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-volt-400); display: flex; justify-content: space-between; align-items: center; }
.product-card summary::-webkit-details-marker { display: none; }
.product-card summary .plus { font-family: var(--font-mono); font-size: 16px; color: var(--color-neutral-500); }
.spec-group { display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.spec-group__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--color-neutral-600); text-transform: uppercase; margin-bottom: 8px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: var(--border-w-hairline) solid var(--border-subtle); font-size: 13px; }
.spec-row span:first-child { color: var(--color-neutral-400); }
.spec-row span:last-child { font-family: var(--font-mono); color: #fff; white-space: nowrap; }
.product-card__modules { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.product-card__modules-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-neutral-500); width: 100%; }
.product-card__modules span.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--color-neutral-300); border: var(--border-w-hairline) solid var(--border-default); padding: 5px 10px; }
.product-card__cta { margin-top: auto; text-align: center; }

.product-card--classified .product-card__body { color: var(--color-neutral-600); }
/* Diagonal hatch overlay — matches the classified card in the original
   Claude Design mockup (a subtle 45deg repeating stripe wash over the
   whole card). Pure CSS, no image file involved. */
.product-card--classified::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.02) 12px, rgba(255,255,255,0.02) 24px);
}
.blk-glitch { position: relative; display: inline-block; color: var(--color-neutral-700); font-family: var(--font-mono); font-size: 20px; letter-spacing: 0.42em; user-select: none; opacity: .45; animation: blkGlitchFlicker 3.4s steps(3,end) infinite; filter: blur(3.5px); }
.blk-glitch::before, .blk-glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; mix-blend-mode: screen; }
.blk-glitch::before { animation: blkGlitchTop 1.4s steps(2,end) infinite; clip-path: inset(0 0 55% 0); color: var(--color-volt-400); opacity: .7; }
.blk-glitch::after { animation: blkGlitchBot 1.7s steps(2,end) infinite; clip-path: inset(55% 0 0 0); color: #5cc8ff; opacity: .6; }
@keyframes blkGlitchTop { 0%{transform:translate(-1px,0)} 18%{transform:translate(-8px,1px)} 100%{transform:translate(-1px,0)} }
@keyframes blkGlitchBot { 0%{transform:translate(1px,0)} 16%{transform:translate(9px,-1px)} 100%{transform:translate(1px,0)} }
@keyframes blkGlitchFlicker { 0%,100%{opacity:.42} 14%{opacity:.5} 52%{opacity:.08} }
@keyframes blkDot { 0%,80%,100%{opacity:.15} 40%{opacity:1} }
.loading-dots span { animation: blkDot 1.4s ease-in-out infinite; }
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }

/* Carousel progress indicator — hidden on desktop (all cards sit side by
   side there); shown only where .products-rail becomes a swipeable
   one-per-screen carousel (<=900px, see media query below). */
.products-progress { display: none; align-items: center; gap: 14px; margin-top: 16px; }
.products-progress__track { flex: 1; min-width: 0; height: 2px; background: var(--color-neutral-800); position: relative; }
.products-progress__fill { position: absolute; left: 0; top: 0; height: 100%; width: 33.3%; background: var(--color-volt-400); transition: width .2s var(--ease-out); }
.products-progress__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--color-neutral-500); flex: none; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-sub { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.partners-sub + .partners-sub { margin-top: 64px; }
.partners-sub__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.partners-sub__rule { flex: 1; height: var(--border-w-hairline); background: var(--border-subtle); }
.partner-clip { overflow: hidden; max-height: none; transition: max-height .3s var(--ease-out); }
.partner-clip[data-open="closed"] { max-height: 211px; }
/* Flat, borderless background across all three subsections (units, funds,
   government) — no dividing lines between/around tiles. The volt hover
   highlight sits on just the logo box, not the whole tile. */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); grid-auto-rows: minmax(0, 210px); gap: 0; }
.partner-tile { background: transparent; border: 0; display: flex; flex-direction: column; }
.partner-tile__logo { flex: 1; min-height: 0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 18px; border: 1px solid transparent; transition: border-color .15s, box-shadow .15s; }
.partner-tile:hover .partner-tile__logo { border-color: var(--color-volt-400); box-shadow: 0 0 24px rgba(200,241,74,0.18); }
.partner-tile__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Some source logo files ship with a lot of dead margin baked into the
   canvas around the mark itself — a per-logo zoom (the "zoom" key in
   partners.html) crops that margin away visually, without touching the
   source file, by scaling the centered image; overflow:hidden above keeps
   it from ever bleeding into neighboring tiles. */
.partner-tile__name { height: 52px; flex: none; padding: 0 12px 16px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 600; color: #fff; }
.more-btn { display: flex; justify-content: center; margin: 20px 0; }
.more-btn button { background: none; border: 0; width: 52px; min-height: 44px; cursor: pointer; color: var(--color-volt-400); font-family: var(--font-mono); font-size: 26px; font-weight: 700; }

/* ============================================================
   MEDIA
   ============================================================ */
.media-wrap { position: relative; }
.media-rail { display: flex; gap: 20px; overflow-x: auto; padding: 0 46px; scrollbar-width: none; }
.media-rail::-webkit-scrollbar { display: none; height: 0; }
.media-card {
  box-sizing: border-box; flex: 0 0 280px; border: 1px solid var(--border-subtle);
  background: linear-gradient(155deg, var(--color-neutral-900) 0%, #000 70%);
  padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.media-card__logo { width: 100%; aspect-ratio: 1/1; position: relative; display: flex; align-items: center; justify-content: center; padding: 16px; }
.media-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rail-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.85);
  border: 1px solid var(--border-default); color: var(--color-neutral-300); cursor: pointer;
  font-family: var(--font-mono); font-size: 18px; transition: border-color .15s, color .15s;
}
.rail-btn:hover { border-color: var(--color-volt-400); color: var(--color-volt-400); }
.rail-btn--left { left: -8px; }
.rail-btn--right { right: -8px; }
.media-note { margin-top: 40px; font-size: 14px; color: var(--color-neutral-400); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: start; }
.contact-info__grid > div { padding: 18px 20px; }
.contact-info__grid .k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-neutral-500); }
.contact-info__grid .v { font-family: var(--font-mono); font-size: 14px; color: #fff; margin-top: 4px; }
.contact-form-panel { position: relative; border: 1px solid var(--border-default); background: linear-gradient(160deg, var(--color-neutral-900), #000); padding: 36px 34px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-neutral-300); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--color-neutral-900); border: 1px solid var(--border-default); color: #fff;
  font-size: 16px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-volt-400); box-shadow: var(--glow-focus); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-error { font-size: 13px; color: var(--color-signal-red); margin: -8px 0 16px; }
.cv-attach { display: flex; flex-direction: column; gap: 8px; border: var(--border-w-hairline) solid var(--border-default); background: var(--color-neutral-900); padding: 16px; margin-bottom: 20px; }
.cv-attach__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cv-attach__btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border: 1px solid var(--border-default); background: #000; color: #fff; padding: 9px 14px; font-size: 13px; }
.cv-attach input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.cv-attach__name { font-family: var(--font-mono); font-size: 12px; color: var(--color-neutral-400); overflow-wrap: anywhere; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: var(--border-w-hairline) solid var(--border-default); background: #000; }
.site-footer .container { padding: 48px 40px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.site-footer img { height: 22px; width: auto; }
.site-footer__tagline { font-size: 13px; color: var(--color-neutral-500); max-width: 420px; text-align: center; }
/* Unwrapped so its two children (social icons, copyright) become direct
   flex items of .container — copyright needs to sit on its own row below
   everything, not grouped with the social icons. */
.site-footer__right { display: contents; }
.site-footer__social { display: flex; align-items: center; gap: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--color-neutral-400); transition: color .15s; }
.site-footer__social a:hover { color: var(--color-volt-400); }
.site-footer__copy-wrap { flex: 1 0 100%; order: 99; text-align: center; }
.site-footer__copy { font-family: var(--font-mono); font-size: 12px; color: var(--color-neutral-600); letter-spacing: 0.08em; }

/* ============================================================
   RESPONSIVE — tablet (<=900px)
   ============================================================ */
@media (max-width: 900px) {
  .hero__title-line, .hero__title em { white-space: normal; }
  .site-header nav { padding: 14px 24px; }
  .container { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 44px 0 64px; }
  .section > .container { padding-top: 64px; padding-bottom: 64px; }

  .burger { display: flex; }
  .nav__social { display: none; }
  .nav__actions > .btn { display: none; }
  .nav__actions { gap: 10px; margin-left: auto; }
  .nav__links {
    order: 3; flex: 0 0 100%; justify-content: flex-start; flex-direction: column; gap: 0;
    display: none; border-top: var(--border-w-hairline) solid var(--border-subtle); padding-top: 8px;
  }
  .nav__links[data-open="true"] { display: flex; background: rgba(0,0,0,0.94); }
  .nav__links a { display: block; width: 100%; padding: 14px 2px; font-size: 15px; border-bottom: var(--border-w-hairline) solid var(--border-subtle); }
  .nav__cta { display: block; padding: 12px 0 4px; }
  .nav__cta .btn { display: flex; width: 100%; }

  [style*="grid-template-columns"], .hgrid, .contact-grid, .form-row { grid-template-columns: minmax(0,1fr) !important; }
  .hero__stats { max-width: 100%; }

  .products-rail { display: flex; overflow-x: auto; gap: 0; scroll-snap-type: x mandatory; padding-bottom: 0; }
  .product-card { flex: 0 0 100%; max-width: 100%; scroll-snap-align: center; }
  .products-progress { display: flex; }

  .partner-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: minmax(0,148px); }
  .partner-tile__name, .partner-tile__name * { font-size: 11px; }
  .partner-clip[data-open="closed"] { max-height: 149px; }

  .media-rail { scroll-snap-type: x mandatory; }
  .media-card { flex: 0 0 100%; max-width: 100%; scroll-snap-align: center; border-left: 0; border-right: 0; padding: 24px 56px; }
  .media-card__logo { max-width: 220px; margin: 0 auto; }
}

/* ============================================================
   RESPONSIVE — phones (<=600px)
   ============================================================ */
@media (max-width: 600px) {
  .site-header nav { padding: 12px 16px; gap: 12px; }
  .nav__logo img { height: 20px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 36px 0 52px; }
  .section > .container { padding-top: 52px; padding-bottom: 52px; }
  /* Row 1: logo (left) + social icons (right), same row.
     Row 2: tagline, centered.
     Row 3: copyright, centered, at the very bottom.
     .site-footer__right is unwrapped via display:contents so its two
     children (social icons, copyright) become direct grid items here —
     they need to land in different rows, not stay grouped together. */
  .site-footer .container {
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 12px 16px; padding-top: 36px; padding-bottom: 36px;
  }
  .site-footer .container > a { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-footer__right { display: contents; }
  .site-footer__social { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-footer__tagline { grid-column: 1 / -1; grid-row: 2; text-align: center; max-width: 100%; font-size: 13px; }
  .site-footer__copy-wrap { grid-column: 1 / -1; grid-row: 3; text-align: center; justify-self: center; }

  h1 { font-size: clamp(27px, 7.6vw, 38px) !important; line-height: 1.08 !important; }
  h2 { font-size: clamp(24px, 7vw, 30px) !important; }
  h3 { font-size: 19px !important; }
  p, li { font-size: 16px !important; line-height: 1.6 !important; }
  .btn { min-height: 46px; font-size: 15px; }
  input, select, textarea { min-height: 46px; font-size: 16px !important; }
  .hero__bg img { object-position: 58% 100%; transform: scale(1.18) translateY(-7%); transform-origin: 58% 100%; }

  /* Media carousel arrows: shown on mobile (hidden by default via the
     desktop rule above being overridden here), pinned flush to the card's
     left/right edges, always volt-green (no hover state on touch), on a
     light dark backdrop so they read against any logo. */
  .rail-btn {
    display: flex; border: 0; background: rgba(0,0,0,0.45); color: var(--color-volt-400);
    font-size: 0; line-height: 1;
  }
  .rail-btn--left { left: 0; }
  .rail-btn--right { right: 0; }
  .rail-btn--left::before { content: "\2039"; font-size: 28px; }
  .rail-btn--right::before { content: "\203a"; font-size: 28px; }
  .media-rail { padding: 0; gap: 0; }
}
