:root {
  color-scheme: light;
  --ink: #1c1b18;
  --ink-soft: #44423d;
  --muted: #6d685f;
  --paper: #fffdf8;
  --surface: #eef3ef;
  --surface-strong: #e5ebe7;
  --line: #d9d6ca;
  --clay: #c75e3a;
  --clay-dark: #8e3f28;
  --sage: #456f62;
  --teal: #1d6070;
  --plum: #66415c;
  --amber: #d2a13e;
  --porcelain: #f7faf8;
  --glass: rgba(255, 255, 255, 0.68);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(28, 27, 24, 0.14);
  --shadow-soft: 0 12px 38px rgba(28, 27, 24, 0.08);
  --shadow-strong: 0 26px 74px rgba(28, 27, 24, 0.2);
  --radius: 8px;
  --container: 1160px;
  --header-height: 78px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-elastic: cubic-bezier(0.2, 0.9, 0.2, 1.12);
  --scroll-progress: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(28, 27, 24, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(28, 27, 24, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper) 0%, var(--porcelain) 42%, #fff9f0 100%);
  background-size: 34px 34px, 34px 34px, auto;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

::selection {
  color: var(--white);
  background: var(--clay);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 253, 248, 0.82);
  border-bottom: 1px solid rgba(217, 214, 202, 0.74);
  backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.62) inset;
  transition: box-shadow 240ms ease, min-height 240ms ease, background 240ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clay), var(--amber), var(--teal));
  transform: scaleX(var(--scroll-progress));
  transform-origin: left;
  transition: transform 120ms linear;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 14px 44px rgba(28, 27, 24, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: inherit;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 3px;
  width: 34px;
  height: 34px;
  padding: 2px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(28, 27, 24, 0.12);
  transition: transform 260ms var(--ease-elastic), box-shadow 260ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-3deg) translateY(-1px);
  box-shadow: 0 14px 30px rgba(28, 27, 24, 0.18);
}

.brand-mark span {
  border-radius: 2px;
  transition: transform 260ms var(--ease-elastic);
}

.brand:hover .brand-mark span:nth-child(1),
.brand:focus-visible .brand-mark span:nth-child(1) {
  transform: translate(-1px, -1px);
}

.brand:hover .brand-mark span:nth-child(4),
.brand:focus-visible .brand-mark span:nth-child(4) {
  transform: translate(1px, 1px);
}

.brand-mark span:nth-child(1) {
  background: var(--clay);
}

.brand-mark span:nth-child(2) {
  background: var(--teal);
}

.brand-mark span:nth-child(3) {
  background: var(--sage);
}

.brand-mark span:nth-child(4) {
  background: var(--plum);
}

.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-meta {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(217, 214, 202, 0.58);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 255, 255, 0.46);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--ink), #343128) !important;
  box-shadow: 0 12px 24px rgba(28, 27, 24, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--clay-dark) !important;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(80svh - var(--header-height));
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: 62% 50%;
  will-change: transform;
}

.hero::before {
  content: "";
  z-index: -1;
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.86), rgba(17, 16, 14, 0.52) 48%, rgba(17, 16, 14, 0.12)),
    linear-gradient(0deg, rgba(17, 16, 14, 0.68), transparent 46%);
}

.hero-content {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 92px 0 52px;
}

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

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffc6a7;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(210, 161, 62, 0.14);
}

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

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5.4vw, 5.15rem);
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.22rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
}

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

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  isolation: isolate;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 58%);
  opacity: 0.76;
  pointer-events: none;
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--clay), #da744b);
  box-shadow: 0 18px 38px rgba(142, 63, 40, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, var(--clay-dark), var(--clay));
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 42px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.25);
}

.trust-strip li {
  min-height: 86px;
  padding: 16px;
  background: rgba(20, 18, 15, 0.3);
  transition: background 220ms ease, transform 220ms var(--ease-out);
}

.trust-strip li:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.trust-strip strong {
  display: block;
  font-size: 1.1rem;
}

.trust-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

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

.section-alt {
  background:
    linear-gradient(90deg, rgba(69, 111, 98, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 96, 112, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--surface), #f7f4ec);
  background-size: 38px 38px, 38px 38px, auto;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.048) 1px, transparent 1px),
    linear-gradient(135deg, #171612, #25221c 48%, #1a2a29);
  background-size: 48px 48px, 48px 48px, auto;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-header h2 {
  max-width: 760px;
}

.section-dark .section-header p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.76);
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(217, 214, 202, 0.88);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.86)),
    var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease;
}

.card:hover,
.card:focus-within {
  border-color: rgba(199, 94, 58, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card-accent {
  position: relative;
  overflow: hidden;
}

.card-accent::before {
  content: "";
  display: block;
  width: 52px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--clay), var(--amber));
}

.card-accent:nth-child(2)::before {
  background: linear-gradient(90deg, var(--teal), var(--sage));
}

.card-accent:nth-child(3)::before {
  background: linear-gradient(90deg, var(--sage), var(--amber));
}

.card-accent:nth-child(4)::before {
  background: linear-gradient(90deg, var(--plum), var(--clay));
}

.card p,
.feature p,
.step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--clay-dark);
  font-weight: 800;
  text-decoration: none;
}

.link-arrow::after {
  content: "\2192";
  transition: transform 180ms ease;
}

.link-arrow:hover,
.link-arrow:focus-visible {
  text-decoration: underline;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.image-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: end;
}

.image-stack::before {
  content: "";
  position: absolute;
  inset: 22px -14px -16px 28px;
  z-index: -1;
  border: 1px solid rgba(69, 111, 98, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(69, 111, 98, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(69, 111, 98, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

.image-stack img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 420ms var(--ease-out), box-shadow 420ms ease;
}

.image-stack:hover img:first-child {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: var(--shadow-strong);
}

.image-stack:hover img:nth-child(2) {
  transform: translateY(6px) rotate(0.8deg);
}

.image-stack img:nth-child(2) {
  height: 330px;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 15px;
  height: 8px;
  border-bottom: 3px solid var(--sage);
  border-left: 3px solid var(--sage);
  transform: rotate(-45deg);
}

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(217, 214, 202, 0.9);
  border-radius: var(--radius);
  background: rgba(217, 214, 202, 0.9);
  box-shadow: var(--shadow-soft);
}

.step {
  counter-increment: step;
  position: relative;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(238, 243, 239, 0.86)),
    var(--paper);
  transition: transform 260ms var(--ease-out), background 260ms ease;
}

.step:hover {
  transform: translateY(-4px);
  background: var(--white);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink), var(--teal));
  box-shadow: 0 12px 24px rgba(28, 27, 24, 0.18);
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.gallery-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.055);
}

.gallery-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(20, 18, 15, 0.82), rgba(20, 18, 15, 0));
  font-weight: 800;
}

.gallery-side {
  display: grid;
  gap: 18px;
}

.gallery-side .gallery-card {
  min-height: 181px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #1c1b18, #2b2822 54%, #183c43);
  background-size: 34px 34px, 34px 34px, auto;
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: inherit;
  pointer-events: none;
}

.cta-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 74px 0 54px;
  color: var(--white);
  background: var(--ink);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(23, 22, 18, 0.95), rgba(23, 22, 18, 0.78) 58%, rgba(23, 22, 18, 0.42)),
    url("../images/hero-carreleur.webp") center/cover;
  transform: scale(1.04);
}

.page-hero::after {
  opacity: 0.34;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 76%);
}

.page-hero h1 {
  max-width: 900px;
  font-size: 3.1rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  font-size: 1.55rem;
}

.service-detail p {
  margin-top: 0;
}

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

.feature {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(238, 243, 239, 0.92)),
    var(--surface);
  box-shadow: 0 10px 26px rgba(28, 27, 24, 0.05);
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.feature:nth-child(2n) {
  border-left-color: var(--clay);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

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

.zone-list li {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 22px rgba(28, 27, 24, 0.05);
  font-weight: 700;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.zone-list li:hover {
  border-color: rgba(199, 94, 58, 0.34);
  background: var(--white);
  transform: translateY(-2px);
}

.map-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(69, 111, 98, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(69, 111, 98, 0.1) 1px, transparent 1px),
    linear-gradient(135deg, rgba(69, 111, 98, 0.16), transparent 58%),
    var(--white);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow-soft);
}

.map-panel strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 214, 202, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(199, 94, 58, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 520ms ease;
}

.project-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.project-card-content {
  padding: 22px;
}

.project-meta {
  margin: 0 0 8px;
  color: var(--clay-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.notice {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.notice p {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 239, 0.92)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-card dl {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 0;
  font-weight: 800;
}

.quote-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(217, 214, 202, 0.92);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.92)),
    var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(199, 94, 58, 0.2);
  border-color: var(--clay);
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(199, 94, 58, 0.12), 0 14px 30px rgba(28, 27, 24, 0.08);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: border-color 220ms ease, transform 220ms ease;
}

.faq details:hover {
  border-color: rgba(199, 94, 58, 0.3);
  transform: translateY(-2px);
}

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

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #171612, #242119 58%, #17363a);
  background-size: 42px 42px, 42px 42px, auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible,
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.has-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

.has-tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 12%, rgba(255, 255, 255, 0.28) 48%, transparent 72%);
  transform: translateX(-38%);
  transition: opacity 220ms ease, transform 520ms var(--ease-out);
  pointer-events: none;
}

.has-tilt:hover {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-5px);
}

.has-tilt:hover::after {
  opacity: 1;
  transform: translateX(38%);
}

.has-tilt > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: space-between;
    width: 100%;
  }

  h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .section-header,
  .split,
  .service-detail,
  .contact-layout,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

  .grid-3,
  .feature-grid,
  .gallery-page,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .image-stack img,
  .image-stack img:nth-child(2) {
    height: 320px;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-meta {
    display: none;
  }

  .hero {
    min-height: calc(78svh - var(--header-height));
  }

  .hero-content {
    width: min(100% - 28px, var(--container));
    padding: 52px 0 26px;
  }

  h1,
  .page-hero h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-text,
  .lead {
    font-size: 1rem;
  }

  .hero-text {
    margin-top: 14px;
  }

  .hero-actions,
  .button-row {
    margin-top: 20px;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 22px;
  }

  .trust-strip li {
    min-height: 78px;
    padding: 10px 8px;
  }

  .trust-strip strong {
    font-size: 0.88rem;
  }

  .trust-strip span {
    font-size: 0.76rem;
  }

  .grid-4,
  .process,
  .gallery-side,
  .form-grid,
  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack::before {
    inset: 16px -8px -10px 12px;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 54px 0 44px;
  }

  .card,
  .step,
  .quote-form,
  .contact-card,
  .cta-band {
    padding: 20px;
  }

  .gallery-card,
  .gallery-side .gallery-card {
    min-height: 260px;
  }

  .project-card img {
    height: 260px;
  }

  .button {
    width: 100%;
  }
}

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

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

  .hero-media img,
  .page-hero::before,
  .image-stack:hover img:first-child,
  .image-stack:hover img:nth-child(2),
  .has-tilt:hover,
  .project-card:hover img,
  .gallery-card:hover img {
    transform: none !important;
  }
}
