/* ============================================================
   HM Schoonmaakdiensten — Royal Blue editie
   Rustig, vol beeld, weinig tekst. Gebaseerd op de opbouw:
   hero → partners → persoonlijk contact/chat → branches → werkgebied → offerte.
   ============================================================ */

:root {
  --paper: #f5f6f8;
  --surface: #ffffff;
  --ink: #0a1120;
  --ink-2: #3d4557;
  --muted: #707887;
  --blue: #2f4fd1;
  --blue-2: #4169e1;
  --blue-3: #e9eefc;
  --line: #e0e3ea;
  --line-2: #cdd2dc;
  --navy: #0a1120;
  --navy-2: #111c33;
  --navy-blue: #1d283e;
  --accent: #7c65ab;
  --accent-dark: #6a5398;
  --whatsapp: #25d366;
  --white: #ffffff;
  --danger: #b42318;
  --focus: #8fb0ff;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --max: 1840px;
  --gutter: clamp(20px, 3vw, 48px);
  --section-pad: clamp(56px, 7vw, 96px);
  --header-h: 76px;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--surface);
  z-index: 60;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Iconen ---------- */

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 24px;
  height: 24px;
}

/* ---------- Tekst en knoppen ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--accent);
}

.kicker--light {
  color: #cdd9ff;
}

.kicker--light::before {
  background: #cdd9ff;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-lead {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.btn .icon {
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--line {
  border-color: var(--line-2);
  background: transparent;
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--light {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn--light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.btn--text {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 600;
}

.btn--text:hover {
  color: var(--blue-2);
}

.btn--sm {
  padding: 11px 15px;
  font-size: 0.82rem;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(10, 17, 32, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  width: auto;
  height: 34px;
}

.brand__text {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--blue);
}

.brand__tag {
  margin-top: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="location"] {
  color: var(--accent);
}

.nav a:hover::after,
.nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 8px 18px;
}

.mobile-nav__link {
  display: block;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 600;
}

.mobile-nav__link:hover {
  color: var(--accent);
}

.mobile-nav__actions {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.mobile-nav__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.mobile-nav__contact a {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 76vh, 740px);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      0deg,
      rgba(10, 17, 32, 0.97) 0%,
      rgba(10, 17, 32, 0.78) 30%,
      rgba(10, 17, 32, 0.28) 62%,
      rgba(10, 17, 32, 0.1) 100%
    ),
    linear-gradient(90deg, rgba(10, 17, 32, 0.82), transparent 65%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}

.hero__copy {
  max-width: 720px;
}

.hero h1 {
  max-width: 900px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 4.4vw, 4.7rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--accent);
}

.hero__lead {
  max-width: 48ch;
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.hero__form {
  width: 100%;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.hero-form__head {
  margin-bottom: 16px;
}

.hero-form__head .kicker {
  color: var(--accent);
}

.hero-form__head h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.hero__form form {
  display: grid;
  gap: 12px;
}

.hero-form__note {
  margin-top: 2px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-form__status {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- Partners ---------- */

.partners {
  background: var(--surface);
}

.marquee {
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  padding-block: 32px 38px;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  animation: partner-scroll 60s linear infinite;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.partner-logo {
  display: block;
  flex: 0 0 auto;
  -webkit-user-drag: none;
  user-select: none;
  width: auto;
  height: 42px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #9aa3b5;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.partner-logo--teds {
  letter-spacing: 0.14em;
}

.partner-logo--edzo {
  font-weight: 500;
  letter-spacing: 0.3em;
}

.partner-logo--ventures {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-logo--partner7 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.partner-logo:hover {
  opacity: 1;
}

@keyframes partner-scroll {
  to {
    transform: translateX(-50%);
  }
}


.partner-logo--nike {
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.partner-logo--adidas {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  font-size: 1.3rem;
}

.partner-logo--puma {
  font-weight: 800;
  letter-spacing: 0.1em;
}

.partner-logo--moncler {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.18em;
}

.partner-logo--gucci {
  font-weight: 700;
  letter-spacing: 0.2em;
}

.partner-logo--lv {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}

/* ---------- Chat / persoonlijk contact ---------- */

.community-chat {
  background: var(--surface);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.community-chat__inner {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
  padding: 84px 40px;
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.chat-card {
  width: 520px;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 44px;
  background: var(--navy-blue);
  box-shadow: 0 30px 60px rgba(10, 17, 32, 0.2);
}

.chat-viewport {
  width: 100%;
  height: 311px;
  overflow: hidden;
}

.chat-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 2px;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.chat-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-card__message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 93px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(124, 101, 171, 0.62);
  color: var(--white);
}

.chat-card__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.chat-card__name {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.chat-card__text {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.community-chat__copy {
  min-width: 0;
}

.community-chat__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-transform: uppercase;
  color: var(--ink);
}

.community-chat__dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--whatsapp);
}

.community-chat__title {
  margin: 8px 0 18px;
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.community-chat__desc {
  max-width: 672px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}

.community-chat__desc p {
  margin: 0;
}

/* ---------- Branches ---------- */

.branches__head {
  margin-bottom: clamp(26px, 3.5vw, 40px);
  text-align: center;
}

.branches__title {
  display: inline-block;
  padding-bottom: 4px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #1d283e;
}

.branches__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--accent);
}


.branches {
  padding-block: var(--section-pad) clamp(72px, 8vw, 112px);
  background: rgba(124, 101, 171, 0.06);
}

.branches__wrap {
  width: 100%;
  padding-left: max(16px, 1.2vw, env(safe-area-inset-left, 0px));
  padding-right: max(16px, 1.2vw, env(safe-area-inset-right, 0px));
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}

.branch-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 0.2s ease;
}

.branch-card:hover {
  border-color: var(--accent);
}

.branch-card__media {
  display: block;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: var(--blue-3);
}

.branch-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.branch-card:hover .branch-card__media img {
  transform: scale(1.03);
}

.branch-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-height: 185px;
  padding: 18px 18px 16px;
}

.branch-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.branch-card__footer .branch-card__tags {
  margin-top: 0;
  padding-top: 0;
}

.branch-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.branch-card:hover .branch-card__arrow {
  background: var(--accent-dark);
  transform: translateX(2px);
}

.branch-card h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.branch-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.branch-card__tags {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}


.branch-slider-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.branch-slider__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.branch-slider__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.branch-slider__arrow .icon {
  width: 17px;
  height: 17px;
}

.branch-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.branch-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-2);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.branch-dot.is-active {
  width: 20px;
  background: var(--accent);
}


/* ---------- Werkgebied ---------- */

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: clamp(96px, 5cm, 190px);
  align-items: center;
  margin-top: 0;
}

.coverage-section {
  background: var(--surface);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.coverage-inner {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
  padding: 84px 40px;
}

.coverage__intro h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #1d283e;
}

.coverage__intro p {
  max-width: 38ch;
  margin-top: 12px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.coverage__list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.coverage__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.coverage__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
}

.coverage__map-wrap {
  grid-column: auto;
  width: 100%;
  max-width: 520px;
  justify-self: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgba(10, 17, 32, 0.06);
}

.coverage-map {
  display: block;
  width: 100%;
  height: auto;
}

.map-country {
  fill: #eef0f4;
  stroke: #cdd2dc;
  stroke-width: 1.2;
}

.map-region {
  fill: rgba(124, 101, 171, 0.18);
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.map-city {
  fill: var(--accent);
  stroke: var(--white);
  stroke-width: 2;
}

.map-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  fill: #1d283e;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linejoin: round;
}

.map-label--country {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--muted);
  stroke: none;
}

@media (max-width: 1160px) {
  .coverage {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .coverage__intro,
  .coverage__map-wrap {
    grid-column: auto;
  }

  .coverage-inner {
    padding: 56px 20px;
  }

  .coverage__map-wrap {
    max-width: 640px;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .coverage__map-wrap {
    padding: 12px;
  }
}

/* ---------- Offerte ---------- */

.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-pad);
  background: var(--navy);
  color: var(--white);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.quote__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.6);
}

.quote > .shell {
  position: relative;
  z-index: 1;
}

.quote__inner {
  display: flex;
  justify-content: center;
}

.quote__inner > .quote__panel {
  width: min(1000px, 100%);
}

.quote__panel-head {
  margin-bottom: 24px;
  text-align: center;
}

.quote__panel-head h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.quote__panel-head p {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.quote__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #1d283e;
  text-wrap: balance;
}

.quote__intro h2 span {
  color: var(--accent);
}

.quote__intro p {
  max-width: 42ch;
  margin-top: 16px;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-2);
}

.quote__panel {
  width: 100%;
  min-width: 0;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

.stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.stepper__step {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.stepper__bar {
  height: 3px;
  overflow: hidden;
  background: var(--line);
}

.stepper__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.stepper__label {
  overflow: hidden;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stepper__step.is-done .stepper__bar span,
.stepper__step.is-active .stepper__bar span {
  width: 100%;
}

.stepper__step.is-active .stepper__label {
  color: var(--accent);
}

.form-step:focus {
  outline: none;
}

.form-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.form-hint {
  margin-top: 5px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 0.16s ease, background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.option:hover {
  border-color: var(--line-2);
}

.option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.option__dot {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.option__dot::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.16s ease;
}

.option:has(input:checked) {
  border-color: var(--blue-2);
  background: var(--blue-3);
  box-shadow: inset 0 0 0 1px var(--blue-2);
}

.option:has(input:checked) .option__dot {
  border-color: var(--blue-2);
  background: var(--blue-2);
}

.option:has(input:checked) .option__dot::after {
  opacity: 1;
}

.option:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.option-group + .option-group {
  margin-top: 18px;
}

.option-group__title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-2);
}

.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.9rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea {
  min-height: 82px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa3b5;
}

.form-error {
  min-height: 1.2em;
  margin-top: 9px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--danger);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.form-actions__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.quote__form-note {
  margin-top: 13px;
  font-size: 0.73rem;
  line-height: 1.55;
  color: var(--muted);
}

.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--blue-2);
}

.quote-summary {
  display: grid;
  gap: 14px;
}

.quote-summary h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.quote-summary > p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.summary-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 16px;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.84rem;
}

.summary-list dt {
  font-weight: 600;
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.copy-note {
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--muted);
}

.copy-note a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 48px 22px;
  background: var(--navy-blue);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 38px;
  padding-bottom: 32px;
}

.footer__brand .brand__tag {
  color: rgba(255, 255, 255, 0.6);
}

.footer__brand p {
  max-width: 34ch;
  margin-top: 14px;
  line-height: 1.7;
}

.footer h3 {
  margin-bottom: 12px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.footer ul {
  display: grid;
  gap: 7px;
  list-style: none;
}

.footer a:hover {
  color: var(--white);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.footer__contact .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #dbe4ff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__legal button,
.footer__legal a {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal button:hover,
.footer__legal a:hover {
  color: var(--white);
}

/* ---------- Dialoog ---------- */

.privacy-dialog {
  width: 100%;
  max-width: min(720px, calc(100vw - 32px));
  max-height: min(84vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(8, 16, 35, 0.35);
}

.privacy-dialog::backdrop {
  background: rgba(8, 16, 35, 0.64);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.dialog__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.dialog__head h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
}

.icon-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.dialog__body {
  max-height: calc(min(84vh, 760px) - 70px);
  overflow-y: auto;
  padding: 20px 22px 26px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-2);
}

.dialog__body h3 {
  margin: 18px 0 5px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
}

.dialog__body p {
  margin-bottom: 9px;
}

.dialog__body ul {
  margin: 0 0 9px;
  padding-left: 19px;
}

.dialog__body a {
  color: var(--blue);
  font-weight: 600;
}

.dialog__updated {
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- Responsief ---------- */

@media (max-width: 1160px) {
  .branch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav {
    gap: 18px;
  }

  .header__phone {
    display: none;
  }

}

@media (max-width: 1080px) {
  .community-chat__inner {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 20px;
  }

  .chat-card {
    width: 100%;
    max-width: 520px;
    height: 560px;
  }

  .chat-viewport {
    height: 280px;
  }

  .community-chat__title {
    font-size: 44px;
  }
}

@media (max-width: 980px) {
  .quote__bg {
    object-position: 55% center;
  }

  :root {
    --header-h: 68px;
  }

  .nav,
  .header__actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 620px;
    align-items: center;
  }

  .hero__bg {
    object-position: 30% center;
  }

  .hero::after {
    background: linear-gradient(
        0deg,
        rgba(10, 17, 32, 0.98) 0%,
        rgba(10, 17, 32, 0.82) 45%,
        rgba(10, 17, 32, 0.38) 78%,
        rgba(10, 17, 32, 0.2) 100%
      ),
      linear-gradient(90deg, rgba(10, 17, 32, 0.7), transparent 80%);
  }

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

  .footer__main {
    grid-template-columns: 1.3fr 0.8fr;
  }

  .footer__main > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .header__inner {
    gap: 14px;
  }

  .brand__mark {
    height: 30px;
  }

  .brand__tag {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
  }

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 10.5vw, 3.7rem);
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .marquee__group {
    gap: 48px;
    padding-right: 48px;
  }

  .community-chat__inner {
    padding: 48px 20px;
  }

  .chat-card {
    height: 520px;
    padding: 24px;
    border-radius: 32px;
  }

  .chat-viewport {
    height: 260px;
  }

  .community-chat__title {
    font-size: 38px;
  }

  .community-chat__desc {
    font-size: 16px;
  }

  .chat-card__message {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    min-height: 84px;
    padding: 12px 13px;
  }

  .chat-card__avatar {
    width: 34px;
    height: 34px;
  }

  .branches__wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .branches__head {
    padding-inline: 20px;
  }

  .branch-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-inline: 24px;
    padding-bottom: 4px;
    scroll-padding-inline: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .branch-grid::-webkit-scrollbar {
    display: none;
  }

  .branch-card {
    flex: 0 0 100%;
    height: auto;
    scroll-snap-align: start;
  }

  .branch-slider-nav {
    display: none;
  }

  .branch-scrollbar {
    display: block;
    height: 6px;
    margin: 16px 24px 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(124, 101, 171, 0.16);
    pointer-events: none;
    user-select: none;
  }

  .branch-scrollbar__thumb {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: var(--accent);
  }

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

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

  .footer__main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer__main > div:last-child {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
  }

  .form-actions .btn {
    flex: 1 1 auto;
  }

  .form-actions__right {
    width: 100%;
    margin-left: 0;
  }

  .form-actions__right .btn {
    flex: 1;
  }

  .summary-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .summary-list dd {
    margin-bottom: 7px;
  }

  .summary__actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee {
    overflow: hidden;
  }

  .marquee__track {
    animation: none;
  }

  .marquee__group[aria-hidden="true"] {
    display: none;
  }

  .chat-track {
    animation: none;
    transition: none;
  }

  .chat-viewport {
    overflow-y: auto;
  }

  .chat-group[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }

  .hero__form {
    max-width: 520px;
  }

  .quote__inner {
    display: flex;
  }
}

@media (min-width: 1181px) {
  .hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }

  .hero__form {
    max-width: 520px;
  }
}

.form-error:empty,
.hero-form__status:empty {
  display: none;
}

@media (max-width: 720px) {
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
}
