/* MeilleurPlombier.com landing pages: blue, call first, one self-hosted title font. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --navy: #0b2545;
  --ink: #132f4c;
  --ink-soft: #4a6380;
  --blue: #1572c9;
  --blue-dark: #0e5aa3;
  --blue-bright: #2196f3;
  --sky-50: #f4f9fe;
  --sky-100: #e4f2fd;
  --sky-200: #c9e4fa;
  --sky-300: #a3d2f6;
  --white: #fff;
  --green: #1e9e5a;
  --error: #c62828;
  --star: #f5b400;
  --green-halo: rgb(30 158 90 / 0.18);
  --blue-glow: rgb(21 114 201 / 0.55);
  --grey-soft: #f4f4f8;
  --peach: #fff6f0;
  --line-grey: #ddd;
  --shadow-card: 0 20px 60px rgb(0 0 0 / 0.3);
  --white-veil: rgb(255 255 255 / 0.96);
  /* Hero colours taken from the reference page (depannage-urgence.fr). */
  --hero-blue: #0d66c2;
  /* Second colour: yellow, always with navy text on it (white on yellow is unreadable). */
  --accent: #f5b800;
  --accent-veil: rgb(245 184 0 / 0.92);
  --accent-line: rgb(255 255 255 / 0.5);
  --live: #09dc95;
  --live-halo: rgb(9 220 149 / 0.7);
  --shadow-photo: 0 10px 30px rgb(0 0 0 / 0.3);
  --shadow-alt: 0 6px 18px rgb(0 0 0 / 0.25);
  --shadow-feature: 0 14px 40px rgb(13 102 194 / 0.25);
  --font-title: "Hanken Grotesk", system-ui, sans-serif;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(3rem, 7vw, 5rem);
  --shadow: 0 14px 34px -20px rgb(11 37 69 / 0.45);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: env(safe-area-inset-bottom);
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 4.6vw, 2.25rem);
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
}

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

[hidden] {
  display: none !important;
}

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

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

.wrap--narrow {
  max-width: 760px;
}

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

.icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 16px;
  font: inherit;
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:active {
  transform: scale(0.97);
}

.btn--call {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 18px -10px var(--blue-glow);
}

.btn--ghost {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--sky-300);
}

@media (hover: hover) {
  .btn--call:hover {
    background: var(--blue-dark);
  }
  .btn--ghost:hover {
    border-color: var(--blue);
  }
}

.btn--sm {
  min-height: 44px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

.btn--lg {
  min-height: 56px;
  padding-inline: 1.75rem;
  font-size: 1.1rem;
}

.btn--xl {
  min-height: 64px;
  padding-inline: 2rem;
  font-size: clamp(1.35rem, 5.5vw, 1.6rem);
  letter-spacing: 0.01em;
}

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

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--hero-blue);
}

.top .wrap {
  max-width: 1340px;
  padding-inline: 20px;
}

.top .wordmark {
  font-family: var(--font-title);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 20px;
}

.top .btn--call {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 30px;
  background: var(--accent);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}

.top .btn--call svg {
  display: none;
}

.wordmark {
  font-size: clamp(1.1rem, 4.4vw, 1.4rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-decoration: none;
}

a.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.wordmark strong {
  font-weight: 900;
  color: var(--blue);
}

.wordmark__tld {
  font-size: 0.8em;
  color: var(--ink-soft);
}

.wordmark--light,
.wordmark--light .wordmark__tld {
  color: var(--white);
}

.wordmark--light strong {
  color: var(--sky-300);
}

/* Hero: copy of the reference page measures (depannage-urgence.fr/po/plomberie.html). */
.hero {
  background: var(--hero-blue);
  color: var(--white);
  padding: 40px 0 120px;
}

.hero__grid {
  display: grid;
  gap: 30px;
  align-items: center;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 20px;
}

.hero__text {
  min-width: 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-size: 43px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
}

.hero__area {
  margin-bottom: 25px;
  font-family: var(--font-title);
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero h1 .hero__area {
  display: block;
  margin: 10px 0 0;
  font-weight: 400;
}

.hero__accent {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.hero__sub {
  margin-bottom: 15px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
}

.hero__lead {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__btn {
  width: 280px;
  max-width: 100%;
  height: 56px;
  min-height: 0;
  margin-bottom: 15px;
  padding: 0 26px;
  border: 0;
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero__btn--main {
  background: var(--accent);
  color: var(--navy);
}

.hero__btn--alt {
  padding-inline: 14px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.15rem;
  box-shadow: var(--shadow-alt);
}

.hero__btn svg {
  display: none;
}

.hero__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--white);
}

.dot {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 50%;
  background: var(--live);
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live-halo);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  to {
    transform: scale(2.2);
    opacity: 0;
  }
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.rating strong {
  color: var(--navy);
}

.g-logo {
  width: 1.1rem;
  height: 1.1rem;
}

.stars {
  display: inline-flex;
  gap: 1px;
}

.stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: var(--star);
}

.stars--sm svg {
  width: 0.95rem;
  height: 0.95rem;
}

.hero__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 579 / 500;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-photo);
}

/* Orange see-through price tag over the bottom of the photo, like the reference. */
.price {
  position: absolute;
  left: 50%;
  bottom: -56px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 180px;
  padding: 15px;
  border: 1px solid var(--accent-line);
  border-radius: 20px;
  background: var(--accent-veil);
  backdrop-filter: blur(2.8px);
  color: var(--navy);
  font-family: var(--font-title);
  text-align: left;
}

.price__from {
  margin-bottom: 5px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.price__num {
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
}

.price__cur {
  padding-left: 5px;
  font-size: 39px;
  font-weight: 400;
  vertical-align: super;
}

.price__word {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.05;
}

.hero--home {
  padding-block: 3.5rem 4rem;
}

.hero--home .rating {
  margin-top: 1.75rem;
}

/* Home hub: one photo card per landing page, 3 then 2 centered on desktop. */
.hub__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub__list li {
  display: flex;
  flex: 1 1 100%;
}

.hub-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--sky-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.hub-card__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hub-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem 1.25rem;
}

.hub-card__title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

.hub-card__text {
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hub-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--blue);
}

.hub-card__more .icon {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-card:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .hub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-feature);
  }
  .hub-card:hover .hub-card__more .icon {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-card,
  .hub-card__more .icon {
    transition: none;
  }
}

@media (min-width: 640px) {
  .hub__list li {
    flex-basis: calc(50% - 0.625rem);
    flex-grow: 0;
  }
}

@media (min-width: 960px) {
  .hub__list li {
    flex-basis: calc((100% - 2.5rem) / 3);
  }
}

/* Promises */
.promises {
  border-bottom: 1px solid var(--sky-200);
}

.promises__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  margin: 0 auto;
  padding-block: 2rem;
  list-style: none;
}

.promises__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  line-height: 1.35;
  text-wrap: balance;
}

/* Thin line icons with one yellow detail, like the reference page. */
.promises__list .icon {
  width: 44px;
  height: 44px;
  stroke: var(--navy);
  stroke-width: 1.2;
}

.icon .icon-accent {
  stroke: var(--accent);
  stroke-width: 1.6;
}

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

.section--tint {
  background: var(--sky-50);
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Services groups */
.groups {
  display: grid;
  gap: 1rem;
}

.group {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
}

.group h3 {
  margin-bottom: 0.75rem;
}

.group ul {
  display: grid;
  gap: 0.3rem;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.group li .icon {
  margin-top: 0.15em;
  color: var(--blue);
}

/* Steps */
.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.step__n {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  border: 3px solid var(--blue-bright);
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--ink-soft);
  max-width: 22rem;
  margin-inline: auto;
}

/* "Sans casse" banner on the leak pages, like the reference boiler-banner. */
.feature {
  padding-block: 20px 60px;
}

.feature__viewport {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-feature);
  touch-action: pan-y;
}

.feature__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.feature__card {
  display: grid;
  flex: 0 0 100%;
  min-width: 0;
  background: var(--hero-blue);
  color: var(--white);
}

.feature__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.feature__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--sky-200);
  border-radius: 50%;
  background: var(--white);
  color: var(--hero-blue);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.feature__arrow svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) {
  .feature__arrow:hover {
    background: var(--hero-blue);
    color: var(--white);
  }
}

.feature__dots {
  display: flex;
  gap: 4px;
}

/* 44px tap zone around a small pill. */
.feature__dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.feature__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sky-200);
  transition: width 0.3s, background 0.3s;
}

.feature__dot.is-active::before {
  width: 28px;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .feature__track,
  .feature__dot::before {
    transition: none;
  }
}

.feature__text {
  padding: 32px 24px;
  text-align: left;
}

.feature__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature h2 {
  margin-bottom: 14px;
  text-align: left;
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  text-wrap: balance;
}

.feature__sub {
  max-width: 520px;
  margin-bottom: 26px;
  font-size: 1.1rem;
  color: var(--white-veil);
}

.feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature__btn {
  flex: 1 1 220px;
  height: 56px;
  min-height: 0;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 800;
}

.feature__btn svg {
  display: none;
}

.feature__btn--main {
  background: var(--accent);
  color: var(--navy);
}

.feature__btn--alt {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
}

/* Phone: photo on top, text under it. */
.feature__img {
  order: -1;
}

.feature__img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 900px) {
  .feature__card {
    grid-template-columns: 1.15fr 1fr;
  }
  .feature__text {
    padding: 48px;
  }
  .feature h2 {
    font-size: 2.6rem;
  }
  .feature__btn {
    flex: none;
  }
  .feature__img {
    order: 0;
  }
  .feature__img img {
    height: 100%;
    min-height: 240px;
  }
}

/* Insurance band */
.band {
  background: var(--blue-bright);
  color: var(--white);
  padding-block: 2.75rem;
}

.band__inner {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
}

.band h2 {
  color: var(--white);
  margin-bottom: 0.6rem;
}

.band p {
  max-width: 40rem;
}

.band .btn--call {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: none;
}

@media (hover: hover) {
  .band .btn--call:hover {
    background: var(--sky-100);
  }
}

/* Reviews */
.reviews__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: -1rem 0 2rem;
  color: var(--ink-soft);
}

.reviews__score strong {
  font-size: 1.5rem;
  color: var(--navy);
}

.reviews {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--sky-200);
}

.review__text {
  flex: 1;
}

.review__who {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.review__who strong {
  color: var(--navy);
}

.reviews__note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
}

/* About */
.about {
  display: grid;
  gap: 2.5rem;
  max-width: 980px;
}

.about h2 {
  text-align: left;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  margin-bottom: 0.75rem;
}

.about p {
  color: var(--ink-soft);
}

/* Contact and form */
.contact {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact__text h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.contact__text p {
  color: var(--ink-soft);
}

.contact__label {
  margin-top: 1.5rem;
  font-weight: 600;
}

.contact__number {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}

.form {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow);
}

.form__body {
  display: grid;
  gap: 1rem;
}
.form__step {
  display: grid;
  gap: 1rem;
}

.form__progress {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form__back {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.35rem;
  min-height: 44px;
}

.form__back svg {
  width: 1.1em;
  height: 1.1em;
}

.hp {
  position: absolute;
  left: -9999px;
}

.chips {
  margin: 0;
  padding: 0;
  border: 0;
}

.chips legend,
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  color: var(--navy);
}

.chips__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip input {
  position: absolute;
  opacity: 0;
}

.chip span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--sky-200);
  font-size: 0.95rem;
  cursor: pointer;
}

.chip input:checked + span {
  border-color: var(--blue);
  background: var(--sky-100);
  color: var(--blue-dark);
  font-weight: 700;
}

.chip input:focus-visible + span {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

.field-row {
  display: grid;
  gap: 1rem;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--sky-200);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--sky-200);
  outline: none;
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field__error {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

.field__note {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.opt {
  font-weight: 400;
  color: var(--ink-soft);
}

.form__status:empty {
  display: none;
}

.form__status[data-state="error"] {
  color: var(--error);
  font-weight: 600;
}

.form__privacy {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form__done {
  display: grid;
  gap: 0.75rem;
}

.form__done-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}

.form__done-urgent {
  font-weight: 700;
}

/* Footer */
/* Footer: one copyright line and small links on a light peach strip, like the reference. */
.footer {
  padding: 10px 16px;
  border-top: 1px solid var(--line-grey);
  background: var(--peach);
  color: var(--ink-soft);
  text-align: center;
}

.footer__copy {
  font-size: 16px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  font-size: 14px;
}

.footer a,
.footer .link-btn {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer a:hover,
.footer .link-btn:hover {
  color: var(--blue-dark);
}

/* Mobile call bar */
.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--white-veil);
  border-top: 1px solid var(--sky-200);
  transform: translateY(110%);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-cta.is-visible {
  transform: none;
}

/* Cookie banner */
.consent {
  position: fixed;
  inset: auto 0.75rem 0.75rem;
  z-index: 40;
  max-width: 30rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}

.consent[hidden] {
  display: none;
}

.consent__title {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

/* Legal page */
.legal {
  padding-block: 2rem 4rem;
}

.legal h1 {
  font-size: 2rem;
  margin: 1rem 0 1.5rem;
}

.legal h2 {
  text-align: left;
  font-size: 1.3rem;
  margin: 2rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.link-back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}

/* Larger screens */
@media (min-width: 640px) {
  .promises__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .groups,
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero__cta .btn--xl {
    flex: 0 1 auto;
  }
}

@media (min-width: 960px) {
  .groups {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps,
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .about {
    grid-template-columns: 1fr 1fr;
  }
  .contact {
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
  }
  .sticky-cta {
    display: none;
  }
  .footer {
    padding-bottom: 2.5rem;
  }
}

/* Booking card: the callback form opens in place of the hero photo (reference page booking wizard). */
.hero__media.is-booking .hero__photo,
.hero__media.is-booking .price,
.booking-open .hero__cta [data-booking-open] {
  display: none;
}

.hero__media.is-booking {
  display: block;
}

.bk-card {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 26px 20px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 90px;
  animation: bk-in 0.25s ease-out;
}

.bk-head {
  position: relative;
  margin-bottom: 16px;
  text-align: center;
}

.bk-title {
  padding-inline: 40px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.bk-title:focus {
  outline: none;
}

.bk-sub {
  margin-top: 4px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
}

.bk-back {
  position: absolute;
  top: -8px;
  left: -8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--grey-soft);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.bk-back:hover {
  background: var(--sky-100);
}

.bk-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.bk-progress span {
  height: 6px;
  border-radius: 6px;
  background: var(--sky-100);
  transition: background-color 0.25s;
}

.bk-progress .is-done {
  background: var(--accent);
}

.bk-progress .is-current {
  background: var(--navy);
}

/* Inside the card the form loses its own box, step label and back link (the card header does that job). */
.bk-card .form {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.bk-card .form__back {
  display: none;
}

/* Step label kept for screen readers only. */
.bk-card .form__progress {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bk-card .form__step:not([hidden]) {
  animation: bk-in 0.25s ease-out;
}

@keyframes bk-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (min-width: 1025px) {
  .bk-card {
    padding: 32px 30px 28px;
  }
}

/* Hover lift on the hero buttons, like the reference. */
.hero__btn {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s;
}

@media (hover: hover) {
  .hero__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-alt);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .sticky-cta,
  .hero__btn {
    transition: none;
  }
  .bk-card,
  .bk-card .form__step:not([hidden]),
  .dot::after {
    animation: none;
  }
}

/* Small text links still get a 44px touch target. */
.footer__links a,
.footer__links .link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Home hero sentence and top bar brand on blue. */
.hero__lead {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.top .wordmark--light strong {
  color: var(--white);
}

/* Desktop hero: two columns, buttons side by side, bigger type (reference page above 1024px). */
@media (min-width: 1025px) {
  .hero {
    padding: 60px 0 120px;
  }
  .hero--home {
    padding-bottom: 4.5rem;
  }
  .top .wrap {
    padding-inline: 40px;
  }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-inline: 40px;
  }
  .hero__text {
    text-align: left;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero__area {
    font-size: 2.3rem;
  }
  .hero__sub {
    font-size: 1.3rem;
  }
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 12px;
  }
  .hero__note {
    justify-content: flex-start;
    font-size: 1.2rem;
  }
  .hero--home .hero__text {
    text-align: center;
  }
  .hero--home .hero__cta,
  .hero--home .hero__note {
    justify-content: center;
  }
  .hero__media {
    justify-self: end;
    max-width: 579px;
  }
  .hero__photo img {
    height: 500px;
    aspect-ratio: auto;
  }
  .price {
    left: -40px;
    bottom: -40px;
    transform: none;
    width: 175px;
    min-height: 156px;
  }
  .price__from {
    font-size: 1.5rem;
  }
  .price__num {
    font-size: 6rem;
  }
  .price__cur {
    font-size: 2.8rem;
  }
}
