:root {
  --bg: #f5f5f3;
  --white: #ffffff;
  --text: #23372c;
  --muted: #7a8190;
  --line: rgba(31, 43, 61, 0.08);
  --green: #339933;
  --green-dark: #287b35;
  --green-soft: #edf3e9;
  --header-shadow: 0 14px 40px rgba(15, 18, 24, 0.06);
  --menu-shadow: 0 24px 60px rgba(15, 18, 24, 0.12);
  --hero-shadow: 0 -10px 30px rgba(15, 18, 24, 0.04);
  --container: 1140px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --transition: 0.28s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.container--wide {
  width: min(1520px, calc(100% - 72px));
}

#menu-portfolio .mega-menu__inner--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.projects__head {
  margin-bottom: 28px;
}

.projects__head h2 {
  margin: 0;
  color: #213c2c;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 43, 61, 0.06);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}



.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border: 0;
  background: none;
  padding: 0;
  color: #334155;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: color var(--transition);
}

.nav__item:hover .nav__link {
  color: var(--green);
}

.nav__arrow {
  width: 6px;
  height: 6px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--transition);
}

.nav__item:hover .nav__arrow {
  transform: rotate(-135deg) translateY(-1px);
}

.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(51, 153, 51, 0.1);
  color: var(--green);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.header-social svg {
  width: 18px;
  height: 18px;
}

/* Solid messenger silhouettes share the surrounding brand colour. */
svg.messenger-logo {
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.header-social:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.header__phone {
  color: rgba(30, 41, 59, 0.7);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.header__phone:hover {
  color: #1e293b;
}

/* BURGER */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #23372c;
  transition: var(--transition);
}

.burger span:first-child {
  top: 15px;
}

.burger span:last-child {
  bottom: 15px;
}

.burger.is-active span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.burger.is-active span:last-child {
  bottom: 20px;
  transform: rotate(-45deg);
}

/* MOBILE MENU */

.mobile-menu {
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.mobile-menu.is-open {
  visibility: visible;
  max-height: 260px;
  border-top: 1px solid var(--line);
}

.mobile-menu__inner {
  padding: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu__inner a {
  font-weight: 700;
  color: #263247;
}

/* MEGA MENU */

.nav__item {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: -18px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 50;
  padding-top: 10px;
}

.nav__item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu--services {
  width: 600px;
}

.mega-menu--projects {
  width: 620px;
}

.mega-menu--simple {
  width: 600px;
}

.mega-menu__inner {
  background: #fff;
  border: 1px solid rgba(31, 43, 61, 0.07);
  border-radius: 20px;
  box-shadow: var(--menu-shadow);
  padding: 22px;
}

.mega-menu__inner--services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}

.mega-menu__inner--contacts {
  grid-template-columns: 1fr;
}

.mega-service-card {
  min-height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: transparent;
  transition: background 0.12s ease, box-shadow 0.12s ease;
}

.mega-service-card:hover {
  background: #f5f5f5;
  box-shadow: inset 0 0 0 1px rgba(31, 43, 61, 0.03);
}

.mega-service-card__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf3e9;
  color: var(--green);
  transition: background 0.08s linear, color 0.08s linear;
}

.mega-service-card__icon svg {
  width: 18px;
  height: 18px;
}

.mega-service-card__text {
  color: #475569;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.08s linear;
}

.mega-service-card:hover .mega-service-card__icon {
  background: var(--green);
  color: #fff;
}

.mega-service-card:hover .mega-service-card__text {
  color: var(--green);
}

/* PROJECTS MEGA MENU */

.mega-menu__inner--projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 18px;
}

.mega-project-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 16px;
  transition: transform var(--transition);
}

.mega-project-card:hover {
  transform: translateY(-2px);
}

.mega-project-card__image {
  width: 100%;
  aspect-ratio: 1 / 0.8;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #e9edf2;
}

.mega-project-card__title {
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.img-1 {
  background-image: url("img/project-glavnaya/wall_mega.png");
}

.img-2 {
  background-image: url("img/project-glavnaya/wood.png");
}

.img-3 {
  background-image: url("img/project-glavnaya/karkas.png");
}

.img-4 {
  background-image: url("img/project-glavnaya/arbolite.png");
}

.img-5 {
  background-image: url("img/project-glavnaya/gazobeton.png");
}

.img-6 {
  background-image: url("img/project-glavnaya/all_projects_mega.png");
}

/* HERO */

.hero {
  min-height: calc(100vh - 78px);
  position: relative;
  background: #000;
}

.hero-slider {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-slide.is-active .hero-slide__bg {
  transform: scale(1);
}

.hero-slide__bg--1 {
  background-image: url("img/glulam/house.png");
}

.hero-slide__bg--2 {
  background-image: url("img/project-glavnaya/wall.png");
}

.hero-slide__bg--3 {
  background-image: url("img/project-glavnaya/all_projects.png");
}

/* Только телефоны: заменяйте slide-1.png — slide-3.png в img/hero-mobile.
   От 601px сохраняются исходные изображения для планшетов и компьютеров. */
@media (max-width: 600px) {
  .hero-slide__bg--1 {
    background-image: url("img/hero-mobile/slide-1.png");
  }

  .hero-slide__bg--2 {
    background-image: url("img/hero-mobile/slide-2.png");
  }

  .hero-slide__bg--3 {
    background-image: url("img/hero-mobile/slide-3.png");
  }
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left bottom,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.34) 22%,
      rgba(0, 0, 0, 0.16) 42%,
      rgba(0, 0, 0, 0.00) 62%
    ),
    linear-gradient(0deg,
      rgba(0, 0, 0, 0.50) 0%,
      rgba(0, 0, 0, 0.22) 18%,
      rgba(0, 0, 0, 0.08) 34%,
      rgba(0, 0, 0, 0.00) 52%
    ),
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.18) 18%,
      rgba(0, 0, 0, 0.07) 34%,
      rgba(0, 0, 0, 0.00) 52%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 145px;
}

.hero__text-block {
  width: 100%;
  max-width: 760px;
  text-align: left;
}

.hero__text-block--edge {
  margin-left: 58px;
}

.hero__text-block h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero__text-block p {
  margin: 18px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 12px 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #339933, #287b35);
  color: #fff;
  box-shadow: 0 16px 36px rgba(51, 153, 51, 0.28);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition),
    background 0.28s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(32, 94, 44, 0.34);
  background: linear-gradient(135deg, #287b35, #205e2c);
  filter: brightness(1.01);
}

.hero-cta__text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-cta__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  font-size: 18px;
  transition: transform var(--transition), background var(--transition);
}

.hero-cta:hover .hero-cta__icon {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-controls {
  position: absolute;
  right: 58px;
  bottom: 112px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 14px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease, opacity 0.28s ease;
  opacity: 1;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.is-active {
  width: 34px;
  background: var(--green);
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.hero-arrow:hover {
  background: rgba(51, 153, 51, 0.92);
  transform: scale(1.04);
}

.hero-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid rgba(31, 43, 61, 0.06);
  box-shadow: var(--hero-shadow);
}

.hero-stat {
  text-align: center;
  padding: 24px 16px 20px;
  border-right: 1px solid rgba(31, 43, 61, 0.06);
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong {
  display: block;
  color: #213c2c;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .header__phone {
    font-size: 15px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .header__inner {
    min-height: 70px;
  }

  .header__phone {
    display: none;
  }

  .hero,
  .hero-slider,
  .hero__content {
    min-height: auto;
  }

  .hero__content {
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 190px;
  align-items: flex-end;
}

.hero__text-block--edge {
  margin-left: 20px;
  margin-right: 20px;
  max-width: none;
}

.hero__text-block h1 {
  font-size: 42px;
  line-height: 0.98;
}

.hero__text-block p {
  font-size: 16px;
  max-width: 100%;
}

.hero-cta {
  width: 100%;
  justify-content: space-between;
}

.hero-controls {
  right: 20px;
  bottom: 148px;
  z-index: 6;
  gap: 14px;
}

.hero-dot {
  width: 12px;
  height: 4px;
}

.hero-dot.is-active {
  width: 28px;
}

.hero-stats {
  grid-template-columns: 1fr;
}

.hero-stat {
  border-right: 0;
  border-bottom: 1px solid rgba(31, 43, 61, 0.06);
}

.hero-stat:last-child {
  border-bottom: 0;
}
}

/* PROJECTS */

.projects {
  padding: 100px 0 110px;
  background: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  display: block;
  color: #fff;
}

.project-card--wide {
  grid-column: span 2;
}

.project-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.24) 45%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.project-card__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.project-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 600;
  max-width: 80%;
}

.project-card__arrow {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.28s ease;
}

.project-card:hover .project-card__bg {
  transform: scale(1.05);
}

.project-card:hover .project-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-card__arrow {
  background: var(--green-dark);
}

@media (max-width: 980px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .container--wide {
    width: min(100%, calc(100% - 32px));
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card--wide {
    grid-column: span 2;
  }

  .project-card {
    min-height: 300px;
  }
}

:root{--text:#23372c;--muted:#657168}
section[id],article[id],#materials{scroll-margin-top:115px}
.header__inner{min-height:100px;gap:24px}.logo{display:flex;flex-shrink:0}.logo img{display:block;width:132px;height:88px;object-fit:contain}.desktop-nav{display:flex;gap:30px;font-size:13px;font-weight:600}.desktop-nav a:hover,.footer a:hover{color:var(--green)}.header-link{font-size:13px;font-weight:600;border:1px solid #d9e4d7;border-radius:30px;padding:14px 20px}.header-link span{margin-left:20px;color:#287b35}.burger{display:none}
.hero,.hero-slider{min-height:700px;height:calc(100svh - 100px);max-height:1000px}.hero-slider{height:100%;min-height:700px}.hero__content{height:100%;min-height:0;padding-top:70px;padding-bottom:185px;align-items:center}.hero__text-block{max-width:810px}.hero__text-block--edge{margin-left: max(36px,calc((100vw - 1520px)/2))}.hero__text-block h1,.hero__text-block h2{margin:0;color:#fff;font-size:clamp(48px,5.2vw,80px);font-weight:600;line-height:1.02;letter-spacing:-.055em}.hero__text-block p{max-width:560px;font-size:16px;line-height:1.7;color:#e3e8df}.hero-slide__overlay{background:linear-gradient(90deg,rgba(9,27,19,.77),rgba(9,27,19,.25) 65%,rgba(9,27,19,.07)),linear-gradient(0deg,rgba(9,27,19,.25),transparent 50%)}.eyebrow{display:block;font-size:11px;letter-spacing:.15em;font-weight:600;line-height:1.6}.hero-eyebrow{color:#d3e5c8;margin-bottom:27px}.hero-cta{background:#287b35;box-shadow:none}.hero-cta:hover{background:#205e2c;box-shadow:0 8px 24px #153c2526}.hero-controls{bottom:145px;right:36px}.hero-stats{background:#fafbf7;box-shadow:none}.hero-stat{text-align:left;padding:27px 28px}.hero-stat strong{font-size:clamp(14px,1.4vw,21px);font-weight:600;line-height:1.25}.hero-stat span{color:#687565;font-size:10px;letter-spacing:.1em}.hero-dot.is-active{background:#a6d38e}
.production{padding:100px 0 0;background:#f4f5ef}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:46px}.section-heading .eyebrow{color:#63835c;margin-bottom:20px}.section-heading h2,.about h2{margin:0;font-size:clamp(38px,4.5vw,68px);line-height:1.06;letter-spacing:-.055em;font-weight:600}.section-heading h2 em{font-style:normal;color:#378544}.section-heading>p{color:#697268;font-size:14px;line-height:1.85;max-width:440px;margin:0 0 5px}.materials-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.material{border-radius:24px;overflow:hidden;align-self:start}.material--arbolit{background:#e4e9dd}.material--timber{background:#244c36;color:#fff}.material-top{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:26px 30px 0;font-size:10px;letter-spacing:.08em;font-weight:600}.material-pill{font-size:10px;letter-spacing:0;border:1px solid #8b9e7e66;padding:8px 12px;border-radius:20px;font-weight:400}.material--timber .material-pill{border-color:#76947b;color:#e0e7dc}.material-art{position:relative;height:310px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;isolation:isolate}.material-art img{display:block;width:min(82%,420px);height:calc(100% - 32px);min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;position:relative;z-index:1;transition:transform .5s}.material:hover .material-art img{transform:translateY(-6px) rotate(-1deg)}.material-watermark{position:absolute;bottom:4px;left:24px;right:24px;text-align:center;z-index:0;font-size:clamp(50px,7.8vw,120px);font-weight:800;letter-spacing:-.06em;line-height:1;color:#23372c0b}.material--timber .material-watermark{color:#ffffff0a}.material-copy{padding:24px 34px 32px}.material-copy .eyebrow{font-size:9px;color:#63835c;margin-bottom:14px}.material--timber .eyebrow{color:#b3d09f}.material h3{margin:0;font-size:clamp(26px,2.6vw,39px);line-height:1.13;letter-spacing:-.045em;font-weight:500}.material-copy>p{font-size:13px;line-height:1.85;max-width:460px;margin:20px 0 28px;color:#65715f;min-height:72px}.material--timber .material-copy>p{color:#d0dbcd}details{border-top:1px solid #a6b49e88}summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:19px;font-size:12px;font-weight:600;list-style:none}summary::-webkit-details-marker{display:none}summary span{font-size:23px;font-weight:400}details[open] summary span{transform:rotate(45deg)}.material-details{font-size:13px;line-height:1.8;padding-top:20px;max-width:480px}.production-note{display:flex;align-items:center;gap:24px;padding:34px 0 44px}.note-mark{display:grid;place-items:center;width:46px;height:46px;border:1px solid #b6c4aa;border-radius:50%;font-size:26px;color:#378544}.production-note p{font-size:12px;line-height:1.8;color:#74806b}.production-note p strong{font-weight:600;color:#23372c}.production-note a{margin-left:auto;font-size:12px;border-bottom:1px solid #8a9a7d;padding-bottom:9px}.production-note a span{margin-left:25px}.projects{padding:95px 0;background:#fff}.projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-card{min-height:350px;border-radius:18px}.project-card__content{left:24px;bottom:26px}.project-card__content span{font-size:10px;letter-spacing:.03em;color:#e4e8df}.project-card h3{font-size:26px;max-width:100%;margin-top:10px}.about{background:#eaf0e3;padding:75px 0}.about-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center}.about .eyebrow{color:#63835c;margin-bottom:24px}.about h2{font-size:clamp(32px,3.5vw,52px)}.about p{font-size:14px;line-height:1.85;color:#65715f;margin:0;max-width:480px}.about .hero-cta{margin-top:24px}.footer{background:#fff;padding:22px 0}.footer-inner{display:flex;align-items:center;gap:40px}.footer p{font-size:11px;line-height:1.8;color:#65715f}.footer a:not(.logo){margin-left:auto;font-size:12px}.footer span{font-size:10px;color:#73806c}:focus-visible{outline:3px solid #77b759;outline-offset:5px}
@media(min-width:1800px){.hero__text-block--edge{margin-left:calc((100vw - 1520px)/2)}}
@media(max-width:1180px){.desktop-nav{gap:18px;font-size:12px}.header-link{display:none}.hero-stat{padding:25px 20px}.section-heading>p{max-width:350px}.material-top{padding:24px 22px 0;flex-wrap:wrap}.material-copy{padding:20px 26px 28px}.material-art{height:270px}.material-pill{font-size:9px}}
@media(max-width:760px){section[id],article[id],#materials{scroll-margin-top:90px}.header__inner{min-height:80px}.logo img{width:108px;height:72px}.desktop-nav{display:none}.burger{display:block}.hero,.hero-slider{height:710px;min-height:0;max-height:none}.hero__content{height:550px;padding:50px 0 70px;align-items:center}.hero__text-block--edge{margin:0 22px}.hero__text-block h1,.hero__text-block h2{font-size:clamp(36px,8.9vw,55px)}.hero-eyebrow{font-size:8px;letter-spacing:.1em;margin-bottom:22px}.hero__text-block p{font-size:14px;line-height:1.7;max-width:470px}.hero-cta{width:auto;max-width:100%;min-height:50px;padding-left:18px;gap:10px}.hero-cta__text{font-size:12px}.hero-controls{right:22px;bottom:176px}.hero-stats{grid-template-columns:1fr 1fr;min-height:142px}.hero-stat{padding:16px 18px;border-bottom:1px solid #dfe6da}.hero-stat strong{font-size:13px;line-height:1.35}.hero-stat span{font-size:8px;letter-spacing:.04em}.production,.projects{padding:60px 0 0}.container--wide{width:calc(100% - 32px)}.section-heading{display:block;margin-bottom:30px}.section-heading h2{font-size:clamp(33px,8.2vw,46px)}.section-heading .eyebrow{font-size:9px;margin-bottom:15px}.section-heading>p{font-size:13px;margin-top:22px;max-width:100%}.section-heading>p br{display:none}.materials-grid{grid-template-columns:1fr;gap:20px}.material-art{height:250px}.material-top{font-size:9px;gap:10px}.material h3{font-size:30px}.material-copy>p{min-height:0}.material-watermark{font-size:17vw}.production-note{flex-wrap:wrap;gap:14px;padding:24px 0 30px}.production-note p{font-size:11px;flex:1}.production-note a{margin-left:60px;font-size:11px}.projects{padding-bottom:60px}.projects-grid{grid-template-columns:1fr;gap:18px}.project-card{min-height:320px}.about{padding:50px 0}.about-inner{grid-template-columns:1fr;gap:24px}.about h2{font-size:34px}.footer-inner{flex-wrap:wrap;gap:10px 20px}.footer p{flex:1;min-width:160px}.footer a:not(.logo){margin-left:0}.footer span{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}


/* Restored demo layout with Lesdrevprom branding. */
:root { --header-height: 72px; }
.header { height: var(--header-height); }
.header__inner { height: var(--header-height); min-height: 0; gap: 24px; }
.header .logo img { width: 90px; height: 60px; }
.header__right { gap: 16px; }
.header__phone { color: #31503c; font-weight: 600; }
.header-social { border: 0; padding: 0; flex-shrink: 0; }
.header-social[aria-disabled="true"] { cursor: default; }
.nav__link, .mega-service-card__text, .mega-project-card__title, .mobile-menu__inner a { color: #31503c; }
.mega-service-card:hover { background: #edf3e9; }
.nav__item:last-child .mega-menu { left: auto; right: 0; transform: translateY(8px); width: 460px; }
.nav__item.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__item:last-child:hover .mega-menu, .nav__item:last-child.is-open .mega-menu { transform: translateY(0); }
.nav__item.is-open .nav__link { color: var(--green); }
.nav__item.is-open .nav__arrow { transform: rotate(-135deg) translateY(-1px); }
.mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--header-shadow); }
.mobile-menu.is-open { max-height: calc(100svh - var(--header-height)); overflow-y: auto; }
section[id], article[id], #materials { scroll-margin-top: calc(var(--header-height) + 20px); }
.hero { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: calc(100svh - var(--header-height)); min-height: 0; max-height: none; }
.hero-slider { height: 100%; min-height: 0; max-height: none; }
.hero__content { height: 100%; min-height: 0; padding: 32px 0 64px; align-items: flex-end; }
.hero__text-block { max-width: 920px; }
.hero__text-block--edge { margin-left: 58px; margin-right: 58px; }
.hero__text-block h1, .hero__text-block h2 { font-size: clamp(36px, min(5.2vw, 8.8svh), 80px); line-height: .96; font-weight: 700; letter-spacing: -.05em; }
.hero__text-block p { max-width: 620px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.82); }
.hero-slide__overlay { background: radial-gradient(circle at left bottom,rgba(0,0,0,.52),rgba(0,0,0,.34) 22%,rgba(0,0,0,.16) 42%,transparent 62%),linear-gradient(0deg,rgba(0,0,0,.5),rgba(0,0,0,.22) 18%,rgba(0,0,0,.08) 34%,transparent 52%),linear-gradient(90deg,rgba(0,0,0,.34),rgba(0,0,0,.18) 18%,rgba(0,0,0,.07) 34%,transparent 52%); }
.hero-controls { right: 58px; bottom: 20px; }
.hero-stats { position: relative; grid-template-columns: repeat(4,minmax(0,1fr)); min-height: 0; background: #fff; box-shadow: var(--hero-shadow); }
.hero-stat { text-align: center; padding: 24px 16px 20px; }
.hero-stat strong { font-size: 32px; font-weight: 700; line-height: 1; }
.hero-stat span { font-size: 11px; letter-spacing: .03em; color: #7e8c80; }
.hero-dot.is-active { background: var(--green); }
.projects { padding: 100px 0 110px; }
.projects-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.project-card { min-height: 360px; border-radius: 24px; }
.project-card__content { left: 24px; right: 24px; bottom: 24px; }
.project-card h3 { margin: 0; max-width: 80%; font-size: 26px; }
.project-card__content .project-card__arrow { font-size: 24px; color: #fff; }
.project-card:focus-visible .project-card__arrow { opacity: 1; transform: translateY(0); }
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header__right { margin-left: auto; }
}
@media (max-width: 980px) {
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-card { min-height: 300px; }
  .hero__text-block--edge { margin-left: 32px; margin-right: 32px; }
  .hero-controls { right: 32px; }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .header .logo img { width: 78px; height: 52px; }
  .header__inner { gap: 12px; }
  .header__right { gap: 12px; }
  .header__socials { gap: 8px; }
  .hero__content { height: 100%; padding: 24px 0 66px; }
  .hero__text-block--edge { margin: 0 20px; }
  .hero__text-block h1, .hero__text-block h2 { font-size: clamp(28px,min(8.5vw,6.2svh),48px); }
  .hero__text-block p { font-size: clamp(12px,1.9svh,16px); line-height: 1.55; margin-top: 16px; }
  .hero .hero-cta { margin-top: 20px; min-height: 48px; }
  .hero-controls { bottom: 16px; right: 20px; }
  .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-stat { padding: 14px 10px; }
  .hero-stat strong { font-size: 24px; }
  .hero-stat span { font-size: 9px; margin-top: 6px; }
  .projects { padding: 60px 0; }
  .project-card h3 { font-size: 22px; }
  .project-card__content { left: 18px; right: 18px; bottom: 20px; }
  .project-card__arrow { width: 40px; height: 40px; flex-basis: 40px; }
}
@media (max-width: 520px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: auto; }
}
@media (max-height: 650px) {
  .hero__text-block h1, .hero__text-block h2 { font-size: clamp(23px,6.3svh,42px); }
  .hero__text-block p { font-size: 12px; line-height: 1.4; margin-top: 10px; }
  .hero .hero-cta { min-height: 40px; margin-top: 12px; }
  .hero-stat { padding-top: 10px; padding-bottom: 10px; }
  .hero-stat strong { font-size: 22px; }
}
@media (max-height: 480px) and (min-width: 600px) {
  .hero__content { padding: 12px 0 18px; }
  .hero__text-block { max-width: 75%; }
  .hero__text-block h1, .hero__text-block h2 { font-size: 23px; }
  .hero__text-block p { max-width: 570px; }
  .hero-stat span { font-size: 9px; }
}


/* Clear service pictograms, centered arrows and a distinct statistics strip. */
.mega-service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}
.project-card__arrow { line-height: 0; }
.project-card__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  stroke-width: 1.8;
}
.hero-stats {
  background: #edf0eb;
  border-top: 1px solid #dce3d9;
  box-shadow: none;
}
.hero-stat { position: relative; border: 0; }
.hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: #d2dbcf;
}
.hero-stat strong { color: #36523e; }
.hero-stat span { color: #687363; letter-spacing: .06em; }
@media (max-width: 760px) {
  .hero-stat:nth-child(2)::after { display: none; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid #d2dbcf; }
}

/* Material descriptions rise into view without moving the card itself. */
.project-card__copy { flex: 1; min-width: 0; }
.project-card__copy h3 { max-width: 100%; }
.project-card__details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}
.project-card__details p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  color: #edf2e9;
  font-size: 13px;
  line-height: 1.65;
  transition: margin-top .45s cubic-bezier(.22,1,.36,1);
}
.project-card:hover .project-card__details,
.project-card:focus-visible .project-card__details { grid-template-rows: 1fr; opacity: 1; }
.project-card:hover .project-card__details p,
.project-card:focus-visible .project-card__details p { margin-top: 12px; }
@media (hover: none) {
  .project-card__details { grid-template-rows: 1fr; opacity: 1; }
  .project-card__details p { margin-top: 12px; }
}

/* Smooth crossfade without image or text movement. */
.hero-slide { transition: opacity 1.4s ease-in-out, visibility 0s linear 1.4s; }
.hero-slide.is-active { transition: opacity 1.4s ease-in-out, visibility 0s; z-index: 1; }
.hero-slide__bg { transform: none; transition: none; }
.hero-slide.is-active .hero-slide__bg { transform: none; }
.hero-slide .hero__text-block { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide__bg, .hero-slide .hero__text-block { transform: none; }
}

/* Links to the forthcoming material and production pages. */
.material-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.material-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid #287b35;
  border-radius: 28px;
  background: #287b35;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition: background .25s ease, transform .25s ease;
}
.material-link svg { width: 20px; height: 20px; flex: 0 0 20px; }
.material-link:hover { background: #205e2c; transform: translateY(-2px); }
.material--timber .material-link { background: #e4e9dd; color: #244c36; border-color: #e4e9dd; }
.material--timber .material-link:hover { background: #f1f5ed; }
.nav__list { gap: 20px; }
.nav__link { white-space: nowrap; }
.mega-menu--production { width: 370px; }
.mega-menu__inner--production { display: grid; grid-template-columns: 1fr; gap: 4px; }
.mobile-production__links { display: grid; gap: 14px; margin-top: 16px; padding: 4px 0 4px 14px; border-left: 2px solid #dce6d7; }
.mobile-production__links a { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.mobile-production__links svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--green); }

/* Building technologies: an understated material catalogue. */
.technologies { background: #fff; padding: 100px 0 110px; }
.technologies__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 54px; }
.technologies__head h2 { margin: 0; font-size: clamp(38px,4.5vw,68px); line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
.technologies__head > p { margin: 0 0 4px; color: #758071; font-size: 15px; line-height: 1.8; }
.technology-group { display: grid; grid-template-columns: minmax(180px,1fr) minmax(0,4fr); gap: 36px; padding: 32px 0; border-top: 1px solid #dfe5db; }
.technology-group:last-child { border-bottom: 1px solid #dfe5db; }
.technology-group__heading { padding-top: 22px; }
.technology-group__heading h3 { margin: 0; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
.technology-group__heading p { max-width: 155px; margin: 12px 0 0; font-size: 12px; line-height: 1.7; color: #7d8777; }
.technology-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.technology-item { padding: 12px 16px 20px; border-radius: 16px; transition: background .3s ease; }
.technology-item__visual { height: 116px; display: flex; align-items: center; margin-bottom: 18px; }
.technology-item__visual svg { width: 116px; height: 108px; color: #55714e; stroke-width: 1.45; transition: transform .4s ease, color .3s ease; }
.technology-item__visual .tech-detail { stroke: #99aa8f; stroke-width: 1.15; }
.technology-item h4 { max-width: 220px; margin: 0; font-size: 14px; line-height: 1.55; font-weight: 500; color: #314b39; }
@media (hover: hover) {
  .technology-item:hover { background: #f2f5ee; }
  .technology-item:hover svg { transform: translateY(-4px); color: #287b35; }
}
@media (max-width: 1100px) {
  .technology-group { grid-template-columns: 165px minmax(0,1fr); gap: 20px; }
  .technology-list { gap: 8px; }
  .technology-item { padding: 10px 8px 16px; }
  .technology-item h4 { font-size: 12px; }
}
@media (max-width: 760px) {
  .technologies { padding: 60px 0; }
  .technologies__head { display: block; margin-bottom: 32px; }
  .technologies__head h2 { font-size: clamp(33px,8.2vw,46px); }
  .technologies__head > p { margin-top: 20px; font-size: 13px; }
  .technology-group { grid-template-columns: 1fr; gap: 20px; padding: 26px 0; }
  .technology-group__heading { padding: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
  .technology-group__heading h3 { font-size: 22px; }
  .technology-group__heading p { margin: 0; max-width: 160px; text-align: right; font-size: 11px; }
  .technology-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .technology-item { padding: 12px 14px 18px; background: #f7f8f4; }
  .technology-item__visual { height: 96px; margin-bottom: 12px; }
  .technology-item__visual svg { width: 100px; height: 94px; }
  .technology-item h4 { font-size: 13px; }
}

/* Two-level technology selection. */
.technology-selector h2 { margin: 0 0 30px; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.technology-categories { display: inline-flex; gap: 4px; padding: 5px; background: #f0f2ed; border-radius: 32px; max-width: 100%; }
.technology-categories button { border: 0; border-radius: 26px; padding: 13px 25px; background: transparent; color: #758071; cursor: pointer; font-size: 14px; transition: background .25s, color .25s; }
.technology-categories button[aria-pressed="true"] { background: #fff; color: var(--green-dark); box-shadow: 0 2px 8px #23372c0c; }
.technology-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0 16px; }
.technology-options button { border: 1px solid #dce4d7; border-radius: 22px; padding: 10px 16px; font-size: 12px; line-height: 1.5; background: #fff; color: #6b7864; cursor: pointer; transition: color .2s, background .2s; }
.technology-options button[aria-pressed="true"] { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
.technology-options button:hover { border-color: var(--green-dark); }
.technology-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; min-height: 440px; animation: technology-enter .4s ease both; }
.technology-panel__copy { padding: 28px 0; }
.technology-panel h3 { margin: 0 0 20px; font-size: clamp(26px,2.4vw,36px); line-height: 1.2; letter-spacing: -.035em; font-weight: 500; }
.technology-panel__copy > p { max-width: 460px; min-height: 78px; margin: 0; color: #708068; font-size: 14px; line-height: 1.8; }
.technology-sample { display: flex; align-items: center; gap: 20px; width: fit-content; min-width: 220px; margin: 24px 0 30px; padding: 10px 22px 10px 12px; border-radius: 16px; background: #f4f6f0; }
.technology-sample svg { width: 88px; height: 82px; color: #6a825b; stroke-width: 1.5; }
.technology-sample span { color: #708068; font-size: 12px; }
.technology-house {
  margin: 0;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
}
.technology-house img { display: block; width: 100%; height: auto; }
.technology-house figcaption { text-align: center; color: #84907c; font-size: 11px; margin-top: 0; }
.technology-options[hidden], .technology-panel[hidden] { display: none; }
@keyframes technology-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:760px) {
 .technology-categories { display: flex; gap: 2px; padding: 4px; border-radius: 26px; overflow-x: auto; }
 .technology-categories button { flex: 1 0 auto; min-height: 40px; padding: 9px 7px; font-size: 11px; line-height: 1.25; white-space: nowrap; border-radius: 22px; }
 .technology-options { gap: 8px; }
 .technology-options button { font-size: 11px; padding: 8px 12px; }
 .technology-panel { grid-template-columns: 1fr; gap: 0; min-height: 0; }
 .technology-panel__copy { padding: 24px 0 0; }
 .technology-panel__copy > p { min-height: 0; }
 .technology-sample { min-width: 140px; max-width: 100%; gap: 12px; margin: 16px 0; padding: 6px 14px 6px 8px; border-radius: 12px; }
 .technology-sample svg { flex: 0 0 48px; width: 48px; height: 46px; }
 .technology-sample span { font-size: 11px; }
 .technology-house { margin-top: 16px; }
}


/* Align the house with the full configurator, not only its description. */
.technology-selector > .container {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 40px;
  align-items: start;
}
.technology-selector h2 { grid-column: 1 / -1; grid-row: 1; }
.technology-categories { grid-column: 1; grid-row: 2; justify-self: start; }
.technology-options { grid-column: 1; grid-row: 3; margin: 20px 0 26px; }
.technology-panels, .technology-panel:not([hidden]) { display: contents; }
.technology-panel__copy { grid-column: 1; grid-row: 4; padding: 0; animation: technology-enter .35s ease both; }
.technology-panel__copy > p { min-height: 0; }
.technology-house { grid-column: 2; grid-row: 2 / 5; align-self: center; margin: 0; animation: technology-enter .35s ease both; }
.technology-house img { width: 100%; }
@media(max-width:1100px) and (min-width:761px) {
  .technology-selector > .container { column-gap: 24px; }
  .technology-categories button { padding: 12px 15px; font-size: 12px; }
}
@media(max-width:760px) {
  .technology-selector > .container { display: block; }
  .technology-categories { display: flex; }
  .technology-options { margin: 18px 0 24px; }
  .technology-panel__copy { padding: 0; }
  .technology-house { margin-top: 24px; }
}

.technology-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.technology-link { background: transparent; color: var(--green-dark); border-color: #c6d6bf; }
.technology-link:hover { background: #edf3e9; border-color: var(--green-dark); }
@media (max-width: 400px) {
  .technology-actions .material-link { padding: 12px 14px; gap: 10px; font-size: 11px; }
}

/* Spacing below the production cards after removing the note row. */
.production { padding-bottom: 60px; }
@media (max-width: 760px) { .production { padding-bottom: 40px; } }

/* Menu alternative: text with a soft background highlight.
   Original chevrons and behavior are preserved in backups/menu-chevron-20260909-073701. */
.nav__arrow { display: none; }
.nav__link { position: relative; isolation: isolate; }
.nav__link::before {
  content: "";
  position: absolute;
  inset: -10px -9px;
  z-index: -1;
  border-radius: 12px;
  background: #edf3e9;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .22s ease, transform .3s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.nav__item:hover .nav__link::before,
.nav__item.is-open .nav__link::before,
.nav__link:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
.nav__item:hover .nav__link,
.nav__item.is-open .nav__link { color: var(--green-dark); }

/* Project previews echo the arrows on the main project cards. */
.mega-project-card__image { position: relative; overflow: hidden; }
.mega-project-card__arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 4px 12px #173d2526;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.mega-project-card__arrow svg { width: 20px; height: 20px; stroke-width: 1.8; }
.mega-project-card:hover .mega-project-card__arrow,
.mega-project-card:focus-visible .mega-project-card__arrow { opacity: 1; transform: translateY(0); }

/* Footer: isolated from the header and page sections. */
.site-footer { padding: 64px 0 0; border-top: 1px solid #e1e8dc; background: #fff; color: #23372c; }
.site-footer__main { display: grid; grid-template-columns: 1.15fr .8fr 1fr 1.15fr; gap: 42px; padding-bottom: 48px; }
.site-footer__main > * { min-width: 0; }
.site-footer__logo { display: inline-block; border-radius: 10px; }
.site-footer__logo img { display: block; width: 150px; height: 100px; object-fit: contain; }
.site-footer__brand p { max-width: 250px; margin: 20px 0 0; color: #65715f; font-size: 13px; line-height: 1.85; }
.site-footer h2 { margin: 12px 0 21px; font-size: 15px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.site-footer__nav ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav a { display: inline-block; padding: 6px 0; color: #53654e; font-size: 13px; line-height: 1.55; }
.site-footer a { text-decoration: none; text-underline-offset: 4px; transition: color .2s ease; }
.site-footer a:hover { color: var(--green-dark); text-decoration: underline; }
.site-footer a:focus-visible { outline: 3px solid #77b759; outline-offset: 5px; border-radius: 4px; }
.site-footer address { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.site-footer__phone { color: #244c36; font-size: clamp(18px,1.55vw,23px); font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.site-footer__email { margin-top: 10px; color: #53654e; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.site-footer__address { margin: 24px 0 12px; color: #53654e; font-size: 13px; line-height: 1.8; }
.site-footer__address span { display: block; margin-bottom: 4px; color: #23372c; font-weight: 600; }
.site-footer__directions { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; color: var(--green-dark); font-size: 12px; font-weight: 600; line-height: 1.6; }
.site-footer__directions svg { width: 18px; height: 18px; flex-shrink: 0; }
.site-footer__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 36px; padding: 24px 0; border-top: 1px solid #e1e8dc; color: #65715f; font-size: 11px; line-height: 1.7; }
.site-footer__copyright { margin: 0; }
.site-footer__policy { max-width: 100%; }
.site-footer__top { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 4px 0; color: #31503c; font-size: 12px; font-weight: 600; }
.site-footer__top svg { width: 18px; height: 18px; }
@media(max-width:1180px) {
 .site-footer__main { gap: 28px; }
}
@media(max-width:980px) {
 .site-footer__main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 48px; }
 .site-footer__brand p { max-width: 300px; }
 .site-footer__phone { font-size: 23px; }
}
@media(max-width:760px) {
 .site-footer { padding-top: 40px; }
 .site-footer__main { gap: 28px 24px; padding-bottom: 32px; }
 .site-footer__brand { grid-column: 1 / -1; }
 .site-footer__brand p { max-width: 420px; margin-top: 12px; }
 .site-footer__logo img { width: 132px; height: 88px; }
 .site-footer h2 { margin: 0 0 16px; }
 .site-footer__contacts { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #e1e8dc; }
 .site-footer__nav a { padding: 8px 0; }
 .site-footer__bottom { gap: 14px 20px; padding: 20px 0; }
 .site-footer__policy { flex-basis: 100%; order: 3; }
}
@media(max-width:360px) {
 .site-footer__main { grid-template-columns: minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
 .site-footer a { transition: none; }
}

/* Callback: form preview and messenger card. */
.callback { padding: 70px 0; background: #f1f4ed; }
.callback__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.callback__card { min-width: 0; padding: 42px; border-radius: 24px; background: #fff; }
.callback h2 { margin: 0; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.callback h2 span { color: var(--green-dark); }
.callback__intro { max-width: 410px; margin: 22px 0 30px; font-size: 14px; line-height: 1.85; color: #65715f; }
.callback__form { display: grid; gap: 16px; margin-top: 30px; }
.callback__form > label { display: grid; gap: 7px; font-size: 12px; line-height: 1.6; color: #486044; }
.callback__form input:not([type="checkbox"]),.callback__form textarea { width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #cad6c3; border-radius: 12px; background: #fcfdf9; color: #23372c; font: inherit; font-size: 14px; }
.callback__form textarea { resize: vertical; }
.callback__form input::placeholder,.callback__form textarea::placeholder { color: #7e8c78; opacity: 1; }
.callback__form > .callback__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; color: #65715f; }
.callback__consent input { width: 16px; height: 16px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--green-dark); }
.callback__submit { display: inline-flex; justify-self: start; align-items: center; gap: 26px; max-width: 100%; min-height: 52px; margin-top: 6px; padding: 15px 24px; border: 0; border-radius: 28px; background: var(--green-dark); color: #fff; font: inherit; font-size: 13px; font-weight: 600; }
.callback__submit:disabled { opacity: .65; cursor: not-allowed; }
.callback__submit svg { width: 20px; height: 20px; flex-shrink: 0; }
.callback__messengers { position: relative; display: flex; align-items: flex-end; isolation: isolate; min-width: 0; min-height: 440px; padding: 42px; border-radius: 24px; overflow: hidden; background: #244c36; color: #fff; }
.callback__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.callback__messengers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.35) 40%,rgba(0,0,0,.88) 100%); }
.callback__messenger-copy { width: 100%; }
.callback__messengers h3 { margin: 0; font-size: clamp(30px,3vw,44px); line-height: 1.12; letter-spacing: -.04em; font-weight: 600; }
.callback__messengers p { margin: 20px 0 28px; color: #e1e8dc; font-size: 14px; line-height: 1.8; }
.callback__links { display: flex; flex-wrap: wrap; gap: 12px; }
.callback__messenger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 14px 18px; border: 0; border-radius: 28px; background: #fff; color: #244c36; font: inherit; font-size: 12px; font-weight: 600; opacity: 1; }
.callback__messenger svg { width: 20px; height: 20px; flex-shrink: 0; }
@media(max-width:1180px) {
 .callback__card,.callback__messengers { padding: 32px; }
 .callback__grid { gap: 20px; }
}
@media(max-width:980px) {
 .callback__grid { grid-template-columns: minmax(0,1fr); }
 .callback__intro { max-width: 560px; }
 .callback__messengers { min-height: 420px; }
}
@media(max-width:760px) {
 .callback { padding: 50px 0; }
 .callback__card,.callback__messengers { padding: 28px 22px; border-radius: 18px; }
 .callback__intro { font-size: 13px; margin: 20px 0 26px; }
 .callback__messengers { min-height: 380px; }
 .callback__messengers p { font-size: 13px; }
 .callback__links { gap: 10px; }
}

/* FAQ: native disclosure controls, independent of JavaScript. */
.home-faq { padding: 0 0 90px; background: #fff; }
.home-faq h2 { margin: 0 0 36px; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.home-faq__list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; gap: 16px; }
.home-faq__item { border: 1px solid #e1e8dc; border-radius: 18px; background: #f6f8f2; transition: background .25s ease,border-color .25s ease; }
.home-faq__item[open] { background: #edf3e9; border-color: #c9d9bf; }
.home-faq__item > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; min-height: 150px; padding: 24px 20px; margin: 0; color: #23372c; font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -.02em; list-style: none; cursor: pointer; border-radius: 18px; }
.home-faq__item > summary::marker { content: ""; }
.home-faq__item > summary::-webkit-details-marker { display: none; }
.home-faq__item > summary:hover { color: var(--green-dark); }
.home-faq__item > summary:focus-visible { outline: 3px solid #77b759; outline-offset: 3px; }
.home-faq__toggle { position: relative; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #c9d9bf; border-radius: 50%; color: var(--green-dark); background: #fff; transition: background .25s ease,color .25s ease; }
.home-faq__toggle::before,.home-faq__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); }
.home-faq__toggle::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .25s ease; }
.home-faq__item[open] .home-faq__toggle { color: #fff; background: var(--green-dark); border-color: var(--green-dark); }
.home-faq__item[open] .home-faq__toggle::after { transform: translate(-50%,-50%) rotate(0); }
.home-faq__answer { padding: 0 20px 24px; color: #65715f; font-size: 14px; line-height: 1.85; }
.home-faq__answer p { margin: 0 0 14px; }
.home-faq__answer p:last-child { margin-bottom: 0; }
.home-faq__answer ul { margin: 0 0 16px; padding-left: 20px; }
.home-faq__answer li + li { margin-top: 5px; }
.home-faq__answer li::marker { color: var(--green-dark); }
@media(max-width:980px) {
 .home-faq__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .home-faq { padding-bottom: 55px; }
 .home-faq h2 { margin-bottom: 28px; }
 .home-faq__list { gap: 10px; }
 .home-faq__item > summary { padding: 20px 18px; gap: 14px; font-size: 16px; }
 .home-faq__toggle { flex-basis: 32px; width: 32px; height: 32px; }
 .home-faq__answer { padding: 0 18px 22px; font-size: 13px; }
}
@media(max-width:520px) {
 .home-faq__list { grid-template-columns: minmax(0,1fr); }
 .home-faq__item > summary { min-height: 0; align-items: center; }
}
@media(prefers-reduced-motion:reduce) {
 .home-faq__item,.home-faq__toggle,.home-faq__toggle::after { transition: none; }
}

/* Individual design: architectural illustration and construction offer. */
.custom-design { padding: 80px 0 90px; background: #fff; }
.custom-design__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 50px; }
.custom-design__copy { min-width: 0; }
.custom-design h2 { margin: 0; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.custom-design h2 span { color: var(--green-dark); }
.custom-design__description { max-width: 490px; margin: 26px 0 30px; font-size: 14px; line-height: 1.85; color: #65715f; }
.custom-design__gift { display: flex; align-items: center; gap: 18px; max-width: 510px; padding: 22px 24px; border: 1px solid #d1dfc8; border-radius: 18px; background: #e5eddf; }
.custom-design__gift-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; color: var(--green-dark); }
.custom-design__gift-icon svg { width: 36px; height: 36px; stroke-width: 1.5; }
.custom-design__gift p { margin: 0; font-size: 13px; line-height: 1.6; color: #486044; }
.custom-design__gift strong { display: block; margin-top: 3px; color: #244c36; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.custom-design__link { margin-top: 28px; max-width: 100%; }
.custom-design__visual { min-width: 0; padding: 16px 8px; }
.design-comparison { --comparison-position: 50%; position: relative; aspect-ratio: 6 / 5; overflow: hidden; border-radius: 20px; background: #e4e9dd; isolation: isolate; }
.design-comparison__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.design-comparison__before { clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0); }
.design-comparison__label { position: absolute; top: 20px; padding: 9px 14px; border-radius: 24px; color: #244c36; background: #ffffffed; font-size: 12px; font-weight: 600; pointer-events: none; }
.design-comparison__label--before { left: 20px; }
.design-comparison__label--after { right: 20px; }
.design-comparison__divider { position: absolute; inset: 0 auto 0 var(--comparison-position); width: 2px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 8px #0003; pointer-events: none; }
.design-comparison__handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; background: #244c36; color: #fff; box-shadow: 0 4px 16px #0003; }
.design-comparison__handle svg { width: 32px; height: 24px; }
.design-comparison__range { position: absolute; top: 0; left: -24px; width: calc(100% + 48px); height: 100%; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; background: transparent; }
.design-comparison__range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 48px; height: 48px; border: 0; }
.design-comparison__range::-moz-range-thumb { width: 48px; height: 48px; border: 0; }
.design-comparison:focus-within { outline: 3px solid #77b759; outline-offset: 5px; }
@media(max-width:760px) {
 .design-comparison { border-radius: 18px; }
 .design-comparison__label { top: 14px; padding: 8px 12px; font-size: 11px; }
 .design-comparison__label--before { left: 14px; }
 .design-comparison__label--after { right: 14px; }
}
.custom-design__drawing { position: relative; isolation: isolate; aspect-ratio: 6 / 5; background: #fcfdf9; border: 1px solid #dce4d5; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px #244c360a; }
.custom-design__drawing-label { position: absolute; top: 28px; left: 28px; z-index: 2; font-size: 11px; color: #65715f; }
.custom-design__drawing-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#879e7210 1px,transparent 1px),linear-gradient(90deg,#879e7210 1px,transparent 1px); background-size: 24px 24px; }
.custom-design__guides { position: absolute; inset: 0; width: 100%; height: 100%; color: #a5b899; stroke-width: 1; }
.custom-design__guides circle { opacity: .4; }
.custom-design__guide-dashed { stroke-dasharray: 5 6; opacity: .6; }
.custom-design__drawing > img { position: absolute; inset: 13% 5% 14%; width: 90%; height: 73%; object-fit: contain; }
.custom-design__drawing-sign { position: absolute; bottom: 24px; left: 28px; right: 28px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding-top: 14px; border-top: 1px solid #dce4d5; color: #486044; font-size: 9px; letter-spacing: .07em; }
.custom-design__drawing-sign span { color: #7b8c73; letter-spacing: 0; }
@media(max-width:1180px) {
 .custom-design__inner { gap: 28px; }
 .custom-design__gift { padding: 20px; gap: 14px; }
 .custom-design__gift strong { font-size: 19px; }
}
@media(max-width:980px) {
 .custom-design__inner { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .custom-design__description { max-width: 620px; }
 .custom-design__visual { width: 100%; max-width: 620px; justify-self: center; padding: 0; }
}
@media(max-width:760px) {
 .custom-design { padding: 50px 0 60px; }
 .custom-design__description { margin: 22px 0 24px; font-size: 13px; }
 .custom-design__gift { padding: 18px 16px; gap: 12px; }
 .custom-design__gift-icon { flex-basis: 32px; width: 32px; }
 .custom-design__gift-icon svg { width: 30px; height: 30px; }
 .custom-design__gift strong { font-size: 18px; }
 .custom-design__link { padding: 14px 18px; gap: 16px; font-size: 12px; }
 .custom-design__drawing-label { top: 18px; left: 18px; font-size: 10px; }
 .custom-design__drawing-sign { bottom: 18px; left: 18px; right: 18px; font-size: 8px; }
}

/* Catalog lead: a local, decorative book mockup awaiting the actual PDF. */
.catalog-request { width: min(520px,calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 40px; border: 0; border-radius: 24px; color: #23372c; background: #f5f7f1; overflow-y: auto; box-shadow: 0 24px 80px #10281d40; }
.catalog-request::backdrop { background: #10281d99; }
.catalog-request__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; color: #244c36; background: #e4e9dd; font-size: 26px; cursor: pointer; }
.catalog-request h2 { margin: 12px 0 16px; font-size: 32px; font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.catalog-request__intro { margin: 0 0 24px; color: #65715f; font-size: 13px; line-height: 1.7; }
.catalog-request__form { display: grid; gap: 18px; }
.catalog-request__form > label { display: grid; gap: 8px; font-size: 12px; line-height: 1.6; }
.catalog-request__form input:not([type="checkbox"]),.catalog-request__form textarea { width: 100%; min-width: 0; padding: 13px 15px; border: 1px solid #cad6c3; border-radius: 12px; background: #fff; color: #23372c; font: inherit; font-size: 13px; }
.catalog-request__form textarea { resize: vertical; }
.catalog-request__form > .catalog-request__consent { display: flex; align-items: flex-start; gap: 10px; color: #65715f; font-size: 11px; }
.catalog-request__consent input { width: 16px; height: 16px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--green-dark); }
.catalog-request__submit { min-height: 52px; border: 0; border-radius: 28px; color: #fff; background: var(--green-dark); font: inherit; font-size: 13px; font-weight: 600; }
.catalog-request__submit:disabled { opacity: .55; cursor: not-allowed; }
@media(max-width:520px) { .catalog-request { padding: 28px 22px; border-radius: 18px; } .catalog-request h2 { font-size: 28px; } }
.catalog-lead { padding: 0 0 90px; background: #fff; }
.catalog-lead__panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 56px 60px; border-radius: 24px; background: #244c36; color: #fff; overflow: hidden; }
.catalog-lead__copy { position: relative; z-index: 1; min-width: 0; }
.catalog-lead h2 { margin: 0; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.catalog-lead h2 span { color: #b8d4a5; }
.catalog-lead__copy > p { max-width: 430px; margin: 24px 0 32px; color: #d0dbcd; font-size: 14px; line-height: 1.85; }
.catalog-lead__button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 100%; min-height: 56px; padding: 16px 24px; border: 1px solid #e4e9dd; border-radius: 32px; color: #244c36; background: #e4e9dd; font: inherit; font-size: 13px; font-weight: 600; opacity: 1; }
.catalog-lead__button svg { flex: 0 0 22px; width: 22px; height: 22px; }
.catalog-lead__button:not(:disabled) { cursor: pointer; transition: background .25s ease,transform .25s ease; }
.catalog-lead__button:not(:disabled):hover { background: #fff; transform: translateY(-2px); }
.catalog-lead__visual { position: relative; width: 100%; max-width: 460px; height: 410px; justify-self: center; isolation: isolate; }
.catalog-lead__visual::before { content: ""; position: absolute; inset: 15% -10% 0; background: radial-gradient(ellipse,#b8d4a524,transparent 65%); z-index: -1; }
.catalog-lead__sheet { position: absolute; top: 35px; right: 5%; width: 65%; height: 350px; padding: 24px; background: #edf1e7; color: #244c36; transform: rotate(13deg); box-shadow: 10px 20px 30px #10281d40; }
.catalog-lead__sheet > span:first-child { font-size: 11px; font-weight: 600; }
.catalog-lead__sheet img { display: block; width: 100%; height: 190px; object-fit: contain; margin-top: 20px; }
.catalog-lead__sheet-lines { width: 70%; height: 28px; background: repeating-linear-gradient(to bottom,#bac7b2 0 1px,transparent 1px 9px); }
.catalog-lead__sheet-footer { display: block; margin-top: 18px; font-size: 8px; letter-spacing: .12em; }
.catalog-lead__book { position: absolute; top: 8px; left: 8%; width: 66%; height: 374px; display: flex; flex-direction: column; background: #f1f4ed; color: #244c36; transform: rotate(-9deg); box-shadow: 2px 2px 0 #c9d1c2,4px 4px 0 #e5e9df,6px 6px 0 #bcc6b4,12px 24px 36px #10281d66; }
.catalog-lead__book::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 9px; background: linear-gradient(90deg,#132d211f,transparent); }
.catalog-lead__book-heading { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 0; font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.catalog-lead__book-mark { font-size: 20px; color: var(--green); }
.catalog-lead__book-title { padding: 20px 24px; font-size: 29px; font-weight: 600; line-height: 1.05; letter-spacing: -.045em; }
.catalog-lead__book-title > span { display: block; margin-top: 12px; font-size: 9px; line-height: 1.4; font-weight: 400; letter-spacing: 0; }
.catalog-lead__book > img { width: 100%; min-height: 0; flex: 1; object-fit: cover; }
.catalog-lead__book-footer { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; font-size: 8px; background: #dce7d4; }
@media(max-width:1180px) {
 .catalog-lead__panel { padding: 44px 36px; gap: 20px; }
 .catalog-lead__book { left: 4%; width: 72%; }
}
@media(max-width:980px) {
 .catalog-lead__panel { grid-template-columns: 1fr 1fr; padding: 36px 28px; }
 .catalog-lead__book-title { font-size: 25px; }
 .catalog-lead__book-heading { padding-inline: 18px; font-size: 8px; }
}
@media(max-width:760px) {
 .catalog-lead { padding-bottom: 55px; }
 .catalog-lead__panel { grid-template-columns: minmax(0,1fr); padding: 32px 24px 16px; gap: 30px; border-radius: 18px; }
 .catalog-lead__copy > p { margin: 20px 0 26px; font-size: 13px; }
 .catalog-lead__visual { max-width: 350px; height: 380px; }
 .catalog-lead__book { top: 10px; left: 6%; width: 70%; height: 330px; }
 .catalog-lead__book-title { padding: 18px; font-size: 26px; }
 .catalog-lead__sheet { top: 32px; height: 310px; padding: 18px; }
 .catalog-lead__sheet img { height: 160px; }
 .catalog-lead__button { min-height: 52px; }
}
@media(prefers-reduced-motion:reduce) {
 .catalog-lead__button:not(:disabled) { transition: none; }
}

/* Advantages: one continuous row, with story-style progress. */
/* Portfolio preview: a tall lead card and four house previews. */
.portfolio-preview { padding: 80px 0 90px; background: #fff; }
.portfolio-preview h2 { margin: 0 0 36px; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.portfolio-preview__grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; grid-template-rows: repeat(2,270px); gap: 20px; }
.portfolio-preview__card { position: relative; display: flex; align-items: flex-end; isolation: isolate; min-width: 0; overflow: hidden; border-radius: 24px; background: #244c36; color: #fff; }
.portfolio-preview__card--main { grid-row: span 2; }
.portfolio-preview__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.portfolio-preview__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(16,35,23,.12),transparent 35%,rgba(16,35,23,.72)); }
.portfolio-preview__card h3 { margin: 0; padding: 26px; font-size: 25px; line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.portfolio-preview__card--main h3 { font-size: 32px; max-width: 300px; }
.portfolio-preview__arrow { position: absolute; top: 22px; left: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--green-dark); transition: background .25s ease,color .25s ease; }
.portfolio-preview__arrow svg { width: 21px; height: 21px; }
.portfolio-preview__card:hover img,.portfolio-preview__card:focus-visible img { transform: scale(1.045); }
.portfolio-preview__card:hover .portfolio-preview__arrow,.portfolio-preview__card:focus-visible .portfolio-preview__arrow { background: var(--green-dark); color: #fff; }
@media(max-width:980px) {
 .portfolio-preview__grid { grid-template-rows: repeat(2,230px); gap: 16px; }
 .portfolio-preview__card h3 { font-size: 22px; padding: 20px; }
 .portfolio-preview__card--main h3 { font-size: 28px; }
}
@media(max-width:760px) {
 .portfolio-preview { padding: 50px 0 60px; }
 .portfolio-preview h2 { margin-bottom: 28px; }
 .portfolio-preview__grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 320px; grid-auto-rows: 220px; gap: 14px; }
 .portfolio-preview__card { border-radius: 18px; }
 .portfolio-preview__card--main { grid-column: 1 / -1; grid-row: auto; }
 .portfolio-preview__arrow { top: 16px; left: 16px; width: 36px; height: 36px; }
 .portfolio-preview__card h3 { padding: 18px; }
}
@media(max-width:400px) {
 .portfolio-preview__grid { grid-auto-rows: 190px; }
 .portfolio-preview__card:not(.portfolio-preview__card--main) h3 { font-size: 19px; padding: 14px; }
}
@media(prefers-reduced-motion:reduce) {
 .portfolio-preview__card img,.portfolio-preview__arrow { transition: none; }
 .portfolio-preview__card:hover img,.portfolio-preview__card:focus-visible img { transform: none; }
}

.advantages { padding: 70px 0; background: #f1f4ed; }
.advantages__title { margin: 0 0 36px; font-size: clamp(32px,3.5vw,54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.advantages__stage { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
.advantages__track { --card-width: min(560px, 88%); display: flex; gap: 20px; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #a9bca1 transparent; cursor: grab; padding: 5px 0 14px; touch-action: pan-x pan-y; }
.advantages__track::after { content: ""; flex: 0 0 max(0px,calc(100% - var(--card-width) - 20px)); }
.advantages__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.advantages__track:focus-visible { outline-offset: -4px; }
.advantage-card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; flex: 0 0 var(--card-width); min-width: 0; scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: #fff; }
.advantage-card__copy { display: flex; flex-direction: column; padding: 26px 24px; min-width: 0; }
.advantage-card__number { color: var(--green); font-size: 28px; letter-spacing: -.06em; font-weight: 500; margin-bottom: 26px; }
.advantage-card h3 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.advantage-card__description { font-size: 12px; line-height: 1.85; color: #65715f; margin: 18px 0 26px; }
.advantage-card__count { margin-top: auto; color: #31503c; font-size: 14px; font-weight: 600; }
.advantage-card__count span { color: #a5b09f; font-weight: 400; }
.advantage-card__image { background: #e4e9dd; min-width: 0; }
.advantage-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.advantage-card__image--illustration img { object-fit: contain; padding: 12px; }
.advantages__bottom { display: flex; align-items: center; gap: 28px; }
.advantages__progress { display: flex; flex: 1; gap: 8px; min-width: 0; }
.advantages__step { position: relative; flex: 1; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.advantages__step::before,.advantages__step span { content: ""; position: absolute; top: 14px; left: 0; width: 100%; height: 3px; border-radius: 3px; background: #d5dece; }
.advantages__step span { background: var(--green-dark); transform: scaleX(0); transform-origin: left; }
.advantages__controls { display: flex; gap: 6px; }
.advantages__controls button { width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid #cad6c3; background: transparent; color: #31503c; cursor: pointer; font-size: 18px; transition: background .2s, color .2s; }
.advantages__controls button:hover { background: #244c36; color: #fff; }
@media(max-width:980px) {
 .advantages__track { --card-width: min(560px, 88%); }
}
@media(max-width:760px) {
 .advantages { padding: 42px 0 55px; }
 .advantages__title { margin-bottom: 28px; }
 .advantages__track { --card-width: 90%; gap: 14px; }
 .advantages__track::after { flex-basis: max(0px,calc(100% - var(--card-width) - 14px)); }
 .advantage-card { grid-template-columns: minmax(0,1fr); grid-template-rows: clamp(300px,100vw,460px) 1fr; }
 .advantage-card__image { grid-row: 1; position: relative; overflow: hidden; }
 .advantage-card__image img { position: absolute; inset: 0; }
 .advantage-card__copy { padding: 20px; }
 .advantage-card__number { font-size: 24px; margin-bottom: 18px; }
 .advantage-card h3 { font-size: 23px; }
 .advantage-card__description { margin: 14px 0 22px; }
 .advantages__bottom { flex-wrap: wrap; gap: 10px; }
 .advantages__progress { flex-basis: 100%; }
 .advantages__controls { margin-left: auto; }
}
@media(prefers-reduced-motion:reduce) {
 .advantages__track { scroll-behavior: auto; }
 .advantages__controls button { transition: none; }
}

/* Mobile actions follow their visuals; desktop positions are restored by JS. */
@media (max-width: 760px) {
  .technology-panel > .technology-actions { margin-top: 24px; }
  .catalog-lead__panel { padding-bottom: 32px; }
  .catalog-lead__panel > .catalog-lead__button { justify-self: start; }
  .custom-design__inner > .custom-design__link { justify-self: start; margin-top: 0; }
}
/* Собственное производство: размеры картинок на ПК (ширина экрана от 761px). */
@media (min-width: 761px) {
  .production {
    --material-art-height: 430px; /* Высота области: больше значение — крупнее картинка. */
    --material-image-max-width: 520px; /* Максимальная ширина изображения. */
  }
  .production .material-art {
    height: var(--material-art-height);
  }
  .production .material-art img {
    width: min(90%, var(--material-image-max-width));
    height: calc(100% - 32px); /* Запас для анимации при наведении. */
  }
}

/* Catalog artwork fits the existing desktop and mobile visual area. */
.catalog-lead__image { display: block; width: 100%; height: 100%; object-fit: contain; }


/* Contacts menu has one destination: the directions section. */
#menu-contacts.mega-menu{width:280px}

/* Header navigation and mobile telephone, 16 November 2026. */
.nav__link:focus-visible,.mega-project-all:focus-visible,.header__phone:focus-visible{outline:3px solid #91b865;outline-offset:5px}
.header__phone-icon{display:none}
.mega-project-all{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 22px;border-radius:14px;background:#287b35;color:#fff;font-size:18px;font-weight:700;line-height:1.4}
.mega-project-all:hover{background:#224d38;color:#fff}
.mega-project-all svg{width:24px;height:24px;flex:0 0 24px}
@media(max-width:760px){
 .header__inner{gap:8px}
 .header__right{gap:8px;min-width:0}
 .header__phone{display:inline-flex;order:-1;align-items:center;gap:4px;min-height:44px;white-space:nowrap;font-size:12px;letter-spacing:-.03em;line-height:1.3;flex-shrink:0}
 .header__phone-icon{display:block;width:14px;height:14px;flex:0 0 14px}
}
@media(max-width:380px){
 .header .logo img{width:64px;height:48px}
 .header__inner{gap:6px}
 .header__right{gap:6px}
 .header__socials{gap:4px}
 .header-social{width:24px;height:24px}
 .header__phone{font-size:10px;gap:3px}
 .header__phone-icon{width:12px;height:12px;flex-basis:12px}
 .header .burger{width:36px;height:36px;flex-shrink:0}
}
/* Catalog cover responds to hover and keyboard navigation. */
.catalog-lead__image { transition:transform .5s cubic-bezier(.22,1,.36,1);transform-origin:50% 65%; }
@media(hover:hover){.catalog-lead__panel:hover .catalog-lead__image { transform:translateY(-10px) rotate(-3deg) scale(1.03); }}
.catalog-lead__panel:focus-within .catalog-lead__image { transform:translateY(-10px) rotate(-3deg) scale(1.03); }
@media(prefers-reduced-motion:reduce){.catalog-lead__image{transition:none}.catalog-lead__panel:hover .catalog-lead__image,.catalog-lead__panel:focus-within .catalog-lead__image{transform:none}}