:root {
  /* Border radius */
  --radius: 4px;

  /* Colors */
  --color-1: #01566C;
  --color-2: #F9F9F8;
  --color-3: #C1B29A;
  --color-4: #FFFFFF;

  /* Text colors */
  --text-primary:   #01566C;
  --text-secondary: #C1B29A;
  --text-muted:     #01566C;

  /* Type scale */
  --text-xs:   0.75rem;   /* labels, uppercase tags, captions */
  --text-sm:   0.85rem;   /* secondary text, footer, navbar */
  --text-base: 1rem;      /* body, card text */
  --text-lg:   1.2rem;    /* small headings */
  --text-xl:   clamp(1.4rem, 3vw, 2rem);    /* section headings */
  --text-2xl:  clamp(2rem, 5vw, 4rem);      /* hero tagline */
  --text-stat: clamp(2rem, 5vw, 3.5rem);    /* stats numbers */

  /* Font weight */
  --weight: 300;

  /* Line heights */
  --leading-tight:  1.2;
  --leading-normal: 1.6;
  --leading-loose:  1.8;
}

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

/* ── Reduced motion ──────────────────────────────────────── */

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ── Navbar CTA ──────────────────────────────────────────── */

.navbar__cta.navbar__cta {
  background: var(--color-1);
  color: var(--color-4);
  border: 1px solid var(--color-1);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  line-height: normal;
  transition: background 0.2s, color 0.2s;
  text-decoration: none !important;
  cursor: pointer;
  display: inline-block;
  cursor: default;
}

.navbar__cta.navbar__cta:hover {
  background: transparent;
  color: var(--color-1);
}

.navbar__cta.navbar__cta:active,
.navbar__cta.navbar__cta:focus,
.navbar__cta.navbar__cta:focus-visible {
  outline: none;
  transform: none;
  box-shadow: none;
  font-size: var(--text-sm);
  padding: 8px 16px;
  border-width: 1px;
}

/* ── Button ──────────────────────────────────────────────── */

.btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--text-primary);
  border-radius: var(--radius);
  color: var(--text-primary);
  background: transparent;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight);
  letter-spacing: 0.05em;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--text-primary);
  color: var(--color-4);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  font-weight: var(--weight);
  color: var(--text-primary);
  line-height: var(--leading-normal);
  padding-top: 64px;
}

.page-content {
  min-height: calc(100vh - 64px);
}

/* ── Accessibilité ──────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Navbar ─────────────────────────────────────────────── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
}

.navbar__logo a {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.navbar__links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight);
}

.navbar__links a:not(.navbar__cta) {
  position: relative;
}

.navbar__links a:not(.navbar__cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-3);
  transition: width 0.3s ease;
}

.navbar__links a:not(.navbar__cta):hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links--right {
  justify-content: flex-end;
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}

.hero__tagline {
  color: var(--color-4);
  font-size: var(--text-2xl);
  font-weight: var(--weight);
  letter-spacing: 0.02em;
  line-height: var(--leading-tight);
}

/* ── Card ────────────────────────────────────────────────── */

.card {
  position: relative;
  flex: 0 0 var(--card-size, 320px);
  width: var(--card-size, 320px);
  height: var(--card-size, 320px);
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  display: block;
  transition: transform 0.15s ease;
}

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

.card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* Card images are almost always .img-lazy, whose own transition (below)
   already covers transform with the same easing — this is only a
   fallback for the rare eager (non-lazy) case, kept mutually exclusive
   via :not() so the two rules never fight over the transition shorthand. */
.card__image:not(.img-lazy) {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card__image {
  transform: scale(1.06);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%);
}

.card__body {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.card__keyword {
  color: var(--color-3);
  font-size: var(--text-xs);
  font-weight: var(--weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__text {
  color: var(--color-4);
  font-size: var(--text-base);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
  margin-top: 4px;
  margin-bottom: 12px;
}

.card__line {
  display: block;
  height: 1px;
  width: 24px;
  background: var(--color-3);
  transition: width 0.3s ease;
}

.card:hover .card__line {
  width: 56px;
}

/* ── Carousel ────────────────────────────────────────────── */

.carousel {
  padding: 24px 24px 32px;
  overflow: hidden;
  background: var(--color-2);
}

.carousel__title {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
  margin-bottom: 32px;
}

.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.carousel__arrows {
  display: flex;
  gap: 8px;
}


.carousel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s ease;
}

.carousel__arrow:hover {
  opacity: 0.5;
}

.carousel__arrow:active:not(:disabled) {
  transform: scale(0.88);
}

.carousel__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ── Hero Secondary ──────────────────────────────────────── */

.hero-secondary img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

/* ── Project Grid ────────────────────────────────────────── */

.project-grid {
  padding: 24px 24px 48px 24px;
}

.project-grid__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-grid__items .card {
  width: 100%;
  flex: none;
  aspect-ratio: 1;
  height: auto;
}

.project-grid__footer {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}


@media (max-width: 900px) {
  .project-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .project-grid__items {
    grid-template-columns: 1fr;
  }
}

/* ── Video Block ─────────────────────────────────────────── */

.video-block {
  padding: 64px 24px;
  display: flex;
  justify-content: center;
}

.video-block__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 900px;
}

.video-block__iframe {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-block__iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

.video-block__caption {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* ── Stats Block ─────────────────────────────────────────── */

.stats-block {
  background: var(--color-4);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 72px 48px;
}

.stats-block__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.stats-block__value {
  font-size: var(--text-stat);
  font-weight: var(--weight);
  color: var(--text-secondary);
  line-height: 1;
}

.stats-block__label {
  font-size: var(--text-sm);
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .stats-block {
    flex-wrap: wrap;
    gap: 40px;
  }
}

/* ── Image Row ───────────────────────────────────────────── */

.image-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 24px 48px 24px;
}

.image-row__heading {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
}

.image-row__items {
  display: flex;
  gap: 24px;
}

.image-row__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.image-row__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.image-row__title {
  font-size: var(--text-lg);
  font-weight: var(--weight);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

.image-row__text {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

@media (max-width: 1024px) {
  .image-row__items {
    flex-direction: column;
  }
}

/* ── Hero Block ───────────────────────────────────────────── */

.hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.hero-block__images {
  display: flex;
  flex-direction: column;
  background: var(--color-2);
}

.hero-block__image {
  display: flex;
  min-height: 480px;
  background: var(--color-4);
}

.hero-block__image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.hero-block--reverse .hero-block__images {
  order: 1;
}

.hero-block__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  position: sticky;
  top: 64px;
  align-self: flex-start;
}

.hero-block--single .hero-block__content {
  position: static;
}

.hero-block__subtitle {
  font-size: var(--text-xs);
  font-weight: var(--weight);
  letter-spacing: 0.12em;
  color: var(--color-3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-block__back {
  color: var(--color-3);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hero-block__back:hover {
  opacity: 0.6;
}

.hero-block__title {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

.hero-block__text {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: var(--leading-loose);
}

@media (max-width: 1024px) {
  .hero-block {
    grid-template-columns: 1fr;
  }

  .hero-block__images,
  .hero-block--reverse .hero-block__images {
    grid-column: 1;
    order: 2;
  }

  .hero-block__image {
    min-height: 280px;
  }

  .hero-block__content {
    order: 1;
    padding: 40px 24px;
    position: static;
  }
}

/* ── Steps Block ─────────────────────────────────────────── */

.steps-block {
  background: var(--color-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.steps-block__image {
  padding: 24px;
  background: var(--color-4);
}

.steps-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.steps-block__steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 80px 112px;
  text-align: center;
}

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

.steps-block__number {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  color: var(--color-3);
  text-transform: uppercase;
}

.steps-block__title {
  font-size: var(--text-lg);
  font-weight: var(--weight);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

.steps-block__desc {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

@media (max-width: 1024px) {
  .steps-block {
    grid-template-columns: 1fr;
  }

  .steps-block__image {
    padding: 24px;
  }

  .steps-block__image img {
    aspect-ratio: 4 / 3;
  }

  .steps-block__steps {
    padding: 40px 24px;
  }
}

/* ── Text Block ──────────────────────────────────────────── */

.text-block {
  background: var(--color-3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 48px;
  text-align: center;
}

.text-block__text {
  color: var(--color-4);
  font-size: var(--text-xl);
  font-weight: var(--weight);
  line-height: var(--leading-normal);
  max-width: 2000px;
}

/* ── CTA Banner ──────────────────────────────────────────── */

.cta-banner {
  background: var(--color-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 48px;
  gap: 32px;
}

.cta-banner__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-banner__title {
  color: var(--color-4);
  font-size: var(--text-xl);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
}

.cta-banner__subtitle {
  color: var(--color-4);
  font-size: var(--text-xs);
  font-weight: var(--weight);
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.cta-banner__btn {
  flex-shrink: 0;
  text-decoration: none;
  border-radius: var(--radius);
  color: var(--color-4);
  font-size: var(--text-sm);
  font-weight: var(--weight);
  letter-spacing: 0.05em;
  border: 1px solid var(--color-4);
  padding: 14px 32px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.cta-banner__btn:hover {
  background: var(--color-4);
  color: var(--color-3);
}

@media (max-width: 600px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
  }
}

/* ── Contact Form ────────────────────────────────────────── */

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 48px;
  min-height: calc(100vh - 64px);
  align-items: start;
}

.contact-form__intro {
  position: static;
}

.contact-form__title {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
  margin-bottom: 24px;
}

.contact-form__text {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: var(--leading-loose);
}

.contact-form__success {
  color: var(--color-1);
  padding: 16px;
  border: 1px solid var(--color-1);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.contact-form__error {
  color: #c0392b;
  padding: 16px;
  border: 1px solid #c0392b;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.contact-form__infos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-form__infos li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form__info-label {
  font-size: var(--text-xs);
  font-weight: var(--weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-3);
}

.contact-form__info-value {
  font-size: var(--text-base);
  color: var(--text-primary);
  text-decoration: none;
  line-height: var(--leading-normal);
}

.contact-form__info-value a,
a.contact-form__info-value {
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity 0.2s;
}

a.contact-form__info-value:hover {
  opacity: 0.6;
}

.contact-form__right {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

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

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

.contact-form__field label {
  font-size: var(--text-xs);
  font-weight: var(--weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.contact-form__field input,
.contact-form__field textarea {
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--weight);
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--color-3);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-1);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-muted);
  font-weight: 300;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  background: var(--color-2);
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.site-footer__main {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 24px 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 340px;
}

.site-footer__logo img {
  height: 64px;
  width: auto;
}

.site-footer__desc {
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

.site-footer__cols {
  display: flex;
  gap: 64px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight);
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__col a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: color 0.2s;
}

.site-footer__col a:hover {
  color: var(--text-primary);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid #e5e5e5;
  font-size: var(--text-sm);
}

.site-footer__copy {
  margin: 0;
}

.site-footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.site-footer__links a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .site-footer__main {
    flex-direction: column;
    gap: 32px;
  }

  .site-footer__brand {
    max-width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ── Google Reviews ──────────────────────────────────────── */

.google-reviews {
  background: var(--color-2);
  padding: 72px 48px;
}

.google-reviews__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.google-reviews__label {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

.google-reviews__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.google-reviews__g-logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-reviews__score {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
}

.google-reviews__stars,
.google-reviews__rating {
  display: flex;
  gap: 2px;
}

.google-reviews__stars svg,
.google-reviews__rating svg {
  width: 16px;
  height: 16px;
  color: #FBBC05;
}

.google-reviews__count {
  font-size: var(--text-sm);
  color: var(--text-primary);
  opacity: 0.7;
}

.google-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.google-reviews__card {
  background: var(--color-4);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.google-reviews__card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-reviews__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-1);
  color: var(--color-4);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.google-reviews__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.google-reviews__author {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.google-reviews__date {
  font-size: var(--text-xs);
  color: var(--text-primary);
  opacity: 0.6;
}

.google-reviews__g-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: auto;
}

.google-reviews__text {
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: var(--leading-normal);
}

@media (max-width: 1200px) {
  .google-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .google-reviews__grid {
    grid-template-columns: 1fr;
  }

  .google-reviews {
    padding: 48px 24px;
  }

  .google-reviews__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Page transitions ────────────────────────────────────── */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: page-fade-out 0.25s ease both;
}

::view-transition-new(root) {
  animation: page-fade-in 0.35s ease both;
}

@keyframes page-fade-out {
  to { opacity: 0; }
}

@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(10px); }
}

/* Fallback page-enter animation for browsers without View Transitions
   (Firefox, older Safari) — plays on every full page load */
@media (prefers-reduced-motion: no-preference) {
  .page-content {
    animation: page-enter 0.5s ease both;
  }
}

@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── Lazy / Blur-up images ───────────────────────────────── */

/* Blurred placeholder look is the default state for any .img-lazy image,
   applied the instant it's in the DOM — no flash of the tiny, unblurred
   placeholder while waiting for JS to run. Strong blur + generous scale
   (to hide the blurred edge bleeding past the box) keep a ~20px source
   reading as a soft preview instead of visible pixelation, whatever the
   final display size. */
.img-lazy {
  filter: blur(16px);
  opacity: 0.55;
  transform: scale(1.08);
  transition: filter 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Gentle "still loading" pulse so a slow connection reads as active
   rather than stuck/broken. */
@keyframes img-lazy-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 0.75; }
}

@media (prefers-reduced-motion: no-preference) {
  .img-lazy:not(.img-lazy--loaded) {
    animation: img-lazy-pulse 1.8s ease-in-out infinite;
  }
}

.img-lazy--loaded {
  filter: none;
  opacity: 1;
  transform: none;
  animation: none;
}

/* ── Scroll reveal ───────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Burger / Mobile overlay ─────────────────────────────── */

.navbar__mobile-cta {
  display: none;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  position: relative;
  width: 30px;
  height: 30px;
  transition: transform 0.15s ease;
}

.navbar__burger:active {
  transform: scale(0.88);
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-1);
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.navbar__burger::after {
  content: '×';
  position: absolute;
  font-size: 24px;
  color: var(--color-1);
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.navbar__burger[aria-expanded="true"] span {
  opacity: 0;
}

.navbar__burger[aria-expanded="true"]::after {
  opacity: 1;
}

.navbar__overlay {
  display: flex;
  position: fixed;
  inset: 64px 0 0 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.navbar__overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.navbar__overlay-links li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar__overlay.is-open .navbar__overlay-links li {
  opacity: 1;
  transform: none;
}

.navbar__overlay.is-open .navbar__overlay-links li:nth-child(1) { transition-delay: 0.05s; }
.navbar__overlay.is-open .navbar__overlay-links li:nth-child(2) { transition-delay: 0.1s; }
.navbar__overlay.is-open .navbar__overlay-links li:nth-child(3) { transition-delay: 0.15s; }
.navbar__overlay.is-open .navbar__overlay-links li:nth-child(4) { transition-delay: 0.2s; }
.navbar__overlay.is-open .navbar__overlay-links li:nth-child(5) { transition-delay: 0.25s; }

.navbar__overlay-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0;
  margin: 0;
}

.navbar__overlay-links a,
.navbar__overlay-links span {
  text-decoration: none;
  color: var(--text-primary);
  font-size: var(--text-base);
  font-weight: var(--weight);
}

.navbar__overlay-links a:not(.navbar__cta) {
  position: relative;
}

.navbar__overlay-links a:not(.navbar__cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-3);
  transition: width 0.3s ease;
}

.navbar__overlay-links a.active::after {
  width: 100%;
}

/* ── Mobile ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .navbar__links,
  .navbar__links--right {
    display: none;
  }

  .navbar__mobile-cta {
    display: flex;
    align-items: center;
    grid-column: 3;
  }

  .navbar__burger {
    display: flex;
    grid-column: 4;
    justify-self: end;
  }

  .reviews-link span {
    display: none;
  }
}

/* ── Legal Page ──────────────────────────────────────────── */

.legal-page {
  display: flex;
  justify-content: center;
  padding: 64px 24px 96px;
}

.legal-page__container {
  width: 100%;
  max-width: 900px;
}

.legal-page__title {
  font-size: var(--text-xl);
  font-weight: var(--weight);
  color: var(--text-primary);
  margin-bottom: 32px;
}

.legal-page__body {
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
}

.legal-page__body p {
  margin-bottom: 20px;
}

.legal-page__body h2 {
  font-size: var(--text-lg);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin: 40px 0 16px;
  text-decoration: underline;
  text-decoration-color: var(--color-3);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.legal-page__body h2:first-child {
  margin-top: 0;
}

.legal-page__body h3 {
  font-size: var(--text-base);
  font-weight: var(--weight);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin: 28px 0 12px;
  text-decoration: underline;
  text-decoration-color: var(--color-3);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-page__body ul,
.legal-page__body ol {
  margin: 0 0 20px 20px;
}

.legal-page__body li {
  margin-bottom: 8px;
}

.legal-page__body a {
  color: var(--color-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__body a:hover {
  text-decoration: none;
}

.legal-page__body strong {
  font-weight: 500;
}

@media (max-width: 600px) {
  .legal-page {
    padding: 48px 20px 64px;
  }
}
