/*
Theme Name: Rivera
Description: WordPress theme for Club House Riviera real estate website
Version: 1.0
Author: Generated from static HTML
*/

/* CSS Variables */
:root {
  --bronze: #B8863A;
  --bronze-light: #D4A85A;
  --bronze-dark: #8A6128;
  --cream: #F5EFE6;
  --cream-dark: #EDE3D4;
  --dark: #18150F;
  --dark2: #221E15;
  --dark3: #2E2820;
  --mid: #6B5E4A;
  --text-light: #F0E8DA;
  --text-muted: #B5A894;
  --white: #FDFAF6;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  background: var(--dark);
  color: var(--text-light);
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.75;
}
h1,h2,h3,h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.15; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--bronze-dark); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 80px;
  background: linear-gradient(to bottom, rgba(18,14,9,0.92), transparent);
  backdrop-filter: blur(2px);
  transition: background .4s;
}
nav.scrolled { background: rgba(18,14,9,0.97); backdrop-filter: blur(12px); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo a { display: block; line-height: 0; }
.nav-logo img { height: 72px; width: auto; filter: brightness(1.1); }
.footer-logo a { display: inline-block; line-height: 0; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); transition: color .25s;
}
.nav-links a:hover { color: var(--bronze-light); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600;
  color: var(--cream); letter-spacing: .02em; transition: color .2s;
}
.nav-phone:hover { color: var(--bronze-light); }
.nav-phone span { color: var(--bronze-light); }
.nav-vk {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: var(--text-muted); border: 1px solid rgba(184,134,58,.25);
  border-radius: 50%; transition: color .2s, border-color .2s, background .2s;
}
.nav-vk:hover { color: var(--bronze-light); border-color: var(--bronze); background: rgba(184,134,58,.1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: var(--dark); font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 4px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, filter .25s;
  box-shadow: 0 2px 12px rgba(184,134,58,.25);
  animation: navCtaPulse 3s ease-in-out infinite;
}
.nav-cta::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .5s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,134,58,.4);
  filter: brightness(1.1);
  color: var(--dark);
}
.nav-cta:hover::before { left: 100%; }
/* pulse glow on scroll */
nav.scrolled .nav-cta {
  animation: navCtaPulse 2.5s ease-in-out infinite;
}
@keyframes navCtaPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(184,134,58,.25); }
  50% { box-shadow: 0 4px 24px rgba(184,134,58,.5); }
}

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(18,14,9,.85) 0%, rgba(18,14,9,.05) 50%, rgba(18,14,9,.08) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 80px 80px; max-width: 1400px; width: 100%;
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; align-items: end;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.hero-left {}
.hero-eyebrow {
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze-light); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--bronze); }
h1.hero-title {
  font-size: clamp(96px, 12vw, 168px); font-weight: 300; font-style: italic;
  color: var(--cream); line-height: 0.95; margin-bottom: 28px;
  letter-spacing: -.01em;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; font-style: italic;
  color: var(--cream-dark); line-height: 1.3; margin-bottom: 40px;
  max-width: 520px;
}
.hero-address {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 40px;
}
.hero-address-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,134,58,.4); border-radius: 50%;
  color: var(--bronze-light); margin-top: 2px;
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.hero-address-icon:hover {
  background: rgba(184,134,58,.15); border-color: var(--bronze);
  transform: scale(1.08);
}
.hero-address-main {
  font-size: 20px; color: var(--cream); font-weight: 400;
  letter-spacing: .03em; margin-bottom: 4px; display: block;
}
a.hero-address-main:hover { color: var(--bronze-light); }
.hero-address-sub {
  font-size: 16px; color: var(--text-muted); letter-spacing: .06em;
}
/* Промо-баннер вверху hero «Семейная ипотека от 3,5%» */
.hero-promo-top {
  position: absolute; top: 26%; left: 50%; transform: translateX(-50%);
  z-index: 3; max-width: calc(100% - 48px);
  padding: 18px 56px; border-radius: 60px;
  background: rgba(18,14,9,.34);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(184,134,58,.45);
  box-shadow: 0 14px 46px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06);
  text-align: center;
  animation: heroPromoIn 1s cubic-bezier(.25,.46,.45,.94) .25s both;
}
@keyframes heroPromoIn {
  from { opacity: 0; transform: translate(-50%, -14px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.hero-promo-top::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(212,175,110,.6), transparent 45%, transparent 55%, rgba(212,175,110,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.hero-promo-top-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 56px); font-weight: 500;
  color: var(--cream); letter-spacing: .015em; line-height: 1.1;
  white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.hero-promo-top-star {
  color: var(--bronze-light); font-size: .5em; vertical-align: super;
  margin-left: 3px; text-decoration: none; transition: color .2s;
}
.hero-promo-top-star:hover { color: var(--cream); }
@media (max-width: 768px) {
  .hero-promo-top { top: 16%; padding: 12px 26px; border-radius: 34px; }
  .hero-promo-top-text { font-size: 22px; white-space: normal; }
}
.hero-cta-row { display: flex; align-items: center; gap: 20px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: var(--dark);
  padding: 16px 36px; font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border: none; border-radius: 4px; cursor: pointer;
  transition: transform .25s, box-shadow .25s, filter .25s;
  box-shadow: 0 4px 20px rgba(184,134,58,.25);
  position: relative; overflow: hidden;
  animation: btnPulse 3s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(184,134,58,.25); }
  50% { box-shadow: 0 6px 32px rgba(184,134,58,.45); }
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .5s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,134,58,.4);
  filter: brightness(1.08);
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 12px rgba(184,134,58,.2); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--cream); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.btn-ghost:hover { color: var(--bronze-light); border-color: var(--bronze-light); }
.hero-right {
}
.hero-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  isolation: isolate;
}
.hero-stat-card {
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(184,134,58,.12);
  padding: 28px 24px;
  transition: background .3s, border-color .3s;
  position: relative; display: block; color: inherit; text-decoration: none;
}
.hero-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--bronze), transparent);
  opacity: 0; transition: opacity .3s;
}
.hero-stat-card:hover {
  background: rgba(184,134,58,.06);
  border-color: rgba(184,134,58,.25);
}
.hero-stat-card:hover::before { opacity: 1; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 300;
  color: var(--bronze-light); line-height: 1; margin-bottom: 8px;
}
.hero-stat-num span {
  font-size: 26px; color: var(--bronze); margin-left: 2px;
}
.hero-stat-label {
  font-size: 14px; font-weight: 500; color: var(--cream);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px;
}
.hero-stat-desc {
  font-size: 13px; color: var(--text-muted); letter-spacing: .03em; line-height: 1.5;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ── SECTION BASICS ── */
.section { padding: 80px 80px; max-width: 1400px; margin: 0 auto; }
.section-full { padding: 80px 0; }
.section-label {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; flex: 1; max-width: 48px; height: 1px; background: var(--bronze-dark); }
h2.section-title {
  font-size: clamp(40px, 5vw, 64px); font-weight: 300; color: var(--cream);
  margin-bottom: 40px; max-width: 700px;
}
h2.section-title em { font-style: italic; color: var(--bronze-light); }

/* ── DIVIDER ── */
.divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--bronze-dark), transparent); margin: 0; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-image-wrap { position: relative; }

/* ── ABOUT CAROUSEL ── */
.about-carousel {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(184,134,58,.1);
}
.about-carousel-track {
  display: flex; height: 100%;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
.about-carousel-slide {
  min-width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.88) contrast(1.05);
  cursor: zoom-in;
}

/* Controls bar below image */
.carousel-controls {
  position: absolute; bottom: 0; left: 0;
  display: flex; align-items: center; gap: 0;
  background: rgba(18,14,9,.85); backdrop-filter: blur(8px);
  border-radius: 0 4px 0 0;
}
.carousel-arrow {
  width: 52px; height: 52px;
  background: none; border: none;
  color: var(--bronze-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.carousel-arrow:hover { background: var(--bronze); color: var(--dark); }
.carousel-counter {
  font-family: 'Jost', sans-serif; font-size: 13px;
  letter-spacing: .1em; color: var(--text-muted);
  padding: 0 16px; white-space: nowrap;
}
.carousel-counter .carousel-current { color: var(--cream); font-weight: 400; }

/* Progress bar */
.carousel-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(184,134,58,.15);
}
.carousel-progress-bar {
  height: 100%; background: var(--bronze);
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
  width: 25%;
}
.about-badge {
  position: absolute; top: 28px; left: -28px;
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: var(--dark);
  padding: 20px 24px; text-align: center;
  box-shadow: 0 8px 32px rgba(184,134,58,.3);
}
.about-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 600; line-height: 1; }
.about-badge-text { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.about-text p { color: var(--text-muted); font-size: 18px; line-height: 1.85; margin-bottom: 20px; }
.about-benefits-title {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic;
  color: var(--cream); margin: 36px 0 14px;
  display: flex; align-items: center; gap: 14px;
}
.about-benefits-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, rgba(184,134,58,.4), transparent);
}
.about-benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(184,134,58,.15);
  border: 1px solid rgba(184,134,58,.2);
  margin: 0 0 28px;
}
.about-benefit {
  padding: 18px 20px; background: var(--dark);
  display: flex; flex-direction: column; gap: 6px;
  transition: background .25s;
}
.about-benefit:hover { background: var(--dark2); }
.about-benefit:nth-child(5) {
  grid-column: 1 / -1;
  align-items: center; text-align: center;
}
.about-benefit-icon {
  color: var(--bronze-light); margin-bottom: 4px;
  display: flex; align-items: center;
}
.about-benefit-title {
  font-family: 'Cormorant Garamond', serif; font-size: 18px;
  color: var(--cream); line-height: 1.25; font-weight: 500;
}
.about-benefit-text {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
  align-items: stretch;
}
.about-feature {
  padding: 20px 24px; background: rgba(184,134,58,.05);
  border: 1px solid rgba(184,134,58,.12);
  border-radius: 4px;
  transition: background .3s, border-color .3s, transform .3s;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 92px;
}
.about-feature::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--bronze-light), transparent);
  opacity: 0; transition: opacity .3s;
}
.about-feature:hover {
  background: rgba(184,134,58,.1);
  border-color: rgba(184,134,58,.25);
  transform: translateY(-2px);
}
.about-feature:hover::before { opacity: 1; }
.about-feature-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); margin-bottom: 4px; }
.about-feature-text { font-size: 14px; color: var(--text-muted); }

/* ── AMENITIES (Bento Grid) ── */
.amenities-bg { background: var(--dark2); }
.amenities-bento {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px;
  margin-top: 8px;
}
/* 2 hero cards: each takes half */
.amen-hero:nth-child(1) { grid-column: 1 / 6; }
.amen-hero:nth-child(2) { grid-column: 6 / 11; }
/* 5 small cards: evenly across 10 cols */
.amen-sm:nth-child(3) { grid-column: 1 / 3; }
.amen-sm:nth-child(4) { grid-column: 3 / 5; }
.amen-sm:nth-child(5) { grid-column: 5 / 7; }
.amen-sm:nth-child(6) { grid-column: 7 / 9; }
.amen-sm:nth-child(7) { grid-column: 9 / 11; }

/* ── Card base ── */
.amen-card {
  position: relative; overflow: hidden; border-radius: 8px;
  cursor: pointer;
}
.amen-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55) contrast(1.1);
  transition: transform .6s ease, filter .4s;
}
.amen-card:hover .amen-bg {
  transform: scale(1.06);
  filter: brightness(.7) contrast(1.1);
}
.amen-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
}
.amen-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(184,134,58,.15); border: 1px solid rgba(184,134,58,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--bronze-light); margin-bottom: 14px;
  transition: background .3s, transform .3s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.amen-card:hover .amen-icon {
  background: rgba(184,134,58,.25);
  transform: scale(1.08);
}
.amen-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; color: var(--cream); line-height: 1.15;
}
.amen-desc {
  font-size: 14px; color: var(--cream); line-height: 1.5;
  margin-top: 6px; opacity: .9;
}

/* ── Hero cards (top row, large) ── */
.amen-hero { min-height: 280px; }
.amen-hero .amen-content { padding: 32px; }
.amen-hero .amen-title { font-size: 30px; }
.amen-hero .amen-desc { max-width: 320px; }

/* ── Small cards (bottom row) ── */
.amen-sm { min-height: 200px; }
.amen-sm .amen-content { padding: 24px; }
.amen-sm .amen-title { font-size: 22px; }
.amen-sm .amen-desc { font-size: 13px; }
.amen-sm .amen-icon { width: 40px; height: 40px; }

/* ── SPECS ── */
.specs-wrap { background: var(--bronze); padding: 72px 80px; }
.specs-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.spec-item { text-align: center; }
.spec-num {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(44px, 4.2vw, 60px); font-weight: 300;
  color: var(--dark); line-height: 1;
  white-space: nowrap;
}
.spec-unit { font-size: 22px; margin-left: 4px; }
.spec-label { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dark2); margin-top: 8px; }


/* ── VIEWS ── */
.views-section { background: var(--dark); }
.views-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
}
.views-eyebrow {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze-light); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.views-eyebrow::after { content: ''; flex: 1; max-width: 48px; height: 1px; background: var(--bronze); }
.views-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4vw, 52px);
  font-weight: 300; color: var(--cream); line-height: 1.15;
  margin-bottom: 36px;
}
.views-title em { font-style: italic; color: var(--bronze-light); }
.views-list {
  list-style: none; display: flex; flex-direction: column; gap: 0;
  margin-bottom: 8px;
}
.views-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(184,134,58,.08);
  font-size: 15px; color: var(--cream-dark); line-height: 1.45;
}
.views-list li:first-child { border-top: 1px solid rgba(184,134,58,.08); }
.views-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bronze); opacity: .6;
}

/* Views carousel */
.views-carousel {
  position: relative;
}
.views-carousel-viewport {
  overflow: hidden; border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.35), 0 0 0 1px rgba(184,134,58,.1);
}
.views-carousel-track {
  display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.views-carousel-slide {
  min-width: 100%; position: relative;
}
.views-carousel-slide img {
  width: 100%; height: 420px; object-fit: cover; display: block;
  filter: brightness(.88) contrast(1.08);
  transition: transform .6s ease;
}
.views-carousel-slide:hover img { transform: scale(1.03); }
.views-carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 16px;
}
.views-carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(184,134,58,.1); border: 1px solid rgba(184,134,58,.2);
  color: var(--bronze-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.views-carousel-arrow:hover {
  background: rgba(184,134,58,.2); border-color: var(--bronze);
  transform: scale(1.08);
}
.views-carousel-dots {
  display: flex; gap: 8px; align-items: center;
}
.views-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(184,134,58,.25); border: none; cursor: pointer;
  transition: all .3s; padding: 0;
}
.views-dot.active {
  background: var(--bronze); width: 24px; border-radius: 4px;
}

/* ── MID CTA ── */
.mid-cta {
  background: linear-gradient(135deg, rgba(184,134,58,.08), rgba(184,134,58,.03));
  border-top: 1px solid rgba(184,134,58,.12);
  border-bottom: 1px solid rgba(184,134,58,.12);
  padding: 32px 0;
}
.mid-cta-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mid-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 400;
  color: var(--cream); line-height: 1.3;
}
.mid-cta-sub {
  font-size: 14px; color: var(--cream-dark); margin-top: 4px; opacity: .7;
}
.mid-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--bronze);
  color: var(--dark); font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 4px; white-space: nowrap; flex-shrink: 0;
  transition: background .25s, transform .2s;
  box-shadow: 0 4px 16px rgba(184,134,58,.25);
  animation: btnPulse 3s ease-in-out infinite;
}
.mid-cta-btn:hover {
  background: var(--bronze-light); transform: translateY(-1px);
}

/* ── GALLERY ── */
.gallery-bg { background: var(--dark3); }
.gallery-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; gap: 24px;
}
.gallery-all-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(184,134,58,.2); border-radius: 4px;
  color: var(--bronze-light); font-family: 'Jost', sans-serif;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s;
  white-space: nowrap; flex-shrink: 0;
}
.gallery-all-btn:hover {
  background: rgba(184,134,58,.1); border-color: var(--bronze); color: var(--cream);
}

/* Bento grid: hero left, 5 supporting right */
.gallery-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 520px;
}
.gal-item {
  position: relative; overflow: hidden; border-radius: 6px;
  cursor: zoom-in;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.82) contrast(1.08);
  transition: transform .6s ease, filter .4s;
}
.gal-item:hover img {
  transform: scale(1.05);
  filter: brightness(.95) contrast(1.08);
}

/* Caption — always visible */
.gal-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(to top, rgba(18,14,9,.85) 0%, transparent 100%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; color: var(--cream);
  opacity: 1; transform: translateY(0);
  transition: opacity .3s, transform .3s;
}

/* Hero: spans 2 rows on left */
.gal-hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.gal-hero .gal-caption {
  font-size: 22px; padding: 60px 24px 20px;
}

/* Supporting items */
.gal-a { grid-column: 2; grid-row: 1; }
.gal-b { grid-column: 3; grid-row: 1; }
.gal-c { grid-column: 2; grid-row: 2; }

/* Bottom-right: split into 2 */
.gal-d { grid-column: 3; grid-row: 2; }
.gal-more { grid-column: 3; grid-row: 2; display: none; }

/* Redo: 4 cols for better layout */
.gallery-bento {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.gal-hero { grid-column: 1 / 2; grid-row: 1 / 3; }
.gal-a { grid-column: 2; grid-row: 1; }
.gal-b { grid-column: 3; grid-row: 1; }
.gal-c { grid-column: 2; grid-row: 2; }
.gal-d { grid-column: 3; grid-row: 2; }
.gal-more {
  grid-column: 4; grid-row: 1 / 3;
  display: block;
}

/* "More" overlay */
.gal-more-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  background: rgba(18,14,9,.6); backdrop-filter: blur(3px);
  color: var(--cream); transition: background .3s;
}
.gal-more-overlay span {
  font-family: 'Jost', sans-serif; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
}
.gal-more:hover .gal-more-overlay {
  background: rgba(184,134,58,.25);
}
.gal-more:hover img {
  transform: scale(1.05);
}

/* ── APARTMENTS ── */
.apt-hero-3d {
  display: grid; grid-template-columns: 1fr 1.4fr;
  align-items: end; gap: 32px;
  margin-bottom: 56px; min-height: 400px;
  overflow: visible;
}
.apt-hero-3d-text {
  padding-bottom: 24px;
}
.apt-hero-3d-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 2.8vw, 36px); font-weight: 300;
  color: var(--cream); line-height: 1.25;
  margin-bottom: 32px;
}
.apt-hero-3d-big {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 32px;
}
.apt-hero-3d-num-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(72px, 8vw, 100px); font-weight: 300;
  color: var(--bronze); line-height: .85;
}
.apt-hero-3d-num-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2vw, 24px); font-weight: 300;
  color: var(--cream-dark); line-height: 1.3;
}
.apt-hero-3d-stats {
  display: flex; gap: 24px;
}
.apt-hero-3d-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px;
  background: rgba(184,134,58,.06); border-radius: 8px;
  border: 1px solid rgba(184,134,58,.08);
}
.apt-hero-3d-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--bronze-light);
  line-height: 1.1;
}
.apt-hero-3d-desc {
  font-size: 11px; color: var(--cream-dark); opacity: .6;
  text-transform: uppercase; letter-spacing: .1em;
}
.apt-hero-3d-visual {
  position: relative; align-self: stretch;
  display: flex; align-items: flex-end; justify-content: center;
  margin-bottom: -40px;
}
.apt-hero-3d-visual img {
  width: 110%; max-width: 700px;
  filter: drop-shadow(0 32px 56px rgba(0,0,0,.4));
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.apt-hero-3d:hover .apt-hero-3d-visual img {
  transform: translateY(-6px) scale(1.02);
}
.apts-tabs {
  display: flex; gap: 0; margin-bottom: 48px;
  border-bottom: 1px solid rgba(184,134,58,.2);
  position: relative;
}
.apts-tabs-indicator {
  position: absolute; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--bronze), var(--bronze-light));
  transition: left .35s cubic-bezier(.4, 0, .2, 1), width .35s cubic-bezier(.4, 0, .2, 1);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(184,134,58,.4);
}
.apt-tab {
  padding: 14px 28px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); cursor: pointer; background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .3s, background .3s;
  position: relative;
}
.apt-tab.active { color: var(--bronze-light); border-bottom-color: transparent; }
.apt-tab:hover { color: var(--cream); background: rgba(184,134,58,.05); }
.apt-panel {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  visibility: hidden; height: 0; overflow: hidden;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
}
.apt-panel.active {
  visibility: visible; height: auto; overflow: visible;
  opacity: 1; transform: translateY(0);
}
.apt-panel.active .apt-card {
  animation: cardFadeIn .45s ease both;
}
.apt-panel.active .apt-card:nth-child(1) { animation-delay: 0s; }
.apt-panel.active .apt-card:nth-child(2) { animation-delay: .04s; }
.apt-panel.active .apt-card:nth-child(3) { animation-delay: .08s; }
.apt-panel.active .apt-card:nth-child(4) { animation-delay: .12s; }
.apt-panel.active .apt-card:nth-child(5) { animation-delay: .16s; }
.apt-panel.active .apt-card:nth-child(6) { animation-delay: .20s; }
.apt-panel.active .apt-card:nth-child(7) { animation-delay: .24s; }
.apt-panel.active .apt-card:nth-child(8) { animation-delay: .28s; }
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.apt-card {
  background: linear-gradient(165deg, rgba(34,30,21,.95), rgba(24,21,15,.98));
  border: 1px solid rgba(184,134,58,.08);
  border-radius: 6px;
  padding: 24px; cursor: pointer;
  transition: border-color .35s, transform .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.apt-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--bronze-light), transparent);
  opacity: 0; transition: opacity .35s;
}
.apt-card:hover {
  border-color: rgba(184,134,58,.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.4), 0 0 0 1px rgba(184,134,58,.15);
}
.apt-card:hover::before { opacity: 1; }
.apt-card img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: rgba(30,26,18,.8); margin-bottom: 18px;
  border-radius: 4px;
  transition: transform .4s ease;
}
.apt-card:hover img { transform: scale(1.03); }
.apt-card.duplex img { aspect-ratio: 4/5; }
.apt-area {
  font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--cream);
  padding-bottom: 4px;
}
.apt-area span { font-size: 15px; color: var(--text-muted); }

/* ── CTA BUTTON (conversion-focused) ── */
.apt-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px; padding: 13px 16px;
  background: linear-gradient(135deg, var(--bronze), var(--bronze-dark));
  border: none; border-radius: 4px;
  color: var(--dark); font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, filter .25s;
  box-shadow: 0 4px 16px rgba(184,134,58,.2);
  animation: btnPulse 3s ease-in-out infinite;
}
.apt-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}
.apt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,58,.35);
  filter: brightness(1.1);
}
.apt-btn:hover::before { left: 100%; }
.apt-btn:active { transform: translateY(0); }

/* arrow icon after text */
.apt-btn::after {
  content: '→'; font-size: 14px; transition: transform .25s;
}
.apt-btn:hover::after { transform: translateX(3px); }

/* ── FLOOR PLANS ── */
.floorplans-bg { background: var(--dark2); border-radius: 6px; overflow: hidden; }
.floorplans-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
.floorplan-item {
  position: relative; overflow: hidden; background: #1A1610; cursor: zoom-in;
  transition: z-index 0s;
}
.floorplan-item img { width: 100%; transition: transform .5s, filter .4s; filter: brightness(.95); }
.floorplan-item:hover img { transform: scale(1.04); filter: brightness(1); }
.floorplan-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px; background: linear-gradient(to top, rgba(18,14,9,.92), transparent);
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--cream);
}

/* ── CONSTRUCTION ── */
.construction-timeline {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 48px;
}
.cons-item {
  position: relative; overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(184,134,58,.14);
  background: var(--dark2);
  transition: transform .35s cubic-bezier(.4,0,.2,1), border-color .35s, box-shadow .35s;
}
.cons-item:hover {
  transform: translateY(-6px);
  border-color: rgba(184,134,58,.4);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.cons-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
}
.cons-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.82) contrast(1.08);
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .35s;
}
.cons-item:hover .cons-media img {
  transform: scale(1.07);
  filter: brightness(1) contrast(1.1);
}
.cons-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,14,9,.92) 0%, rgba(18,14,9,.15) 45%, transparent 70%);
  pointer-events: none;
}

/* Карточка-заглушка «Фото скоро» */
.cons-item-soon {
  border-style: dashed;
  border-color: rgba(184,134,58,.28);
}
.cons-item-soon .cons-media {
  background:
    repeating-linear-gradient(45deg, rgba(184,134,58,.05) 0 16px, transparent 16px 32px),
    var(--dark3);
}
.cons-item-soon .cons-media::after { display: none; }
.cons-soon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--bronze-light);
}
.cons-soon span {
  font-family: 'Cormorant Garamond', serif; font-size: 17px;
  letter-spacing: .04em; font-style: italic;
}

/* Иконка увеличения — подсказка кликабельности */
.cons-zoom {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  background: rgba(18,14,9,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(184,134,58,.3);
  border-radius: 50%;
  opacity: 0; transform: scale(.8);
  transition: opacity .3s, transform .3s;
}
.cons-item:not(.cons-item-soon):hover .cons-zoom {
  opacity: 1; transform: scale(1);
}

/* Подпись месяца */
.cons-label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 18px 18px 16px;
}
.cons-month {
  font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--cream);
  display: flex; align-items: center; gap: 10px;
}
.cons-month::before {
  content: ''; width: 22px; height: 2px; background: var(--bronze);
  flex-shrink: 0;
}

/* Бейдж «Актуально» */
.cons-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bronze); color: var(--dark);
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 20px;
  box-shadow: 0 4px 14px rgba(184,134,58,.4);
}
.cons-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--dark);
  animation: consPulse 1.8s ease-in-out infinite;
}
@keyframes consPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .3; transform: scale(.7); }
}

/* ── FINANCE ── */
.finance-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.finance-card {
  background: var(--dark2); border: 1px solid rgba(184,134,58,.12);
  padding: 36px 32px;
}
.finance-card.featured { background: var(--bronze); border-color: transparent; }
.finance-rate {
  font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300;
  color: var(--dark); line-height: 1; margin-bottom: 8px;
}
.finance-rate-light { color: var(--bronze-light); }
.finance-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--cream); margin-bottom: 12px; }
.finance-card.featured .finance-title { color: var(--dark); }
.finance-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.finance-card.featured .finance-text { color: var(--dark2); }
.finance-type { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: 12px; }
.finance-card.featured .finance-type { color: var(--dark); opacity: .7; }
.finance-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px; padding: 13px 24px;
  background: var(--bronze); color: var(--dark);
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  border: none; cursor: pointer; width: 100%;
  transition: background .25s, transform .2s;
}
.finance-btn:hover { background: var(--bronze-light); transform: translateY(-1px); }

/* ── DEVELOPER ── */
.developer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.dev-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.dev-stat { padding: 24px; border: 1px solid rgba(184,134,58,.15); }
.dev-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; color: var(--bronze-light); line-height: 1; }
.dev-stat-text { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
.dev-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: brightness(.8) contrast(1.1); }

/* ── CTA BANNER ── */
.cta-banner {
  position: relative; overflow: hidden;
  min-height: 680px; display: flex; align-items: center;
}
.cta-bg {
  position: absolute; inset: 0;
  background-image: url('/wp-content/themes/rivera/uploads/2025/11/bg-qz-t1.jpg');
  background-size: cover; background-position: center;
  filter: brightness(.25) contrast(1.15);
}
.cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,134,58,.15) 0%, transparent 50%);
}
.cta-content {
  position: relative; z-index: 2;
  padding: 100px 80px;
  max-width: 1400px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center;
}
.cta-left h2 {
  font-size: clamp(44px, 5.5vw, 72px); font-weight: 300; color: var(--cream);
  margin-bottom: 24px; line-height: 1.1;
}
.cta-left p { font-size: 18px; color: var(--cream-dark); max-width: 460px; line-height: 1.8; }
.cta-form-wrap {
  background: rgba(255,255,255,.04); backdrop-filter: blur(12px);
  border: 1px solid rgba(184,134,58,.2);
  padding: 40px 36px;
}
.cta-form-title {
  font-family: 'Cormorant Garamond', serif; font-size: 28px;
  color: var(--cream); margin-bottom: 24px; font-weight: 400;
}
.cta-form { display: flex; flex-direction: column; gap: 16px; }
.cta-form input {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(184,134,58,.25);
  color: var(--cream); padding: 18px 22px; font-family: 'Jost', sans-serif; font-size: 16px;
  outline: none; transition: border-color .25s, background .25s;
}
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form input:focus { border-color: var(--bronze); background: rgba(184,134,58,.06); }
.cta-form .btn-primary {
  width: 100%; justify-content: center; padding: 18px;
  font-size: 14px; letter-spacing: .14em;
}
.cta-manager {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: rgba(255,255,255,.04); backdrop-filter: blur(12px);
  border: 1px solid rgba(184,134,58,.2);
  margin-top: 8px;
}
.cta-manager img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bronze); }
.cta-manager-info strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--cream); }
.cta-manager-info span { font-size: 15px; color: var(--cream-dark); }
.cta-consent {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.cta-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; min-width: 16px; min-height: 16px;
  max-width: 16px; max-height: 16px;
  flex-shrink: 0; padding: 0; margin: 0;
  border: 1px solid rgba(184,134,58,.3); background: rgba(255,255,255,.06);
  border-radius: 2px;
  cursor: pointer; position: relative; transition: border-color .2s, background .2s;
}
.cta-consent input[type="checkbox"]:checked {
  background: var(--bronze); border-color: var(--bronze);
}
.cta-consent input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid var(--dark); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.cta-consent a { color: var(--bronze-light); border-bottom: 1px solid rgba(184,134,58,.3); }
.cta-consent a:hover { color: var(--cream); }
.cta-disclaimer { font-size: 12px; color: var(--text-muted); opacity: .6; margin-top: 10px; }
.cta-success {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; background: rgba(184,134,58,.1);
  border: 1px solid rgba(184,134,58,.25);
  font-size: 16px; color: var(--cream); line-height: 1.5;
}
.cta-form.submitted input,
.cta-form.submitted .btn-primary,
.cta-form.submitted .cta-consent,
.cta-form.submitted .cta-disclaimer { display: none; }
.cta-form input.error { border-color: #c44; }
.cta-form .error-msg {
  font-size: 12px; color: #e57; margin-top: -10px;
}
.cta-phone-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif; font-size: 32px;
  color: var(--bronze-light); margin-top: 28px;
  transition: color .2s;
}
.cta-phone-link:hover { color: var(--cream); }
.cta-phone-link svg { flex-shrink: 0; }

/* ── MAP ── */
.map-section { padding: 0; }
.map-iframe-wrap { position: relative; }
.map-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; cursor: pointer; }
.map-overlay.active { display: none; }
.map-iframe-wrap iframe { width: 100%; height: 420px; border: none; display: block; filter: grayscale(.5) contrast(1.1) brightness(.75); transition: filter .3s; }
.map-fullscreen-btn {
  position: absolute; bottom: 12px; right: 12px; z-index: 20;
  width: 40px; height: 40px; background: rgba(20,20,18,.85); color: var(--cream);
  border: 1px solid rgba(184,134,58,.3); cursor: pointer; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.map-fullscreen-btn:hover { background: var(--bronze); color: var(--dark); border-color: var(--bronze); }

/* Map modal overlay */
.map-modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.8); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  padding: 0; opacity: 0; transition: opacity .3s;
}
.map-modal.open { display: flex; }
.map-modal.visible { opacity: 1; }
.map-modal-inner {
  position: relative; width: 100%; height: 100%;
  border: none; overflow: hidden;
}
.map-modal-inner iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.map-modal-close {
  position: absolute; bottom: 16px; right: 16px; z-index: 10;
  width: 44px; height: 44px; background: rgba(20,20,18,.9); color: var(--cream);
  border: 1px solid rgba(184,134,58,.3); cursor: pointer; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: background .2s, border-color .2s;
}
.map-modal-close:hover { background: var(--bronze); color: var(--dark); border-color: var(--bronze); }
.map-bar {
  background: var(--dark2); padding: 32px 80px;
  display: flex; gap: 60px; align-items: center; justify-content: center;
  border-top: 1px solid rgba(184,134,58,.15);
}
.map-point { text-align: center; }
.map-point-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--cream); }
.map-point-dist { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.map-sep { width: 1px; height: 48px; background: rgba(184,134,58,.2); }

/* ── POPUP FORM ── */
.popup-form-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.popup-form-overlay.open { display: flex; }
.popup-form-overlay.visible { opacity: 1; }
.popup-form-modal {
  position: relative; width: 90%; max-width: 420px;
  background: var(--dark2); border: 1px solid rgba(184,134,58,.15);
  border-radius: 12px; padding: 40px 32px;
  transform: translateY(20px) scale(.97);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
}
.popup-form-overlay.visible .popup-form-modal {
  transform: translateY(0) scale(1);
}
.popup-form-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(184,134,58,.2);
  color: var(--cream-dark); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.popup-form-close:hover { background: rgba(184,134,58,.15); color: var(--cream); }
.popup-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--cream); margin-bottom: 8px;
}
.popup-form-sub {
  font-size: 14px; color: var(--cream-dark); opacity: .7; margin-bottom: 24px;
}
.popup-form input[type="text"],
.popup-form input[type="tel"] {
  width: 100%; padding: 14px 16px; margin-bottom: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(184,134,58,.15);
  border-radius: 6px; color: var(--cream); font-family: 'Jost', sans-serif;
  font-size: 15px; outline: none; transition: border-color .2s;
}
.popup-form input:focus { border-color: var(--bronze); }
.popup-form input::placeholder { color: var(--text-muted); }
.popup-form .cta-consent { margin-bottom: 16px; }
.popup-form-success {
  text-align: center; padding: 24px 0;
  font-size: 16px; color: var(--cream-dark); line-height: 1.6;
}
.popup-form-success svg { margin: 0 auto 12px; display: block; }

/* ── FOOTER DISCLAIMER (мелкий текст условий в подвале) ── */
.footer-disclaimer {
  max-width: 1400px; margin: 0 auto; padding: 28px 0 4px;
  border-top: 1px solid rgba(184,134,58,.1);
  scroll-margin-top: 96px;
}
.footer-disclaimer-title {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 10px;
}
.footer-disclaimer-text {
  font-size: 11.5px; line-height: 1.7; color: var(--text-muted);
  opacity: .85; margin: 0; max-width: 1100px;
}
.footer-disclaimer-text a {
  color: var(--bronze-light); text-decoration: underline; word-break: break-word;
}
:target.footer-disclaimer .footer-disclaimer-title { color: var(--bronze-light); }

/* ── FOOTER ── */
footer {
  background: var(--dark); padding: 56px 80px 32px;
  border-top: 1px solid rgba(184,134,58,.12);
}
.footer-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; }
.footer-logo img { height: 48px; margin-bottom: 16px; }
.footer-tagline { font-size: 15px; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; color: var(--text-muted); margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--bronze-light); }
.footer-phone { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--cream); margin-bottom: 8px; }
.footer-hours { font-size: 14px; color: var(--text-muted); }
.footer-address { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-top: 12px; }
.footer-bottom {
  max-width: 1400px; margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(184,134,58,.1);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-legal { font-size: 13px; color: var(--text-muted); opacity: .5; line-height: 1.7; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); opacity: .6; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-vk { display: inline-flex; align-items: center; transition: color .2s, opacity .2s; }
.footer-vk:hover { color: var(--bronze-light); opacity: 1; }

/* ── DOCS SECTION ── */
.docs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
a.doc-item { text-decoration: none; color: inherit; }
.doc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; background: var(--dark2);
  border: 1px solid rgba(184,134,58,.1);
  transition: border-color .25s;
}
.doc-item:hover { border-color: var(--bronze); }
.doc-icon { width: 40px; height: 40px; flex-shrink: 0; opacity: .8; }
.doc-name { font-size: 16px; color: var(--cream); }
.doc-size { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.doc-arrow { margin-left: auto; color: var(--bronze-light); font-size: 18px; }

/* ── MOBILE MENU BTN ── */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--cream); margin: 5px 0; transition: all .3s; }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 101;
  background: rgba(18,14,9,.98);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300;
  color: var(--cream); padding: 12px 0; letter-spacing: .04em;
  border-bottom: 1px solid rgba(184,134,58,.1); width: 220px; text-align: center;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--bronze-light); }
.mobile-menu-phone {
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--bronze-light);
  margin-top: 24px; letter-spacing: .03em;
}
.mobile-menu-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--text-muted); line-height: 1;
  padding: 12px; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.mobile-menu-close:hover { color: var(--cream); }

/* ── ANIM UTILITY ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(10,8,5,.96); backdrop-filter: blur(20px);
  align-items: center; justify-content: center;
  cursor: zoom-out; opacity: 0; transition: opacity .3s ease;
  flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox.visible { opacity: 1; }
.lightbox-inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw; max-height: 88vh;
  transform: scale(.92); transition: transform .35s ease;
}
.lightbox.visible .lightbox-inner { transform: scale(1); }
.lightbox-inner img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border: 1px solid rgba(184,134,58,.15);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lightbox-caption {
  width: 100%; padding: 20px 0 0;
  text-align: center;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s .15s, transform .4s .15s;
}
.lightbox.visible .lightbox-caption { opacity: 1; transform: none; }
.lightbox-caption:empty, .lightbox-caption:not(:has(.lightbox-caption-title:not(:empty))) { display: none; }
.lightbox-caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400; color: var(--cream);
  line-height: 1.3;
}
.lightbox-caption-desc {
  font-size: 15px; color: var(--text-muted);
  margin-top: 6px; letter-spacing: .03em;
}
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 32px; line-height: 1;
  transition: color .2s; z-index: 2;
}
.lightbox-close:hover { color: var(--cream); }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(20,20,18,.6); border: 1px solid rgba(184,134,58,.2);
  color: var(--cream); cursor: pointer; width: 48px; height: 48px;
  display: none; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s; z-index: 2; backdrop-filter: blur(4px);
}
.lightbox-arrow.active { display: flex; }
.lightbox-arrow:hover { background: var(--bronze); color: var(--dark); border-color: var(--bronze); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute; bottom: 52px; left: 50%; transform: translateX(-50%);
  font-family: 'Jost', sans-serif; font-size: 14px; color: var(--text-muted);
  letter-spacing: .1em; display: none;
}
.lightbox-counter.active { display: block; }
.lightbox-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 13px; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase;
  opacity: .5;
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; background: var(--bronze);
  width: 0%; transition: width .1s linear;
}

/* ══════════════════════════════════════════
   TABLET  ≤ 1280px
══════════════════════════════════════════ */
@media (max-width: 1360px) {
  .section { padding: 72px 48px; }
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
  .nav-vk { display: none; }
  .nav-phone { font-size: 16px; }
  .nav-cta { padding: 9px 18px; font-size: 11px; }

  .hero-content { padding: 0 48px 72px; gap: 40px; }
  h1.hero-title { font-size: 112px; }
  .hero-tagline { font-size: 22px; margin-bottom: 32px; }
  .hero-stat-num { font-size: 44px; }
  .hero-stat-card { padding: 22px 20px; }

  .about-grid { gap: 48px; }
  .about-image-accent { width: 44%; }

  .amenities-bento { gap: 12px; }
  .amen-hero { min-height: 240px; }
  .amen-sm { min-height: 180px; }

  .specs-wrap { padding: 56px 48px; }
  .specs-inner { gap: 24px; }
  .spec-num { font-size: 52px; }

  .gallery-bento { height: 440px; }

  .apt-panel { grid-template-columns: repeat(3,1fr); }

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

  .construction-timeline { grid-template-columns: repeat(3,1fr); }

  .finance-grid { grid-template-columns: 1fr 1fr; }
  .finance-card.featured { grid-column: span 2; }

  .developer-grid { gap: 48px; }

  .cta-content { padding: 72px 48px; gap: 48px; }
  .cta-form-wrap { padding: 32px 28px; }

  .map-bar { padding: 28px 40px; gap: 32px; }

  footer { padding: 48px 48px 28px; }
  .footer-inner { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ══════════════════════════════════════════
   MOBILE  ≤ 768px
══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* — NAV MOBILE — */
  nav { padding: 0 20px; height: 64px; }
  .nav-logo img { height: 52px; }
  .nav-right { display: none; }

  /* — SECTION PADDING — */
  .section { padding: 56px 20px; }
  .section-full { padding: 56px 0; }
  .gallery-top { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* — SECTION TITLE — */
  h2.section-title { font-size: clamp(32px, 8vw, 44px); margin-bottom: 28px; }

  /* — HERO — */
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .hero-stat-card { padding: 20px 16px; }
  .hero-stat-num { font-size: 38px; }
  .hero-stat-num span { font-size: 20px; }
  .hero-stat-label { font-size: 12px; }
  .hero-stat-desc { font-size: 11px; }
  .hero-content {
    grid-template-columns: 1fr; gap: 0;
    padding: 0 20px 60px;
  }
  h1.hero-title { font-size: clamp(80px, 22vw, 112px); margin-bottom: 16px; }
  .hero-tagline { font-size: 18px; margin-bottom: 24px; max-width: 100%; }
  .hero-address { font-size: 13px; margin-bottom: 28px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-primary { width: 100%; justify-content: center; text-align: center; }
  .hero-right { margin-top: 28px; }

  /* — ABOUT — */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { order: 0; }
  .carousel-arrow { width: 44px; height: 44px; }
  .about-badge { top: 16px; left: 16px; padding: 14px 18px; }
  .about-badge-num { font-size: 36px; }
  .about-features { grid-template-columns: 1fr; gap: 10px; }
  .about-benefits { grid-template-columns: 1fr; }
  .about-benefit:nth-child(5) { grid-column: auto; }

  /* — AMENITIES — */
  .amenities-bento {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .amen-hero:nth-child(1) { grid-column: 1 / -1; }
  .amen-hero:nth-child(2) { grid-column: 1 / -1; }
  .amen-sm:nth-child(3) { grid-column: 1 / 2; }
  .amen-sm:nth-child(4) { grid-column: 2 / 3; }
  .amen-sm:nth-child(5) { grid-column: 1 / 2; }
  .amen-sm:nth-child(6) { grid-column: 2 / 3; }
  .amen-sm:nth-child(7) { grid-column: 1 / -1; }
  .amen-hero { min-height: 220px; }
  .amen-sm { min-height: 180px; }
  .amen-hero .amen-content { padding: 24px; }
  .amen-hero .amen-title { font-size: 24px; }
  .amen-sm .amen-content { padding: 18px; }
  .amen-sm .amen-title { font-size: 18px; }

  /* — SPECS — */
  .specs-wrap { padding: 40px 20px; }
  .specs-inner { grid-template-columns: repeat(2,1fr); gap: 0; }
  .spec-item {
    padding: 24px 12px;
    border-bottom: 1px solid rgba(18,14,9,.15);
  }
  .spec-item:nth-child(odd) { border-right: 1px solid rgba(18,14,9,.15); }
  .spec-item:nth-child(even) { border-right: none; }
  .spec-num { font-size: 44px; }

  /* — VIEWS — */
  .views-grid { grid-template-columns: 1fr; gap: 36px; }
  .views-title { font-size: clamp(28px, 7vw, 38px); margin-bottom: 24px; }
  .views-list li { font-size: 14px; padding: 8px 0 8px 16px; }
  .mid-cta-inner { flex-direction: column; text-align: center; }
  .mid-cta-btn { width: 100%; justify-content: center; }
  .views-carousel-slide img { height: 280px; }

  /* — GALLERY — */
  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto; gap: 4px;
  }
  .gal-hero { grid-column: 1 / -1; grid-row: 1; height: 240px; }
  .gal-a { grid-column: 1; grid-row: 2; height: 180px; }
  .gal-b { grid-column: 2; grid-row: 2; height: 180px; }
  .gal-c { grid-column: 1; grid-row: 3; height: 180px; }
  .gal-d { grid-column: 2; grid-row: 3; height: 180px; }
  .gal-more { display: none; }
  .gallery-all-btn { display: inline-flex; }

  /* — APARTMENTS — */
  .apt-hero-3d { grid-template-columns: 1fr; min-height: auto; }
  .apt-hero-3d-visual { margin-bottom: 0; }
  .apt-hero-3d-visual img { width: 100%; }
  .apt-hero-3d-big { margin-bottom: 24px; }
  .apt-hero-3d-stats { flex-wrap: wrap; gap: 8px; }
  .apt-hero-3d-stat { flex: 1; min-width: 90px; }
  .apts-tabs {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 0;
    border-bottom: 1px solid rgba(184,134,58,.2);
  }
  .apts-tabs::-webkit-scrollbar { display: none; }
  .apt-tab { white-space: nowrap; padding: 12px 18px; font-size: 11px; flex-shrink: 0; }
  .apt-panel { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .apt-card { padding: 18px; }
  .apt-card img { height: auto; }
  .apt-card:hover { transform: translateY(-4px); }

  /* — FLOOR PLANS — */
  .floorplans-grid { grid-template-columns: 1fr; gap: 2px; }
  .floorplan-label { font-size: 16px; }

  /* — CONSTRUCTION — */
  .construction-timeline { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .cons-month { font-size: 16px; }
  .cons-step { min-width: 30px; height: 30px; font-size: 14px; top: 10px; left: 10px; }
  .cons-badge { top: 10px; right: 10px; }

  /* — FINANCE — */
  .finance-grid { grid-template-columns: 1fr; gap: 12px; }
  .finance-card.featured { grid-column: span 1; }
  .finance-card { padding: 28px 24px; }
  .finance-rate { font-size: 48px; }
  .finance-title { font-size: 20px; }

  /* — DEVELOPER — */
  .developer-grid { grid-template-columns: 1fr; gap: 36px; }
  .dev-image { aspect-ratio: 16/9; }
  .dev-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dev-stat { padding: 18px; }
  .dev-stat-num { font-size: 36px; }

  /* — DOCS — */
  .docs-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }

  /* — CTA — */
  .cta-content { grid-template-columns: 1fr; gap: 40px; padding: 56px 20px; }
  .cta-left h2 { font-size: clamp(34px, 9vw, 52px); }
  .cta-left p { max-width: 100%; font-size: 16px; }
  .cta-manager { flex-direction: row; padding: 16px; }
  .cta-form-wrap { padding: 28px 20px; }
  .cta-phone-link { font-size: 26px; }

  /* — MAP — */
  .map-iframe-wrap iframe { height: 300px; }
  .map-bar {
    padding: 20px 16px; gap: 0;
    display: grid; grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  .map-sep { display: none; }
  .map-point { padding: 14px 8px; border-bottom: 1px solid rgba(184,134,58,.1); }
  .map-point:nth-of-type(odd) { border-right: 1px solid rgba(184,134,58,.1); }
  .map-point:nth-of-type(even) { border-right: none; }
  .map-point-name { font-size: 16px; }

  /* — FOOTER — */
  footer { padding: 40px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo img { height: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 10px; }

  /* — DIVIDER — */
  .divider { display: none; }
}

/* ══════════════════════════════════════════
   SMALL MOBILE  ≤ 420px
══════════════════════════════════════════ */
@media (max-width: 420px) {
  h1.hero-title { font-size: 80px; }
  .hero-tagline { font-size: 16px; }
  .hero-eyebrow { font-size: 10px; }

  .apt-panel { grid-template-columns: 1fr; }
  .apt-tab { padding: 10px 14px; font-size: 10px; }

  .construction-timeline { grid-template-columns: 1fr; }

  .specs-inner { grid-template-columns: repeat(2,1fr); }
  .spec-num { font-size: 38px; }

  .gal-hero { height: 200px; }

  .about-carousel { aspect-ratio: 3/2; }
  .carousel-arrow { width: 40px; height: 40px; }

  .views-title { font-size: 28px; }

  .map-bar { grid-template-columns: 1fr; }
  .map-point:nth-of-type(odd) { border-right: none; }
  .map-point:nth-of-type(even) { border-right: none; }
}