:root {
  --bg: #f7f4ef;
  --paper: #fbfaf7;
  --ink: #2b2925;
  --muted: #6f6a63;
  --line: rgba(176, 145, 98, 0.28);
  --gold: #b88a4a;
  --gold-dark: #9f743b;
  --dark: #1e1e1c;
  --dark-soft: #2a2926;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  display: grid;
  grid-template-columns: 300px 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 0 48px;
  background: rgba(250, 248, 244, 0.86);
  border-bottom: 1px solid rgba(48, 43, 36, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand strong {
  font-weight: 400;
}

.brand small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3.1vw, 54px);
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 38px 0 35px;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.phone {
  white-space: nowrap;
  font-size: 16px;
}

.email {
  color: var(--muted);
  font-size: 13px;
}

.outline-btn,
.gold-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 34px;
  border: 1px solid var(--gold);
  font-size: 15px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.gold-btn {
  color: #fff;
  background: linear-gradient(135deg, #c7a061, #b58643);
}

.outline-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.32);
}

.header-btn {
  min-width: 214px;
}

.menu-btn {
  display: none;
}

.hero {
  position: relative;
  --hero-video-top: 100px;
  --hero-video-height: min(620px, calc(100vh - 120px));
  min-height: 1024px;
  padding-top: 100px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f7f4ef 0%, #f7f4ef 19%, rgba(247, 244, 239, 0.92) 22%, rgba(247, 244, 239, 0.62) 26%, rgba(247, 244, 239, 0.28) 31%, rgba(247, 244, 239, 0) 36%),
    #eef1ee;
}

.hero-image {
  position: absolute;
  top: var(--hero-video-top);
  right: 0;
  bottom: auto;
  width: 82%;
  height: var(--hero-video-height);
  object-fit: cover;
  object-position: 76% 48%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 4%, rgba(0, 0, 0, 0.52) 8%, rgba(0, 0, 0, 0.82) 13%, #000 18%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 4%, rgba(0, 0, 0, 0.52) 8%, rgba(0, 0, 0, 0.82) 13%, #000 18%);
}

.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 1) 0%, rgba(247, 244, 239, 0.98) 15%, rgba(247, 244, 239, 0.88) 19%, rgba(247, 244, 239, 0.66) 23%, rgba(247, 244, 239, 0.38) 28%, rgba(247, 244, 239, 0.14) 33%, rgba(247, 244, 239, 0) 39%),
    linear-gradient(180deg, rgba(247, 244, 239, 0.02), rgba(247, 244, 239, 0) 54%, rgba(247, 244, 239, 0.06));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(500px, calc(100% - 80px));
  padding: 104px 0 0 36px;
}

.hero-content::before {
  content: none;
}

.gold-label {
  margin: 0 0 24px;
  color: var(--gold-dark);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 430px;
  font-size: clamp(30px, 2.85vw, 44px);
  line-height: 1.06;
}

.hero-lead {
  margin: 28px 0 28px;
  color: #47433d;
  font-size: 25px;
  line-height: 1.45;
}

.short-line {
  width: 76px;
  height: 1px;
  margin: 38px 0 34px;
  background: var(--gold);
}

.price {
  margin: 0;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.1;
}

.muted {
  margin: 9px 0 42px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wide {
  min-width: 250px;
  justify-content: space-between;
}

.feature-strip {
  position: absolute;
  z-index: 3;
  left: auto;
  right: 0;
  width: min(78vw, 1465px);
  top: calc(var(--hero-video-top) + var(--hero-video-height) + 24px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 158px;
  padding: 28px 34px;
  border: 1px solid rgba(120, 103, 76, 0.2);
  background: rgba(247, 245, 241, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 70px rgba(33, 29, 22, 0.12);
}

.feature-strip article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 26px;
  align-items: start;
  padding: 20px 30px;
  border-right: 1px solid rgba(52, 48, 43, 0.12);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.feature-strip strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.feature-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section {
  position: relative;
  padding: 90px 56px;
}

.light-section {
  min-height: 920px;
  background: linear-gradient(90deg, #fbfaf8, #f5f1eb);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(620px, 1.22fr);
  gap: 54px;
  align-items: center;
}

.section-number {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 34px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 34px;
}

.section-number::after {
  content: "";
  width: 210px;
  height: 1px;
  background: var(--line);
}

.section-number.gold {
  color: #d2a568;
}

.section h2 {
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.22;
}

.section p {
  color: #55504a;
  font-size: 17px;
  line-height: 1.75;
}

.section-copy {
  max-width: 560px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 48px 0 60px;
  border-top: 1px solid rgba(58, 52, 43, 0.1);
}

.spec-grid div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  min-height: 118px;
  padding: 27px 20px 20px 0;
  border-bottom: 1px solid rgba(58, 52, 43, 0.1);
}

.spec-grid i {
  color: var(--gold);
  font-size: 34px;
  font-style: normal;
}

.spec-grid b {
  display: block;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.spec-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.plan-art {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.plan-art img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.dark-section {
  min-height: 920px;
  padding-top: 126px;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.dark-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.dark-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 26, 24, 0.98), rgba(26, 26, 24, 0.92) 33%, rgba(26, 26, 24, 0.18) 74%),
    linear-gradient(180deg, rgba(20, 20, 19, 0.3), rgba(20, 20, 19, 0.25));
}

.dark-content {
  position: relative;
  z-index: 2;
  width: min(720px, 52vw);
}

.dark-content h2 {
  font-size: clamp(38px, 3.5vw, 56px);
}

.dark-content p {
  color: rgba(255, 255, 255, 0.83);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
  margin: 42px 0 50px;
}

.benefit-grid article {
  min-height: 128px;
  display: grid;
  grid-template-columns: 94px 1fr;
  padding: 25px 0;
  border-bottom: 1px solid rgba(196, 151, 85, 0.42);
}

.benefit-grid em {
  color: #d2a568;
  font-family: var(--serif);
  font-size: 40px;
  font-style: normal;
}

.benefit-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.benefit-grid span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.dark-btn {
  color: #d2a568;
  background: transparent;
}

blockquote {
  position: absolute;
  z-index: 2;
  right: 28%;
  bottom: 65px;
  width: 280px;
  margin: 0;
  padding: 50px 42px 36px;
  border: 1px solid rgba(198, 151, 78, 0.62);
  color: #fff;
  font-size: 20px;
  line-height: 1.55;
  background: rgba(22, 22, 20, 0.34);
}

blockquote::before {
  content: "“";
  display: block;
  color: #d2a568;
  font-family: var(--serif);
  font-size: 70px;
  line-height: 0.4;
}

.gallery-section {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 54px;
  min-height: 900px;
  background: #fbfaf7;
}

.gallery-side h2 {
  font-size: 45px;
  line-height: 1.18;
}

.text-link {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  margin: 25px 0 35px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
}

.gallery-note {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  background: #f3eee8;
}

.gallery-note svg {
  width: 38px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.gallery-note b {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
}

.big-photo {
  position: relative;
  height: 535px;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 2px;
}

.big-photo img,
.thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big-photo img {
  object-position: center;
}

.big-photo::after,
.thumb-row figure::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
}

.big-photo figcaption,
.thumb-row figcaption {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 28px;
  color: #fff;
}

.big-photo strong,
.big-photo span {
  display: block;
}

.big-photo strong {
  margin-bottom: 8px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thumb-row figure {
  position: relative;
  height: 290px;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
}

.thumb-row figure:nth-child(1) img { object-position: 70% 42%; }
.thumb-row figure:nth-child(2) img { object-position: center; }
.thumb-row figure:nth-child(3) img { object-position: center; }
.thumb-row figure:nth-child(4) img { object-position: 75% 72%; }

.price-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.8fr) minmax(620px, 1.2fr);
  gap: 70px;
  background: #fbfaf7;
}

.price-copy h2 {
  font-size: 50px;
}

.comfort-card {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 0;
  margin-top: 45px;
  background: #f5f0ea;
}

.comfort-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
}

.comfort-card ul {
  margin: 0;
  padding: 30px 34px;
  list-style: none;
}

.comfort-card li {
  min-height: 92px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(83, 72, 58, 0.12);
  color: #494640;
  line-height: 1.5;
}

.comfort-card li:last-child {
  border-bottom: 0;
}

.calc-card {
  padding: 55px 34px 42px;
  border: 1px solid rgba(83, 72, 58, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.calc-top {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}

.calc-top span,
.mini-cards span {
  display: block;
  font-size: 15px;
}

.calc-top strong,
.mini-cards b {
  display: block;
  margin: 16px 0 8px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
}

.calc-top img {
  opacity: 0.33;
  mix-blend-mode: multiply;
}

.calc-card h3 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 400;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fbfaf7;
}

td {
  padding: 15px 22px;
  border: 1px solid rgba(74, 65, 52, 0.15);
  font-size: 16px;
}

td:last-child {
  width: 35%;
  text-align: right;
}

.total td:last-child {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 34px;
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.mini-cards article {
  padding: 30px 34px;
  background: #f5f0ea;
}

.mini-cards b {
  font-size: 31px;
}

.mini-cards p {
  margin: 0;
  font-size: 15px;
}

.mortgage-section {
  min-height: 720px;
  overflow: hidden;
  background: #fbfaf7;
}

.mortgage-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.mortgage-copy h2 {
  font-size: 50px;
}

.mortgage-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mortgage-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fbfaf7 0%, #fbfaf7 32%, rgba(251, 250, 247, 0.78) 45%, rgba(251, 250, 247, 0) 64%);
}

.mortgage-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  width: min(780px, 90vw);
  margin-top: 45px;
}

.mortgage-icons span {
  color: #46413a;
  font-size: 14px;
  line-height: 1.5;
}

.contact-band {
  display: grid;
  grid-template-columns: 90px 1fr 1.8fr;
  gap: 34px;
  align-items: center;
  padding: 38px 56px;
  color: #fff;
  background: #20201e;
}

.round-icon {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 40px;
}

.contact-band h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
}

.contact-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.18fr auto;
  gap: 12px;
}

input,
select {
  min-height: 54px;
  width: 100%;
  border: 1px solid rgba(202, 161, 96, 0.48);
  border-radius: 0;
  padding: 0 18px;
  color: #fff;
  background: transparent;
  font: 14px var(--sans);
}

select {
  appearance: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 250px 1fr auto;
    height: 86px;
    padding: 0 28px;
  }

  .nav,
  .header-contact {
    display: none;
  }

  .menu-btn {
    display: grid;
    gap: 8px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    background: transparent;
  }

  .menu-btn span {
    width: 18px;
    height: 1px;
    background: var(--ink);
  }

  .hero {
    min-height: 900px;
  }

  .feature-strip,
  .split-section,
  .gallery-section,
  .price-section,
  .contact-band,
  form {
    grid-template-columns: 1fr 1fr;
  }

  .feature-strip {
    right: 36px;
  }

  .feature-strip article {
    border-bottom: 1px solid rgba(52, 48, 43, 0.12);
  }

  .plan-art {
    min-height: 560px;
  }

  .dark-content {
    width: 70vw;
  }

  blockquote {
    right: 48px;
  }

  .gallery-section,
  .price-section {
    grid-template-columns: 1fr;
  }

  .contact-band {
    grid-template-columns: 82px 1fr;
  }

  form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .brand {
    font-size: 20px;
    gap: 10px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand small {
    max-width: 210px;
    font-size: 12px;
    line-height: 1.2;
  }

  .header-btn {
    display: none;
  }

  .hero {
    display: flex;
    min-height: 0;
    padding-top: 86px;
    flex-direction: column;
    background: var(--bg);
  }

  .hero-image {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: clamp(260px, 68vw, 360px);
    order: 1;
    object-fit: cover;
    object-position: 72% center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-fade {
    display: none;
  }

  .hero-content {
    order: 2;
    width: auto;
    padding: 28px 20px 0;
    background: var(--bg);
  }

  .gold-label {
    display: none;
  }

  h1 {
    max-width: none;
    font-size: 35px;
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-actions,
  .hero-actions a,
  .wide {
    width: 100%;
  }

  .feature-strip {
    position: relative;
    order: 3;
    left: 18px;
    right: 18px;
    bottom: auto;
    width: calc(100% - 36px);
    margin: 28px 0 34px;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .feature-strip article {
    min-height: 84px;
    padding: 12px;
    border-right: 0;
  }

  .feature-strip svg {
    width: 36px;
    height: 36px;
  }

  .feature-strip strong {
    font-size: 28px;
  }

  .section {
    padding: 64px 20px;
  }

  .split-section,
  .spec-grid,
  .benefit-grid,
  .thumb-row,
  .mini-cards,
  .mortgage-icons,
  .comfort-card,
  .contact-band,
  form {
    grid-template-columns: 1fr;
  }

  .section-number::after {
    width: 150px;
  }

  .section h2,
  .price-copy h2,
  .mortgage-copy h2 {
    font-size: 36px;
  }

  .plan-art,
  .plan-art img {
    min-height: 420px;
  }

  .dark-section {
    min-height: auto;
  }

  .dark-bg {
    object-position: 60% center;
  }

  .dark-content {
    width: auto;
  }

  blockquote {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin-top: 30px;
  }

  .gallery-side h2 {
    font-size: 34px;
  }

  .big-photo,
  .thumb-row figure {
    height: 260px;
  }

  .comfort-card img {
    height: 280px;
  }

  .calc-top {
    grid-template-columns: 1fr;
  }

  .calc-top img {
    max-height: 220px;
    object-fit: contain;
  }

  td {
    padding: 13px 10px;
    font-size: 14px;
  }

  .mortgage-img {
    position: relative;
    width: calc(100% + 40px);
    height: 350px;
    margin: 40px -20px -64px;
  }

  .mortgage-section::after {
    display: none;
  }

  .contact-band {
    padding: 34px 20px;
  }

  .round-icon {
    width: 72px;
    height: 72px;
  }
}
