/* ==========================================================================
   Diyar.2 Transport – feuille de style
   Reproduction de la maquette Figma « Diyar.2 - Transport et dépannage » (1440 px)
   Couleurs : Light #FAFAFA · Accent #D61F26 · Dark #070707 · Gray #6B6B6B
   Polices  : Space Grotesk (titres) · Switzer (texte) – hébergées localement
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Switzer";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/switzer-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Switzer";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/switzer-latin-500-normal.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --light: #fafafa;
  --accent: #d61f26;
  --accent-hover: #a41f26;
  --dark: #070707;
  --gray: #6b6b6b;

  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 72px;
  --section: 72px;
  --gap: 36px;
  --radius: 8px;
  --radius-btn: 4px;
  --t: 0.2s ease;
  --header-h: 40px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--light);
  color: var(--dark);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
address {
  font-style: normal;
}
abbr[title] {
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--light);
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  font-family: var(--f-head);
  font-weight: 700;
  text-transform: uppercase;
  transition: top var(--t);
}
.skip-link:focus {
  top: 16px;
}

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

.icon {
  flex: none;
  width: 24px;
  height: 24px;
}
.icon--20 {
  width: 20px;
  height: 20px;
}
.icon--22 {
  width: 22px;
  height: 22px;
}
.icon--32 {
  width: 32px;
  height: 32px;
}
.icon--check {
  width: 20px;
  height: 15px;
}
.icon--arrow {
  width: 20px;
  height: 11px;
  transition: transform var(--t);
}

/* ---------- Typographie ---------- */
.kicker {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 56px;
  line-height: 78.4px;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: manual;
}
.h2--tight {
  line-height: 58px;
}
.lead {
  font-size: 24px;
  line-height: 33.6px;
  color: var(--gray);
  max-width: 600px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-head--light,
.section-head--light .lead {
  color: var(--light);
}

.rule {
  border: 0;
  border-top: 1px solid var(--dark);
  width: 100%;
}
.rule--light {
  border-top-color: var(--light);
}
.rule--soft {
  border-top-color: rgba(250, 250, 250, 0.2);
}

/* ---------- Boutons (composant « Btn » de la maquette) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--t),
    border-color var(--t),
    color var(--t);
}
.btn--lg {
  font-size: 24px;
}
.btn--sm {
  height: 40px;
  padding: 0 20px;
}
.btn--block {
  width: 100%;
}
.btn--red {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--light);
}
.btn--red:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn--outline {
  border-color: var(--light);
  color: var(--light);
}
.btn--outline:hover {
  background: var(--light);
  color: var(--dark);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 34px 0;
  color: var(--light);
  transition:
    padding var(--t),
    background-color var(--t);
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: var(--dark);
  padding: 16px 0;
}
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: center;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  color: var(--light);
  justify-self: start;
}
.logo__svg {
  width: 250px;
  height: auto;
}
.main-nav {
  justify-self: center;
}
.main-nav__list {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav__link,
.lang-switch {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}
.main-nav__link {
  position: relative;
  white-space: nowrap;
  transition: opacity var(--t);
}
.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.main-nav__link:hover::after {
  transform: scaleX(1);
}
.main-nav__mobile-only {
  display: none;
}
.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 32px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch__link {
  opacity: 0.5;
  transition: opacity var(--t);
}
.lang-switch__link:hover {
  opacity: 1;
}
.lang-switch__link.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.burger {
  display: none;
  color: var(--light);
}
.burger__icon {
  display: block;
}
.burger__icon--close {
  display: none;
}
.burger .icon {
  width: 28px;
  height: 28px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(680px, 100svh, 1024px);
  padding: 140px 0 var(--section);
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
}
.hero__media,
.banner__media {
  position: absolute;
  inset: 0;
}
.hero__media img,
.banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media img {
  object-position: 60% 50%;
}
.hero::after,
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0) 45%),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.2) 100%
    );
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.hero__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 977px;
}
.hero__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 72px;
  line-height: 76.8px;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.hero__subtitle {
  font-size: 24px;
  line-height: 33.6px;
  max-width: 528px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero__hours,
.hero__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  line-height: 28px;
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
}

.pulse {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}
.pulse::before,
.pulse::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--light);
}
.pulse::before {
  inset: 5px;
}
.pulse::after {
  inset: 0;
  opacity: 0.3;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section) 0;
}

/* ---------- Services ---------- */
.service-groups {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 72px;
}
.service-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-group__title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 40px;
  line-height: 28px;
  text-transform: uppercase;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card__media {
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e8e8e8;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}
.card__media:hover img,
.card:has(.card__link:hover) .card__media img {
  transform: scale(1.05);
}
.card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.card__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 33.6px;
  text-transform: uppercase;
}
.card__text {
  font-size: 16px;
  line-height: 22.4px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
  transition: color var(--t);
}
.card__link .icon {
  transition: transform var(--t);
}
.card__link:hover {
  color: var(--accent-hover);
}
.card__link:hover .icon {
  transform: translateX(2px);
}
.card--dark {
  align-self: stretch;
  justify-content: space-between;
  gap: 32px;
  background: var(--dark);
  color: var(--light);
  border-radius: var(--radius);
  padding: 24px;
}
.card--dark__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card--dark .card__text p + p {
  margin-top: 22.4px;
}

/* ---------- Bandeau urgence ---------- */
.banner {
  position: relative;
  color: var(--light);
  background: var(--dark);
  overflow: hidden;
}
.banner__media img {
  object-position: 50% 69.6%;
}
.banner__inner {
  position: relative;
  z-index: 1;
  min-height: 349px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
}
.banner__text .h2 {
  line-height: 78.4px;
}
.banner .lead {
  color: var(--light);
  opacity: 0.75;
  max-width: none;
}

/* ---------- Fonctionnement ---------- */
.how__rule {
  margin-top: 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 48px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__num {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 72px;
  line-height: 92px;
  opacity: 0.4;
}
.step__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 33.6px;
  text-transform: uppercase;
}
.step__text {
  font-size: 24px;
  line-height: 33.6px;
  color: var(--gray);
}

/* ---------- Professionnels ---------- */
.pro {
  background: var(--dark);
  color: var(--light);
  padding: var(--section) 0;
}
.pro__inner {
  display: grid;
  grid-template-columns: minmax(0, 630px) minmax(0, 630px);
  justify-content: space-between;
  gap: var(--gap);
  align-items: center;
}
.pro__media {
  aspect-ratio: 630 / 674;
  border-radius: var(--radius);
  overflow: hidden;
}
.pro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pro__content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.checklist,
.infolist {
  width: 100%;
  border-top: 1px solid currentColor;
}
.checklist li,
.infolist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid currentColor;
  font-size: 24px;
  line-height: 24px;
}
.checklist {
  color: var(--light);
}

/* ---------- FAQ (accordéon) ---------- */
.faq__inner,
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 582px) minmax(0, 630px);
  justify-content: space-between;
  gap: var(--gap);
}
.faq__intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.accordion {
  border-top: 1px solid var(--dark);
  align-self: start;
}
.accordion__heading {
  font: inherit;
}
.accordion__item {
  border-bottom: 1px solid var(--dark);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  text-align: left;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: var(--dark);
  transition: color var(--t);
}
.accordion__trigger:hover {
  color: var(--accent);
}
.accordion__trigger[aria-expanded="true"] .icon--arrow {
  transform: rotate(180deg);
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows var(--t),
    opacity var(--t);
}
.accordion__panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.accordion__inner {
  overflow: hidden;
  min-height: 0;
}
.accordion__inner p {
  padding: 0 0 20px 32px;
  font-size: 18px;
  line-height: 27px;
  color: var(--gray);
  max-width: 600px;
}
.no-js .accordion__panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

/* ---------- Contact ---------- */
.contact {
  padding-top: 0;
}
.contact__rule {
  margin-bottom: var(--section);
}
.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.infolist {
  color: var(--dark);
}
.infolist a {
  transition: color var(--t);
  overflow-wrap: anywhere;
}
.infolist a:hover {
  color: var(--accent);
}
.infolist .icon {
  color: var(--accent);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  align-content: start;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  border: 0;
}
.form__field--full {
  grid-column: 1 / -1;
}
.form__label {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  padding: 0;
}
.form__label abbr {
  color: var(--accent);
}
.form__input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--dark);
  border-radius: var(--radius-btn);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 24px;
  color: var(--dark);
  transition:
    border-color var(--t),
    box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder {
  color: var(--gray);
  opacity: 1;
}
.form__input:hover {
  border-color: var(--gray);
}
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.form__input[aria-invalid="true"] {
  border-color: var(--accent);
}
textarea.form__input {
  resize: vertical;
  min-height: 128px;
}
.form__select {
  position: relative;
}
.form__select .form__input {
  padding-right: 48px;
  cursor: pointer;
}
.form__select .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--dark);
  border-radius: var(--radius-btn);
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  transition:
    background-color var(--t),
    color var(--t);
}
.chip:hover span {
  background: rgba(7, 7, 7, 0.06);
}
.chip input:checked + span {
  background: var(--dark);
  color: var(--light);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 4px;
}
.form__note {
  font-size: 14px;
  line-height: 20px;
  color: var(--gray);
  max-width: 340px;
}
.form__note a,
.legal__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t);
}
.form__note a:hover,
.legal__text a:hover {
  color: var(--accent);
}
.form__status {
  grid-column: 1 / -1;
  font-size: 18px;
  line-height: 26px;
  min-height: 0;
}
.form__status:empty {
  display: none;
}
.form__status.is-success,
.form__status.is-error {
  padding: 16px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid currentColor;
}
.form__status.is-success {
  color: var(--dark);
  background: rgba(7, 7, 7, 0.04);
}
.form__status.is-error {
  color: var(--accent);
  background: rgba(214, 31, 38, 0.05);
}
.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Pages légales / 404 ---------- */
.legal {
  padding: 176px 0 var(--section);
}
.legal__inner {
  max-width: 860px;
  margin-inline: auto;
  width: min(860px, 100% - 2 * var(--gutter));
}
.legal__body {
  margin-top: 48px;
  border-top: 1px solid var(--dark);
}
.legal__section {
  padding: 28px 0;
  border-bottom: 1px solid var(--dark);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.legal__h {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  text-transform: uppercase;
}
.legal__text {
  font-size: 18px;
  line-height: 28px;
}
.legal__text p + p {
  margin-top: 12px;
}
.legal--404 .btn {
  margin-top: 32px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--dark);
  color: var(--light);
  padding: var(--section) 0 40px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.site-footer__tagline {
  font-size: 18px;
  line-height: 27px;
  opacity: 0.75;
  max-width: 420px;
}
.site-footer__title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 20px;
}
.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  line-height: 26px;
}
.site-footer__col a {
  opacity: 0.85;
  transition: opacity var(--t);
  overflow-wrap: anywhere;
}
.site-footer__col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__col address {
  opacity: 0.85;
}
.site-footer .rule {
  margin: 56px 0 24px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 14px;
  line-height: 20px;
}
.site-footer__bottom > p {
  opacity: 0.6;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-footer__legal a {
  opacity: 0.85;
  transition: opacity var(--t);
}
.site-footer__legal a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }
  .hero__title {
    font-size: 64px;
    line-height: 68px;
  }
  .h2 {
    font-size: 48px;
    line-height: 64px;
  }
  .h2--tight {
    line-height: 52px;
  }
  .service-group__title {
    font-size: 34px;
    line-height: 1.1;
  }
  .step__title {
    font-size: 34px;
    line-height: 1.1;
  }
  .checklist li,
  .infolist li,
  .accordion__trigger {
    font-size: 22px;
  }
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .main-nav__list {
    gap: 24px;
  }
}

@media (max-width: 1080px) {
  :root {
    --gutter: 40px;
    --section: 64px;
    --gap: 28px;
  }
  html {
    scroll-padding-top: 80px;
  }
  .site-header {
    padding: 20px 0;
  }
  .site-header.is-scrolled,
  .site-header.is-solid {
    padding: 14px 0;
  }
  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .logo__svg {
    width: 200px;
  }
  .site-header__actions {
    gap: 20px;
  }
  .burger {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--dark);
    justify-self: stretch;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 120px var(--gutter) 48px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--t),
      visibility var(--t);
  }
  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .main-nav__link {
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
  }
  .main-nav__mobile-only {
    display: block;
  }
  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
  }
  .nav-open .burger__icon--open {
    display: none;
  }
  .nav-open .burger__icon--close {
    display: block;
  }
  .nav-open {
    overflow: hidden;
  }

  .hero__title {
    font-size: 56px;
    line-height: 60px;
  }
  .h2 {
    font-size: 42px;
    line-height: 50px;
  }
  .h2--tight {
    line-height: 46px;
  }
  .banner__text .h2 {
    line-height: 50px;
  }
  .lead,
  .hero__subtitle,
  .step__text {
    font-size: 20px;
    line-height: 28px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: start;
  }
  .step__num {
    font-size: 56px;
    line-height: 1;
  }
  .step__title {
    font-size: 30px;
  }
  .pro__inner,
  .faq__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pro__media {
    aspect-ratio: 16 / 10;
  }
  .banner__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .site-footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .legal__section {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section: 56px;
    --gap: 32px;
  }
  .logo__svg {
    width: 168px;
  }
  .site-header__cta {
    display: none;
  }
  .site-header__actions {
    gap: 16px;
  }
  .lang-switch {
    font-size: 14px;
    gap: 6px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 112px;
  }
  .hero__media img {
    object-position: 68% 50%;
  }
  .hero__content {
    gap: 24px;
  }
  .hero__title {
    font-size: clamp(28px, 8.2vw, 38px);
    line-height: 1.1;
    hyphens: auto;
  }
  .h2,
  .service-group__title,
  .step__title,
  .card__title {
    hyphens: auto;
  }
  .hero__subtitle,
  .lead,
  .step__text {
    font-size: 18px;
    line-height: 25px;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
  .btn {
    font-size: 17px;
    gap: 12px;
    padding: 0 18px;
    white-space: normal;
    text-align: center;
  }
  .btn--lg {
    font-size: 18px;
  }
  .hero__hours,
  .hero__features li {
    font-size: 16px;
    line-height: 22px;
  }
  .hero__features {
    flex-direction: column;
    gap: 10px;
  }

  .kicker {
    font-size: 16px;
    line-height: 22px;
  }
  .h2,
  .banner__text .h2 {
    font-size: 32px;
    line-height: 38px;
  }
  .h2--tight {
    line-height: 36px;
  }
  .service-groups {
    gap: 56px;
    margin-top: 48px;
  }
  .service-group__title {
    font-size: 24px;
    gap: 12px;
  }
  .service-group__title .icon {
    width: 28px;
    height: 28px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .card__title {
    font-size: 22px;
    line-height: 28px;
  }
  .card__link {
    font-size: 18px;
  }

  .step {
    grid-template-columns: 64px 1fr;
  }
  .step__num {
    font-size: 44px;
  }
  .step__title {
    font-size: 24px;
    line-height: 28px;
  }
  .banner__inner {
    min-height: 0;
    padding: 64px 0;
  }

  .checklist li,
  .infolist li {
    font-size: 18px;
    line-height: 24px;
    padding: 14px 0;
  }
  .accordion__trigger {
    font-size: 18px;
    line-height: 24px;
    padding: 16px 0;
    align-items: flex-start;
  }
  .accordion__trigger .icon--arrow {
    margin-top: 7px;
  }
  .accordion__inner p {
    font-size: 16px;
    line-height: 24px;
    padding-left: 32px;
  }

  .form {
    grid-template-columns: 1fr;
  }
  .form__footer .btn {
    width: 100%;
  }
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal {
    padding-top: 128px;
  }
}

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