/* ==========================================================================
   Ondra Textile : styles globaux, header et hero
   Mobile-first, tokens issus du fichier Figma ONDRA-site
   ========================================================================== */

:root {
  /* Couleurs */
  --color-rose: #e75a9c;
  --color-rose-dark: #d0437f;
  --color-bleu: #1790d0;
  --color-jaune: #facc00;
  --color-vert: #5a832f;
  --color-rouge: #df4913;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-card: #f2f0ee;
  --color-action: var(--color-rose);

  /* Typographie */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
  --font-label: "Poppins", sans-serif;

  /* Espacements */
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-6: 24px;
  --spacing-20: 80px;
  --gutter: 20px;

  /* Layout */
  --header-h: 72px;
  --hero-h: 640px;
  --container: 1200px;
  /* Marge latérale commune : aligne le contenu du hero et les cartes sur la même ligne */
  --pad-x: max(var(--gutter), calc((100% - var(--container)) / 2));
}

@media (min-width: 1024px) {
  :root {
    --gutter: 120px;
    --header-h: 94px;
    --hero-h: 660px;
  }
}

/* Reset léger */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
p {
  margin: 0;
}

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

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

/* ==========================================================================
   Bouton
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  height: 44px;
  padding: 10px var(--spacing-4);
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s ease;
}

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

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

/* Header, hero et formulaire : le bouton rose devient noir au survol */
.nav__cta:hover,
.hero .btn--primary:hover,
.form__submit:hover {
  background: var(--color-black);
}

.btn--dark {
  background: var(--color-black);
}

.btn--dark:hover {
  background: #333333;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  transition: background-color .3s ease;
}

.header.is-scrolled,
.header.is-open {
  background: rgba(17, 17, 17, .92);
}

@supports (backdrop-filter: blur(8px)) {
  .header.is-scrolled {
    backdrop-filter: blur(8px);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 12px var(--gutter);
}

.header__logo img {
  width: auto;
  height: 44px;
}

/* Burger */
.header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: transform .2s ease, opacity .2s ease;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation mobile : panneau déroulant */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: var(--spacing-6);
  padding: var(--spacing-6) var(--gutter);
  background: rgba(17, 17, 17, .96);
}

.header.is-open .nav {
  display: flex;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-4);
}

.nav__link {
  display: inline-block;
  padding: var(--spacing-3);
  margin-left: calc(var(--spacing-3) * -1);
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: opacity .2s ease;
}

.nav__link:hover {
  opacity: .75;
}

.nav__cta {
  align-self: flex-start;
}

/* Navigation desktop : logo à gauche, liens au centre, CTA à droite */
@media (min-width: 1024px) {
  .header__inner {
    padding: 16px var(--spacing-20);
  }

  .header__logo img {
    height: 62px;
  }

  .header__toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 0;
    background: none;
  }

  .header.is-open .nav {
    background: none;
  }

  .header.is-open {
    background: transparent;
  }

  .header.is-open.is-scrolled {
    background: rgba(17, 17, 17, .92);
  }

  .nav__list {
    flex: 1;
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-4);
    /* Le menu est centré entre le logo et le bouton */
    padding-right: 0;
  }

  .nav__link {
    margin-left: 0;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-white);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hero-h);
  background:
    linear-gradient(to right, rgba(0, 0, 0, .6) 25%, rgba(0, 0, 0, 0) 100%),
    var(--hero-bg, none) center / cover no-repeat;
}

@media (max-width: 1023px) {
  .hero__bg {
    background:
      linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, .35)),
      var(--hero-bg, none) 70% center / cover no-repeat;
  }
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  min-height: var(--hero-h);
  padding: var(--header-h) var(--pad-x) 84px;
  color: var(--color-white);
}

.hero__title {
  max-width: 587px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.hero__text {
  max-width: 587px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

@media (min-width: 1024px) {
  .hero__content {
    gap: 44px;
    padding-bottom: 0;
  }

  .hero__title {
    font-size: 48px;
    line-height: 56px;
  }

  .hero__text {
    font-size: 20px;
  }
}

/* ==========================================================================
   Cartes des gammes (bas du hero)
   ========================================================================== */
.hero__cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-6);
  margin: -52px 0 0;
  padding: 0 var(--pad-x);
}

@media (min-width: 640px) {
  .hero__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  --card-color: var(--color-rose);
  background: var(--color-card);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 3px solid transparent;
  pointer-events: none;
  transition: border-color .25s ease;
}

.card--air {
  --card-color: var(--color-rose);
}

.card--protect {
  --card-color: var(--color-bleu);
}

.card--view {
  --card-color: var(--color-jaune);
}

.card--storm {
  --card-color: var(--color-vert);
}

.card:hover::after,
.card:focus-within::after {
  border-color: var(--color-black);
}

.card:hover .card__plus,
.card:focus-within .card__plus {
  background: var(--color-black);
}

.card:hover .card__img,
.card:focus-within .card__img {
  transform: scale(1.18);
}

.card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-6);
  padding: var(--spacing-4);
  background: var(--color-card);
}

.card__num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.card__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 94px;
}

.card__icon {
  flex: none;
  width: 64px;
  height: 64px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: .56px;
  text-transform: uppercase;
}

.card__desc {
  font-size: 14px;
  line-height: 21px;
}

.card__plus {
  transition: background-color .25s ease;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--card-color);
}

.card__img {
  width: 100%;
  height: 150px;
  margin-top: auto;
  object-fit: cover;
  transition: transform .5s ease;
}

/* ==========================================================================
   Titre de section (repère triangulaire + intitulé)
   ========================================================================== */
.kicker {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 28px;
  padding-left: 26px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.kicker__marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 28px;
}

/* ==========================================================================
   Pourquoi choisir Ondra Textile
   ========================================================================== */
.why {
  padding: 64px var(--pad-x) 0;
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.why__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why__lead,
.range__lead,
.domains__lead {
  padding-left: 26px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.text-accent {
  color: var(--color-rose);
}

.why__visual {
  position: relative;
  margin-top: 16px;
  padding: 21px 0 0 26px;
}

.why__image {
  display: block;
  width: calc(100% - 40px);
  max-width: 570px;
  margin-left: 20px;
  height: auto;
}

.why__triangle {
  position: absolute;
  top: 0;
  left: 26px;
  z-index: 1;
  width: 22%;
  height: auto;
}

.why__list {
  display: grid;
  gap: 40px;
}

.why__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why__icon {
  width: auto;
  height: 76px;
  margin-bottom: 12px;
}

.why__item-title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 19px;
  text-transform: uppercase;
}

.why__item-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: #737373;
}

@media (min-width: 1024px) {
  .why {
    padding-top: 120px;
  }

  .why__inner {
    grid-template-columns: 629fr 483fr;
    column-gap: 88px;
    align-items: stretch;
    min-height: 759px;
  }

  .why__intro {
    justify-content: space-between;
    gap: 0;
  }

  .why__lead,
  .range__lead,
  .domains__lead {
    margin-top: 24px;
    font-size: 36px;
    line-height: 40px;
  }

  .why__visual {
    margin-top: auto;
    padding-top: 21px;
  }

  .why__list {
    align-self: stretch;
    margin-top: 117px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
  }
}

/* ==========================================================================
   Nos gammes
   ========================================================================== */
.range {
  padding: 64px var(--pad-x) 0;
}

.range__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 689px;
  margin-bottom: 48px;
}

.range__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.range__visual {
  position: relative;
  padding: 0 23px 31px 0;
}

.range__media {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.carousel {
  position: relative;
  aspect-ratio: 463 / 549;
  overflow: hidden;
  background: #e6e6e6;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.carousel__slide.is-active {
  opacity: 1;
}

.range__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__slide--placeholder {
  background: #b9b9b9;
}

.carousel__slide--swatch {
  background: var(--color-white);
}

.carousel__slide--swatch .range__image {
  object-fit: contain;
  object-position: 40% top;
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 14px;
  /* le sélecteur ne rallonge pas la rangée : le bouton reste calé en bas */
  margin: -11px 0 -3px;
}

.carousel__dots:empty,
.carousel__dot:only-child { display: none; }

.carousel__dot {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

.carousel__dot::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #e6e6e6;
  transition: background-color .2s ease;
}

.carousel__dot:hover::before { background: #c9c9c9; }

.carousel__dot[aria-current="true"] { border-color: var(--color-rose); }
.carousel__dot[aria-current="true"]::before { background: var(--color-rose); }


.range__triangle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 33.3%;
  height: auto;
}

.range__head {
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.range__icon {
  flex: none;
  width: 72px;
  height: 72px;
}

.range__titles {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  /* le cadre du sous-titre se superpose au trait de l'icône */
  margin-left: -2px;
}

.range__name {
  margin: 0;
  padding: 0 10px;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.range__type {
  align-self: flex-start;
  padding: 3px 7px;
  border: 2.5px solid var(--color-black);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
}

.range__type--caps {
  font-weight: 600;
  letter-spacing: .04em;
}

.range__desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 23px;
  color: #737373;
}

.specs {
  margin: 20px 0 0;
}

.specs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 37px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-black);
  font-size: 14px;
  line-height: 21px;
}

.specs__row:last-child { border-bottom: 0; }

.specs dt { color: #737373; }

.specs dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.grammages {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.grammage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 94px;
  height: 77px;
  padding: 0;
  background: var(--color-white);
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-family: var(--font-body);
  color: #737373;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.grammage__value {
  font-size: 24px;
  line-height: 28px;
}

.grammage__unit {
  font-size: 14px;
  line-height: 16px;
}

.grammage__custom {
  max-width: 60px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.grammage:hover { border-color: var(--color-vert); }

.grammage.is-active {
  border: 2px solid var(--color-vert);
  color: var(--color-vert);
}

.grammage.is-active .grammage__value { font-weight: 700; }

.grammage--custom.is-active .grammage__custom { font-weight: 700; }

.custom-panel[hidden] { display: none; }

.custom-panel {
  margin-top: 26px;
}

.custom-panel__lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 23px;
}

.custom-panel__list {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.custom-panel__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
}

.custom-panel__list img {
  flex: none;
  width: 24px;
  height: 24px;
}

.tags[hidden] { display: none; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 20px 0 32px;
}

.tags__item {
  padding: 6px 9px;
  background: #e6e6e6;
  border-radius: 4px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.range__cta { margin-top: 32px; }

@media (min-width: 1024px) {
  .range { padding-top: 120px; }

  .range__intro { margin-bottom: 56px; }

  .range__item {
    grid-template-columns: 486px 1fr;
    column-gap: 42px;
    min-height: 580px;
  }

  .range__icon {
    width: 92px;
    height: 92px;
  }

  .range__titles { margin-left: -3px; }

  .range__name { margin-bottom: 8px; }

  .range__type {
    padding: 7px;
    font-size: 17px;
    line-height: 19px;
  }

  .range__content {
    display: flex;
    flex-direction: column;
    max-width: 672px;
  }

  .range__cta {
    align-self: flex-start;
    margin-top: auto;
  }
}

/* Gamme en miroir : texte à gauche, visuel à droite (triangle toujours en bas à droite) */
@media (min-width: 1024px) {
  .range__item--mirror {
    grid-template-columns: 1fr 486px;
  }

  .range__item--mirror .range__media {
    order: 2;
  }

  .range__item--mirror .range__content {
    order: 1;
  }
}

.range--item + .range--item {
  margin-top: 120px;
}

.range.range--item {
  padding-top: 0;
}

/* ==========================================================================
   Domaines d'application
   ========================================================================== */
.kicker--caps {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.domains {
  position: relative;
  margin-top: 80px;
  padding: 0 var(--pad-x) 64px;
  overflow: hidden;
}

.domains__shape {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: min(631px, 70%);
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.domains__inner {
  position: relative;
  z-index: 1;
}

.domains__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 689px;
  margin-bottom: 40px;
}

.domains__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .domains__list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .domains { margin-top: 120px; padding-bottom: 0; }

  .domains__intro { margin-bottom: 56px; }

  .domains__list { grid-template-columns: repeat(4, 1fr); }
}

.domain__link {
  position: relative;
  display: flex;
  background: var(--color-white);
  flex-direction: column;
  height: 100%;
  min-height: 524px;
}

.domain__img {
  width: 100%;
  height: 313px;
  object-fit: cover;
}

.domain__body {
  padding: 16px 16px 76px;
}

.domain__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.domain__text {
  font-size: 16px;
  line-height: 23px;
  color: #737373;
}

.domain__plus {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-black);
  transition: background-color .2s ease;
}

.domain__plus:hover {
  background: #333333;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 80px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: 56px var(--gutter);
  background: var(--color-jaune);
}

.contact__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.contact__lead {
  margin-top: 16px;
  max-width: 468px;
  font-size: 18px;
  line-height: 25px;
}

.contact__details {
  display: grid;
  gap: 36px;
  margin: 0;
}

.contact__detail dt {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.contact__detail dd {
  margin: 0;
  font-size: 18px;
  line-height: 25px;
}

.contact__detail a:hover { text-decoration: underline; }

.contact__form-wrap {
  padding: 48px var(--gutter);
}

.form {
  display: grid;
  gap: 25px;
  max-width: 564px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.form__row > .field:only-child {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 16px;
  line-height: 23px;
}

.field__input {
  width: 100%;
  min-height: 44px;
  padding: 0 17px;
  background: var(--color-white);
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 21px;
  color: var(--color-black);
}

.field__input::placeholder { color: #737373; }

.field__input:focus {
  outline: 0;
  border-color: var(--color-black);
}

.field__select {
  appearance: none;
  padding-right: 40px;
  color: #737373;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer;
}

.field__textarea {
  min-height: 110px;
  padding: 13px 17px;
  resize: vertical;
}

.field__input:user-invalid { border-color: var(--color-rouge); }

.form__submit {
  width: 100%;
  margin-top: 4px;
}

.form-message-success,
.form-message-error {
  display: none;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 23px;
  text-align: center;
}

.form-message-success {
  background: rgba(90, 131, 47, .12);
  color: var(--color-vert);
}

.form-message-error {
  background: rgba(223, 73, 19, .1);
  color: var(--color-rouge);
}

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (min-width: 1024px) {
  .contact {
    grid-template-columns: 708fr 732fr;
    margin-top: 120px;
    min-height: 616px;
  }

  .contact__info {
    padding: 56px 40px 56px var(--pad-x);
    gap: 68px;
  }

  .contact__title {
    font-size: 36px;
  }

  .contact__form-wrap {
    display: flex;
    align-items: center;
    padding: 54px var(--pad-x) 54px 48px;
  }

  .form { width: 100%; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 80px;
  padding: 48px var(--pad-x);
  background: var(--color-white);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
}

.footer__brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer__logo img {
  width: 180px;
  height: auto;
}

.footer__social {
  display: flex;
  gap: 24px;
}

.footer__social a {
  display: block;
  transition: opacity .2s ease;
}

.footer__social a:hover { opacity: .6; }

.footer__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__list {
  display: grid;
  gap: 4px;
  font-size: 16px;
  line-height: 24px;
}

.footer__list a {
  position: relative;
  display: inline-block;
  transition: padding-left .2s ease;
}

.footer__list a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 14px;
  background: url("../img/section-marker.svg") no-repeat center / contain;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease;
}

.footer__list a:hover,
.footer__list a:focus-visible {
  padding-left: 12px;
  font-weight: 600;
}

.footer__list a:hover::before,
.footer__list a:focus-visible::before {
  opacity: 1;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .footer {
    margin-top: 0;
    padding-top: 45px;
    padding-bottom: 60px;
  }

  .footer__inner {
    grid-template-columns: 402px repeat(4, 204px);
    gap: 0;
  }

  .footer__brand {
    grid-column: auto;
    gap: 47px;
  }

  .footer__col { padding-left: 15px; }

  .footer__title { margin-bottom: 28px; }

  .footer__list { gap: 4px; }
}

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

  * {
    transition: none !important;
  }
}