@font-face {
  font-family: Spectral;
  src: url("spectral-cyrillic.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Spectral;
  src: url("spectral-latin.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Golos;
  src: url("golos-cyrillic.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 900;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Golos;
  src: url("golos-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 900;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f2f2ee;
  --white: #fff;
  --ink: #1a1d22;
  --muted: #515963;
  --line: #d7d9d5;
  --dark: #171e25;
  --blue: #075d91;
  --sky: #a0d1ef;
  --edge: clamp(22px, 4.4vw, 76px);
  --section-space: clamp(72px, 8.5vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 Golos, Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Spectral, Georgia, serif; font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(2.55rem, 5.15vw, 5.2rem); }
h3 { font-size: clamp(1.75rem, 2.55vw, 2.65rem); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
[id] { scroll-margin-top: 32px; }
.shell { width: min(100% - 2 * var(--edge), 1440px); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 8px 16px;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  color: var(--white);
}

.header-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 90px;
  border-bottom: 1px solid rgba(255, 255, 255, .26);
}

.wordmark { display: block; width: 151px; flex: none; }
.wordmark img { display: block; width: 100%; height: auto; }

.desktop-nav { display: flex; gap: clamp(20px, 3.4vw, 64px); font-size: .875rem; }
.desktop-nav a:hover, .footer a:hover { color: var(--sky); }
.desktop-cta { justify-self: end; }
.mobile-nav { display: none; }

.button {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.button-outline { min-height: 44px; gap: 17px; border-color: rgba(255, 255, 255, .44); }
.button-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, .13); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--sky); }
.button:disabled { cursor: wait; opacity: .7; }
.arrow { font: 400 1.12rem/1 Arial, sans-serif; }
.header :focus-visible, .hero :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: var(--sky); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(650px, 55vw, 810px);
  align-items: center;
  background: var(--dark);
  color: var(--white);
}

.hero-image, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { z-index: -2; object-fit: cover; object-position: 50% 54%; }
.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(0deg, rgba(12, 22, 30, .33), transparent 22%, transparent 70%, rgba(11, 19, 27, .56)),
    linear-gradient(90deg, rgba(11, 19, 27, .79) 0%, rgba(11, 19, 27, .53) 37%, transparent 82%);
}
.hero-layout { padding-block: 154px 76px; }
.label {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-label, .contact .label { color: var(--sky); }
.hero-label { display: flex; align-items: center; gap: 12px; }
.hero-label span { width: 23px; border-top: 1px solid; }
.hero h1 {
  margin-block: 21px 25px;
  font-size: clamp(3.25rem, 6.55vw, 7.3rem);
  line-height: .97;
  letter-spacing: -.06em;
}
.hero-summary { max-width: 425px; color: #f0f3f5; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.hero .button { margin-top: 31px; }

.quick-nav { border-bottom: 1px solid var(--line); background: var(--white); }
.quick-nav-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 79px;
  padding-inline: clamp(14px, 2vw, 33px);
  border-left: 1px solid var(--line);
  font-size: clamp(.875rem, 1.2vw, 1.06rem);
  font-weight: 500;
}
.quick-nav a:last-child { border-right: 1px solid var(--line); }
.quick-nav a:hover { background: #f6f9fa; color: var(--blue); }
.quick-nav .arrow, .service-link .arrow { color: var(--blue); }

.services { padding-block: var(--section-space); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
  align-items: end;
  gap: 24px 6vw;
  margin-bottom: clamp(30px, 4.5vw, 62px);
}
.section-heading h2, .approach h2, .contact h2 { margin-top: 14px; }
.section-heading > p, .service > p, .approach-copy > p:not(.label) { color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.service {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 17px;
  padding: clamp(22px, 3.2vw, 46px) clamp(18px, 2.55vw, 42px) clamp(27px, 3.9vw, 53px);
  border-right: 1px solid var(--line);
  transition: background-color .25s ease;
}
.service:first-child { border-left: 1px solid var(--line); }
.service:target { background: var(--white); }
.service > p { margin-bottom: 10px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--blue);
  font-size: .875rem;
  font-weight: 500;
}
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.approach {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  margin-bottom: var(--section-space);
  background: #e7e7e1;
}
.interior-image { display: block; width: 100%; height: 100%; min-height: 425px; max-height: 620px; object-fit: cover; }
.approach-copy { align-self: center; padding: clamp(32px, 5.2vw, 92px); }
.approach-copy h2 { font-size: clamp(2.65rem, 4.8vw, 5rem); }
.approach-copy > p:not(.label) { max-width: 420px; margin-block: 20px 28px; }

.contact { padding-block: clamp(60px, 8.3vw, 118px); background: var(--dark); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 36px 8vw; }
.contact-layout > div > p:not(.label) { margin-top: 22px; color: #d2d9df; }
.contact-form { display: grid; gap: 18px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label:not(.smt-form-agreement) { display: grid; gap: 7px; font-size: .85rem; }
.contact-form input:not([type="checkbox"]), .contact-form textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid #646f79;
  border-radius: 0;
  background: #212a33;
  color: var(--white);
  font-size: 1rem;
}
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: #aeb9c1; }
.smt-form-agreement { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; color: #d2d9df; }
.smt-form-agreement input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--sky); }
.smt-form-agreement a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form .button { justify-self: start; }
.smt-form-error-message { min-height: 1.25em; color: var(--sky); font-size: .9rem; }

.footer { background: var(--dark); color: #d2d9df; }
.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 106px;
  border-top: 1px solid #47515b;
  font-size: .8rem;
}

@media (max-width: 880px) {
  .header-layout { grid-template-columns: auto 1fr; min-height: 76px; }
  .desktop-nav, .desktop-cta { display: none; }
  .mobile-nav { position: relative; display: block; justify-self: end; }
  .mobile-nav summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    padding: 6px 2px 6px 12px;
    list-style: none;
    font-size: .875rem;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .menu-icon { display: block; width: 18px; height: 7px; border-block: 1px solid; }
  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 205px;
    padding: 6px 16px;
    border: 1px solid #59626c;
    background: var(--dark);
    font-size: .9rem;
  }
  .mobile-nav nav a { padding-block: 12px; }
  .mobile-nav nav a + a { border-top: 1px solid #59626c; }
  .service { padding-inline: 16px; }
  .approach { grid-template-columns: 1.1fr 1fr; }
  .interior-image { min-height: 400px; }
}

@media (max-width: 640px) {
  .hero { min-height: min(755px, max(590px, 87svh)); align-items: end; }
  .hero-image { object-position: 63% center; }
  .hero::after { background: linear-gradient(0deg, rgba(12, 22, 30, .91), rgba(12, 22, 30, .58) 37%, rgba(12, 22, 30, .14) 72%, rgba(12, 22, 30, .57)); }
  .hero-layout { padding-block: 150px 49px; }
  .hero h1 { max-width: 470px; margin-block: 17px 18px; font-size: clamp(2.45rem, 9.1vw, 4.4rem); letter-spacing: -.049em; }
  .hero-summary { max-width: 320px; }
  .hero .button { margin-top: 24px; }
  .quick-nav-layout { grid-template-columns: 1fr; }
  .quick-nav a, .quick-nav a:last-child { min-height: 54px; padding-inline: 0; border-inline: 0; }
  .quick-nav a + a { border-top: 1px solid var(--line); }
  .section-heading, .service-list, .approach, .contact-layout { grid-template-columns: 1fr; }
  .section-heading { gap: 15px; }
  .service, .service:first-child { gap: 11px; padding: 23px 16px 25px; border: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .service > p { margin-bottom: 5px; }
  .interior-image { min-height: 0; max-height: 370px; height: auto; aspect-ratio: 4 / 3; }
  .approach-copy { padding: 29px 23px 35px; }
  .footer-layout { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 25px; }
}

@media (max-width: 400px) {
  .form-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.theme-titan { --blue: #6c4a1f; --sky: #e9c997; --dark: #211e1a; }
.theme-megapolis { --blue: #1a5279; --sky: #b9d6ea; --dark: #18222c; }
.theme-alternativa { --blue: #356149; --sky: #b3d9c2; --dark: #172721; }
.design-brand { display: block; width: max-content; font: 400 clamp(1.55rem, 2.5vw, 2.45rem)/1 Spectral, Georgia, serif; letter-spacing: -.04em; }
.design-brand img { display: block; width: 151px; height: auto; }
.service h3 { overflow-wrap: anywhere; }
.header-inner { position: relative; background: var(--dark); }
.header-inner .header-layout { border-bottom: 0; }
.services .section-heading > h2 { grid-column: 1 / -1; }
.theme-titan .hero-image { object-position: 50% 50%; }
.inner-intro { padding-block: clamp(38px, 6vw, 96px); background: #e7e7e1; border-bottom: 1px solid var(--line); }
.inner-intro h1 { margin-top: 12px; font-size: clamp(2.45rem, 5.5vw, 5.5rem); overflow-wrap: anywhere; }
.inner-intro .summary { max-width: 760px; margin-top: 22px; color: var(--muted); }
.archive-section { padding-block: clamp(32px, 5vw, 72px); }
.archive-notice { border-left: 2px solid var(--blue); color: var(--muted); padding: 8px 14px; margin-bottom: 30px; font-size: .875rem; }
.archive-content { overflow-wrap: anywhere; }
.archive-content p { margin-block: .7em; max-width: 74ch; }
.archive-content h2, .archive-content h3 { margin-block: .55em .32em; }
.archive-content h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
.archive-content h3 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); }
.archive-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-document { max-width: 800px; }
.legal-document h1 { font-size: clamp(2rem, 6vw, 3.7rem); }
.legal-document h2 { margin-top: 1.1em; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.archive-content img { display: block; width: auto; max-width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.archive-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.archive-content td, .archive-content th { padding: 7px 10px; border: 1px solid var(--line); }
.archive-content .smt-object-list > .row,
.archive-content .object-list,
.archive-content .prop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.archive-content .smt-object-item, .archive-content .object-item, .archive-content .prop-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.archive-content :is(.smt-object-item, .object-item, .prop-card) img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.quiz { border: 1px solid #6e675d; padding: clamp(18px, 3vw, 36px); }
.quiz .bar { height: 3px; background: #5d5549; margin-bottom: 24px; }
.quiz .bar i { display: block; height: 100%; background: var(--sky); transition: width .2s ease; }
.quiz .step-n { color: var(--sky); font-size: .8rem; margin-bottom: 12px; }
.quiz .opts, .quiz .fields { display: grid; gap: 10px; margin-top: 22px; }
.quiz button, .quiz .fields input:not([type="checkbox"]) {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #756d60;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  text-align: left;
}
.quiz button { cursor: pointer; }
.quiz button:hover { background: #443c31; }
.quiz button[type="submit"] { background: var(--white); color: var(--dark); }
.quiz button[type="submit"]:hover { background: var(--sky); }
.quiz .back { margin-top: 14px; border: none; color: var(--sky); }
.quiz [role="status"] { color: var(--sky); font-size: .875rem; }
.quiz .done .big { font: 400 2.9rem Spectral, Georgia, serif; }

@media (max-width: 1120px) {
  .desktop-nav { gap: 20px; }
}

@media (min-width: 641px) and (max-width: 720px) {
  .service-list, .contact-layout { grid-template-columns: 1fr; }
  .service, .service:first-child { border-inline: 0; }
  .service + .service { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .inner-intro h1 { font-size: clamp(2.35rem, 7vw, 3.8rem); }
  .archive-section { padding-block: 31px 45px; }
  .theme-megapolis .hero-image, .theme-alternativa .hero-image { object-position: 62% center; }
}
