:root {
  --blue: #006594;
  --blue-dark: #07384f;
  --blue-soft: #e9f7fd;
  --sky: #bae9ff;
  --sky-deep: #78c9ed;
  --paper: #fff;
  --warm: #f7f4ef;
  --ink: #102c3a;
  --muted: #687b84;
  --line: rgba(7,56,79,.16);
  --shadow: 0 24px 70px rgba(7,56,79,.15);
  --container: 1180px;
  --font: Inter, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: fixed; z-index: 2147483647; top: 10px; left: 10px; padding: 12px 16px; color: #fff; background: var(--blue-dark); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 26px; font-size: clamp(40px,5vw,68px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
h3 { font-size: clamp(22px,2vw,30px); line-height: 1.08; }
p { line-height: 1.62; }
.section-kicker { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.section-kicker-light { color: var(--sky); }
.section-lead { max-width: 720px; margin: 0 auto 48px; color: var(--muted); font-size: 17px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 15px 30px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button-accent { color: #fff; background: var(--blue); }
.button-sky, .button-light { color: var(--blue-dark); background: var(--sky); }
.button-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; }

.site-header { position: absolute; z-index: 100; top: 0; right: 0; left: 0; color: #fff; }
.header-inner { min-height: 94px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand img, .footer-brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span, .footer-brand span { display: grid; font-size: 17px; font-weight: 900; letter-spacing: .13em; line-height: 1; }
.brand small, .footer-brand small { margin-top: 5px; font-size: 6.5px; font-weight: 700; letter-spacing: .1em; }
.site-nav { display: flex; justify-content: center; gap: clamp(14px,2vw,27px); }
.site-nav a { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.header-phone { color: #fff; font-size: 14px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.header-cta { min-height: 44px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 0 18px; color: #fff; background: rgba(7,56,79,.34); font-size: 11px; font-weight: 800; cursor: pointer; backdrop-filter: blur(10px); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; padding: 10px; background: none; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }

.hero { position: relative; min-height: 720px; height: 100svh; max-height: 980px; overflow: hidden; color: #fff; background: var(--blue-dark); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(5,43,61,.62) 0%,rgba(8,48,67,.13) 44%,rgba(5,39,55,.65) 100%); }
.hero-inner { position: relative; z-index: 2; min-height: inherit; height: 100%; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; }
.hero-copy { max-width: 790px; }
.hero-kicker { margin-bottom: 18px; color: var(--sky); font-size: clamp(14px,1.7vw,24px); font-weight: 500; letter-spacing: .05em; }
.hero h1 { margin: 0; font-size: clamp(78px,11vw,156px); font-weight: 700; line-height: .82; letter-spacing: -.07em; text-shadow: 0 5px 28px rgba(0,0,0,.3); }
.hero-lead { max-width: 690px; margin: 32px 0 30px; color: rgba(255,255,255,.94); font-size: clamp(18px,1.8vw,25px); }
.hero-button { min-width: 310px; text-transform: uppercase; }

.about-section, .comfort-section, .plans-section, .availability-section, .contacts-section, .faq-section { padding: 108px 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 74px; }
.about-copy p:not(.section-kicker) { max-width: 590px; color: var(--muted); font-size: 17px; }
.text-button { border: 0; padding: 0; color: var(--blue); background: none; font-weight: 900; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.about-collage { position: relative; min-height: 580px; }
.about-collage img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.about-main { top: 0; left: 0; width: 80%; height: 78%; }
.about-collage img:last-child { right: 0; bottom: 0; width: 57%; height: 48%; border: 12px solid #fff; }

.advantages-section { padding: 92px 0; color: #fff; background: var(--blue); }
.section-heading { max-width: 720px; }
.advantages-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.24); }
.advantages-grid article { min-height: 260px; padding: 30px; background: var(--blue); }
.advantages-grid span { color: var(--sky); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.advantages-grid h3 { margin: 60px 0 12px; }
.advantages-grid p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }

.mosaic-section { padding: 0; }
.mosaic-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 340px 300px; gap: 10px; padding: 10px; }
.mosaic-grid img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-grid img:first-child { grid-row: 1 / span 2; }
.mosaic-grid img:last-child { grid-column: 2 / span 2; }
.comfort-section { background: #fff; }

.gallery-section { padding: 100px 0; overflow: hidden; color: #fff; background: var(--blue-dark); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.gallery-heading h2 { margin: 0; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-controls button { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: transparent; font-size: 23px; cursor: pointer; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(65vw,780px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(24px,calc((100vw - var(--container))/2)) 18px; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { width: 100%; aspect-ratio: 16/9; object-fit: cover; scroll-snap-align: start; }

.plans-section { background: var(--blue-soft); }
.plans-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.plan-card { min-width: 0; overflow: hidden; background: #fff; box-shadow: 0 15px 42px rgba(7,56,79,.08); }
.plan-card img { width: 100%; aspect-ratio: 1.16; object-fit: contain; padding: 18px; background: #fff; }
.plan-card > div { padding: 26px; }
.plan-card h3 { margin: 0 0 13px; }
.plan-card p { min-height: 82px; color: var(--muted); }
.plan-card button { border: 0; padding: 0; color: var(--blue); background: none; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.plans-more { margin-top: 36px; text-align: center; }

.presentation-section, .viewing-section { padding: 96px 0; color: #fff; background: var(--blue); }
.presentation-grid, .viewing-shell, .availability-shell, .questions-inner { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: 70px; }
.presentation-grid h2, .viewing-shell h2, .availability-shell h2, .questions-inner h2 { font-size: clamp(42px,5.2vw,70px); }
.presentation-grid > div > p:last-child, .viewing-shell > div > p:last-child, .questions-inner > div > p:last-child { color: rgba(255,255,255,.74); font-size: 17px; }
.availability-section { background: var(--warm); }
.availability-shell > div > p:last-child, .investment-copy > p:not(.section-kicker) { color: var(--muted); font-size: 17px; }

.lead-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; color: #fff; }
.lead-form > label:not(.consent):not(.honeypot) { display: grid; gap: 8px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lead-form input:not([type="checkbox"]) { width: 100%; min-height: 58px; border: 1px solid rgba(255,255,255,.48); border-radius: 12px; padding: 0 18px; color: #fff; background: rgba(255,255,255,.09); outline: 0; font-size: 16px; }
.lead-form input:not([type="checkbox"]):focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(186,233,255,.2); }
.lead-form input::placeholder { color: rgba(255,255,255,.52); }
.lead-form .button { align-self: end; }
.form-status, .consents { grid-column: 1 / -1; }
.form-status { display: none; padding: 12px 14px; border-radius: 9px; color: var(--blue-dark); background: var(--sky); }
.form-status.is-visible { display: block; }
.form-status.is-error { color: #fff; background: #91473f; }
.consents { display: grid; gap: 9px; margin-top: 4px; }
.consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; color: rgba(255,255,255,.74); font-size: 12px; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--sky-deep); }
.consent a { color: inherit; text-underline-offset: 2px; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.light-form { color: var(--ink); }
.light-form > label:not(.consent):not(.honeypot), .light-form .consent { color: var(--muted); }
.light-form input:not([type="checkbox"]) { border-color: var(--line); color: var(--ink); background: #fff; }
.light-form input::placeholder { color: rgba(16,44,58,.44); }

.investment-section { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.investment-image img { width: 100%; height: 100%; min-height: 760px; object-fit: cover; }
.investment-copy { align-self: center; padding: clamp(48px,7vw,104px); }
.viewing-section { background: #1682b4; }

.contacts-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 68px; }
.contacts-copy dl { margin: 34px 0; }
.contacts-copy dl div { padding: 18px 0; border-top: 1px solid var(--line); }
.contacts-copy dt { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contacts-copy dd { margin: 0; font-size: 20px; line-height: 1.5; }
.contacts-copy dd a { font-size: clamp(27px,3.2vw,42px); font-weight: 900; text-decoration: none; }
.contact-visual { position: relative; min-height: 600px; overflow: hidden; }
.contact-visual img { width: 100%; height: 600px; object-fit: cover; }
.contact-visual span { position: absolute; right: 20px; bottom: 20px; padding: 12px 17px; color: #fff; background: rgba(7,56,79,.92); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.questions-section { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: #fff; }
.questions-section > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.questions-overlay { position: absolute; inset: 0; background: rgba(4,43,61,.68); }
.questions-inner { position: relative; z-index: 1; padding-block: 100px; }
.faq-section { background: var(--blue-soft); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.faq-list details { padding: 24px 0; border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding-right: 35px; font-size: 18px; font-weight: 900; cursor: pointer; }
.faq-list p { margin: 15px 0 0; color: var(--muted); }

.site-footer { padding: 48px 0; color: #fff; background: var(--blue-dark); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 54px; }
.footer-grid p { color: rgba(255,255,255,.65); font-size: 13px; }
.footer-grid > div:last-child { display: grid; align-content: start; justify-items: start; gap: 8px; }
.footer-grid a { color: rgba(255,255,255,.8); font-size: 12px; text-decoration: none; }
.footer-phone { margin-bottom: 9px; color: #fff !important; font-size: 22px !important; font-weight: 900; }

.legal-page { background: var(--blue-soft); }
.legal-header { color: #fff; background: var(--blue-dark); }
.legal-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-back { color: #fff; font-size: 14px; text-decoration: none; }
.legal-main { padding: 72px 0 96px; }
.legal-document { max-width: 920px; padding: 58px; background: #fff; box-shadow: var(--shadow); }
.legal-document .eyebrow { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legal-document h1 { margin: 0 0 34px; font-size: clamp(34px,5vw,58px); line-height: 1.02; }
.legal-document h2 { margin: 42px 0 18px; font-size: 27px; }
.legal-document p, .legal-document li { color: #354f5c; font-size: 16px; line-height: 1.65; }
.legal-document a { color: var(--blue); }
.legal-document ul, .legal-document ol { padding-left: 24px; }
.legal-document table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-document th, .legal-document td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
.legal-document th { background: var(--blue-soft); }
.legal-page .site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.modal { position: fixed; z-index: 2147482500; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,36,50,.8); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(610px,100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 46px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.modal-dialog h2 { margin-bottom: 12px; font-size: clamp(36px,5vw,54px); }
.modal-dialog > p:not(.section-kicker) { color: var(--muted); }
.modal-close { position: sticky; z-index: 2; top: 0; float: right; width: 46px; height: 46px; margin: -23px -23px 0 16px; border: 0; border-radius: 50%; display: grid; place-items: center; padding: 0 0 4px; color: #fff; background: var(--blue); font-size: 31px; line-height: 1; cursor: pointer; }
.modal-form { clear: both; }

@media (max-width:1120px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-cta { display: none; }
  .site-nav { justify-content: end; }
}
@media (max-width:900px) {
  .container { width: min(calc(100% - 36px),var(--container)); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto auto; }
  .header-phone { font-size: 12px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; right: 18px; left: 18px; display: none; padding: 16px; border-radius: 16px; background: rgba(7,56,79,.98); box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 10px; font-size: 14px; }
  .about-grid, .presentation-grid, .viewing-shell, .availability-shell, .contacts-grid, .faq-grid, .questions-inner { grid-template-columns: 1fr; gap: 46px; }
  .about-collage { min-height: 520px; }
  .advantages-grid { grid-template-columns: repeat(2,1fr); }
  .mosaic-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 260px 260px; }
  .mosaic-grid img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mosaic-grid img:last-child { grid-column: 1 / -1; }
  .investment-copy { padding: 54px 30px; }
  .contact-visual, .contact-visual img { min-height: 500px; height: 500px; }
}
@media (max-width:680px) {
  .container { width: min(calc(100% - 32px),var(--container)); }
  h2 { font-size: clamp(38px,11vw,53px); }
  .header-inner { width: calc(100% - 28px); min-height: 72px; gap: 8px; }
  .brand img { width: 39px; height: 39px; }
  .brand span { font-size: 13px; }
  .brand small { font-size: 5.5px; }
  .header-phone { font-size: 0; }
  .header-phone::after { content: "Позвонить"; font-size: 11px; }
  .hero { min-height: 680px; height: 100svh; max-height: 840px; }
  .hero-image { object-position: 55% center; }
  .hero-inner { min-height: 680px; align-items: end; padding-top: 100px; padding-bottom: 48px; }
  .hero-kicker { font-size: 11px; }
  .hero h1 { font-size: clamp(59px,18vw,84px); }
  .hero-lead { max-width: 330px; margin: 22px 0; font-size: 16px; }
  .hero-button { width: 100%; min-width: 0; }
  .about-section, .comfort-section, .plans-section, .availability-section, .contacts-section, .faq-section { padding: 72px 0; }
  .about-grid { gap: 34px; }
  .about-collage { min-height: 430px; }
  .about-main { width: 88%; height: 68%; }
  .about-collage img:last-child { width: 68%; height: 44%; border-width: 8px; }
  .advantages-section, .gallery-section, .presentation-section, .viewing-section { padding: 70px 0; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantages-grid article { min-height: 190px; }
  .advantages-grid h3 { margin-top: 38px; }
  .mosaic-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4,240px); padding: 6px; gap: 6px; }
  .mosaic-grid img:first-child, .mosaic-grid img:last-child { grid-column: auto; }
  .gallery-heading { align-items: start; }
  .gallery-controls { display: none; }
  .gallery-track { grid-auto-columns: 88vw; padding-inline: 16px; gap: 10px; }
  .plans-grid { grid-template-columns: 1fr; gap: 16px; }
  .plan-card p { min-height: 0; }
  .presentation-grid, .viewing-shell, .availability-shell, .questions-inner { gap: 30px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .button, .lead-form > label:not(.consent):not(.honeypot) { grid-column: 1 / -1; }
  .investment-section { grid-template-columns: minmax(0,1fr); }
  .investment-section > * { min-width: 0; }
  .investment-copy h2 { overflow-wrap: break-word; hyphens: auto; }
  .investment-image img { min-height: 0; height: 420px; }
  .investment-copy { padding: 62px 16px; }
  .contact-visual, .contact-visual img { min-height: 400px; height: 400px; }
  .contact-actions .button { width: 100%; }
  .questions-section { min-height: 850px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-main { padding: 28px 0 68px; }
  .legal-document { width: 100%; padding: 32px 18px; overflow-wrap: anywhere; }
  .legal-document table { display: block; max-width: 100%; overflow-x: auto; }
  .legal-page .site-footer .container { align-items: flex-start; flex-direction: column; }
  .modal { padding: 8px; }
  .modal-dialog { max-height: calc(100dvh - 16px); padding: 28px 20px; border-radius: 20px; }
  .modal-close { margin: -13px -7px 0 10px; }
}
@media (max-width:360px) {
  .container { width: calc(100% - 24px); }
  .brand small { display: none; }
  .hero h1 { font-size: 58px; }
  .button { width: 100%; padding-inline: 14px; }
  .contact-visual, .contact-visual img { min-height: 350px; height: 350px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
