:root {
  --bg: #f7f4ec;
  --surface: rgba(255, 251, 245, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #1f2a24;
  --muted: #59665c;
  --line: rgba(31, 42, 36, 0.12);
  --primary: #234b34;
  --primary-strong: #1b3827;
  --sage: #8ba086;
  --beige: #d8ccb1;
  --shadow-xl: 0 28px 60px rgba(23, 38, 30, 0.14);
  --shadow-lg: 0 20px 40px rgba(23, 38, 30, 0.1);
  --shadow-sm: 0 10px 20px rgba(23, 38, 30, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1160px, calc(100vw - 32px));
  --header-height: 108px;
  --service-green: #8bc33f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #eeeadf 0%, #f4f0e6 24%, #fbfaf6 100%);
}

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

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

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

button {
  cursor: pointer;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2,
.why-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-head p:last-child,
.why-intro p,
.contact-copy p,
.hero__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #325c42 100%);
  box-shadow: var(--shadow-sm);
}

.button--primary:hover {
  box-shadow: var(--shadow-lg);
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
}

.button--light {
  color: var(--primary);
  background: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 6px;
  transition:
    padding 240ms ease,
    transform 260ms ease,
    opacity 220ms ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 18px));
  opacity: 0;
  pointer-events: none;
}

.site-header .container {
  width: min(1480px, calc(100vw - 40px));
}

.header__shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% + 12px);
  background: linear-gradient(180deg, rgba(246, 242, 232, 0.95), rgba(246, 242, 232, 0));
  pointer-events: none;
}

.site-header.is-scrolled {
  padding-top: 0;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  grid-column: 1;
  justify-self: start;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(239, 237, 231, 0.84);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.header__phone:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(35, 75, 52, 0.18);
}

.header__inner {
  position: relative;
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-height);
  width: min(1090px, calc(100vw - 260px));
  padding: 4px 28px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 28px;
  background: rgba(239, 237, 231, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand__logo {
  width: 222px;
  height: 128px;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: normal;
  opacity: 1;
  filter: none;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.header__nav a {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 220ms ease;
}

.header__nav a:hover {
  color: var(--primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.header__devis {
  white-space: nowrap;
}

.header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(35, 75, 52, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(35, 75, 52, 0.08);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.header__menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(35, 75, 52, 0.24);
}

.header__menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.site-header.is-menu-open .header__menu-toggle {
  background: rgba(35, 75, 52, 0.92);
  border-color: rgba(35, 75, 52, 0.92);
  color: #fff;
}

.site-header.is-menu-open .header__menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .header__menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .header__menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(35, 75, 52, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(35, 75, 52, 0.08);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.socials__link:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(35, 75, 52, 0.24);
}

.socials__link svg,
.header__phone svg,
.contact-card__icon svg,
.service-card__icon svg,
.whatsapp-float svg,
.lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials__link svg,
.whatsapp-float svg {
  fill: currentColor;
  stroke: none;
}

.hero {
  overflow: clip;
  padding-top: 32px;
}

.hero::before,
.hero::after {
  content: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 40px);
}

.hero__copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero__text {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

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

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero__points li {
  padding: 12px 16px;
  border: 1px solid rgba(35, 75, 52, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 600px;
}

.hero__media {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow-xl);
}

.media-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(35, 75, 52, 0.86);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.media-badge--top {
  top: 36px;
  left: 36px;
}

.media-note {
  position: absolute;
  right: 36px;
  bottom: 34px;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.section--services {
  padding-top: 56px;
  padding-bottom: 14px;
}

.section--services .section-head {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.services-stage {
  position: relative;
  width: calc(100vw - 24px);
  margin: 28px calc(50% - 50vw + 12px) 0;
  padding: 58px 0 74px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 24, 20, 0.18) 0%, rgba(17, 24, 20, 0.56) 100%),
    url("assets/media/jardinnicel.png") center center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.services-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 20, 0.06) 0%, rgba(17, 24, 20, 0.2) 32%, rgba(17, 24, 20, 0.56) 100%);
  pointer-events: none;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1050px, calc(100vw - 40px));
  margin: 0 auto;
}

.service-card {
  padding: 20px 22px 22px;
  border: 2px solid rgba(139, 195, 63, 0.96);
  border-radius: 26px;
  background: rgba(39, 45, 40, 0.58);
  box-shadow: 0 16px 28px rgba(10, 17, 14, 0.18);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 195, 63, 1);
  box-shadow: 0 22px 36px rgba(10, 17, 14, 0.24);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(35, 75, 52, 0.12), rgba(139, 160, 134, 0.16));
  color: var(--primary);
}

.service-card h3,
.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.service-card h3 {
  color: #fff;
  text-align: center;
}

.service-card p,
.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.why-grid {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.section--why {
  padding-top: 26px;
}

.why-intro {
  max-width: 780px;
  text-align: center;
}

.why-panel {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary-strong), #2a5138);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg);
}

.why-panel__label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.why-panel strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  width: 100%;
}

.why-card {
  padding: 24px;
  border: 3px solid rgba(139, 195, 63, 0.98);
  border-radius: var(--radius-lg);
  background: rgba(39, 45, 40, 0.58);
  box-shadow: 0 16px 28px rgba(10, 17, 14, 0.18);
  text-align: center;
}

.why-card h3 {
  color: #fff;
}

.why-card p {
  color: rgba(255, 255, 255, 0.9);
}

.why-outro {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  white-space: nowrap;
}

.section--gallery {
  overflow: hidden;
  padding: 88px 0 96px;
  background: transparent;
}

.section--gallery::before {
  content: none;
}

.section-head--gallery {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.realisations-carousel {
  position: relative;
  z-index: 1;
  background: transparent;
}

.carousel-window {
  overflow: hidden;
  padding: 0 72px;
  touch-action: pan-y;
  background: transparent;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 8px 0 18px;
  transition: transform 620ms cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: transform;
  background: transparent;
}

.carousel-slide {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: calc((100% - 48px) / 3);
  min-width: 0;
  height: 286px;
  padding: 0;
  border: 0;
  border-radius: 38px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.carousel-slide--pair {
  background: transparent;
}

.carousel-pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.carousel-pair__divider {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 0 0 1px rgba(22, 32, 24, 0.08),
    0 0 18px rgba(255, 255, 255, 0.26);
  pointer-events: none;
  z-index: 1;
}

.carousel-pair img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.carousel-slide:hover img {
  transform: none;
}

.carousel-slide__overlay {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: rgba(67, 78, 61, 0.72);
  color: #fff;
  box-shadow: 0 14px 26px rgba(20, 30, 22, 0.18);
  transform: translateY(-50%);
}

.carousel-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.carousel-arrow--prev {
  left: 8px;
}

.carousel-arrow--next {
  right: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  background: transparent;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 75, 52, 0.22);
  flex: 0 0 auto;
}

.carousel-dot.is-active {
  background: rgba(35, 75, 52, 0.76);
}

.section--contact {
  padding-top: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.contact-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 28px auto 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 46px minmax(190px, 190px);
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(139, 195, 63, 0.46);
  border-radius: 22px;
  background: rgba(139, 195, 63, 0.22);
  box-shadow: var(--shadow-sm);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 195, 63, 1);
  box-shadow: var(--shadow-lg);
}

.contact-card--static:hover {
  transform: none;
}

.contact-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(35, 75, 52, 0.12), rgba(139, 160, 134, 0.16));
  color: var(--primary);
}

.contact-card__content {
  display: grid;
  gap: 3px;
  min-width: 0;
  justify-items: start;
  text-align: left;
}

.contact-card__content strong {
  font-size: 1rem;
  color: var(--text);
}

.contact-card__content span {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-card--email .contact-card__content span {
  font-size: 0.94rem;
  white-space: nowrap;
  overflow-wrap: normal;
}

.devis-panel {
  margin-top: 30px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px;
  border: 1px solid rgba(139, 195, 63, 0.46);
  border-radius: 28px;
  background: rgba(139, 195, 63, 0.22);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.devis-panel__head {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.devis-panel__head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--text);
}

.devis-panel__head p:last-child,
.devis-note {
  color: var(--muted);
  line-height: 1.7;
}

.devis-panel .eyebrow,
.avis-panel .eyebrow {
  color: var(--primary);
}

.devis-form {
  display: grid;
  gap: 16px;
}

.devis-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.devis-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.devis-form input,
.devis-form textarea,
.devis-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(35, 75, 52, 0.12);
  border-radius: 16px;
  background: rgba(240, 246, 240, 0.92);
  color: var(--text);
  outline: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease;
}

.devis-form input::placeholder,
.devis-form textarea::placeholder {
  color: rgba(31, 42, 36, 0.32);
}

.devis-form input:focus,
.devis-form textarea:focus,
.devis-form select:focus {
  border-color: rgba(35, 75, 52, 0.34);
  box-shadow: 0 0 0 4px rgba(35, 75, 52, 0.08);
  background: rgba(248, 252, 248, 0.98);
}

.devis-form textarea {
  resize: vertical;
  min-height: 148px;
}

.devis-note {
  margin: 0;
  font-size: 0.88rem;
}

.section--avis {
  padding-top: 10px;
}

.avis-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px;
  border: 1px solid rgba(139, 195, 63, 0.46);
  border-radius: 28px;
  background: rgba(139, 195, 63, 0.22);
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.avis-panel__content {
  max-width: 720px;
}

.avis-panel__content h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.avis-panel__content p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.avis-panel__actions {
  flex: 0 0 auto;
}

.avis-marquee {
  margin-top: 22px;
}

.avis-marquee__viewport {
  --avis-card-width: min(320px, 82vw);
  --avis-gap: 20px;
  --avis-card-count: 11;
  --avis-group-width: calc((var(--avis-card-width) * var(--avis-card-count)) + (var(--avis-gap) * (var(--avis-card-count) - 1)));
  position: relative;
  overflow: hidden;
  padding: 14px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}

.avis-marquee__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: avis-marquee-scroll 58s linear infinite;
  will-change: transform;
}

.avis-marquee__track:hover {
  animation-play-state: paused;
}

.avis-marquee__group {
  display: flex;
  align-items: stretch;
  gap: var(--avis-gap);
  flex: 0 0 auto;
}

.avis-marquee__group + .avis-marquee__group {
  margin-left: var(--avis-gap);
}

.avis-marquee__card {
  flex: 0 0 var(--avis-card-width);
  width: var(--avis-card-width);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 12px 18px 14px;
  min-height: 164px;
  border: 1px solid rgba(139, 195, 63, 0.46);
  border-radius: 24px;
  background: rgba(255, 251, 245, 0.9);
  box-shadow: none;
}

.avis-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.avis-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.avis-card__identity strong,
.avis-card__identity span {
  display: block;
}

.avis-card__identity strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.avis-card__identity span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.avis-card__meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.avis-card__avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(35, 75, 52, 0.12);
  color: var(--primary);
  font-weight: 800;
}

.avis-card__rating {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--muted);
}

.avis-card__stars {
  color: #d9a441;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

.avis-marquee__card p {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.55;
}

@keyframes avis-marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc((-1 * var(--avis-group-width)) - var(--avis-gap)), 0, 0);
  }
}

.site-footer {
  padding: 26px 0 36px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-top: 0;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer__brand img {
  width: 132px;
  height: 84px;
  object-fit: cover;
  object-position: center 44%;
  border-radius: 0;
  mix-blend-mode: normal;
  opacity: 1;
  filter: none;
}

.footer__meta p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__nav a {
  color: var(--muted);
  font-weight: 600;
}

.footer__meta {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.footer__meta p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f7a45 0%, #2fb15f 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 28px rgba(31, 122, 69, 0.3);
}

.thank-you {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.thank-you__panel {
  width: min(760px, calc(100vw - 32px));
  padding: 36px 32px;
  border: 1px solid rgba(139, 195, 63, 0.46);
  border-radius: 32px;
  background: rgba(255, 251, 245, 0.94);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.thank-you__logo {
  width: 178px;
  height: auto;
  margin: 0 auto 18px;
}

.thank-you__panel h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.thank-you__panel p {
  margin: 0 auto 26px;
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 12, 0.78);
  backdrop-filter: blur(8px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(90svh, 920px);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 39, 31, 0.8);
  color: #fff;
}

.lightbox__image {
  width: 100%;
  max-height: 74svh;
  display: block;
  object-fit: cover;
}

.lightbox__pair[hidden] {
  display: none;
}

.lightbox__pair {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  height: min(74svh, 720px);
  overflow: hidden;
  isolation: isolate;
}

.lightbox__pair-divider {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(23, 38, 30, 0.12),
    0 0 20px rgba(255, 255, 255, 0.24);
  pointer-events: none;
  z-index: 1;
}

.lightbox__pair-image {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.lightbox__caption {
  display: grid;
  gap: 8px;
  padding: 22px 24px 24px;
}

.lightbox__caption strong {
  font-size: 1.15rem;
}

.lightbox__caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lightbox--pair .lightbox__caption {
  display: none;
}

.lightbox--pair .lightbox__dialog {
  width: min(1180px, 100%);
}

.lightbox--pair .lightbox__pair {
  height: min(82svh, 760px);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms ease,
    transform 640ms cubic-bezier(0.2, 0.7, 0.15, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1200px) {
  .section {
    padding: 82px 0;
  }

  .site-header .container {
    width: min(100%, calc(100vw - 32px));
  }

  .header__shell {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
  }

  .header__inner {
    grid-column: auto;
    width: 100%;
    gap: 24px;
    padding: 4px 22px;
  }

  .brand__logo {
    width: 198px;
    height: 114px;
  }

  .header__nav {
    gap: 24px;
  }

  .header__nav a {
    font-size: 1rem;
  }

  .header__phone {
    min-height: 54px;
    padding: 0 18px;
    font-size: 0.94rem;
  }

  .hero__grid {
    gap: 34px;
    min-height: calc(100svh - var(--header-height) - 56px);
  }

  .hero__copy h1 {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
  }

  .hero__visual {
    min-height: 540px;
  }

  .hero__media img {
    min-height: 520px;
  }

  .services-grid {
    width: min(1020px, calc(100vw - 36px));
    gap: 20px;
  }

  .carousel-window {
    padding: 0 56px;
  }

  .carousel-track {
    gap: 20px;
  }

  .carousel-slide {
    height: 270px;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 76px 0;
  }

  .site-header {
    padding-top: 8px;
  }

  .site-header .container {
    width: min(100%, calc(100vw - 24px));
  }

  .header__shell {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .header__phone {
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 92px;
    padding: 8px 16px 8px 18px;
  }

  .brand__logo {
    width: 184px;
    height: 106px;
  }

  .header__nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 22px;
    background: rgba(239, 237, 231, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 220ms ease,
      visibility 220ms ease,
      transform 220ms ease;
  }

  .site-header.is-menu-open .header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header__nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.52);
  }

  .header__nav a:hover {
    background: rgba(255, 255, 255, 0.9);
  }

  .header__actions {
    gap: 10px;
  }

  .header__devis {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.86rem;
  }

  .socials {
    display: none;
  }

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

  .hero {
    padding-top: 24px;
  }

  .hero__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
  }

  .hero__copy,
  .hero__visual {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__text {
    max-width: 680px;
    margin: 18px auto 0;
  }

  .hero__actions,
  .hero__points {
    justify-content: center;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero__media img {
    min-height: 460px;
  }

  .services-grid,
  .why-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(920px, calc(100vw - 32px));
    gap: 18px;
  }

  .services-stage {
    padding: 46px 0 58px;
  }

  .section--gallery {
    padding: 76px 0 82px;
  }

  .carousel-window {
    padding: 0 48px;
  }

  .carousel-track {
    gap: 18px;
  }

  .carousel-slide {
    height: 250px;
    border-radius: 32px;
  }

  .carousel-arrow {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .contact-copy p {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-cards {
    max-width: 760px;
  }

  .contact-card {
    grid-template-columns: 46px minmax(0, 1fr);
    justify-content: start;
  }

  .why-outro {
    max-width: min(100%, 760px);
    white-space: normal;
    text-wrap: balance;
  }

  .contact-card--email .contact-card__content span {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .devis-panel {
    max-width: 760px;
    padding: 24px;
  }

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

  .footer__meta {
    justify-items: start;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }

  .site-header .container {
    width: min(100%, calc(100vw - 18px));
  }

  .header__phone {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .header__inner {
    min-height: 80px;
    padding: 6px 12px 6px 14px;
    border-radius: 22px;
  }

  .brand__logo {
    width: 170px;
    height: 98px;
  }

  .header__devis {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.8rem;
  }

  .header__menu-toggle {
    width: 46px;
    height: 46px;
  }

  .header__nav {
    left: 8px;
    right: 8px;
    top: calc(100% + 8px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero__copy h1 {
    font-size: clamp(2.9rem, 13vw, 4.4rem);
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__points {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero__points li {
    text-align: center;
  }

  .hero__media img {
    min-height: 380px;
  }

  .media-badge--top {
    top: 18px;
    left: 18px;
  }

  .media-note {
    right: 16px;
    left: 16px;
    bottom: 16px;
    max-width: none;
  }

  .services-grid,
  .why-list,
  .contact-cards,
  .devis-form__grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    gap: 16px;
  }

  .services-stage {
    padding: 34px 0 42px;
    border-radius: 28px;
  }

  .service-card,
  .why-card {
    padding: 18px 18px 20px;
  }

  .section--gallery {
    padding: 64px 0 72px;
  }

  .carousel-window {
    padding: 0 40px;
  }

  .carousel-track {
    gap: 14px;
  }

  .carousel-slide {
    height: clamp(248px, 66vw, 320px);
    border-radius: 28px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .carousel-arrow span {
    font-size: 1.8rem;
  }

  .contact-card {
    padding: 16px;
  }

  .devis-panel {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .devis-form input,
  .devis-form textarea,
  .devis-form select {
    padding: 13px 14px;
  }

  .avis-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }

  .avis-panel__actions,
  .avis-panel__actions .button {
    width: 100%;
  }

  .avis-marquee__viewport {
    --avis-card-width: min(290px, 84vw);
    --avis-gap: 16px;
  }

  .lightbox {
    padding: 12px;
  }

  .thank-you__panel {
    width: min(100%, calc(100vw - 20px));
    padding: 28px 20px;
    border-radius: 24px;
  }

  .lightbox__dialog,
  .lightbox--pair .lightbox__dialog {
    width: min(560px, 100%);
  }

  .lightbox__pair,
  .lightbox--pair .lightbox__pair {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 78svh;
    overflow: auto;
  }

  .lightbox__pair-divider {
    display: none;
  }

  .lightbox__pair-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .footer__inner {
    padding: 18px 0 0;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    min-height: 50px;
    padding: 0 16px;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2,
  .why-intro h2,
  .contact-copy h2,
  .avis-panel__content h2 {
    font-size: clamp(1.95rem, 11vw, 2.8rem);
    line-height: 1.02;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.76rem;
  }

  .header__phone {
    width: 100%;
    justify-content: center;
  }

  .header__inner {
    gap: 10px;
    min-height: 74px;
    padding: 6px 10px 6px 12px;
  }

  .brand__logo {
    width: 150px;
    height: 86px;
  }

  .header__devis {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.75rem;
  }

  .header__menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .header__nav a {
    min-height: 44px;
    font-size: 0.96rem;
  }

  .hero {
    padding-top: 12px;
  }

  .hero__copy h1 {
    font-size: clamp(2.45rem, 16vw, 3.35rem);
  }

  .hero__text {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero__media img {
    min-height: 320px;
  }

  .services-stage {
    margin-top: 20px;
    padding: 26px 0 34px;
    width: calc(100vw - 16px);
    margin-left: calc(50% - 50vw + 8px);
    margin-right: calc(50% - 50vw + 8px);
    border-radius: 22px;
  }

  .services-grid {
    width: min(100%, calc(100vw - 24px));
    gap: 14px;
  }

  .service-card,
  .why-card {
    border-radius: 22px;
  }

  .contact-cards {
    gap: 12px;
  }

  .contact-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .contact-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .contact-card__content strong {
    font-size: 0.95rem;
  }

  .contact-card__content span {
    font-size: 0.8rem;
  }

  .why-outro {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .devis-panel {
    padding: 18px 14px;
    border-radius: 22px;
  }

  .devis-form {
    gap: 14px;
  }

  .devis-form textarea {
    min-height: 132px;
  }

  .carousel-window {
    padding: 0 32px;
  }

  .carousel-slide {
    height: clamp(220px, 72vw, 290px);
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .carousel-arrow span {
    font-size: 1.45rem;
  }

  .carousel-dots {
    gap: 8px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .avis-panel {
    padding: 20px 16px;
  }

  .avis-marquee__viewport {
    --avis-card-width: min(262px, 84vw);
    padding: 12px 0 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }
}

@media (max-width: 360px) {
  .site-header .container {
    width: min(100%, calc(100vw - 14px));
  }

  .header__phone {
    font-size: 0.82rem;
  }

  .header__inner {
    gap: 8px;
    min-height: 70px;
    padding: 6px 8px 6px 10px;
  }

  .brand__logo {
    width: 136px;
    height: 78px;
  }

  .header__devis {
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero__copy h1 {
    font-size: clamp(2.2rem, 16vw, 3rem);
  }

  .hero__media img {
    min-height: 286px;
  }

  .service-card,
  .why-card {
    padding: 16px 14px 18px;
  }

  .service-card h3,
  .why-card h3 {
    font-size: 1.04rem;
  }

  .service-card p,
  .why-card p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .carousel-window {
    padding: 0 28px;
  }

  .carousel-slide {
    height: clamp(204px, 78vw, 258px);
  }

  .devis-panel {
    padding: 16px 12px;
  }

  .devis-form label {
    font-size: 0.92rem;
  }

  .avis-marquee__viewport {
    --avis-card-width: min(246px, 86vw);
  }
}
