:root {
  --ink: #102026;
  --muted: #607177;
  --line: #dce6e6;
  --paper: #eef5f2;
  --paper-strong: #e3eee9;
  --white: #ffffff;
  --blue: #2f7d8f;
  --blue-dark: #1f5d6d;
  --green: #234f38;
  --green-dark: #173626;
  --green-soft: #dcebe3;
  --green-mid: #3b6f50;
  --shadow: 0 18px 50px rgba(13, 32, 38, 0.18);
  --radius: 8px;
  --content-max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(238, 245, 242, 0.96), rgba(224, 237, 231, 0.96)),
    linear-gradient(115deg, rgba(35, 79, 56, 0.12), transparent 38%),
    radial-gradient(circle at 8% 10%, rgba(36, 124, 156, 0.16), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(47, 104, 75, 0.2), transparent 32%),
    linear-gradient(180deg, #eef5f2, #dfece6);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 3vw, 42px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.96));
  box-shadow: 0 10px 30px rgba(15, 32, 38, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  opacity: 0.78;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.4vw, 24px);
  flex: 1 1 auto;
  max-width: 1180px;
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px clamp(8px, 1vw, 14px);
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.24;
  flex: 1 1 0;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-nav .nav-cta {
  margin-left: 4px;
  color: var(--white);
  background: var(--green);
}

.site-nav .nav-cta:hover {
  background: var(--green-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.site-header.is-scrolled .menu-button,
.site-header.is-open .menu-button {
  background: rgba(255, 255, 255, 0.1);
}

.menu-button__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(18px, 4vw, 54px) 42px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  inset: -8px;
  background:
    linear-gradient(90deg, rgba(10, 26, 32, 0.78), rgba(10, 26, 32, 0.25)),
    url("assets/hero-realisation.jpg") center / cover no-repeat,
    linear-gradient(135deg, rgba(21, 84, 108, 0.18), rgba(47, 104, 75, 0.22)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(115deg, #1f4f5f 0%, #dfe8e6 52%, #456b5a 100%);
  filter: blur(2px) saturate(1.03);
  transform: scale(1.01);
}

.hero-media::after {
  display: none;
}

.hero-photo-placeholder {
  display: none;
}

.hero-photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 18% 8% 18% 36%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.26) 0 2px,
      transparent 2px 100px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.hero-photo-placeholder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(37, 58, 48, 0.74));
}

.hero-photo-placeholder span {
  position: relative;
  z-index: 1;
  margin-top: 140px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(10, 26, 32, 0.84) 0%, rgba(10, 26, 32, 0.56) 44%, rgba(10, 26, 32, 0.18) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.hero-content--simple {
  min-height: calc(94vh - 160px);
  align-items: center;
}

.hero-copy {
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a9e3f0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  overflow-wrap: normal;
}

p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4.35vw, 4.25rem);
}

.hero-title {
  max-width: 1120px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.hero-title span,
.hero-lead span {
  display: block;
}

@media (min-width: 761px) {
  .hero-title span {
    white-space: nowrap;
  }
}

h2 {
  font-size: clamp(2.05rem, 3.5vw, 3.45rem);
}

h3 {
  font-size: 1.38rem;
}

.hero-lead {
  max-width: 1120px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.18vw, 1.16rem);
  line-height: 1.48;
}

.hero-note {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 800;
  line-height: 1.5;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button-large {
  min-height: 72px;
  padding: 22px 38px;
  font-size: 1.24rem;
}

.button-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.quote-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-card--wide {
  width: min(980px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
}

.quote-card__header,
.quote-card .full,
.form-note {
  grid-column: 1 / -1;
}

.quote-card__header h2 {
  font-size: 1.55rem;
}

.quote-card__header p:last-child,
.section-heading p,
.feature-copy p,
.two-column p,
.cta-section p,
.service-card p {
  color: var(--muted);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.87rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(36, 124, 156, 0.2);
  border-color: var(--blue);
}

.file-drop {
  position: relative;
  min-height: 142px;
  justify-items: center;
  padding: 24px;
  border: 2px dashed rgba(35, 79, 56, 0.42);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(220, 235, 227, 0.92), rgba(255, 255, 255, 0.82));
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.file-drop.is-dragover {
  border-color: var(--green);
  background:
    linear-gradient(135deg, rgba(220, 235, 227, 1), rgba(255, 255, 255, 0.96));
  transform: translateY(-1px);
}

.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop__title {
  font-size: 1rem;
  font-weight: 900;
}

.file-drop__text,
.file-drop__list {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section,
.feature-band,
.cta-section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 3vw, 42px);
}

.section-tinted,
.quote-section,
.reviews-section,
.zone-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(220, 235, 227, 0.78)),
    linear-gradient(90deg, rgba(35, 79, 56, 0.08), rgba(47, 125, 143, 0.08)),
    var(--paper-strong);
}

.google-review-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(13, 32, 38, 0.08);
}

.google-review-card p,
.google-review-card small {
  color: var(--muted);
}

.google-review-card {
  display: grid;
  align-content: center;
  gap: 16px;
  background:
    linear-gradient(135deg, rgba(35, 79, 56, 0.1), rgba(47, 125, 143, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.google-review-section .google-review-card {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.google-review-section .button {
  justify-self: center;
}

.google-review-card__stars {
  color: #f4bd32;
  font-size: 1.6rem;
  font-weight: 900;
}

.google-review-card .button[aria-disabled="true"] {
  opacity: 0.72;
}

#services {
  background:
    linear-gradient(180deg, rgba(238, 245, 242, 0.9), rgba(220, 235, 227, 0.78)),
    linear-gradient(90deg, rgba(35, 79, 56, 0.08), rgba(47, 125, 143, 0.08));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.54fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.intro-grid p {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(13, 32, 38, 0.1);
}

.contact-panel a,
.contact-panel span {
  display: block;
  padding: 13px 16px;
  border-radius: 6px;
  background: rgba(238, 245, 242, 0.92);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.section-heading,
.section.two-column,
.service-grid,
.why-grid,
.project-grid {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 1040px;
  margin-bottom: 42px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  max-width: 980px;
  margin: 0 auto;
}

.section-heading p {
  font-size: 1.1rem;
}

#services .section-heading p {
  max-width: none;
  white-space: nowrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.service-grid--materials {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid--photo {
  align-items: stretch;
}

.service-card {
  min-height: 316px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(13, 32, 38, 0.08);
}

.photo-card {
  padding: 0;
  overflow: hidden;
}

.photo-card h3,
.photo-card p,
.photo-card a {
  margin-left: 34px;
  margin-right: 34px;
  text-align: center;
}

.photo-card a {
  align-self: center;
  margin-bottom: 30px;
}

.service-card__media {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: end center;
  padding: 18px;
  color: var(--white);
  overflow: hidden;
}

.service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 74px);
}

.service-card__media span {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 1.1rem;
}

.service-card__media.glass {
  background:
    url("assets/service-verre.jpg") center / cover no-repeat,
    linear-gradient(135deg, rgba(36, 124, 156, 0.12), rgba(36, 124, 156, 0.52));
}

.service-card__media.metal {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.55)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Decorative_metal_fence_detail_-_51999653793.jpg") center / cover no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 3px, transparent 3px 66px),
    linear-gradient(135deg, #d4d9da, #45545a);
}

.service-card__media.composite {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.55)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/White_Vinyl_Fence.jpg") center / cover no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 12px, rgba(16, 32, 38, 0.18) 12px 14px),
    linear-gradient(135deg, #cdd8c7, #556d5c);
}

.service-card__media.pvc {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.55)),
    url("https://commons.wikimedia.org/wiki/Special:Redirect/file/Decking-and-fence-panels.jpg") center / cover no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 22px, rgba(16, 32, 38, 0.2) 22px 24px),
    linear-gradient(135deg, #d3ded0, #47674e);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  border: 1px solid rgba(36, 124, 156, 0.24);
}

.service-card__icon.glass {
  background: linear-gradient(135deg, rgba(36, 124, 156, 0.08), rgba(36, 124, 156, 0.3));
}

.service-card__icon.metal {
  background: linear-gradient(135deg, #d4d9da, #6c7779);
}

.service-card__icon.mesh {
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(16, 32, 38, 0.28) 8px 10px),
    repeating-linear-gradient(-45deg, transparent 0 8px, rgba(16, 32, 38, 0.22) 8px 10px),
    #f1f5f5;
}

.service-card__icon.composite {
  background: linear-gradient(135deg, #f2f2ed, #b7beb0);
}

.service-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.58;
}

.service-card a {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.service-card a[href="#soumission"] {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green);
  text-decoration: none;
}

.service-card a[href="#soumission"]:hover {
  background: var(--green-dark);
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(238, 245, 242, 0.96), rgba(220, 235, 227, 0.88)),
    linear-gradient(135deg, rgba(35, 79, 56, 0.1), rgba(47, 125, 143, 0.08)),
    url("assets/background-soft.jpg") center / cover no-repeat;
}

.feature-copy {
  max-width: 560px;
}

.feature-copy h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.12;
}

.realisations-carousel {
  position: relative;
  min-width: 0;
  width: 100%;
}

.carousel-viewport {
  overflow-x: hidden;
  overflow-y: hidden;
  border-radius: var(--radius);
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-track .project-card {
  flex: 0 0 100%;
  min-height: 520px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.92));
}

.carousel-track .project-card img {
  object-fit: contain;
}

.carousel-track .project-card--wide img {
  object-fit: cover;
}

.carousel-track .project-card:hover img {
  transform: none;
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 30px rgba(13, 32, 38, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 900;
}

.carousel-button:hover {
  background: var(--green-dark);
}

.carousel-button--prev {
  left: -22px;
}

.carousel-button--next {
  right: -22px;
}

.feature-copy .button-secondary,
.cta-section .button-secondary {
  color: var(--blue-dark);
  border-color: rgba(36, 124, 156, 0.24);
  background: rgba(36, 124, 156, 0.08);
}

.gallery-preview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  min-height: 430px;
}

.gallery-tile {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 190px;
  padding: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54)),
    linear-gradient(135deg, #dfe8e6, #39708b 52%, #2f684b);
}

.gallery-tile.tile-1 {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54)),
    url("assets/gallery-7.jpg") center / cover no-repeat;
}

.gallery-tile.tile-2 {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54)),
    url("assets/gallery-4.jpg") center / cover no-repeat;
}

.gallery-tile.tile-3 {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.54)),
    url("assets/gallery-5.jpg") center / cover no-repeat;
}

.gallery-tile.large {
  grid-row: span 2;
}

.gallery-tile span {
  display: none;
}

.project-gallery {
  background: linear-gradient(180deg, var(--paper), #f7faf8);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.project-card {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.project-card.tall {
  grid-column: span 4;
  min-height: 520px;
}

.project-card.wide {
  grid-column: span 6;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-card::after {
  display: none;
}

.project-card figcaption {
  display: none;
}

.why-section {
  background:
    linear-gradient(135deg, rgba(23, 54, 38, 0.16), rgba(47, 125, 143, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(220, 235, 227, 0.64)),
    var(--paper-strong);
}

.why-section .section-heading {
  max-width: 1180px;
}

.why-section .section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.05rem);
}

.why-section .section-heading p {
  max-width: none;
  white-space: nowrap;
}

.quote-section .section-heading p {
  max-width: none;
  white-space: nowrap;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.why-grid article {
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 252, 250, 0.76));
  box-shadow: 0 14px 34px rgba(13, 32, 38, 0.08);
}

.why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-mid));
  font-weight: 900;
}

.why-grid p,
.faq-list p {
  color: var(--muted);
}

.why-grid p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1.1fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: start;
}

.section.two-column {
  width: 100%;
  max-width: none;
  margin: 0;
}

.zone-section {
  grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.6fr);
  gap: clamp(34px, 4.5vw, 76px);
}

.zone-section h2 {
  font-size: clamp(1.85rem, 2.55vw, 2.65rem);
  line-height: 1.16;
}

.two-column p,
.feature-copy p {
  font-size: 1.08rem;
}

.zone-details {
  display: grid;
  gap: 16px;
}

.zone-details article,
.zone-note {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(13, 32, 38, 0.07);
}

.zone-details h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
}

.zone-details p {
  margin: 0;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zone-list span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 32, 38, 0.9), rgba(16, 32, 38, 0.72)),
    linear-gradient(135deg, var(--blue-dark), var(--green));
  border-radius: 0;
}

.cta-section h2,
.intro-grid h2,
.quote-section .section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.12;
}

.cta-section p,
.cta-section .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.faq-section {
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.reviews-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(13, 32, 38, 0.08);
}

.reviews-grid p {
  color: var(--muted);
}

.reviews-grid strong {
  display: block;
  margin-top: 18px;
}

.stars {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 54px);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-content,
  .feature-band,
  .two-column {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .service-grid--materials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.tall,
  .project-card.wide {
    grid-column: span 6;
    min-height: 360px;
  }

  .carousel-track .project-card {
    min-height: 460px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    max-width: 720px;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 86px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px;
    color: var(--white);
    background:
      linear-gradient(135deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: auto;
    padding: 13px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px;
    color: var(--white);
    background:
      linear-gradient(135deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: auto;
    padding: 13px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
    flex: 0 0 auto;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-lead span {
    display: inline;
  }

  .hero-lead span + span::before {
    content: " ";
  }

  #services .section-heading p {
    white-space: normal;
  }

  .why-section .section-heading p {
    white-space: normal;
  }

  .quote-section .section-heading p {
    white-space: normal;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 26, 32, 0.86) 0%, rgba(10, 26, 32, 0.6) 100%);
  }

  .hero-photo-placeholder::before {
    inset: 18% 5% 34% 5%;
  }

  .hero-actions,
  .contact-actions,
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .quote-card {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .service-grid--materials,
  .why-grid,
  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .photo-card h3,
  .photo-card p,
  .photo-card a {
    margin-left: 24px;
    margin-right: 24px;
  }

  .carousel-track .project-card {
    min-height: 380px;
  }

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

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

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card.tall,
  .project-card.wide {
    grid-column: auto;
    min-height: 330px;
  }

  .gallery-preview {
    min-height: 0;
  }

  .gallery-tile.large {
    grid-row: auto;
    min-height: 260px;
  }
}

/* Motion update - Codex */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: translateY(var(--hero-y, 0)) scale(1.05);
  }
  to {
    transform: translateY(calc(var(--hero-y, 0) - 12px)) scale(1.08);
  }
}

@keyframes lineSweep {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.hero-media {
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.eyebrow {
  position: relative;
  display: inline-block;
}

.section-heading .eyebrow::after,
.feature-copy .eyebrow::after,
.zone-section .eyebrow::after,
.intro-section .eyebrow::after,
.quote-section .eyebrow::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform-origin: left center;
  animation: lineSweep 720ms ease both;
}

.feature-copy .eyebrow::after,
.zone-section .eyebrow::after,
.intro-section .eyebrow::after {
  margin-left: 0;
  margin-right: 0;
}

.animations-ready main > section:not(.hero),
.animations-ready .service-card,
.animations-ready .why-grid article,
.animations-ready .zone-details article,
.animations-ready .zone-note,
.animations-ready .contact-panel,
.animations-ready .quote-card {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 620ms ease, transform 620ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.animations-ready main > section.is-visible,
.animations-ready .service-card.is-visible,
.animations-ready .why-grid article.is-visible,
.animations-ready .zone-details article.is-visible,
.animations-ready .zone-note.is-visible,
.animations-ready .contact-panel.is-visible,
.animations-ready .quote-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card,
.why-grid article,
.zone-details article,
.zone-note,
.contact-panel,
.quote-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.why-grid article:hover,
.zone-details article:hover,
.zone-note:hover,
.contact-panel:hover,
.quote-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 79, 56, 0.26);
  box-shadow: 0 24px 58px rgba(13, 32, 38, 0.14);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.18), transparent 62%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 220ms ease, transform 520ms ease;
}

.service-card:hover .service-card__media::after {
  opacity: 1;
  transform: translateX(35%);
}

.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.78);
}

.feature-band,
.why-section,
.zone-section,
.intro-section,
.quote-section,
.cta-section {
  min-height: min(860px, 92vh);
  align-content: center;
}

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

  .animations-ready main > section:not(.hero),
  .animations-ready .service-card,
  .animations-ready .why-grid article,
  .animations-ready .zone-details article,
  .animations-ready .zone-note,
  .animations-ready .contact-panel,
  .animations-ready .quote-card {
    opacity: 1;
    transform: none;
  }
}

/* Legal and SEO pages - Codex */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.footer-links a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.subpage {
  background:
    linear-gradient(180deg, rgba(238, 245, 242, 0.98), rgba(220, 235, 227, 0.96)),
    radial-gradient(circle at 8% 4%, rgba(35, 79, 56, 0.18), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(47, 125, 143, 0.12), transparent 32%);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(90deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.96));
  box-shadow: 0 10px 30px rgba(15, 32, 38, 0.18);
}

.page-header .brand-logo {
  width: 58px;
  height: 58px;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
  text-decoration: none;
}

.page-hero,
.legal-content,
.article-list,
.article-content {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
  padding: clamp(46px, 8vw, 92px) clamp(18px, 4vw, 54px);
}

.page-hero {
  display: grid;
  gap: 18px;
  min-height: 42vh;
  align-content: center;
}

.page-hero h1 {
  max-width: 980px;
  color: var(--green-dark);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.16rem;
}

.thank-you-hero {
  min-height: 62vh;
}

.thank-you-hero .button-secondary {
  color: var(--green-dark);
  border-color: rgba(35, 79, 56, 0.28);
  background: rgba(35, 79, 56, 0.08);
}

.legal-content,
.article-content {
  display: grid;
  gap: 22px;
  max-width: 980px;
}

.legal-content article,
.article-content article,
.article-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(16, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(13, 32, 38, 0.08);
}

.legal-content h2,
.article-content h2,
.article-card h2 {
  color: var(--green-dark);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.legal-content p,
.legal-content li,
.article-content p,
.article-content li,
.article-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(35, 79, 56, 0.28);
  box-shadow: 0 24px 58px rgba(13, 32, 38, 0.14);
}

.article-tag {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

@media (max-width: 760px) {
  .site-footer,
  .footer-links,
  .page-header,
  .page-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA mobile compact - Codex */
@media (max-width: 760px) {
  .cta-section {
    gap: 18px;
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .cta-section .contact-actions {
    margin-top: 6px;
    gap: 10px;
  }
}

/* Layout balance update - Codex */
.section,
.feature-band,
.cta-section {
  padding-top: clamp(44px, 6vw, 74px);
  padding-bottom: clamp(44px, 6vw, 74px);
}

.feature-band,
.why-section,
.zone-section,
.intro-section,
.quote-section,
.cta-section {
  min-height: auto;
}

.feature-band {
  grid-template-columns: minmax(420px, 0.95fr) minmax(480px, 1.05fr);
  gap: clamp(26px, 3.2vw, 48px);
}

.feature-copy {
  max-width: 680px;
}

.feature-copy h2 {
  font-size: clamp(2.35rem, 3.9vw, 4.05rem);
  line-height: 1.05;
}

.feature-copy p {
  font-size: clamp(1.12rem, 1.35vw, 1.28rem);
  line-height: 1.62;
}

.carousel-track .project-card {
  min-height: clamp(360px, 44vw, 520px);
}

.subpage .site-header {
  position: sticky;
  color: var(--white);
  background: linear-gradient(90deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.96));
  box-shadow: 0 10px 30px rgba(15, 32, 38, 0.18);
}

.subpage .menu-button {
  display: block;
  flex: 0 0 auto;
}

.subpage .site-nav {
  position: absolute;
  top: 86px;
  left: clamp(18px, 3vw, 42px);
  right: clamp(18px, 3vw, 42px);
  display: none;
  flex-direction: column;
  align-items: stretch;
  padding: 10px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(23, 54, 38, 0.98), rgba(35, 79, 56, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subpage .site-nav.is-open {
  display: flex;
}

.subpage .site-nav a {
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .feature-band {
    grid-template-columns: 1fr;
  }

  .carousel-track .project-card {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .section,
  .feature-band,
  .cta-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .feature-copy h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .carousel-track .project-card {
    min-height: 330px;
  }
}

/* Material photo update - Codex */
.hero-note {
  max-width: none;
  white-space: nowrap;
}

.service-card__media.glass {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.48)),
    url("Photo Type clotures/Photo Verre Site.png") center / cover no-repeat;
}

.service-card__media.metal {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.54)),
    url("Photo Type clotures/ChatGPT Image May 20, 2026, 10_31_39 AM.png") center / cover no-repeat;
}

.service-card__media.composite {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.54)),
    url("Photo Type clotures/product-composite.PNG") center / cover no-repeat;
}

.service-card__media.pvc {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.54)),
    url("Photo Type clotures/Pvc-Brun-7.jpg") center / cover no-repeat;
}

@media (max-width: 900px) {
  .hero-note {
    white-space: normal;
  }
}

/* Material overlay cleanup - Codex */
.service-card__media::before,
.service-card__media::after {
  display: none;
}

.service-card__media.glass {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34)),
    url("Photo Type clotures/Photo Verre Site.png") center / contain no-repeat,
    #dce6e3;
}

/* Mobile glass and secondary nav update - Codex */
@media (min-width: 861px) {
  .subpage .menu-button {
    display: block;
  }

  .subpage .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .subpage .site-nav a {
    padding: 10px 12px;
    border: 0;
    background: transparent;
  }

  .subpage .site-nav a:hover {
    background: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 760px) {
  .service-card__media.glass {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.42)),
      url("Photo Type clotures/Photo Verre Sitev2.PNG") center / cover no-repeat;
  }
}
