:root {
  --bg: #f4f0ea;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #625d57;
  --line: rgba(21, 21, 21, 0.1);
  --gold: #c4a77a;
  --dark: #111111;
  --dark-2: #181818;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --shadow-soft: 0 24px 70px rgba(17, 17, 17, 0.08);
  --shadow-deep: 0 40px 120px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: 20px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 14px;
  letter-spacing: 0.26em;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
}


.nav-link{font-size:14px;color:rgba(255,255,255,.86);transition:color .2s ease}
.nav-link:hover{color:#fff}
.nav-dropdown{position:relative;display:flex;align-items:center;gap:8px}
.nav-dropdown-toggle{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;background:transparent;color:rgba(255,255,255,.78);cursor:pointer;transition:transform .2s ease,color .2s ease}
.nav-dropdown:hover .nav-dropdown-toggle,.nav-dropdown:focus-within .nav-dropdown-toggle,.nav-dropdown.is-open .nav-dropdown-toggle{color:#fff;transform:rotate(180deg)}
.nav-dropdown-menu{position:absolute;top:calc(100% + 12px);left:0;min-width:320px;padding:14px;border-radius:24px;background:rgba(17,17,17,.95);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.08);display:grid;gap:8px;opacity:0;pointer-events:none;transform:translateY(6px);transition:all .2s ease;box-shadow:0 24px 70px rgba(0,0,0,.24);z-index:40}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu,.nav-dropdown.is-open .nav-dropdown-menu{opacity:1;pointer-events:auto;transform:translateY(0)}
.nav-dropdown-menu a{padding:10px 12px;border-radius:14px;color:rgba(255,255,255,.82)}
.nav-dropdown-menu a:hover{background:rgba(255,255,255,.06);color:#fff}


.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: #fff;
  color: var(--dark);
}

.btn-primary:hover {
  background: #f3f3f3;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border-color: rgba(21, 21, 21, 0.16);
}

.btn-secondary:hover {
  background: #fff;
  border-color: rgba(21, 21, 21, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px 0 80px;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}

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

.hero-media {
  background-image: url('/assets/images/01-sovremennyy-dom-s-privatnym-dvorom.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
}

.hero-overlay {
  background:
    linear-gradient(to right, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0.28)),
    linear-gradient(to top, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.08));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
}

.eyebrow-dark {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.08);
  color: rgba(17, 17, 17, 0.68);
}

.hero h1,
.section h2 {
  margin: 18px 0 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.section h2 {
  color: var(--ink);
  font-size: clamp(32px, 4.5vw, 56px);
}

.hero-text,
.section-head p,
.intro-text p,
.result-panel p,
.process-grid > div:first-child p,
.outdoor-copy p,
.company-panel p,
.faq-grid > div:first-child p,
.contact-copy p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.section-head p,
.intro-text p,
.result-panel p,
.process-grid > div:first-child p,
.company-panel p,
.faq-grid > div:first-child p {
  color: var(--muted);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
}

.hero-card-label {
  color: rgba(255, 255, 255, 0.64);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
}

.hero-card h2 {
  margin-top: 16px;
  color: #fff;
  font-size: 34px;
  line-height: 1.06;
}

.hero-card p,
.hero-card li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.75;
}

.hero-card ul {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 22px;
  margin: 12px 0;
}

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

.section {
  padding: 120px 0;
}

.section-intro {
  padding-bottom: 56px;
}

.two-col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
}

.intro-text {
  display: grid;
  gap: 22px;
}

.section-dark {
  padding-top: 0;
}

.dark-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: 44px;
  border-radius: var(--radius-xl);
  background: var(--dark-2);
  color: #fff;
}

.dark-copy h2 {
  color: #fff;
}

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

.principles-grid article,
.service-card,
.process-item,
.trust-card,
.company-panel,
.faq-item,
.contact-panel {
  border-radius: var(--radius-lg);
}

.principles-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.principles-grid h3,
.service-card h3,
.project-copy h3,
.process-item h3,
.trust-card h3,
.faq-item summary,
.contact-copy h2,
.hero-card h2,
.company-panel h2 {
  margin: 0;
  font-weight: 500;
}

.principles-grid p,
.service-card p,
.process-item p,
.trust-card p,
.faq-item p,
.company-panel p,
.contact-copy p,
.contact-links a {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.principles-grid p {
  color: rgba(255, 255, 255, 0.74);
}

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

.services-grid,
.trust-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f2eee8;
  color: var(--ink);
  font-size: 24px;
}

.section-accent {
  padding-top: 0;
}

.result-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  padding: 46px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #d8cbb7, #efe7db 60%, #f5f0e7);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(21, 21, 21, 0.14);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.projects-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  background: #ddd;
  box-shadow: var(--shadow-soft);
}

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

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

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.08));
}

.project-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 26px;
  color: #fff;
}

.project-copy span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.project-copy h3 {
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.06;
}

.project-copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.05);
}

.process-item span {
  font-size: 48px;
  line-height: 1;
  color: rgba(21, 21, 21, 0.16);
  font-weight: 500;
}

.outdoor-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-xl);
}

.outdoor-copy {
  padding: 52px;
}

.outdoor-copy h2 {
  color: #fff;
}

.outdoor-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.outdoor-image {
  min-height: 480px;
  background-image: url('/assets/images/07-outdoor-prostranstva-kak-chast-doma.jpg');
  background-size: cover;
  background-position: center;
}

.company-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: 46px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.04);
  padding: 0 24px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 24px;
}

.section-contact {
  padding-bottom: 90px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow-deep);
}

.contact-copy,
.contact-form {
  padding: 48px;
}

.contact-copy {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-copy h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  color: rgba(255, 255, 255, 0.82);
}

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

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.contact-form textarea {
  padding: 16px 18px;
  min-height: 130px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
}

.site-footer {
  padding: 28px 0 44px;
}

.footer-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(21, 21, 21, 0.1);
  padding-top: 24px;
}

.footer-shell strong {
  letter-spacing: 0.18em;
  font-size: 14px;
}

.footer-shell p,
.footer-links a {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .dark-panel,
  .result-panel,
  .company-panel,
  .contact-panel,
  .outdoor-panel,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

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

  .contact-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 860px) {
  .main-nav,
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-shell.is-open {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-shell.is-open .main-nav {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
  }

  .nav-shell.is-open .nav-dropdown {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-shell.is-open .nav-dropdown-toggle {
    margin-left: auto;
  }

  .nav-shell.is-open .nav-dropdown-menu {
    width: 100%;
  }

  .nav-shell.is-open .btn-header {
    display: inline-flex;
    width: 100%;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-card,
  .dark-panel,
  .result-panel,
  .company-panel,
  .contact-copy,
  .contact-form,
  .outdoor-copy {
    padding: 28px;
  }

  .section {
    padding: 88px 0;
  }

  .section-head,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .services-grid,
  .trust-grid,
  .projects-grid,
  .principles-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 360px;
  }

  .project-copy h3 {
    font-size: 24px;
  }

  .faq-item summary {
    font-size: 18px;
  }

  .hero-text,
  .section-head p,
  .intro-text p,
  .result-panel p,
  .process-grid > div:first-child p,
  .outdoor-copy p,
  .company-panel p,
  .faq-grid > div:first-child p,
  .contact-copy p {
    font-size: 16px;
  }
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.consent-banner[hidden],
.consent-modal[hidden] {
  display: none !important;
}

.consent-banner {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 80;
}

.consent-banner__inner {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(21, 21, 21, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  backdrop-filter: blur(12px);
}

.consent-banner__copy strong,
.consent-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.consent-banner__copy p,
.consent-item p,
.consent-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.consent-banner__actions,
.consent-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(4px);
}

.consent-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 40px));
  margin: 8vh auto 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.consent-modal__head,
.consent-modal__body,
.consent-modal__foot {
  padding: 24px 28px;
}

.consent-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.consent-modal__head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.consent-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.06);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.consent-modal__body {
  display: grid;
  gap: 16px;
}

.consent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #faf8f4;
}

.switch {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 32px;
  flex: 0 0 auto;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.18);
  transition: background 0.2s ease;
}

.switch span::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.2s ease;
}

.switch input:checked + span {
  background: var(--gold);
}

.switch input:checked + span::before {
  transform: translateX(24px);
}

.switch input:disabled + span {
  background: rgba(196, 167, 122, 0.45);
}

.consent-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .consent-banner__inner {
    grid-template-columns: 1fr;
  }

  .consent-banner__actions,
  .consent-modal__foot {
    justify-content: stretch;
  }

  .consent-banner__actions .btn,
  .consent-modal__foot .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 720px) {
  .consent-modal__head,
  .consent-modal__body,
  .consent-modal__foot {
    padding: 20px;
  }

  .consent-modal__head h2 {
    font-size: 22px;
  }

  .consent-item {
    align-items: flex-start;
  }
}

.hero-media-local{background-image:url('/assets/images/01-sovremennyy-dom-s-privatnym-dvorom.jpg');}
.nav-link.is-current{color:#fff;}
.nav-dropdown{position:relative;}
.nav-dropdown-menu{position:absolute;top:calc(100% + 12px);left:0;min-width:320px;padding:14px;border-radius:24px;background:rgba(17,17,17,.95);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.08);display:grid;gap:8px;opacity:0;pointer-events:none;transform:translateY(6px);transition:all .2s ease;box-shadow:0 24px 70px rgba(0,0,0,.24)}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{opacity:1;pointer-events:auto;transform:translateY(0)}
.nav-dropdown-menu a{padding:10px 12px;border-radius:14px;color:rgba(255,255,255,.82)}
.nav-dropdown-menu a:hover{background:rgba(255,255,255,.06);color:#fff}
.page-hero{position:relative;min-height:72svh;padding:150px 0 80px;background:#111;color:#fff;overflow:hidden}
.page-hero-media{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1.04)}
.page-hero-media--video{overflow:hidden}
.hero-bg-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.06);filter:saturate(.96) contrast(1.02) brightness(.88)}
@media (prefers-reduced-motion: reduce){.hero-bg-video{display:none}}
.page-hero-shell{position:relative;z-index:2}
.page-hero-copy{max-width:900px}
.breadcrumbs{position:relative;z-index:2;display:flex;gap:10px;flex-wrap:wrap;margin-bottom:28px;color:rgba(255,255,255,.72);font-size:14px}
.breadcrumbs span:last-child,.breadcrumbs a:hover{color:#fff}
.breadcrumbs span:not(:last-child)::after,.breadcrumbs a::after{content:'/' ;margin-left:10px;color:rgba(255,255,255,.36)}
.breadcrumbs a:last-child::after{content:'';margin:0}
.services-grid-7{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-card-link{display:flex;flex-direction:column}
.text-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:18px;font-weight:600;color:var(--ink)}
.text-link::after{content:'→';transition:transform .2s ease}
.text-link:hover::after{transform:translateX(3px)}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.detail-card,.scenario-card,.related-panel{padding:34px;border-radius:28px;background:#fff;box-shadow:var(--shadow-soft);border:1px solid rgba(21,21,21,.06)}
.check-list{display:grid;gap:14px;padding:0;margin:22px 0 0;list-style:none}
.check-list li{position:relative;padding-left:28px;color:var(--muted)}
.check-list li::before{content:'•';position:absolute;left:10px;top:0;color:var(--gold);font-size:20px;line-height:1}
.related-links,.scenarios-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.related-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-radius:18px;background:rgba(17,17,17,.04);font-weight:600}
.related-link::after{content:'→'}
.related-link:hover{background:rgba(17,17,17,.08)}
.scenario-card h3{margin:0 0 10px;font-size:26px;line-height:1.08;letter-spacing:-.03em}
@media (max-width: 980px){.services-grid-7,.detail-grid,.related-links,.scenarios-grid{grid-template-columns:1fr 1fr}.nav-dropdown{width:100%;flex-wrap:wrap}.nav-dropdown-toggle{margin-left:auto}.nav-dropdown-menu{position:static;opacity:1;pointer-events:auto;transform:none;display:none;margin-top:10px;width:100%;min-width:0}.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu,.nav-dropdown.is-open .nav-dropdown-menu{display:grid}}
@media (max-width: 760px){.services-grid-7,.detail-grid,.related-links,.scenarios-grid{grid-template-columns:1fr}.page-hero{padding-top:130px}.breadcrumbs{font-size:13px}.nav-dropdown-menu{min-width:0}}

/* Pools landing premium */
.pool-hero--premium {
  min-height: 92svh;
}

.pool-hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.84) 0%, rgba(10, 10, 10, 0.52) 45%, rgba(10, 10, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.54) 0%, rgba(10, 10, 10, 0.06) 100%);
}

.pool-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 380px);
  gap: 40px;
  align-items: end;
}

.pool-hero-copy {
  max-width: 760px;
}

.pool-hero-copy p {
  max-width: 620px;
}

.pool-hero-panel {
  display: grid;
  gap: 18px;
  align-self: center;
}

.hero-panel-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.hero-panel-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-panel-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

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

.pool-intro {
  padding-top: 110px;
}

.pool-intro-grid,
.pool-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: start;
}

.pool-intro .lead {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  margin-bottom: 18px;
  color: #171717;
}

.pool-metrics {
  display: grid;
  gap: 14px;
}

.pool-metric {
  padding: 24px 26px;
  border-radius: 24px;
  background: #faf8f4;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.pool-metric strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.24em;
  color: #9a8d73;
  margin-bottom: 12px;
}

.pool-metric span {
  display: block;
  font-size: 20px;
  line-height: 1.45;
  color: #171717;
}

.pool-gallery-section {
  padding-top: 30px;
}

.pool-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-top: 34px;
}

.pool-gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #f3efe8;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
  min-height: 320px;
}

.pool-gallery-card--large {
  grid-row: span 2;
  min-height: 690px;
}

.pool-gallery-card--wide {
  grid-column: 1 / -1;
  min-height: 420px;
}

.pool-gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pool-columns {
  align-items: stretch;
}

.pool-format-grid {
  margin-top: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pool-process-shell {
  display: grid;
  gap: 34px;
}

.pool-timeline {
  display: grid;
  gap: 16px;
}

.pool-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
}

.pool-step span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #bfa883, #8a7656);
}

.pool-step h3 {
  margin: 0 0 8px;
}

.pool-step p {
  margin: 0;
}

.pool-result-band {
  color: #fff;
}

.check-list-light li,
.pool-result-band p,
.pool-result-band h2 {
  color: #fff;
}

.check-list-light li::before {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

@media (max-width: 1024px) {
  .pool-hero-shell,
  .pool-intro-grid,
  .pool-result-grid,
  .pool-gallery-grid,
  .pool-format-grid {
    grid-template-columns: 1fr;
  }

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

  .pool-gallery-card,
  .pool-gallery-card--large,
  .pool-gallery-card--wide {
    min-height: 360px;
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .pool-hero-panel {
    grid-template-columns: 1fr;
  }

  .pool-step {
    grid-template-columns: 1fr;
  }

  .pool-step span {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

  .pool-gallery-card,
  .pool-gallery-card--large,
  .pool-gallery-card--wide {
    min-height: 280px;
  }
}

/* Pools landing production fixes */
.pool-gallery-section .section-heading {max-width: 920px;}
.pool-gallery-card {position: relative;}
.pool-gallery-card img {transition: transform .6s ease, filter .4s ease;}
.pool-gallery-card:hover img {transform: scale(1.03);}
.pool-format-grid {grid-template-columns: repeat(4, minmax(0, 1fr));}
.pool-format-grid .service-card {min-height: 100%;}
.pool-result-band {position: relative; background: linear-gradient(135deg, #322c26 0%, #1d1916 100%); overflow: hidden;}
.pool-result-band::before {content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 16% 18%, rgba(191,168,131,.24), transparent 34%), radial-gradient(circle at 88% 78%, rgba(255,255,255,.08), transparent 30%); pointer-events: none;}
.pool-result-band .container {position: relative; z-index: 1;}
.pool-result-band .eyebrow {display: inline-flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 10px 18px; border-radius: 999px; color: rgba(255,255,255,.78);}
.pool-result-band h2 {color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.18);}
.pool-result-band .check-list {gap: 18px; margin-top: 10px;}
.pool-result-band .check-list li {color: rgba(255,255,255,.92); font-size: 20px; line-height: 1.55; padding-left: 34px;}
.pool-result-band .check-list li::before {left: 4px; color: #d7c1a1;}
.contact-links {display: flex; flex-wrap: wrap; gap: 12px;}
.contact-links a {display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(17,17,17,.05); border: 1px solid rgba(17,17,17,.08);}
.contact-links a:hover {background: rgba(17,17,17,.08);}
@media (max-width: 1024px) {.pool-format-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}}
@media (max-width: 720px) {.pool-format-grid {grid-template-columns: 1fr;} .pool-result-band .check-list li {font-size: 18px;} .contact-links a {width: 100%; justify-content: center;}}


/* Pools landing spacing + mobile refinement */
.pool-intro,
.pool-gallery-section,
.pool-what,
.pool-formats,
.pool-process,
.pool-result-band,
.pool-related,
.pool-faq,
.section-contact {
  scroll-margin-top: 120px;
}

.pool-intro {padding-top: 96px;}
.pool-gallery-section {padding-top: 56px;}
.pool-what,
.pool-formats,
.pool-process,
.pool-result-band,
.pool-related,
.pool-faq {padding-top: 104px; padding-bottom: 104px;}
.pool-related {padding-top: 88px;}
.pool-faq {padding-top: 88px;}
.pool-process-shell,
.pool-gallery-grid,
.pool-timeline,
.pool-format-grid {gap: 24px;}
.pool-columns {gap: 24px;}
.pool-result-grid {gap: 56px;}
.pool-related .related-panel,
.pool-faq .faq-grid,
.section-contact .contact-panel {margin-top: 0;}
.pool-faq .faq-list {gap: 14px;}
.section-contact {padding-top: 96px;}

@media (max-width: 1024px) {
  .pool-hero--premium {min-height: auto;}
  .pool-hero-shell {gap: 28px; align-items: start;}
  .pool-intro,
  .pool-gallery-section,
  .pool-what,
  .pool-formats,
  .pool-process,
  .pool-result-band,
  .pool-related,
  .pool-faq,
  .section-contact {padding-top: 84px; padding-bottom: 84px;}
  .pool-intro-grid,
  .pool-result-grid,
  .pool-columns,
  .faq-grid {gap: 28px;}
}

@media (max-width: 760px) {
  .pool-hero--premium {padding: 122px 0 54px;}
  .pool-hero-copy h1 {font-size: clamp(36px, 11vw, 54px);}
  .pool-hero-copy p {max-width: none;}
  .hero-actions {flex-direction: column; align-items: stretch; width: 100%;}
  .hero-actions .btn {width: 100%; justify-content: center;}
  .pool-intro,
  .pool-gallery-section,
  .pool-what,
  .pool-formats,
  .pool-process,
  .pool-result-band,
  .pool-related,
  .pool-faq,
  .section-contact {padding-top: 72px; padding-bottom: 72px;}
  .pool-gallery-section {padding-top: 40px;}
  .pool-process-shell,
  .pool-timeline,
  .pool-gallery-grid,
  .pool-format-grid,
  .faq-list {gap: 18px;}
  .pool-intro-grid,
  .pool-result-grid,
  .pool-columns,
  .faq-grid,
  .contact-panel {gap: 22px;}
  .hero-panel-card,
  .pool-step,
  .detail-card,
  .related-panel,
  .faq-item,
  .contact-copy,
  .contact-form {padding: 22px;}
  .pool-metric {padding: 20px 22px;}
  .pool-metric span {font-size: 18px;}
  .pool-gallery-card,
  .pool-gallery-card--large,
  .pool-gallery-card--wide {min-height: 240px; border-radius: 22px;}
  .pool-result-band .check-list li {padding-left: 30px; line-height: 1.5;}
  .section-contact .form-grid {grid-template-columns: 1fr;}
}

@media (max-width: 480px) {
  .pool-hero--premium {padding: 116px 0 48px;}
  .pool-hero-shell,
  .pool-intro-grid,
  .pool-result-grid,
  .pool-columns,
  .faq-grid,
  .contact-panel {gap: 18px;}
  .pool-intro,
  .pool-gallery-section,
  .pool-what,
  .pool-formats,
  .pool-process,
  .pool-result-band,
  .pool-related,
  .pool-faq,
  .section-contact {padding-top: 64px; padding-bottom: 64px;}
  .pool-gallery-section {padding-top: 34px;}
  .pool-step {padding: 20px;}
  .pool-step h3 {font-size: 22px;}
  .pool-result-band .check-list li {font-size: 17px;}
  .contact-links {grid-template-columns: 1fr;}
}


/* Result section spacing refinement */
.pool-result-band {
  padding-top: 72px;
  padding-bottom: 72px;
}
.pool-result-grid {
  gap: 36px;
  align-items: center;
}
.pool-result-band .eyebrow {
  margin-bottom: 18px;
}
.pool-result-band h2 {
  margin: 0;
  max-width: 12ch;
}
.pool-result-band .check-list {
  margin-top: 0;
}
.pool-result-band .check-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .pool-result-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .pool-result-grid {
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .pool-result-band {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .pool-result-grid {
    gap: 18px;
  }
  .pool-result-band .eyebrow {
    margin-bottom: 14px;
  }
}


/* Pools contact block contrast fix */
.section-contact .contact-panel {
  background: #050505;
}
.section-contact .contact-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0));
}
.section-contact .contact-copy h2 {
  color: #f5f1eb;
}
.section-contact .contact-copy p {
  color: rgba(245, 241, 235, 0.72);
}
.section-contact .contact-links a {
  color: #f5f1eb;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.section-contact .contact-links a:hover {
  background: rgba(255,255,255,0.08);
}
.section-contact .contact-form input,
.section-contact .contact-form textarea,
.section-contact .contact-form select {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #ffffff;
}
.section-contact .contact-form input::placeholder,
.section-contact .contact-form textarea::placeholder,
.section-contact .contact-form select {
  color: rgba(255,255,255,0.68);
}
.section-contact .contact-form button.btn-primary {
  background: #f3f0ec;
  color: #151515;
}
.section-contact .contact-form button.btn-primary:hover {
  background: #ffffff;
}
@media (max-width: 760px) {
  .section-contact .contact-copy h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
  }
  .section-contact .contact-links {
    gap: 10px;
  }
}
