@charset "UTF-8";
@import url("fonts.css");

/* =========================================================
   Gremat Kozijnen — arkusz główny
   Paleta i proporcje odwzorowane 1:1 z makiety (gremat.jpg)
   ========================================================= */

:root {
  --navy-950: #000c1a;
  --navy-900: #000f1f;
  --navy-850: #001123;
  --navy-800: #00152a;
  --navy-750: #06182c;
  --navy-700: #081e36;
  --navy-650: #0a2744;
  --navy-600: #0d1f37;

  --blue: #0284f2;
  --blue-hover: #1b92ff;
  --blue-dark: #0268c2;
  --blue-light: #38a6f1;

  --fg: #ffffff;
  --fg-soft: #d2dde9;
  --fg-muted: #9db0c4;
  --fg-dim: #7d91a7;
  --required: #e8637c;

  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);

  --container: 1240px;
  --gutter: 24px;
  --nav-h: 76px;
  --radius: 4px;

  /* szerokość strony bez paska przewijania; main.js podaje dokładną wartość */
  --page: 100vw;
  /* odległość od krawędzi okna do pierwszej litery w kontenerze */
  --edge: max(var(--gutter), calc((var(--page) - var(--container)) / 2 + var(--gutter)));

  --ff-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* clip zamiast hidden — nie tworzy kontekstu przewijania,
     więc nie psuje position: sticky w nagłówku */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--navy-800);
  color: var(--fg);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
/* <picture> znika z układu, więc dotychczasowe reguły celujące w img działają dalej */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.015em;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--ff-head);
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------
   Ikony
   --------------------------------------------------------- */
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------
   Logo
   --------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo__mark { width: 38px; height: 46px; display: block; }
.logo__type {
  display: flex;
  flex-direction: column;
  font-family: var(--ff-head);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
}
.logo__name {
  position: relative;
  font-size: 25px;
  color: #fff;
  padding-right: 7px;
}
.logo__name::after {
  content: "\00AE";
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 9px;
  font-weight: 600;
}
.logo__sub {
  font-size: 22px;
  color: var(--blue);
  letter-spacing: 0.015em;
}

/* ---------------------------------------------------------
   Nagłówek
   --------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-800);
  border-bottom: 1px solid var(--line-soft);
}
.topbar__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.nav__link {
  position: relative;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  padding: 6px 0;
  transition: color 0.18s ease;
}
.nav__link:hover { color: var(--blue-light); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { transform: scaleX(1); }

/* przełącznik języka */
.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 14px;
}
.lang__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fg-dim);
  transition: color 0.18s ease, opacity 0.18s ease;
  opacity: 0.75;
}
.lang__item:hover { color: var(--fg); opacity: 1; }
.lang__item[aria-current="true"] {
  color: var(--fg);
  opacity: 1;
  cursor: default;
}
.lang__sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.28);
}
.flag {
  width: 23px;
  height: 15px;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-800);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0 0 0 31%;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--navy-800) 0%,
      rgba(0, 21, 42, 0.92) 10%,
      rgba(0, 21, 42, 0.45) 26%,
      rgba(0, 21, 42, 0) 46%),
    linear-gradient(180deg, rgba(0, 21, 42, 0.25) 0%, rgba(0, 21, 42, 0) 35%);
}

.hero__inner {
  position: relative;
  min-height: clamp(440px, 34vw, 560px);
  display: flex;
  align-items: center;
  padding-block: 54px;
}
.hero__content { max-width: 560px; }

.hero__kicker {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.16em;
  color: var(--blue-light);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.07;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title .is-accent { color: var(--blue-light); }

.hero__lead {
  margin-top: 20px;
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--fg-soft);
  max-width: 30em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* okrągła plakietka promocyjna */
.hero__badge {
  position: absolute;
  left: 66.6%;
  top: 47.5%;
  /* nad przyciemniającym gradientem .hero__media::after */
  z-index: 2;
  transform: translate(-50%, -50%);
  width: clamp(132px, 14.5vw, 196px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(3, 21, 42, 0.95);
  border: 2px solid rgba(56, 166, 241, 0.75);
  /* rozległy, miękki cień wtapia plakietkę w zdjęcie */
  box-shadow: 0 0 0 10px rgba(1, 18, 36, 0.4), 0 0 58px 26px rgba(1, 18, 36, 0.6),
    0 12px 36px rgba(0, 0, 0, 0.45);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  text-align: center;
  padding: 8px;
  transform-origin: center;
  rotate: -7deg;
}
.hero__badge .icon {
  width: clamp(13px, 1.3vw, 18px);
  height: clamp(13px, 1.3vw, 18px);
  color: var(--blue-light);
  stroke-width: 1.6;
}
.hero__badge b,
.hero__badge i {
  font-family: var(--ff-head);
  font-style: normal;
  text-transform: uppercase;
  line-height: 1.16;
  display: block;
}
.hero__badge b {
  font-weight: 700;
  font-size: clamp(11px, 1.18vw, 16px);
  letter-spacing: 0.01em;
}
.hero__badge i {
  font-weight: 600;
  font-size: clamp(9px, 0.95vw, 13px);
  color: var(--fg-soft);
}

/* ---------------------------------------------------------
   Przyciski
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    transform 0.18s ease, color 0.18s ease;
}
.btn .icon { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

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

.btn--block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-light);
}
.link-more .icon { width: 16px; height: 16px; transition: transform 0.2s ease; }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------------------------------------------------------
   Pasek korzyści
   --------------------------------------------------------- */
.usp {
  background: var(--navy-900);
  border-top: 1px solid var(--line-soft);
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px 20px;
  padding-block: 34px;
}
.usp__item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.usp__item .icon {
  width: 36px;
  height: 36px;
  color: #fff;
  stroke-width: 1.5;
}
.usp__text { min-width: 0; }
.usp__text b {
  display: block;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.usp__text span {
  display: block;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.35;
}

/* ---------------------------------------------------------
   Pasek marek
   --------------------------------------------------------- */
.brands {
  background: var(--navy-850);
  border-block: 1px solid var(--line-soft);
}
.brands__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  padding-block: 22px;
}
.brands__grid img {
  height: 38px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}
.brands__grid img:hover { opacity: 1; }

/* ---------------------------------------------------------
   Oferta — trzy karty
   --------------------------------------------------------- */
.offer {
  background: linear-gradient(180deg, var(--navy-650) 0%, var(--navy-700) 46%, #041830 100%);
}
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-block: 18px 34px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 0 0 6px;
  position: relative;
}
.card + .card::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-soft);
}
.card__media {
  position: relative;
  aspect-ratio: 306 / 232;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.035); }
.card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(6, 26, 48, 0) 0%, rgba(6, 26, 48, 0.72) 62%, #061a30 100%);
}
.card__body { padding: 16px 4px 0; }
.card__title {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}
.card__desc {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 34ch;
}

/* ---------------------------------------------------------
   Dlaczego my
   --------------------------------------------------------- */
.why {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #01152a 0%, #02203f 52%, #042a51 100%);
}
.why__bg {
  position: absolute;
  inset: 0 0 0 54%;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  /* druga deklaracja wygrywa tam, gdzie image-set jest znane; reszta bierze JPG */
  background-image: url("../img/why-bg.jpg");
  background-image: image-set(
    url("../img/why-bg.webp") type("image/webp"),
    url("../img/why-bg.jpg") type("image/jpeg")
  );
  opacity: 0.55;
}
.why__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #02203f 0%, rgba(2, 32, 63, 0.55) 34%, rgba(2, 32, 63, 0) 72%);
}
.why__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px 20px;
  padding-block: 42px;
  max-width: 76%;
}
.why__item .icon {
  width: 42px;
  height: 42px;
  color: var(--blue-light);
  stroke-width: 1.4;
  margin-bottom: 16px;
}
.why__item p {
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg);
  text-wrap: balance;
}

/* ---------------------------------------------------------
   Wycena + salon
   --------------------------------------------------------- */
.quote {
  display: grid;
  grid-template-columns: 44% 56%;
  background: var(--navy-950);
}
.quote__form-col {
  /* lewa krawędź formularza na tej samej osi co reszta treści */
  padding: 48px clamp(24px, 3.2vw, 46px) 52px var(--edge);
}
.quote__form-inner { width: min(100%, 520px); }

.quote__title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}
.quote__lead {
  color: var(--fg-soft);
  font-size: 15.5px;
  margin-bottom: 26px;
  max-width: 38ch;
}

.form { display: grid; gap: 12px; }
.field { position: relative; display: block; }
.field__label {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14.5px;
  color: var(--fg-dim);
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.field--area .field__label { top: 19px; transform: none; }
.field__label .req { color: var(--required); }

.input,
.select,
.textarea {
  width: 100%;
  background: var(--navy-600);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 15px;
  padding: 15px 17px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
  appearance: none;
}
.textarea { min-height: 104px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.16); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #102542;
}
.input:focus + .field__label,
.textarea:focus + .field__label,
.input:not(:placeholder-shown) + .field__label,
.textarea:not(:placeholder-shown) + .field__label { opacity: 0; }

.select {
  color: var(--fg-dim);
  padding-right: 44px;
  cursor: pointer;
}
.select.has-value { color: #fff; }
.select option { background: var(--navy-600); color: #fff; }
.field--select { position: relative; }
.field--select .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--fg-muted);
  pointer-events: none;
}

.form__status {
  font-size: 14.5px;
  line-height: 1.45;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.form__status[hidden] { display: none; }
.form__status.is-ok {
  color: #9fe6bf;
  background: rgba(32, 160, 96, 0.12);
  border-color: rgba(32, 160, 96, 0.4);
}
.form__status.is-error {
  color: #ffb3bf;
  background: rgba(232, 99, 124, 0.12);
  border-color: rgba(232, 99, 124, 0.4);
}
.input[aria-invalid="true"],
.select[aria-invalid="true"] { border-color: var(--required); }

.quote__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.quote__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 12, 26, 0.1) 0%, rgba(0, 12, 26, 0.55) 48%, rgba(0, 12, 26, 0.92) 100%);
}
.quote__salon {
  position: relative;
  z-index: 1;
  padding: 0 clamp(24px, 3.4vw, 48px) clamp(34px, 3.6vw, 52px);
}
.quote__salon h3 {
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
}
.quote__addr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
}
.quote__addr .icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
  margin-top: -2px;
}

/* ---------------------------------------------------------
   Stopka
   --------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--line-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr auto;
  align-items: center;
  gap: 28px 34px;
  padding-block: 34px;
}
.footer__col {
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-soft);
}
.footer__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}
.footer__row .icon {
  width: 21px;
  height: 21px;
  color: #fff;
  margin-top: 2px;
}
.footer__row a:hover { color: var(--blue-light); }
/* osadzona mapa OpenStreetMap; warstwa <a> na wierzchu sprawia,
   że kafelek zachowuje się jak miniatura i nie przechwytuje przewijania */
.footer__map {
  position: relative;
  width: 290px;
  aspect-ratio: 29 / 17;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e2db;
  transition: border-color 0.2s ease;
}
.footer__map:hover { border-color: var(--blue); }
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9);
}
.footer__map > a {
  position: absolute;
  inset: 0;
  display: block;
}

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  background: var(--navy-850);
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__legal a:hover { color: #fff; }
.footer__legal span { color: rgba(255, 255, 255, 0.22); }

/* ---------------------------------------------------------
   Responsywność
   --------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .nav__link { font-size: 14px; }
  .hero__media { inset: 0 0 0 36%; }
  .why__grid { max-width: 82%; }
}

@media (max-width: 1024px) {
  .usp__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
  .why__bg { inset: 0 0 0 68%; opacity: 0.35; }
  .brands__grid { justify-content: center; gap: 18px 30px; }
  .brands__grid img { height: 30px; }

  /* pięciokolumnowa stopka nie mieści się poniżej ~1050 px */
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px 32px;
  }
  .footer__map { width: 100%; max-width: 290px; }
  .quote { grid-template-columns: 1fr; }
  .quote__form-col { padding-inline: var(--gutter); }
  .quote__form-inner { width: min(100%, 620px); }
  .quote__visual { min-height: 340px; }
  .quote__salon { padding-inline: var(--gutter); }
}

/* nawigacja mobilna */
@media (max-width: 980px) {
  :root { --nav-h: 66px; }

  .burger { display: block; order: 3; }
  .lang { order: 2; margin-left: auto; }

  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--navy-850);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    padding: 14px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__link::after { display: none; }

  .logo__mark { width: 32px; height: 39px; }
  .logo__name { font-size: 21px; }
  .logo__sub { font-size: 18.5px; }

  .hero__media { inset: 0; }
  .hero__media img { object-position: 62% center; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(0, 18, 36, 0.86) 0%, rgba(0, 18, 36, 0.66) 42%, rgba(0, 16, 32, 0.9) 100%),
      linear-gradient(90deg, rgba(0, 18, 36, 0.78) 0%, rgba(0, 18, 36, 0.2) 70%);
  }
  .hero__inner { min-height: 0; padding-block: 46px 190px; }
  .hero__badge {
    left: auto;
    right: 6%;
    top: auto;
    bottom: 26px;
    transform: none;
    width: 142px;
  }
  .offer__grid { grid-template-columns: 1fr 1fr; }
  .card + .card::before { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }

  .usp__grid { grid-template-columns: repeat(2, 1fr); padding-block: 28px; }
  .brands__grid { gap: 20px 26px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); padding-block: 34px; }
  .why__bg { inset: 0; opacity: 0.18; }
  .why__bg::after { background: linear-gradient(90deg, rgba(2, 32, 63, 0.82) 0%, rgba(2, 32, 63, 0.4) 100%); }
  .why__item p { max-width: none; }

  .offer__grid { grid-template-columns: 1fr; gap: 26px; padding-block: 26px 34px; }
  .card__media { aspect-ratio: 16 / 10; }
  .card__desc { max-width: none; }

  .footer__grid { gap: 24px 26px; }
}

@media (max-width: 520px) {
  .hero__title { font-size: clamp(29px, 8.4vw, 38px); }
  .hero__kicker { letter-spacing: 0.13em; }
  .hero__lead { font-size: 15px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__inner { padding-block: 38px 168px; }
  .hero__badge { width: 124px; right: 50%; transform: translateX(50%); }

  .usp__grid { grid-template-columns: 1fr; gap: 18px; }
  .usp__item .icon { width: 30px; height: 30px; }

  .brands__grid { gap: 18px 24px; padding-block: 20px; }
  .brands__grid img { height: 26px; }

  .why__grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .why__item .icon { width: 34px; height: 34px; margin-bottom: 10px; }
  .why__item p { font-size: 14px; }

  .quote__form-col { padding-block: 36px 40px; }
  .quote__visual { min-height: 280px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .logo__name { font-size: 19px; }
  .logo__sub { font-size: 17px; }
  .logo__mark { width: 28px; height: 35px; }
  .logo { gap: 9px; }
  .lang { gap: 7px; font-size: 13px; }
  .flag { width: 20px; height: 13px; }
  .hero__badge { width: 116px; }
  .why__item .icon { margin-bottom: 8px; }
  .why__item p { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
