@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800&display=swap");

:root {
  --font-body: "Inter", Arial, sans-serif;
  --font-heading: "Manrope", "Inter", Arial, sans-serif;
  --bg: #f5f1e8;
  --paper: #ffffff;
  --paper-strong: #fbfaf7;
  --ink: #18211d;
  --muted: #617067;
  --line: #ddd5c5;
  --line-strong: #cdbfa9;
  --green: #2f5d46;
  --green-dark: #183629;
  --green-soft: #edf4ef;
  --gold: #b98a56;
  --gold-soft: #f6eee1;
  --shadow-sm: 0 12px 34px rgba(24, 33, 29, 0.08);
  --shadow: 0 24px 64px rgba(24, 33, 29, 0.14);
  --radius: 8px;
  --radius-lg: 10px;
  --container: 1180px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #f7f3eb 0%, #f5f1e8 100%);
  line-height: 1.55;
  overflow-x: hidden;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
h1, h2, h3, .logo-text, .btn, .nav a, .eyebrow, .hero-mini, .project-label {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: var(--header-height);
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 213, 197, 0.86);
}

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

.logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 4px;
}

.logo-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.logo-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 20px);
  min-width: 0;
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: #334039;
  font-size: 15px;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--green);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(47, 93, 70, 0.14);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  white-space: nowrap;
}

.header-contact::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4fa46f;
  box-shadow: 0 0 0 5px rgba(79, 164, 111, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: clamp(76px, 8vw, 118px) clamp(16px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(17, 25, 21, 0.82) 0%, rgba(17, 25, 21, 0.68) 32%, rgba(17, 25, 21, 0.28) 100%),
    var(--hero, url("img/module-07.jpg")) var(--hero-pos, center center) / cover no-repeat;
  color: #fff;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 138, 86, 0.2), rgba(185, 138, 86, 0));
  pointer-events: none;
}

.hero-home {
  --hero: url("img/module-07.jpg");
  --hero-pos: 72% center;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--container), 100%);
  min-width: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
  gap: 28px;
  align-items: end;
}

.hero-content {
  min-width: 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #e3bb82;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section .eyebrow,
.page-title .eyebrow,
.contact-card .eyebrow {
  color: var(--gold);
}

h1 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(29px, 3.8vw, 48px);
  line-height: 1.03;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.16;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.8vw, 22px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3bb82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 25, 21, 0.62), rgba(17, 25, 21, 0.42));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 22px;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card li {
  position: relative;
  padding-left: 18px;
  color: #fff;
  font-weight: 700;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e3bb82;
}

.hero-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #3f7a5c 0%, #2f5d46 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(47, 93, 70, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #315f48 0%, #254936 100%);
  box-shadow: 0 20px 36px rgba(47, 93, 70, 0.28);
}

.btn-light {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.btn-secondary {
  background: var(--gold-soft);
  color: var(--ink);
  border: 1px solid rgba(185, 138, 86, 0.24);
}

.section,
.page-title,
.cta-band {
  padding: clamp(54px, 7vw, 96px) clamp(16px, 4vw, 56px);
}

.page-title {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(237, 244, 239, 0.7)),
    linear-gradient(180deg, #fbfaf7 0%, #f5f1e8 100%);
  border-bottom: 1px solid rgba(221, 213, 197, 0.58);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.42));
  border-top: 1px solid rgba(221, 213, 197, 0.42);
  border-bottom: 1px solid rgba(221, 213, 197, 0.42);
}

.section-shell {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 34px;
}

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

.section-head p:last-child {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.card-grid {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-wide { grid-template-columns: 1.2fr 0.8fr; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.project-card,
.contact-card,
.review-card,
.faq-item {
  background: var(--paper);
  border: 1px solid rgba(205, 191, 169, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card,
.contact-card {
  padding: 26px;
}

.lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lift:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 138, 86, 0.46);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

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

.accent-card {
  background: linear-gradient(180deg, #fff 0%, #f9f5ec 100%);
  border-color: rgba(185, 138, 86, 0.34);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.stat-pill {
  min-width: 164px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(205, 191, 169, 0.78);
  box-shadow: var(--shadow-sm);
}

.stat-pill strong {
  display: block;
  font-size: 20px;
}

.stat-pill span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.image-card,
.project-card,
.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.direction-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid rgba(205, 191, 169, 0.78);
  box-shadow: var(--shadow-sm);
}

.direction-card .image-card {
  flex: 0 0 auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.direction-card .image-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.direction-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.direction-card-body p {
  margin: 0;
  color: var(--muted);
}

.direction-card-body .btn {
  width: 100%;
  margin-top: auto;
}

.image-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  min-height: 340px;
  color: #fff;
  text-align: left;
  cursor: zoom-in;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.04);
  transition: transform 0.35s ease;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 25, 21, 0.04), rgba(17, 25, 21, 0.76));
  pointer-events: none;
}

.image-card:hover img {
  transform: scale(1.04);
}

.image-card span {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.04;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.34);
}

.project-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 138, 86, 0.4);
  box-shadow: var(--shadow);
}

.project-card img,
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e9e2d5;
}

.project-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.project-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
  gap: 10px;
}

.project-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-note {
  margin: 12px 0 0;
  color: var(--green-dark) !important;
  font-weight: 800;
}

.project-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: center;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--green-soft);
  font-weight: 800;
  color: var(--green);
}

.project-link::after {
  content: none;
}

.split {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.split-media,
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

button.split-media {
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.split-media img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media img {
  min-height: 100%;
  aspect-ratio: 5 / 4;
}

.split-caption,
.gallery-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 25, 21, 0.86), rgba(17, 25, 21, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
}

.split-caption strong,
.gallery-caption strong {
  display: block;
  font-size: 17px;
}

.split-caption span,
.gallery-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.gallery-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(18, 24, 20, 0.82);
}

.gallery-modal.is-visible {
  display: flex;
}

.gallery-modal-panel {
  width: min(980px, 100%);
  margin: 0;
  color: #fff;
}

.gallery-modal-panel img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.gallery-modal-panel figcaption {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  font-weight: 800;
  text-align: center;
}

.gallery-modal-counter {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-modal-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}

.gallery-modal-prev { left: 18px; }
.gallery-modal-next { right: 18px; }

.gallery-modal-close {
  position: fixed;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(205, 191, 169, 0.78);
  border-radius: 8px;
  background: var(--paper-strong);
  width: 100%;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.feature-item:hover,
.feature-item:focus-visible {
  border-color: rgba(47, 93, 70, 0.48);
  box-shadow: var(--shadow-sm);
}

.request-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.request-card .card-icon {
  flex: 0 0 46px;
}

.feature-item strong {
  display: block;
  font-size: 18px;
}

.feature-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.feature-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.steps {
  position: relative;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 22px 24px 84px;
}

.step h3 {
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 93, 70, 0.24);
}

.step::after {
  content: "";
  position: absolute;
  left: 44px;
  top: 68px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(47, 93, 70, 0.34), rgba(47, 93, 70, 0));
}

.steps .step:last-child::after {
  bottom: 24px;
}

.steps-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

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

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--green);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq-answer-inner p {
  margin: 0;
}

.cta-band {
  width: min(calc(var(--container) + 40px), calc(100% - 32px));
  margin: 0 auto;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(24, 54, 41, 0.96), rgba(47, 93, 70, 0.92)),
    url("img/module-08.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 650px;
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.84);
}

.form-section,
.contacts-layout,
.review-grid {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.legal-page h1 { max-width: 760px; }
.legal-page h2 { margin-top: 36px; font-size: clamp(22px, 3vw, 30px); }
.legal-page p { color: var(--muted); }
.legal-page a { color: var(--green-dark); text-decoration: underline; }
.legal-note { margin-top: 40px; font-size: 14px; }

.inline-form,
.form-slot {
  width: 100%;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid rgba(205, 191, 169, 0.78);
  box-shadow: var(--shadow-sm);
}

.request-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d7d0c4;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: rgba(47, 93, 70, 0.48);
  box-shadow: 0 0 0 4px rgba(47, 93, 70, 0.1);
}

.request-form textarea {
  resize: vertical;
}

.agree {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 400 !important;
  color: var(--muted);
}

.agree input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-legal {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(205, 191, 169, 0.78);
  border-radius: 8px;
  background: #fbfaf7;
}

.form-legal p {
  margin: 0 0 0 28px;
  color: var(--muted);
  font-size: 13px;
}

.form-legal a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.request-form [aria-invalid="true"] {
  border-color: #9b3d2d;
  box-shadow: 0 0 0 3px rgba(155, 61, 45, 0.1);
}

.form-message {
  margin: 0;
  font-weight: 800;
}

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

.review-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #f0ede6;
  border-radius: 8px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-card {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-list b {
  display: block;
  margin-bottom: 3px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(16px, 4vw, 56px);
  background: #1a211d;
  color: #fff;
}

.site-footer .logo img {
  width: 56px;
  height: 56px;
}

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

.footer-contacts {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.82);
  text-align: right;
}

.footer-contacts a {
  color: #fff;
  font-weight: 800;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13px;
  font-weight: 500 !important;
  text-decoration: underline;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover { background: var(--green-dark); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(18, 24, 20, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, background-color 0.24s ease;
}

.modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  background: rgba(18, 24, 20, 0.58);
}

.modal-panel {
  width: min(580px, 100%);
  max-height: 92vh;
  overflow: auto;
  position: relative;
  padding: 28px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.modal-panel > h2 {
  margin: 0 52px 18px 0;
  line-height: 1.18;
}

.modal-panel .form-slot {
  margin-top: 6px;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .project-card,
  .lift,
  .image-card img,
  .modal,
  .modal-panel,
  .reveal,
  .faq-answer,
  .faq-icon::before,
  .faq-icon::after {
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .gallery-modal-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .gallery-modal-prev { left: calc(50% - 62px); }
  .gallery-modal-next { right: calc(50% - 62px); }

  .gallery-modal-panel { padding-bottom: 64px; }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-contact {
    display: none;
  }

  .hero-grid,
  .two-wide,
  .split,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% - 6px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 10px 4px;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding: 12px 14px;
  }

  .logo {
    gap: 10px;
  }

  .logo img {
    width: 54px;
    height: 54px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-note {
    font-size: 11px;
  }

  .hero {
    min-height: 700px;
    padding: 72px 16px 28px;
    background:
      linear-gradient(180deg, rgba(17, 25, 21, 0.86) 0%, rgba(17, 25, 21, 0.64) 46%, rgba(17, 25, 21, 0.56) 100%),
      var(--hero, url("img/module-07.jpg")) 64% center / cover no-repeat;
  }

  h1 {
    max-width: calc(100vw - 32px);
    font-size: clamp(29px, 9.2vw, 34px);
    line-height: 1.03;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    max-width: calc(100vw - 32px);
    font-size: 16px;
    line-height: 1.45;
  }

  .eyebrow {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-points li {
    width: 100%;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-actions,
  .hero-actions .btn,
  .btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
    font-size: 15px;
    line-height: 1.2;
    padding: 0 14px;
  }

  .three,
  .four,
  .review-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-title {
    padding: 44px 16px;
  }

  .cta-band {
    width: calc(100% - 32px);
    padding: 38px 18px;
  }

  .image-card,
  .image-card img {
    min-height: 250px;
  }

  .image-card span {
    font-size: 24px;
  }

  .project-card-body,
  .card,
  .contact-card,
  .request-form {
    padding: 20px;
  }

  .step {
    padding-left: 76px;
  }

  .site-footer {
    display: block;
  }

  .footer-contacts {
    text-align: left;
    margin-top: 20px;
  }
}

@media (max-width: 360px) {
  .site-header {
    padding: 10px;
    gap: 8px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 44px;
    height: 44px;
  }

  .logo-text {
    font-size: 17px;
  }

  .logo-note {
    font-size: 9px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }
}
