/* =========================================================
   DGD Spółka Jawna
   Design direction: Baltic coast, editorial and squared-off.
   Cool fog neutrals, deep sea-ink, Baltic amber as the one accent.
   Type: Bricolage Grotesque (headings) + Instrument Sans (body).
   ========================================================= */

:root {
  /* colour */
  --fog: #E5ECEC;
  --mist: #F5F8F7;
  --sea: #CBDADC;
  --ink: #0A2733;
  --ink-2: #10384A;
  --ink-3: #1A4C60;
  --muted: #43595F;
  --line: rgba(10, 39, 51, .16);
  --line-strong: rgba(10, 39, 51, .32);
  --line-light: rgba(229, 236, 236, .2);
  --amber: #E39B2D;
  --amber-soft: #F1B655;
  --amber-deep: #8F5400;
  --danger: #B3261E;
  --ok: #1D6A48;

  /* type */
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --section-y: clamp(80px, 10vw, 140px);

  /* shape */
  --r-sm: 3px;
  --r-md: 10px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}

h3 { font-size: 1.25rem; letter-spacing: -.02em; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--amber); }

section[id] { scroll-margin-top: calc(var(--header-h) + 4px); }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.section-lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 54ch;
}

.on-dark { color: var(--fog); }
.on-dark .section-lead { color: rgba(229, 236, 236, .78); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--fog);
  border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 11px 18px; font-size: .95rem; }

.btn--primary { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--fog); }
.on-dark .btn--primary:hover { background: var(--fog); border-color: var(--fog); color: var(--ink); }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--fog); }

.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--fog); }
.btn--dark:hover { background: transparent; color: var(--ink); }

.btn--light { border-color: rgba(229, 236, 236, .6); color: var(--fog); }
.btn--light:hover { background: var(--fog); border-color: var(--fog); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--fog);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-strong); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark { width: 42px; height: 42px; }
.m-bg { fill: var(--ink); }
.m-d { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linejoin: round; }
.m-bar { stroke: var(--fog); stroke-width: 3; stroke-dasharray: 5 4; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand__text small { font-size: .8rem; font-weight: 500; color: var(--muted); }

.nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__list a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-weight: 500;
  font-size: .98rem;
  text-decoration: none;
}
.nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:not(.btn):hover::after,
.nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5.5vw, 80px) 0 clamp(56px, 7vw, 104px); }

.hero__title {
  font-size: clamp(2.7rem, 7.2vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
}

/* an inline picture set into the headline */
.pill {
  display: inline-block;
  width: 1.9em;
  height: .72em;
  margin-inline: .02em;
  vertical-align: -.02em;
  border-radius: 999px;
  overflow: hidden;
  background: var(--ink);
}
.pill svg { width: 100%; height: 100%; }
.p-sky { fill: var(--ink); }
.p-sun { fill: var(--amber); }
.p-sea { fill: var(--ink-3); }
.p-road { fill: #071A23; }
.p-dash { stroke: rgba(229, 236, 236, .5); stroke-width: 2; stroke-dasharray: 12 9; fill: none; }
.p-box { fill: var(--fog); }
.p-stripe { fill: var(--amber); }
.p-cab { fill: var(--sea); }
.p-wheel { fill: #04131A; stroke: var(--fog); stroke-width: 2; }
.p-truck { animation: drive 1.3s var(--ease) .25s backwards; }

@keyframes drive {
  from { transform: translateX(-80px); }
  to   { transform: translateX(0); }
}

.hero__lower {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 24px;
  align-items: start;
  margin-top: clamp(32px, 4.5vw, 64px);
}
.hero__copy { grid-column: 1 / 6; }
.hero__visual { grid-column: 6 / 13; }

.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 46ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1.5px solid var(--ink);
}
.hero__facts dt { font-size: .86rem; color: var(--muted); }
.hero__facts dd { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.25; margin-top: 2px; }

.hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink);
}
.art { width: 100%; height: auto; }

.a-sky { fill: var(--ink); }
.a-ring { fill: none; stroke: rgba(229, 236, 236, .14); stroke-width: 1.5; }
.a-sun { fill: var(--amber); }
.a-sea { fill: var(--ink-3); }
.a-wave { fill: none; stroke: rgba(229, 236, 236, .2); stroke-width: 2; stroke-linecap: round; }
.a-port { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.a-box1 { fill: var(--ink); stroke: none; }
.a-box2 { fill: var(--amber-deep); stroke: none; }
.a-road { fill: #071A23; }
.a-dash { fill: none; stroke: rgba(229, 236, 236, .5); stroke-width: 4; stroke-dasharray: 30 24; }
.a-shadow { fill: rgba(0, 0, 0, .3); }
.a-trailer { fill: var(--fog); }
.a-stripe { fill: var(--amber); }
.a-cab { fill: var(--sea); }
.a-glass { fill: var(--ink-2); }
.a-dark { fill: #04131A; }
.a-hub { fill: var(--sea); }
.a-light { fill: var(--amber-soft); }

.hero__tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 6px 12px;
  background: var(--amber);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 999px;
}

.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 36px);
  padding: 14px 20px 14px 16px;
  background: var(--fog);
  color: var(--ink);
  border-radius: var(--r-md);
}
.hero__badge .icon { color: var(--amber-deep); width: 30px; height: 30px; }
.hero__badge p { display: flex; flex-direction: column; line-height: 1.3; font-size: .9rem; }
.hero__badge strong { font-family: var(--font-head); font-size: 1.02rem; letter-spacing: -.01em; }
.hero__badge span { color: var(--muted); }

/* ---------- Vehicle band ---------- */
.band { background: var(--amber); color: var(--ink); padding: 17px 0; }
.band__list { display: flex; flex-wrap: wrap; gap: 8px 38px; font-weight: 600; font-size: 1rem; }
.band__list li { display: inline-flex; align-items: center; gap: 12px; }
.band__list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* ---------- About ---------- */
.about { background: var(--mist); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(32px, 4.5vw, 64px) 24px;
}
.about__intro { grid-column: 1 / 10; }
.about__media { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 24px; }
.about__body { grid-column: 7 / 13; }

.figure { border-radius: var(--r-md); overflow: hidden; background: var(--ink); }
.lineup { width: 100%; height: auto; }
.b-bg { fill: var(--ink-3); }
.b-sun { fill: var(--amber); }
.b-ring { fill: none; stroke: rgba(229, 236, 236, .16); stroke-width: 1.5; }
.b-ground { fill: var(--ink); }
.b-line { stroke: rgba(229, 236, 236, .3); stroke-width: 2; }
.lineup use {
  fill: none;
  stroke: var(--fog);
  color: var(--fog);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lineup use.is-accent { stroke: var(--amber); color: var(--amber); }
.figure figcaption { padding: 14px 20px; background: var(--ink); color: rgba(229, 236, 236, .85); font-size: .92rem; }

.glance {
  padding: 8px 26px 12px;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
}
.glance__title { padding: 18px 0 10px; font-size: 1.2rem; }
.glance dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: .97rem;
}
.glance dt { color: var(--muted); }
.glance dd { font-weight: 500; }

.about__lead {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.015em;
  margin-bottom: 26px;
  text-wrap: pretty;
}
.about__body > p + p { margin-top: 18px; max-width: 62ch; color: var(--muted); }

.principles { margin-top: 40px; border-bottom: 1px solid var(--line-strong); }
.principles li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
}
.principles .icon { width: 30px; height: 30px; margin-top: 2px; color: var(--amber-deep); }
.principles h3 { font-size: 1.15rem; margin-bottom: 2px; }
.principles p { color: var(--muted); font-size: .98rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.stats li { padding: 28px 24px 30px; }
.stats li + li { border-left: 1px solid var(--line-strong); }
.stats li:first-child { padding-left: 0; }
.stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: .96rem; line-height: 1.45; max-width: 24ch; }

/* ---------- Services ---------- */
.services { background: var(--sea); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px 24px;
  align-items: start;
}
.services__aside {
  grid-column: 1 / 5;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.services__aside .btn { margin-top: 4px; }
.services__list { grid-column: 6 / 13; border-bottom: 1.5px solid var(--ink); }

.note {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  padding: 18px 20px;
  background: var(--mist);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .96rem;
  line-height: 1.55;
}
.note .icon { color: var(--amber-deep); margin-top: 2px; }
.note strong { font-weight: 600; }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1.5px solid var(--ink);
}
.service::after {
  content: "";
  position: absolute;
  left: 0; top: -1.5px;
  width: 100%; height: 4px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service__icon {
  width: 76px; height: 76px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--mist);
  transition: background-color .3s, color .3s;
}
.service__icon .icon { width: 44px; height: 44px; stroke-width: 1.8; }
.service h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 10px; }
.service p { color: var(--muted); max-width: 56ch; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li {
  padding: 4px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 500;
}

@media (hover: hover) {
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service__icon { background: var(--ink); color: var(--amber); }
}

/* ---------- Process ---------- */
.process { background: var(--fog); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
}
.step { position: relative; padding-top: 34px; border-top: 2px solid var(--ink); }
.step::before {
  content: "";
  position: absolute;
  top: -9px; left: 0;
  width: 16px; height: 16px;
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.step__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: clamp(4rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 30ch; }

.note--wide { max-width: 760px; margin: clamp(48px, 6vw, 72px) 0 0; background: #fff; }

/* ---------- Benefits ---------- */
.benefits { background: var(--ink); }
.benefits__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.benefits__head h2 { grid-column: 1 / 8; }
.benefits__head .section-lead { grid-column: 9 / 13; margin-top: 0; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento__item {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  transition: border-color .3s, background-color .3s;
}
.bento__item .icon { width: 34px; height: 34px; color: var(--amber); margin-bottom: 4px; }
.bento__item h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.bento__item p { color: rgba(229, 236, 236, .78); max-width: 48ch; }

.bento__item--lead {
  grid-row: span 2;
  justify-content: space-between;
  gap: 40px;
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.bento__item--lead .icon { color: var(--ink); width: 44px; height: 44px; margin-bottom: 22px; }
.bento__item--lead h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.bento__item--lead p { color: rgba(10, 39, 51, .85); font-size: 1.1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 15px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}

@media (hover: hover) {
  .bento__item:not(.bento__item--lead):hover { border-color: var(--amber); background: rgba(229, 236, 236, .05); }
  .bento__item--lead:hover { background: var(--amber-soft); border-color: var(--amber-soft); }
}

/* ---------- FAQ ---------- */
.faq { background: var(--mist); }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 24px;
  align-items: start;
}
.faq__head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 40px); }
.faq__head a { font-weight: 600; text-underline-offset: 3px; }
.faq__list { grid-column: 6 / 13; border-bottom: 1.5px solid var(--ink); }

.faq__item { border-top: 1.5px solid var(--ink); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 32px; height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: background-size .25s var(--ease), background-color .25s, border-color .25s;
}
.faq__item[open] summary::after {
  background-color: var(--amber);
  border-color: var(--amber);
  background-size: 12px 1.5px, 1.5px 0;
}
.faq__answer { padding: 0 56px 26px 0; max-width: 64ch; color: var(--muted); }
.faq__item[open] .faq__answer { animation: answer .35s var(--ease); }

@keyframes answer {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Contact ---------- */
.contact { background: var(--fog); }
.contact__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

.contact__wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
}
.contact__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: clamp(28px, 4vw, 56px);
  background: var(--ink);
}
.contact__info h3 { font-size: 1.6rem; }
.contact__list { display: flex; flex-direction: column; gap: 26px; }
.contact__list li { display: flex; gap: 16px; }
.contact__list .icon { color: var(--amber); margin-top: 2px; }
.contact__label { display: block; font-size: .86rem; color: rgba(229, 236, 236, .66); margin-bottom: 2px; }
.contact__list address, .contact__list p, .contact__list a { font-size: 1.02rem; line-height: 1.5; }
.contact__list a { font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.contact__list a:hover { color: var(--amber-soft); }

.contact__form { padding: clamp(28px, 4vw, 56px); background: var(--mist); }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: .92rem; font-weight: 600; }
.req { color: var(--amber-deep); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230A2733' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:not([type="checkbox"]):hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:not([type="checkbox"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--amber);
}

.field.has-error input:not([type="checkbox"]),
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; font-weight: 500; }
.field__error:empty { display: none; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; font-weight: 400 !important; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__hint { font-size: .88rem; color: var(--muted); max-width: 38ch; line-height: 1.45; }

.form__status { display: none; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 500; font-size: .98rem; }
.form__status.is-success { display: block; background: #DDEEE5; color: #134B32; border: 1px solid #9CC9B2; }
.form__status.is-error { display: block; background: #F8E1DF; color: #7F1D18; border: 1px solid #E3A9A5; }
.form__status a { font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }

.footer__top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__legal {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  max-width: 22ch;
}
.footer__brand p:last-child { color: rgba(229, 236, 236, .72); max-width: 38ch; font-size: .98rem; }
.footer__title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; color: var(--amber); }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { text-decoration: none; color: rgba(229, 236, 236, .86); }
.footer__col a:hover { color: var(--amber-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer__col address, .footer__plain { color: rgba(229, 236, 236, .78); font-size: .98rem; line-height: 1.7; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
  font-size: .9rem;
  color: rgba(229, 236, 236, .66);
}
.footer__bottom a { color: rgba(229, 236, 236, .86); text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--amber-soft); }

.footer__word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(7rem, 26vw, 24rem);
  line-height: .76;
  letter-spacing: -.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(229, 236, 236, .16);
  user-select: none;
  white-space: nowrap;
  padding-top: 8px;
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible {
  opacity: 1;
  animation: rise .75s var(--ease) backwards;
  animation-delay: calc(var(--d, 0) * 90ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 32px;
    background: var(--fog);
    border-bottom: 1.5px solid var(--ink);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a:not(.btn) { display: block; padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 22px; }
  .nav__cta .btn { width: 100%; padding: 15px 20px; font-size: 1rem; }

  .hero__copy { grid-column: 1 / -1; }
  .hero__visual { grid-column: 1 / -1; }
  .hero__lead { max-width: 60ch; }

  .about__intro, .about__media, .about__body { grid-column: 1 / -1; }
  .about__body { order: 2; }
  .about__media { order: 3; }

  .services__aside, .faq__head { grid-column: 1 / -1; position: static; }
  .services__list, .faq__list { grid-column: 1 / -1; }

  .benefits__head h2, .benefits__head .section-lead { grid-column: 1 / -1; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }

  .bento__item--lead { grid-column: 1 / -1; grid-row: auto; }

  .contact__wrap { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:first-child { padding-left: 24px; }
  .stats li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line-strong); }

  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__facts > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
  .hero__facts dd { margin-top: 0; text-align: right; }

  .hero__badge { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 10px 14px 10px 12px; }
  .hero__badge span { display: none; }
  .hero__tag { top: 12px; left: 12px; }

  .glance dl > div { grid-template-columns: 1fr; gap: 2px; }

  .service { grid-template-columns: 56px 1fr; gap: 18px; padding: 28px 0; }
  .service__icon { width: 56px; height: 56px; }
  .service__icon .icon { width: 32px; height: 32px; }

  .steps { grid-template-columns: 1fr; }

  .bento { grid-template-columns: 1fr; }
  .bento__item { grid-column: 1 / -1; }

  .form__grid { grid-template-columns: 1fr; }
  .faq__answer { padding-right: 0; }
}

@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .form__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; }
}
