:root {
  --bg: #0b0d0d;
  --panel: #141716;
  --panel-2: #222724;
  --ink: #f4f0e7;
  --muted: rgba(244, 240, 231, 0.7);
  --paper: #efeadf;
  --paper-2: #ddd4c5;
  --dark: #111312;
  --line: rgba(255, 255, 255, 0.15);
  --line-dark: rgba(17, 19, 18, 0.14);
  --copper: #c77e4d;
  --copper-2: #e0a46b;
  --cta-gradient: linear-gradient(135deg, #e1a66c, #bf7546);
  --cta-gradient-hover: linear-gradient(135deg, #e7b47d, #c77e4d);
  --cta-text: #160f09;
  --zinc: #95a39a;
  --green: #6f8675;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  --font-main: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(11, 13, 13, 0.96), rgba(20, 23, 22, 0.98) 40%, #0b0d0d),
    var(--bg);
  font-family: var(--font-main);
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  font-family: var(--font-main);
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 11, 11, 0.8);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  max-width: 21rem;
}

.header-brand {
  width: 10.625rem;
  min-width: 10.625rem;
  max-width: none;
}

.header-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand {
  width: 13.5rem;
  max-width: 100%;
}

.footer-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  overflow: hidden;
  border: 1px solid rgba(224, 164, 107, 0.72);
  background:
    linear-gradient(135deg, rgba(224, 164, 107, 0.13), rgba(255, 255, 255, 0.02)),
    #101312;
}

.brand-mesh {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(54deg, transparent 0 6px, rgba(224, 164, 107, 0.5) 7px 8px),
    repeating-linear-gradient(126deg, transparent 0 8px, rgba(149, 163, 154, 0.38) 9px 10px);
  clip-path: polygon(0 0, 45% 0, 22% 100%, 0 100%);
  opacity: 0.9;
}

.brand-glyph {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 1.52rem;
  font-weight: 900;
  line-height: 1;
  transform: translateX(0.12rem);
}

.brand-copy {
  display: block;
  min-width: 0;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.brand strong span {
  color: var(--copper-2);
}

.brand-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.2rem 0 0.18rem;
  background: linear-gradient(90deg, rgba(224, 164, 107, 0.88), rgba(244, 240, 231, 0.32));
}

.brand small {
  display: block;
  color: rgba(244, 240, 231, 0.62);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand small span {
  color: var(--copper-2);
  font-weight: 800;
  text-transform: none;
}

.section-light .brand strong {
  color: var(--dark);
}

.section-light .brand-mark {
  border-color: rgba(199, 126, 77, 0.72);
  background:
    linear-gradient(135deg, rgba(199, 126, 77, 0.14), rgba(17, 19, 18, 0.02)),
    rgba(255, 250, 242, 0.72);
}

.section-light .brand-mesh {
  background:
    repeating-linear-gradient(54deg, transparent 0 6px, rgba(199, 126, 77, 0.55) 7px 8px),
    repeating-linear-gradient(126deg, transparent 0 8px, rgba(17, 19, 18, 0.35) 9px 10px);
}

.section-light .brand-glyph {
  color: var(--dark);
}

.section-light .brand-rule {
  background: linear-gradient(90deg, rgba(199, 126, 77, 0.86), rgba(17, 19, 18, 0.24));
}

.section-light .brand small {
  color: rgba(17, 19, 18, 0.66);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  color: rgba(244, 240, 231, 0.76);
  font-size: 0.86rem;
}

.main-nav a,
.header-contact {
  transition: color 180ms ease;
}

.main-nav a:hover,
.header-contact:hover {
  color: var(--copper-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.header-contact {
  min-width: max-content;
  color: rgba(244, 240, 231, 0.84);
  font-size: 0.9rem;
}

.mobile-quick-contacts {
  display: none;
}

.mobile-contact-link {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(31, 40, 36, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 14px rgba(31, 40, 36, 0.07);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.mobile-contact-link:hover,
.mobile-contact-link:focus-visible {
  border-color: currentColor;
  background: #ffffff;
}

.mobile-contact-link:active {
  transform: translateY(1px);
}

.mobile-contact-phone {
  color: var(--copper);
}

.mobile-contact-email {
  color: var(--green);
}

.mobile-contact-icon {
  display: block;
  width: 1.16rem;
  height: 1.16rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 1px;
  margin: 0.32rem auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(224, 164, 107, 0.66);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--copper-2);
}

.btn-primary {
  border-color: transparent;
  color: var(--cta-text);
  background: var(--cta-gradient);
}

.lead-form .btn-primary {
  border-color: transparent;
  color: var(--cta-text);
  background: var(--cta-gradient);
}

.btn-primary:hover,
.lead-form .btn-primary:hover {
  border-color: transparent;
  background: var(--cta-gradient-hover);
}

.btn-dark {
  border-color: rgba(17, 19, 18, 0.35);
  color: #f4f0e7;
  background: #171a19;
}

.btn-small {
  min-height: 2.55rem;
  padding: 0 1rem;
  font-size: 0.78rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-vzlyot-parking.jpeg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.96) 0%, rgba(7, 8, 8, 0.72) 43%, rgba(7, 8, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 13, 13, 0.98) 0%, rgba(11, 13, 13, 0.36) 30%, rgba(11, 13, 13, 0.08) 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 27rem);
  align-items: center;
  gap: 4rem;
  width: min(1240px, 90vw);
  min-height: calc(100vh - 192px);
  min-height: calc(100svh - 192px);
  margin: 0 auto;
  padding: 2.4rem 0 2.1rem;
}

.hero-copy {
  max-width: 47rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--copper-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  max-width: 12.4ch;
  margin-bottom: 1.1rem;
  font-size: 4.75rem;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 43rem;
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.84);
  font-size: 1.12rem;
  line-height: 1.62;
}

.hero-advantages {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, 90vw);
  margin: -0.3rem auto 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  gap: 1px;
}

.hero-advantages div {
  min-height: 6.8rem;
  padding: 1.05rem;
  background: rgba(15, 18, 17, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-advantages strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--paper);
  font-size: 1rem;
}

.hero-advantages .hero-advantage-emphasis {
  display: inline;
  margin: 0 0 0 0.18rem;
  color: var(--copper-2);
  font-size: 0.82rem;
  line-height: inherit;
}

.hero-advantages span {
  color: rgba(244, 240, 231, 0.68);
  font-size: 0.86rem;
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 21, 20, 0.78);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.lead-form h2 {
  margin-bottom: 0.1rem;
  font-size: 1.6rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead-form h3 {
  margin-bottom: 0;
}

.lead-form p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.7);
  line-height: 1.5;
}

label {
  display: grid;
  gap: 0.4rem;
}

label span {
  color: rgba(244, 240, 231, 0.64);
  font-size: 0.78rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 3.05rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  padding: 0.82rem 0.95rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(224, 164, 107, 0.86);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.78rem;
}

.form-status {
  min-height: 1.15rem;
  color: var(--copper-2);
  font-size: 1.2rem;
  text-align: left;
}
.form-status .succeed {color:green}
.form-status .errortext {color:red}

.consent-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.consent-field input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  accent-color: var(--copper);
  cursor: pointer;
}

.consent-copy {
  display: grid;
  gap: 0.2rem;
}

.consent-copy label {
  display: block;
  color: rgba(244, 240, 231, 0.74);
  font-size: 0.76rem;
  line-height: 1.4;
  cursor: pointer;
}

.consent-link,
.footer-legal-link {
  width: fit-content;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--copper-2);
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.consent-link {
  font-size: 0.76rem;
  line-height: 1.4;
}

.consent-link:hover,
.footer-legal-link:hover {
  text-decoration-thickness: 2px;
}

.estimate-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 4.8rem max(5vw, calc((100vw - 1240px) / 2));
}

.estimate-band h2,
.section-head h2,
.cooperation-copy h2,
.about-copy h2 {
  max-width: 17ch;
  margin-bottom: 1rem;
  font-size: 3.35rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.estimate-band h2 {
  max-width: 21ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.2rem, 3.3vw, 3.35rem);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.estimate-band > div {
  text-align: center;
}

.estimate-band > div > p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.estimate-band p,
.section-head p:not(.eyebrow),
.cooperation-copy p,
.about-copy p {
  max-width: 47rem;
  color: var(--muted);
  line-height: 1.72;
}

.inline-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  box-shadow: none;
}

.inline-form .form-status {
  grid-column: 1 / -1;
  order: 3;
}

.inline-form .consent-field {
  order: 2;
}

.estimate-form {
  width: min(920px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(20rem, 1.25fr) auto;
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.55rem;
}

.contact-field > span {
  color: rgba(244, 240, 231, 0.64);
  font-size: 0.78rem;
}

.contact-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

.contact-toggle label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.contact-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-toggle span {
  display: grid;
  min-height: 2.25rem;
  place-items: center;
  color: rgba(244, 240, 231, 0.72);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-toggle input:checked + span {
  color: #160f09;
  background: #e1a66c;
}

.section {
  padding: 5.8rem 5vw;
}

.section-light {
  color: var(--dark);
  background:
    linear-gradient(180deg, rgba(239, 234, 223, 0.98), rgba(221, 212, 197, 0.98)),
    var(--paper);
}

.section-dark {
  color: var(--ink);
  background: linear-gradient(180deg, #101312, #1b201d);
}

.section-head {
  width: min(1240px, 100%);
  margin: 0 auto 2.2rem;
}

.section-light .section-head p:not(.eyebrow),
.section-light.estimate-band > div > p:not(.eyebrow),
.section-light .cooperation-copy p,
.section-light .about-copy p {
  color: rgba(17, 19, 18, 0.68);
}

.project-grid,
.why-grid,
.format-grid,
.mesh-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.project-card {
  display: grid;
  gap: 0.7rem;
  border: 0;
  color: var(--dark);
  background: #fffaf2;
  padding: 0 0 1.25rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(41, 34, 25, 0.14);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(41, 34, 25, 0.2);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
}

.project-card .project-meta,
.project-card .project-preview-facts,
.project-card h3,
.project-card p {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.project-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project-card .project-number {
  color: #8a5635;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.project-card .project-category {
  color: #8a5635;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.project-preview-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(17, 19, 18, 0.12);
}

.project-preview-facts span {
  color: rgba(17, 19, 18, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.project-card h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.project-card p {
  margin-bottom: 0;
  color: rgba(17, 19, 18, 0.66);
  line-height: 1.55;
}

.project-more {
  display: flex;
  justify-content: center;
  width: min(1240px, 100%);
  margin: 1.3rem auto 0;
}

.project-more[hidden] {
  display: none;
}

.why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.why-grid article {
  display: flex;
  flex-direction: column;
  min-height: 14.5rem;
  padding: 1.45rem;
  background: rgba(20, 23, 22, 0.96);
}

.why-grid span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--copper-2);
  font-weight: 800;
}

.why-grid h3,
.benefit-list h3 {
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.why-us {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.why-us::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(248, 250, 247, 1) 0%, rgba(248, 250, 247, 0.96) 34%, rgba(248, 250, 247, 0.28) 100%),
    repeating-linear-gradient(28deg, transparent 0 22px, rgba(84, 108, 96, 0.08) 22px 24px, transparent 24px 46px),
    repeating-linear-gradient(152deg, transparent 0 22px, rgba(84, 108, 96, 0.08) 22px 24px, transparent 24px 46px);
  pointer-events: none;
}

.why-us .section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.light-theme .section-light.why-us .why-grid article {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.why-grid p,
.benefit-list p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.66);
  line-height: 1.62;
}

.section-light .why-grid,
.section-light .benefit-list,
.section-light .about-stats {
  border-color: rgba(17, 19, 18, 0.12);
  background: rgba(17, 19, 18, 0.12);
}

.section-light .why-grid article,
.section-light .benefit-list article,
.section-light .about-stats div {
  background: rgba(255, 250, 242, 0.86);
}

.section-light .why-grid p,
.section-light .benefit-list p,
.section-light .about-stats span {
  color: rgba(17, 19, 18, 0.66);
}

.cooperation,
.about,
.benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: 4rem;
  align-items: center;
  width: min(1240px, 90vw);
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.about {
  width: 100%;
  padding-left: max(5vw, calc((100vw - 1240px) / 2));
  padding-right: max(5vw, calc((100vw - 1240px) / 2));
}

.cooperation {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(30rem, 0.82fr);
  width: 100%;
  min-height: 42rem;
  padding: 0 max(5vw, calc((100vw - 1240px) / 2));
  overflow: hidden;
  color: var(--dark);
  background: #dfe5df;
}

.cooperation::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(235, 241, 237, 0.1) 0%, rgba(235, 241, 237, 0.25) 35%, rgba(235, 241, 237, 0.82) 62%, rgba(235, 241, 237, 0.97) 100%),
    linear-gradient(180deg, rgba(220, 230, 226, 0.12), rgba(233, 239, 235, 0.35));
  pointer-events: none;
}

.cooperation-media,
.video-card {
  overflow: hidden;
  background: #1b201d;
}

.cooperation-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.cooperation-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(64, 91, 80, 0.08);
  mix-blend-mode: color;
}

.cooperation-media img,
.benefit-layout > img,
.video-card img,
.company-video {
  width: 100%;
  height: auto;
  min-height: 31rem;
  object-fit: cover;
}

.cooperation-media img {
  height: 100%;
  min-height: 100%;
  object-position: center center;
  filter: saturate(0.68) contrast(0.94) brightness(1.04);
  transform: scale(1.015);
}

.cooperation-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: center;
  max-width: 39rem;
  padding: 5.5rem 0 5.5rem 1.5rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cooperation-copy h2 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.75rem, 3.4vw, 3.75rem);
  line-height: 0.98;
}

.cooperation-copy > p:not(.eyebrow) {
  max-width: 37rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

details {
  margin-top: 1.6rem;
  border: 0;
  background: transparent;
}

summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  color: var(--cta-text);
  background: var(--cta-gradient);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  transform: translateY(-2px);
  background: var(--cta-gradient-hover);
}

details > p,
details .mini-form {
  margin: 1.2rem 0 0;
}

.mini-form {
  padding: 1.1rem;
  box-shadow: none;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.format-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 40rem;
  padding: 1.5rem;
  border: 1px solid rgba(17, 19, 18, 0.14);
  background: #fffaf2;
}

.format-card.featured {
  background: #dfd3c0;
  box-shadow: 0 26px 70px rgba(53, 38, 27, 0.2);
}

.format-card span {
  color: #8a5635;
  font-weight: 800;
}

.format-card h3 {
  min-height: 3.5em;
  margin-bottom: 0;
  font-size: 1.55rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.format-card-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #e6ebe6;
}

.format-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.format-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
}

.format-card li {
  position: relative;
  padding-left: 1.45rem;
  color: rgba(17, 19, 18, 0.72);
}

.format-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
  transform: rotate(45deg);
}

.format-card .btn {
  margin-top: auto;
}

.quiz-cta,
.catalog-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  width: min(1240px, 100%);
  margin: 1.2rem auto 0;
  padding: 1.35rem;
  color: var(--ink);
  background: #161a18;
}

.quiz-cta p,
.catalog-request p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.72);
  line-height: 1.58;
}

.catalog {
  background: #0f1211;
}

.mesh-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.13);
}

.mesh-grid article {
  min-height: 18.5rem;
  padding: 1rem;
  background: #171b19;
}

.mesh-pattern {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #232824;
}

.pattern-a {
  background-image: repeating-linear-gradient(55deg, transparent 0 10px, rgba(224, 164, 107, 0.55) 11px 13px), repeating-linear-gradient(125deg, transparent 0 10px, rgba(149, 163, 154, 0.5) 11px 13px);
}

.pattern-b {
  background-image: repeating-linear-gradient(52deg, transparent 0 6px, rgba(224, 164, 107, 0.55) 7px 9px), repeating-linear-gradient(128deg, transparent 0 6px, rgba(149, 163, 154, 0.45) 7px 9px);
}

.pattern-c {
  background-image: linear-gradient(30deg, rgba(224, 164, 107, 0.5) 12%, transparent 12.5%, transparent 87%, rgba(224, 164, 107, 0.5) 87.5%, rgba(224, 164, 107, 0.5)), linear-gradient(150deg, rgba(224, 164, 107, 0.5) 12%, transparent 12.5%, transparent 87%, rgba(224, 164, 107, 0.5) 87.5%, rgba(224, 164, 107, 0.5)), linear-gradient(30deg, rgba(224, 164, 107, 0.5) 12%, transparent 12.5%, transparent 87%, rgba(224, 164, 107, 0.5) 87.5%, rgba(224, 164, 107, 0.5)), linear-gradient(150deg, rgba(224, 164, 107, 0.5) 12%, transparent 12.5%, transparent 87%, rgba(224, 164, 107, 0.5) 87.5%, rgba(224, 164, 107, 0.5));
  background-position: 0 0, 0 0, 16px 28px, 16px 28px;
  background-size: 32px 56px;
}

.pattern-d {
  background-image: linear-gradient(rgba(149, 163, 154, 0.42) 2px, transparent 2px), linear-gradient(90deg, rgba(224, 164, 107, 0.46) 2px, transparent 2px);
  background-size: 18px 18px;
}

.pattern-e {
  background-image: repeating-linear-gradient(90deg, rgba(224, 164, 107, 0.45) 0 2px, transparent 2px 12px), repeating-linear-gradient(0deg, rgba(149, 163, 154, 0.3) 0 1px, transparent 1px 10px);
}

.pattern-f {
  background-image: repeating-linear-gradient(60deg, rgba(224, 164, 107, 0.48) 0 2px, transparent 2px 18px), repeating-linear-gradient(120deg, rgba(149, 163, 154, 0.45) 0 2px, transparent 2px 18px);
}

.pattern-g {
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0 7px, rgba(224, 164, 107, 0.5) 8px 10px, transparent 11px 18px);
}

.pattern-h {
  background-image: repeating-linear-gradient(35deg, transparent 0 9px, rgba(224, 164, 107, 0.55) 10px 12px), repeating-linear-gradient(145deg, transparent 0 17px, rgba(111, 134, 117, 0.55) 18px 20px);
}

.mesh-grid h3 {
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.mesh-grid p {
  margin-bottom: 0;
  color: rgba(244, 240, 231, 0.66);
  line-height: 1.55;
}

.catalog-request {
  grid-template-columns: minmax(0, 0.8fr) minmax(28rem, 1.2fr);
}

.catalog-request h3 {
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.catalog-request .compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: transparent;
  border: 0;
  padding: 0;
}

.benefit-layout {
  grid-template-columns: minmax(21rem, 0.85fr) minmax(0, 1.15fr);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.benefit-list article {
  min-height: 13.5rem;
  padding: 1.25rem;
  background: rgba(20, 23, 22, 0.98);
}

.about {
  align-items: start;
}

.about-text {
  display: grid;
  gap: 0.8rem;
}

.about-text p {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.13);
}

.about-stats div {
  min-height: 8rem;
  padding: 1rem;
  background: rgba(20, 23, 22, 0.96);
}

.about-stats strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--copper-2);
  font-size: 1.35rem;
}

.about-stats span {
  color: rgba(244, 240, 231, 0.66);
  line-height: 1.45;
}

.video-card {
  position: relative;
  align-self: center;
  border: 1px solid rgba(31, 40, 36, 0.15);
  box-shadow: 0 24px 64px rgba(31, 40, 36, 0.14);
}

.company-video {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #1b201d;
}

.video-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 22, 26, 0.04), rgba(10, 22, 26, 0.34));
  opacity: 1;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.video-card.is-playing::after {
  opacity: 0;
}

.company-video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(154, 91, 52, 0.9);
  box-shadow: 0 12px 32px rgba(8, 16, 18, 0.28);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.company-video-play::before {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.72rem solid transparent;
  border-bottom: 0.72rem solid transparent;
  border-left: 1.05rem solid currentColor;
  content: "";
}

.company-video-play:hover {
  background: #9a5b34;
  transform: translate(-50%, -50%) scale(1.05);
}

.video-card.is-playing .company-video-play {
  opacity: 0;
  pointer-events: none;
}


.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.75fr);
  gap: 4rem;
  align-items: start;
  padding: 5rem 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #090b0a;
}

.site-footer.section-light {
  border-top: 1px solid rgba(17, 19, 18, 0.12);
  background:
    linear-gradient(180deg, rgba(239, 234, 223, 0.98), rgba(221, 212, 197, 0.98)),
    var(--paper);
}

.footer-copy {
  display: grid;
  gap: 0.9rem;
}

.footer-copy p {
  max-width: 36rem;
  color: rgba(244, 240, 231, 0.66);
  line-height: 1.65;
}

.site-footer.section-light .brand small,
.site-footer.section-light .footer-copy p {
  color: rgba(17, 19, 18, 0.66);
}

.footer-copy a:not(.brand) {
  color: var(--copper-2);
}

.footer-details {
  display: grid;
  gap: 0.4rem;
  max-width: 32rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 19, 18, 0.14);
}

.footer-details > strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-details address {
  display: grid;
  gap: 0.2rem;
  color: rgba(17, 19, 18, 0.7);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
}

.footer-details address span {
  color: rgba(17, 19, 18, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-copy .footer-certificate {
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  width: fit-content;
  max-width: 28rem;
  margin-top: 0.35rem;
  color: var(--ink);
  text-decoration: none;
}

.footer-certificate img {
  width: 4.4rem;
  height: auto;
  aspect-ratio: 17 / 28;
  border: 1px solid rgba(17, 19, 18, 0.16);
  object-fit: cover;
  object-position: top;
  background: #ffffff;
}

.footer-certificate > span {
  display: grid;
  gap: 0.22rem;
}

.footer-certificate strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer-certificate small {
  color: var(--copper);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-certificate:hover small {
  text-decoration-thickness: 2px;
}

.footer-legal-link {
  font-size: 0.9rem;
  line-height: 1.45;
}

.modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  place-items: center;
  padding: 2rem;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.project-modal {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  width: min(1120px, 94vw);
  max-height: 88vh;
  max-height: 88svh;
  overflow: auto;
  background: #151817;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-gallery {
  display: grid;
  grid-template-rows: minmax(28rem, 1fr) auto;
  gap: 1px;
  align-content: start;
  background: rgba(255, 255, 255, 0.12);
}

.modal-main-image {
  display: block;
  width: 100%;
  min-height: 28rem;
  padding: 0;
  border: 0;
  background: #111412;
  cursor: zoom-in;
}

.modal-main-image img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  max-height: 61vh;
  object-fit: cover;
}

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

.modal-thumbnail {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  background: #111412;
  cursor: zoom-in;
}

.modal-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
}

.modal-thumbnail.is-active::after {
  border-color: var(--copper-2);
}

.modal-thumbnail img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.modal-copy {
  padding: 2rem;
}

.modal-copy h2 {
  margin-bottom: 1.4rem;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.project-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.12);
}

.project-facts > div {
  padding: 0.85rem;
  background: #1d211f;
}

.project-description {
  margin-bottom: 1.4rem;
  color: rgba(244, 240, 231, 0.76);
  line-height: 1.65;
}

.image-lightbox {
  z-index: 100;
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(1480px, 96vw);
  height: min(900px, 92vh);
  height: min(900px, 92svh);
  background: #0b0d0c;
  box-shadow: var(--shadow);
}

.image-lightbox-dialog > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(9, 11, 10, 0.7);
  cursor: pointer;
  font-size: 2.4rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0.85rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  color: #ffffff;
  background: rgba(9, 11, 10, 0.74);
  font-size: 0.82rem;
  transform: translateX(-50%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(9, 11, 11, 0.96);
  }

  .hero-advantages div,
  .lead-form {
    background: rgba(18, 21, 20, 0.96);
  }

  .modal-backdrop {
    background: rgba(0, 0, 0, 0.86);
  }
}

/* Engineering estimate quiz */
.facade-quiz {
  width: min(1180px, 100%);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(31, 40, 36, 0.16);
  color: #1f2824;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(31, 40, 36, 0.1);
  text-align: left;
}

.quiz-topbar {
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) minmax(25rem, 1.5fr) minmax(6.5rem, 0.45fr);
  gap: 1.5rem;
  align-items: center;
  min-height: 5rem;
  padding: 0.9rem 1.7rem;
  border-bottom: 1px solid rgba(31, 40, 36, 0.13);
  background: #f3f6f2;
}

.quiz-topbar-title {
  display: grid;
  gap: 0.12rem;
  text-transform: uppercase;
}

.quiz-topbar-title span {
  color: rgba(31, 40, 36, 0.58);
  font-size: 0.68rem;
  font-weight: 750;
}

.quiz-topbar-title strong {
  font-size: 1.06rem;
}

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

.quiz-progress-step {
  position: relative;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  color: rgba(31, 40, 36, 0.48);
}

.quiz-progress-step:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 2rem;
  right: 0.6rem;
  height: 1px;
  background: rgba(31, 40, 36, 0.18);
  content: "";
}

.quiz-progress-step i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(31, 40, 36, 0.25);
  border-radius: 50%;
  background: #f3f6f2;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.quiz-progress-step b {
  position: relative;
  z-index: 1;
  padding-right: 0.45rem;
  background: #f3f6f2;
  font-size: 0.72rem;
  font-weight: 750;
}

.quiz-progress-step.is-active,
.quiz-progress-step.is-done {
  color: #1f2824;
}

.quiz-progress-step.is-active i {
  border-color: var(--copper);
  color: #ffffff;
  background: var(--copper);
}

.quiz-progress-step.is-done i {
  border-color: #6f8675;
  color: #ffffff;
  background: #6f8675;
}

.quiz-step-note {
  color: rgba(31, 40, 36, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: right;
}

.quiz-stage {
  padding: 2.2rem 2.5rem 2rem;
}

.quiz-stage[hidden] {
  display: none;
}

.quiz-stage-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.estimate-band .quiz-stage-head .eyebrow,
.estimate-band .quiz-contact-summary .eyebrow,
.estimate-band .quiz-thanks .eyebrow {
  max-width: none;
  margin: 0;
  color: var(--copper);
}

.estimate-band .quiz-stage h3 {
  max-width: 24ch;
  margin: 0;
  color: #1f2824;
  font-size: 2.15rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.estimate-band .quiz-stage p {
  max-width: 50rem;
  margin: 0;
  color: rgba(31, 40, 36, 0.68);
  line-height: 1.55;
}

.quiz-object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.quiz-object-card {
  display: grid;
  grid-template-rows: 10.8rem minmax(4.5rem, auto);
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(31, 40, 36, 0.15);
  border-radius: 4px;
  color: #1f2824;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.quiz-object-card:hover {
  border-color: rgba(199, 126, 77, 0.7);
  transform: translateY(-2px);
}

.quiz-object-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-object-card > span {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.9rem;
  color: #1f2824;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.3;
}

.quiz-object-card i,
.quiz-option > i {
  display: block;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(31, 40, 36, 0.36);
  border-radius: 50%;
  background: #ffffff;
}

.quiz-object-card.is-selected,
.quiz-option.is-selected {
  border-color: var(--copper);
  box-shadow: 0 0 0 2px rgba(199, 126, 77, 0.16);
}

.quiz-object-card.is-selected i,
.quiz-option.is-selected > i {
  border: 4px solid var(--copper);
}

.quiz-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.quiz-option {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 5.35rem;
  padding: 0.95rem;
  border: 1px solid rgba(31, 40, 36, 0.15);
  border-radius: 4px;
  color: #1f2824;
  background: #f9faf8;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.quiz-option:hover {
  border-color: rgba(199, 126, 77, 0.7);
  background: #ffffff;
}

.quiz-option > i {
  margin-top: 0.15rem;
}

.quiz-option-grid[data-multiple="true"] .quiz-option > i {
  border-radius: 2px;
}

.quiz-option-grid[data-multiple="true"] .quiz-option.is-selected > i {
  position: relative;
  border: 0;
  background: var(--copper);
}

.quiz-option-grid[data-multiple="true"] .quiz-option.is-selected > i::after {
  position: absolute;
  top: 0.1rem;
  left: 0.3rem;
  width: 0.25rem;
  height: 0.5rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  content: "";
  transform: rotate(45deg);
}

.quiz-option span {
  display: grid;
  gap: 0.24rem;
}

.quiz-option strong {
  font-size: 0.84rem;
  line-height: 1.28;
}

.quiz-option small {
  color: rgba(31, 40, 36, 0.6);
  font-size: 0.72rem;
  line-height: 1.35;
}

.quiz-other-field {
  margin-top: 0.8rem;
}

.quiz-other-field[hidden] {
  display: none;
}

.quiz-other-field span,
.quiz-contact-form label > span {
  color: rgba(31, 40, 36, 0.66);
  font-size: 0.76rem;
}

.quiz-other-field textarea,
.quiz-contact-form input:not([type="checkbox"]):not([type="hidden"]) {
  border-color: rgba(31, 40, 36, 0.18);
  color: #1f2824;
  background: #ffffff;
}

.quiz-other-field textarea:focus,
.quiz-contact-form input:focus {
  border-color: var(--copper);
}

.estimate-band .quiz-error {
  display: none;
  margin-top: 0.7rem;
  color: #a94f32;
  font-size: 0.78rem;
  font-weight: 700;
}

.estimate-band .quiz-error.is-visible {
  display: block;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.quiz-actions-end {
  justify-content: flex-end;
}

.quiz-actions .btn {
  min-width: 12.5rem;
}

.quiz-back,
.quiz-restart {
  width: fit-content;
  padding: 0.35rem 0;
  border: 0;
  color: #9a5b34;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

.quiz-contact-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(24rem, 1.12fr);
  gap: 2.6rem;
  min-height: 31rem;
  padding: 0;
}

.quiz-contact-stage[hidden] {
  display: none;
}

.quiz-contact-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.6rem;
  color: #ffffff;
  background: #2d3c35;
}

.estimate-band .quiz-contact-summary h3 {
  color: #ffffff;
}

.estimate-band .quiz-contact-summary > p:not(.eyebrow) {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.quiz-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.quiz-result-tags span {
  display: inline-block;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  line-height: 1.3;
}

.quiz-contact-form {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 2.6rem 2.6rem 2.6rem 0;
}

.quiz-contact-form .consent-field {
  margin-top: 0.2rem;
}

.quiz-contact-form .consent-copy label {
  color: rgba(31, 40, 36, 0.7);
}

.quiz-contact-form .quiz-actions {
  margin-top: 0.4rem;
}

.quiz-thanks {
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.quiz-thanks[hidden] {
  display: none;
}

.quiz-check {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  color: #ffffff;
  background: #6f8675;
  font-size: 1.6rem;
  font-weight: 800;
}

.estimate-band .quiz-thanks h3 {
  max-width: 28ch;
  text-align: center;
}

.estimate-band .quiz-thanks > p:not(.eyebrow) {
  margin-top: 1rem;
  text-align: center;
}

.quiz-thanks .quiz-restart {
  margin-top: 1.4rem;
}

@media (max-width: 980px) {
  .quiz-topbar {
    grid-template-columns: auto 1fr auto;
    padding-inline: 1.25rem;
  }

  .quiz-progress-step b {
    display: none;
  }

  .quiz-progress-step:not(:last-child)::after {
    left: 1.8rem;
    right: 0;
  }

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

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

  .quiz-contact-stage {
    grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.15fr);
    gap: 1.8rem;
  }

  .quiz-contact-summary {
    padding: 2rem;
  }

  .quiz-contact-form {
    padding: 2rem 2rem 2rem 0;
  }
}

@media (max-width: 700px) {
  html,
  body {
    overflow-x: hidden;
  }

  .facade-quiz {
    min-height: 0;
  }

  .quiz-topbar {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
    padding: 0.9rem 1rem;
  }

  .quiz-topbar-title {
    grid-column: 1;
  }

  .quiz-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0 0.7rem;
  }

  .quiz-progress-step {
    justify-content: center;
  }

  .quiz-progress-step:not(:last-child)::after {
    display: none;
  }

  .quiz-step-note {
    grid-column: 2;
    grid-row: 1;
  }

  .quiz-stage {
    padding: 1rem 0.75rem 1.15rem;
  }

  .estimate-band .quiz-stage h3 {
    font-size: 1.65rem;
  }

  .quiz-object-card {
    grid-template-columns: 7.4rem minmax(0, 1fr);
    grid-template-rows: 7.3rem;
  }

  .quiz-object-card > span {
    padding: 0.75rem;
  }

  .quiz-contact-stage {
    display: block;
    padding: 0;
  }

  .quiz-contact-stage[hidden] {
    display: none;
  }

  .quiz-contact-summary {
    padding: 1.5rem 1rem;
  }

  .quiz-contact-form {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .estimate-band h2 {
    max-width: 100%;
    font-size: 1.38rem;
    overflow-wrap: normal;
  }

  .estimate-band > div > p:not(.eyebrow) {
    max-width: 32ch;
    font-size: 0.92rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .quiz-object-grid,
  .quiz-option-grid {
    grid-template-columns: 1fr;
  }

  .quiz-object-card {
    grid-template-columns: 5.7rem minmax(0, 1fr);
    grid-template-rows: 5.85rem;
  }

  .quiz-object-card > span {
    grid-template-columns: 0.95rem minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.68rem;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
  }

  .quiz-object-grid {
    gap: 0.6rem;
  }

  .quiz-option {
    min-height: 4.5rem;
  }

  .quiz-actions {
    align-items: stretch;
  }

  .quiz-actions .btn {
    min-width: 0;
    flex: 1;
  }
}

.light-theme .request-modal .request-form {
  background: transparent;
}

.request-modal {
  position: relative;
  z-index: 1;
  width: min(780px, 94vw);
  max-height: 90vh;
  max-height: 90svh;
  overflow: auto;
  color: var(--ink);
  background: #f8faf7;
  box-shadow: var(--shadow);
}

.consent-modal {
  position: relative;
  z-index: 1;
  width: min(900px, 94vw);
  max-height: 90vh;
  max-height: 90svh;
  overflow: auto;
  color: var(--ink);
  background: #f8faf7;
  box-shadow: var(--shadow);
}

.consent-modal-copy {
  padding: 2.4rem 3rem 3rem;
}

.consent-modal-copy h2 {
  max-width: 24ch;
  margin-bottom: 1.4rem;
  padding-right: 2.5rem;
  font-size: 2.2rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.consent-modal-copy p,
.consent-modal-copy li {
  color: rgba(31, 40, 36, 0.76);
  line-height: 1.65;
}

.consent-modal-copy ol {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
  padding-left: 1.4rem;
}

.consent-modal-copy a {
  color: var(--copper);
  text-underline-offset: 0.2em;
}

.consent-modal-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(31, 40, 36, 0.14);
  font-weight: 700;
}

.request-modal-copy {
  padding: 2.2rem;
}

.request-modal-copy h2 {
  max-width: 18ch;
  margin-bottom: 0.8rem;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.request-modal-lead {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  color: rgba(31, 40, 36, 0.68);
  line-height: 1.6;
}

.request-modal-lead:empty {
  display: none;
}

.light-theme .request-form {
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.request-fields,
.request-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.request-field-wide {
  grid-column: 1 / -1;
}

.request-form textarea {
  min-height: 7rem;
}

.request-form > .btn {
  justify-self: start;
}

@media (max-width: 760px) {
  .consent-modal-copy {
    padding: 1.2rem;
  }

  .consent-modal-copy h2 {
    padding-right: 2.6rem;
    font-size: 1.65rem;
  }

  .request-modal-copy {
    padding: 1.2rem;
  }

  .request-modal-copy h2 {
    padding-right: 2.4rem;
    font-size: 1.9rem;
  }

  .request-fields,
  .request-contact-grid {
    grid-template-columns: 1fr;
  }

  .request-field-wide {
    grid-column: auto;
  }

  .request-form > .btn {
    width: 100%;
  }
}

dl {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.2rem;
}

dt {
  margin-bottom: 0.25rem;
  color: var(--copper-2);
  font-weight: 800;
}

dd {
  margin: 0;
  color: rgba(244, 240, 231, 0.72);
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .site-header {
    position: sticky;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero {
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    padding-top: 0;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
  }

  .site-header.is-open {
    align-items: start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 3.75rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: end;
    padding-top: 2rem;
  }

  .hero-form {
    max-width: 32rem;
  }

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

  .estimate-band,
  .inline-form,
  .cooperation,
  .about,
  .benefit-layout,
  .catalog-request,
  .site-footer,
  .project-modal {
    grid-template-columns: 1fr;
  }

  .inline-form,
  .catalog-request .compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-form > .btn {
    grid-column: 1 / -1;
  }

  .inline-form .consent-field,
  .inline-form .form-status {
    order: 0;
  }

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

  .cooperation {
    grid-template-columns: minmax(0, 0.8fr) minmax(25rem, 1fr);
    min-height: 38rem;
  }

  .cooperation-copy {
    grid-column: 2;
    padding-left: 2rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.45rem;
    min-height: 66px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mobile-quick-contacts {
    display: flex;
    align-items: center;
    gap: 0.32rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 66px);
    min-height: calc(100svh - 66px);
    padding-top: 0;
  }

  .hero-content {
    width: min(100% - 2rem, 34rem);
    min-height: auto;
    padding-top: 1.15rem;
    padding-bottom: 1.2rem;
    gap: 1rem;
  }

  h1 {
    max-width: 12ch;
    margin-bottom: 0.85rem;
    font-size: 2.12rem;
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .hero-form {
    gap: 0.55rem;
    padding: 1rem;
  }

  .hero-form h2 {
    font-size: 1.24rem;
  }

  .hero-form > p:not(.form-status) {
    display: none;
  }

  input,
  textarea,
  select {
    min-height: 2.62rem;
    padding: 0.65rem 0.8rem;
  }

  .btn {
    min-height: 2.68rem;
  }

  .hero-advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 2rem, 34rem);
    margin-top: 0;
  }

  .hero-advantages div {
    min-height: 5.6rem;
    padding: 0.8rem;
  }

  .hero-advantages .hero-advantage-emphasis {
    display: block;
    margin: 0.38rem 0 0;
    overflow-wrap: normal;
  }

  .estimate-band,
  .section,
  .site-footer {
    padding: 3.4rem 1rem;
  }

  .estimate-band h2,
  .section-head h2,
  .cooperation-copy h2,
  .about-copy h2 {
    font-size: 2.2rem;
  }

  .why-us .section-head {
    margin-bottom: 2rem;
  }

  .project-grid,
  .why-grid,
  .format-grid,
  .mesh-grid,
  .benefit-list,
  .about-stats,
  .inline-form,
  .catalog-request .compact {
    grid-template-columns: 1fr;
  }

  .format-card {
    min-height: 0;
  }

  .format-card h3 {
    min-height: 0;
  }

  .cooperation,
  .about,
  .benefit-layout {
    gap: 1.5rem;
  }

  .cooperation,
  .about {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cooperation {
    display: flex;
    align-items: flex-end;
    min-height: 43rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .cooperation::before {
    background:
      linear-gradient(180deg, rgba(235, 241, 237, 0.08) 0%, rgba(235, 241, 237, 0.2) 30%, rgba(235, 241, 237, 0.84) 62%, rgba(235, 241, 237, 0.98) 100%),
      linear-gradient(90deg, rgba(225, 234, 230, 0.08), rgba(235, 241, 237, 0.36));
  }

  .cooperation .cooperation-media img {
    height: 100%;
    min-height: 100%;
    object-position: 30% center;
    transform: scale(1.02);
  }

  .cooperation-copy {
    grid-column: auto;
    align-self: flex-end;
    width: min(100%, 34rem);
    max-width: none;
    margin: 0 auto;
    padding: 19rem 0 2.4rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  .cooperation-copy h2 {
    max-width: none;
    margin-bottom: 1rem;
    font-size: 1.9rem;
    line-height: 1.02;
  }

  .cooperation-copy > p:not(.eyebrow) {
    font-size: 0.97rem;
    line-height: 1.55;
  }

  .cooperation-copy details {
    margin-top: 1.15rem;
  }

  .benefit-layout {
    width: min(100% - 2rem, 34rem);
  }

  .cooperation-media img,
  .benefit-layout > img,
  .video-card img {
    min-height: 20rem;
  }

  .quiz-cta,
  .catalog-request {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 0.7rem;
  }

  .project-modal {
    max-height: 94vh;
    max-height: 94svh;
  }

  .modal-main-image,
  .modal-main-image img {
    min-height: 18rem;
  }

  .modal-main-image img {
    max-height: none;
  }

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

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

  .lightbox-arrow {
    width: 2.6rem;
    height: 3.4rem;
  }

  .lightbox-prev {
    left: 0.4rem;
  }

  .lightbox-next {
    right: 0.4rem;
  }

  .modal-copy {
    padding: 1.2rem;
  }

  .modal-copy h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 0.35rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .brand {
    gap: 0;
  }

  .brand-mark {
    display: none;
  }

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

  .mobile-quick-contacts {
    gap: 0.25rem;
  }

  .mobile-contact-link {
    width: 2.25rem;
    height: 2.25rem;
  }

  .nav-toggle {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (max-height: 760px) and (min-width: 1121px) {
  h1 {
    font-size: 3.8rem;
  }

  .hero-content {
    min-height: calc(100vh - 176px);
    min-height: calc(100svh - 176px);
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.5;
  }

  .lead-form {
    gap: 0.65rem;
    padding: 1.1rem;
  }

  .lead-form h2 {
    font-size: 1.32rem;
  }

  .hero-advantages div {
    min-height: 5.8rem;
    padding: 0.85rem;
  }
}

/* Light edition */
:root {
  --bg: #f3f5f2;
  --panel: #ffffff;
  --panel-2: #e4e9e4;
  --ink: #1f2824;
  --muted: rgba(31, 40, 36, 0.68);
  --paper: #ffffff;
  --paper-2: #edf0ec;
  --dark: #1f2824;
  --line: rgba(31, 40, 36, 0.14);
  --line-dark: rgba(31, 40, 36, 0.14);
  --copper: #9a5b34;
  --copper-2: #ad6840;
  --cta-gradient: linear-gradient(135deg, #c98252, #a95f37);
  --cta-gradient-hover: linear-gradient(135deg, #d28d5b, #9a5330);
  --cta-text: #fffaf5;
  --zinc: #74827a;
  --green: #4f6b5d;
  --shadow: 0 24px 70px rgba(40, 53, 46, 0.16);
  color: var(--ink);
  background: var(--bg);
}

html,
body.light-theme {
  background: var(--bg);
}

body.light-theme {
  color: var(--ink);
  background: linear-gradient(180deg, #f8faf7, #edf1ed 48%, #f8faf7);
}

.light-theme .site-header {
  border-bottom-color: rgba(31, 40, 36, 0.12);
  background: rgba(248, 250, 247, 0.88);
  box-shadow: 0 8px 28px rgba(40, 53, 46, 0.06);
}

.light-theme .brand-mark,
.light-theme .section-light .brand-mark {
  border-color: rgba(154, 91, 52, 0.54);
  background:
    linear-gradient(135deg, rgba(201, 130, 82, 0.16), rgba(255, 255, 255, 0.64)),
    #f6f8f5;
}

.light-theme .brand-mesh,
.light-theme .section-light .brand-mesh {
  background:
    repeating-linear-gradient(54deg, transparent 0 6px, rgba(154, 91, 52, 0.52) 7px 8px),
    repeating-linear-gradient(126deg, transparent 0 8px, rgba(79, 107, 93, 0.36) 9px 10px);
}

.light-theme .brand strong,
.light-theme .brand-glyph,
.light-theme .section-light .brand strong,
.light-theme .section-light .brand-glyph {
  color: var(--ink);
}

.light-theme .brand-rule,
.light-theme .section-light .brand-rule {
  background: linear-gradient(90deg, rgba(154, 91, 52, 0.82), rgba(79, 107, 93, 0.28));
}

.light-theme .brand small,
.light-theme .section-light .brand small,
.light-theme .main-nav,
.light-theme .header-contact {
  color: rgba(31, 40, 36, 0.72);
}

.light-theme .nav-toggle {
  border-color: rgba(31, 40, 36, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.light-theme .nav-toggle span {
  background: var(--ink);
}

.light-theme .btn:not(.btn-primary):not(.btn-dark) {
  color: var(--ink);
}

.light-theme .btn-dark {
  border-color: rgba(31, 40, 36, 0.3);
  color: #ffffff;
  background: #26332d;
}

.light-theme .hero-bg {
  filter: contrast(1.04) saturate(1.05);
}

.light-theme .hero-shade {
  background: linear-gradient(0deg, rgba(12, 17, 15, 0.32) 0%, rgba(12, 17, 15, 0) 34%);
}

.light-theme .hero-copy {
  position: relative;
  isolation: isolate;
}

.light-theme .hero-copy::before {
  position: absolute;
  z-index: -1;
  inset: -1.8rem -2.2rem -1.6rem -2.4rem;
  content: "";
  background: radial-gradient(ellipse at 36% 48%, rgba(10, 15, 13, 0.52) 0%, rgba(10, 15, 13, 0.32) 50%, rgba(10, 15, 13, 0.1) 74%, rgba(10, 15, 13, 0) 100%);
  pointer-events: none;
}

.light-theme .hero-copy .eyebrow {
  color: #efaa76;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.light-theme .hero-copy .quality-mark {
  color: #c98252;
  font-weight: 800;
}

.light-theme .hero-copy .quality-mark strong {
  color: inherit;
  font-weight: 900;
}

.light-theme .hero-copy h1 {
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.58), 0 10px 34px rgba(0, 0, 0, 0.32);
}

.light-theme .hero-lead {
  position: relative;
  isolation: isolate;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  font-weight: 600;
}

.light-theme .hero-lead::before {
  position: absolute;
  z-index: -1;
  inset: -1rem -1.5rem -1.15rem -1.6rem;
  content: "";
  background: radial-gradient(ellipse at 34% 48%, rgba(9, 14, 12, 0.42) 0%, rgba(9, 14, 12, 0.26) 52%, rgba(9, 14, 12, 0.08) 76%, rgba(9, 14, 12, 0) 100%);
  pointer-events: none;
}

.light-theme .hero-advantages {
  border-color: rgba(31, 40, 36, 0.13);
  background: rgba(31, 40, 36, 0.13);
}

.light-theme .hero-advantages div {
  background: rgba(250, 252, 249, 0.9);
}

.light-theme .hero-advantages strong {
  color: var(--ink);
}

.light-theme .hero-advantages .hero-advantage-emphasis {
  color: var(--copper);
}

.light-theme .hero-advantages span {
  color: rgba(31, 40, 36, 0.66);
}

.light-theme .lead-form {
  border-color: rgba(31, 40, 36, 0.14);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.light-theme .lead-form p,
.light-theme label span,
.light-theme .contact-field > span {
  color: rgba(31, 40, 36, 0.66);
}

.light-theme .consent-copy label {
  color: rgba(31, 40, 36, 0.72);
}

.light-theme input,
.light-theme textarea,
.light-theme select {
  border-color: rgba(31, 40, 36, 0.18);
  color: var(--ink);
  background: rgba(248, 250, 247, 0.94);
}

.light-theme input::placeholder,
.light-theme textarea::placeholder {
  color: rgba(31, 40, 36, 0.46);
}

.light-theme .contact-toggle {
  border-color: rgba(31, 40, 36, 0.16);
  background: rgba(31, 40, 36, 0.16);
}

.light-theme .contact-toggle span {
  color: rgba(31, 40, 36, 0.7);
  background: #f4f7f3;
}

.light-theme .contact-toggle input:checked + span {
  color: #ffffff;
  background: var(--green);
}

.light-theme .section-light {
  color: var(--ink);
  background: linear-gradient(180deg, #fbfcfa, #f0f3ef);
}

.light-theme .section-dark {
  color: var(--ink);
  background: linear-gradient(180deg, #e8ede8, #f4f6f3);
}

.light-theme .section-head p:not(.eyebrow),
.light-theme .cooperation-copy p,
.light-theme .about-copy p,
.light-theme .section-light .section-head p:not(.eyebrow),
.light-theme .section-light.estimate-band > div > p:not(.eyebrow) {
  color: rgba(31, 40, 36, 0.68);
}

.light-theme .project-card,
.light-theme .format-card {
  border-color: rgba(31, 40, 36, 0.12);
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(40, 53, 46, 0.1);
}

.light-theme .project-card:hover {
  box-shadow: 0 24px 58px rgba(40, 53, 46, 0.16);
}

.light-theme .project-card .project-number,
.light-theme .project-card .project-category,
.light-theme .format-card span {
  color: var(--copper);
}

.light-theme .project-card p,
.light-theme .format-card li {
  color: rgba(31, 40, 36, 0.68);
}

.light-theme .project-preview-facts {
  border-top-color: rgba(31, 40, 36, 0.12);
}

.light-theme .project-preview-facts span {
  color: rgba(31, 40, 36, 0.72);
}

.light-theme .format-card.featured {
  background: #dfe7df;
  box-shadow: 0 22px 58px rgba(50, 76, 62, 0.16);
}

.light-theme .why-grid,
.light-theme .benefit-list,
.light-theme .about-stats,
.light-theme .section-light .why-grid,
.light-theme .section-light .benefit-list,
.light-theme .section-light .about-stats {
  border-color: rgba(31, 40, 36, 0.12);
  background: rgba(31, 40, 36, 0.12);
}

.light-theme .why-grid article,
.light-theme .benefit-list article,
.light-theme .about-stats div,
.light-theme .section-light .why-grid article,
.light-theme .section-light .benefit-list article,
.light-theme .section-light .about-stats div {
  background: rgba(255, 255, 255, 0.92);
}

.light-theme .why-grid p,
.light-theme .benefit-list p,
.light-theme .about-stats span,
.light-theme .section-light .why-grid p,
.light-theme .section-light .benefit-list p,
.light-theme .section-light .about-stats span {
  color: rgba(31, 40, 36, 0.66);
}

.light-theme .cooperation-media,
.light-theme .video-card {
  background: #dfe5df;
}

.light-theme .quiz-cta,
.light-theme .catalog-request {
  color: var(--ink);
  background: #dce5dd;
}

.light-theme .catalog-request .compact {
  border: 0;
  background: transparent;
}

.light-theme .quiz-cta p,
.light-theme .catalog-request p {
  color: rgba(31, 40, 36, 0.7);
}

.light-theme .catalog {
  background: #f7f9f6;
}

.light-theme .mesh-grid {
  border-color: rgba(31, 40, 36, 0.13);
  background: rgba(31, 40, 36, 0.13);
}

.light-theme .mesh-grid article {
  background: #ffffff;
}

.light-theme .mesh-pattern {
  border-color: rgba(31, 40, 36, 0.14);
  background-color: #e8ede8;
}

.light-theme .mesh-grid p {
  color: rgba(31, 40, 36, 0.66);
}

.light-theme .video-card p {
  color: rgba(31, 40, 36, 0.68);
  background: #ffffff;
}

.light-theme .site-footer,
.light-theme .site-footer.section-light {
  border-top-color: rgba(31, 40, 36, 0.12);
  color: var(--ink);
  background: linear-gradient(180deg, #edf1ed, #f8faf7);
}

.light-theme .footer-copy p,
.light-theme .site-footer.section-light .brand small,
.light-theme .site-footer.section-light .footer-copy p {
  color: rgba(31, 40, 36, 0.66);
}

.light-theme .modal-backdrop {
  background: rgba(24, 31, 27, 0.58);
}

.light-theme .project-modal {
  color: var(--ink);
  background: #f8faf7;
}

.light-theme .project-facts {
  background: rgba(31, 40, 36, 0.12);
}

.light-theme .project-facts > div {
  background: #edf1ed;
}

.light-theme .project-description {
  color: rgba(31, 40, 36, 0.76);
}

.light-theme .modal-close {
  border-color: rgba(31, 40, 36, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

.light-theme .modal-gallery {
  background: rgba(31, 40, 36, 0.12);
}

.light-theme dd {
  color: rgba(31, 40, 36, 0.72);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .light-theme .site-header {
    background: rgba(248, 250, 247, 0.98);
  }

  .light-theme .hero-advantages div,
  .light-theme .lead-form {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 480px) {
  .light-theme .estimate-band h2 {
    max-width: 100%;
    font-size: 1.38rem;
    overflow-wrap: normal;
  }

  .light-theme .estimate-band > div > p:not(.eyebrow) {
    max-width: 32ch;
    font-size: 0.92rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
}

.light-theme .estimate-copy {
  width: min(1180px, 100%);
  padding: 0;
  background: transparent;
}

.light-theme .estimate-band.section-light {
  background: transparent;
}

.light-theme .facade-quiz .quiz-topbar {
  background: #ffffff;
}

@media (max-width: 480px) {
  .light-theme .estimate-copy {
    padding: 0;
  }
}

.light-theme .facade-quiz .quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0.95rem 1.25rem;
  background: #ffffff;
  text-align: center;
}

.quiz-step-title {
  margin: 0;
  color: #1f2824;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.facade-quiz .quiz-stage-head {
  justify-items: center;
  text-align: center;
}

.facade-quiz .quiz-stage-head > p {
  margin-inline: auto;
}

.facade-quiz,
.facade-quiz button,
.facade-quiz input,
.facade-quiz textarea,
.facade-quiz select {
  font-family: var(--font-main);
  letter-spacing: 0;
}

.facade-quiz .quiz-step-title,
.facade-quiz h3 {
  font-weight: 800;
}

.facade-quiz .quiz-object-card > span,
.facade-quiz .quiz-option strong,
.facade-quiz .quiz-back,
.facade-quiz .quiz-restart {
  font-weight: 700;
}

.facade-quiz .quiz-option small,
.facade-quiz .quiz-contact-form label,
.facade-quiz .quiz-other-field,
.facade-quiz .consent-copy {
  font-weight: 400;
}

.projects .section-head h2 {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.4rem, 3vw, 3rem);
}

.projects .section-head {
  text-align: center;
}

.projects .section-head p {
  margin-right: auto;
  margin-left: auto;
}

.formats .section-head {
  text-align: center;
}

.why-us .section-head {
  text-align: center;
}

.why-us .section-head h2 {
  margin-right: auto;
  margin-left: auto;
}

.benefits .section-head {
  text-align: center;
}

.benefits .section-head h2 {
  max-width: 26ch;
  margin-right: auto;
  margin-left: auto;
}

.benefits .benefit-layout {
  display: block;
  width: min(1120px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.benefits .benefit-list article {
  min-height: 12rem;
}

.benefit-number {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 800;
}

.mesh-order .section-head {
  text-align: center;
}

.mesh-order .section-head h2,
.mesh-order .section-head p {
  margin-right: auto;
  margin-left: auto;
}

.mesh-order .section-head h2 {
  max-width: 22ch;
}

.mesh-order-form {
  display: grid;
  gap: 1.35rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(31, 40, 36, 0.14);
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(31, 40, 36, 0.09);
}

.mesh-order-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mesh-order-comment {
  grid-column: 1 / -1;
}

.mesh-order-comment textarea {
  min-height: 6.5rem;
}

.mesh-order-contacts {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(28rem, 1.5fr) minmax(15rem, 1fr);
  gap: 1rem;
  align-items: end;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(31, 40, 36, 0.12);
}

.contact-switch {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-switch legend {
  margin-bottom: 0.45rem;
  color: rgba(31, 40, 36, 0.66);
  font-size: 0.82rem;
}

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

.contact-switch-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.contact-switch-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-switch-options span {
  display: grid;
  place-items: center;
  min-height: 3.2rem;
  padding: 0.55rem 0.4rem;
  border: 1px solid rgba(31, 40, 36, 0.18);
  border-right: 0;
  color: rgba(31, 40, 36, 0.7);
  background: #f8faf7;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.contact-switch-options label:last-child span {
  border-right: 1px solid rgba(31, 40, 36, 0.18);
}

.contact-switch-options input:checked + span {
  border-color: #587161;
  color: #ffffff;
  background: #587161;
}

.contact-switch-options input:focus-visible + span {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.mesh-order-form > .btn {
  justify-self: end;
  min-width: 17rem;
}

.mesh-order-form .form-status {
  margin: 0;
  color: #587161;
  text-align: right;
}

.formats .section-head h2 {
  max-width: 28ch;
  margin-right: auto;
  margin-left: auto;
}

.formats .section-head h2 span {
  display: block;
  white-space: nowrap;
}

.formats .section-head p {
  max-width: 60rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 761px) and (max-width: 900px) {
  .formats .section-head h2 {
    font-size: 2.6rem;
  }
}

.catalog .section-head {
  text-align: center;
}

.catalog .section-head h2 {
  max-width: 34ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.4rem, 3vw, 3rem);
}

.catalog .section-head p {
  max-width: 62rem;
  margin-right: auto;
  margin-left: auto;
}

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

.catalog .mesh-grid article {
  min-height: 0;
  padding: 0;
}

.mesh-card {
  display: grid;
  grid-template-rows: auto 17rem auto;
  gap: 0.8rem;
  align-content: start;
  width: 100%;
  height: 100%;
  padding: 1rem;
  border: 0;
  color: var(--ink);
  background: #171b19;
  text-align: left;
  cursor: zoom-in;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.mesh-card:hover,
.mesh-card:focus-visible {
  background: #202622;
  box-shadow: inset 0 0 0 2px var(--copper);
  outline: 0;
}

.mesh-card-number {
  margin: 0;
  color: var(--copper-2);
  font-size: 0.82rem;
  font-weight: 800;
}

.mesh-card .mesh-pattern {
  width: 100%;
  height: 17rem;
  margin: 0;
  aspect-ratio: auto;
}

.mesh-card-image {
  object-fit: cover;
}

.mesh-card h3 {
  margin: 0;
}

.light-theme .mesh-card {
  color: var(--ink);
  background: #ffffff;
}

.light-theme .mesh-card:hover,
.light-theme .mesh-card:focus-visible {
  background: #f3f6f2;
}

.mesh-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  padding: 1.2rem;
  color: var(--ink);
  background: #151817;
  box-shadow: var(--shadow);
}

.mesh-modal-pattern {
  width: 100%;
  aspect-ratio: 1.7;
  margin: 0;
}

.mesh-modal-pattern[hidden],
.mesh-modal-image[hidden] {
  display: none;
}

.mesh-modal-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  max-height: 72svh;
  object-fit: contain;
  background: #e8ede8;
}

.mesh-modal-caption {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0.2rem 0.15rem;
}

.mesh-modal-caption > span {
  color: var(--copper-2);
  font-weight: 800;
}

.mesh-modal-caption h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.light-theme .mesh-modal-dialog {
  color: var(--ink);
  background: #f8faf7;
}

@media (max-width: 900px) {
  .catalog .mesh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mesh-order-fields,
  .mesh-order-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mesh-order-comment,
  .contact-switch {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .light-theme .facade-quiz .quiz-topbar {
    min-height: 3.75rem;
    padding: 0.85rem 1rem;
  }

  .quiz-step-title {
    font-size: 0.98rem;
  }

  .projects .section-head h2 {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.05;
  }

  .projects-title-break {
    display: none;
  }

  .catalog .mesh-grid {
    grid-template-columns: 1fr;
  }

  .catalog .section-head h2 {
    font-size: 1.85rem;
  }

  .mesh-card {
    grid-template-rows: auto 13.5rem auto;
  }

  .mesh-card .mesh-pattern {
    height: 13.5rem;
  }

  .mesh-modal-dialog {
    width: min(94vw, 42rem);
    padding: 0.8rem;
  }

  .mesh-modal-caption h2 {
    font-size: 1.35rem;
  }

  .mesh-order-form {
    gap: 1rem;
    padding: 1rem;
  }

  .mesh-order-fields,
  .mesh-order-contacts {
    grid-template-columns: 1fr;
  }

  .mesh-order-comment,
  .contact-switch {
    grid-column: auto;
  }

  .contact-switch-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: rgba(31, 40, 36, 0.18);
  }

  .contact-switch-options span,
  .contact-switch-options label:last-child span {
    border: 0;
  }

  .mesh-order-form > .btn {
    width: 100%;
    min-width: 0;
  }

  .mesh-order-form .form-status {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .projects .section-head h2 {
    font-size: 1.8rem;
  }

  .formats .section-head h2 {
    font-size: 1.42rem;
  }
}

@media (max-width: 700px) {
  .company-video-play {
    width: 4rem;
    height: 4rem;
  }
}

/* Subtle graphic motifs from the PressMesh brand system. */
.why-us::after,
.about::before,
.estimate-band::before,
.site-footer::before {
  position: absolute;
  z-index: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  pointer-events: none;
}

.why-us::after {
  top: 2.5rem;
  right: -4rem;
  width: clamp(24rem, 36vw, 43rem);
  aspect-ratio: 1168 / 845;
  background-image: url("assets/brand/dragonfly.svg");
  opacity: 0.11;
  transform: rotate(-7deg);
}

.why-us > * {
  position: relative;
  z-index: 1;
}

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about::before {
  right: -2rem;
  bottom: -4rem;
  width: clamp(18rem, 29vw, 33rem);
  aspect-ratio: 883 / 660;
  background-image: url("assets/brand/butterfly.svg");
  opacity: 0.1;
  transform: rotate(5deg);
}

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

.estimate-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.estimate-band::before {
  top: 1.8rem;
  left: max(1.5rem, calc((100vw - 1240px) / 2));
  width: clamp(20rem, 27vw, 32rem);
  aspect-ratio: 668 / 786;
  background-image: url("assets/brand/swallow.svg");
  opacity: 0.17;
  transform: rotate(-10deg);
}

.estimate-band > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-footer::before {
  right: 41%;
  bottom: -3rem;
  width: clamp(20rem, 28vw, 34rem);
  aspect-ratio: 2539 / 2148;
  background-image: url("assets/brand/elephant.png");
  opacity: 0.1;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .why-us::after {
    top: 5rem;
    right: -6rem;
    width: 19rem;
    opacity: 0.09;
  }

  .about::before {
    top: 4rem;
    right: -5rem;
    bottom: auto;
    width: 16rem;
    opacity: 0.09;
  }

  .estimate-band::before {
    top: 3rem;
    right: -7rem;
    left: auto;
    width: 18rem;
    opacity: 0.1;
  }

  .site-footer::before {
    top: 13rem;
    right: -9rem;
    bottom: auto;
    width: 20rem;
    opacity: 0.07;
  }
}
