:root {
  --bg: #f0f1ef;
  --bg-soft: #f7f8f5;
  --card: #fbfcf8;
  --text: #22231f;
  --muted: #586056;
  --line: #d0d5cd;
  --accent: #e37f44;
  --accent-2: #ee9865;
  --accent-deep: #a65425;
  --olive: #4f5c4e;
  --shadow: 0 16px 34px rgba(34, 35, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: radial-gradient(circle at 8% 0%, #fbfcf8 0%, transparent 38%),
    radial-gradient(circle at 100% 0%, #e8ebe5 0%, transparent 28%),
    linear-gradient(160deg, #f1f3ef 0%, #eef0ec 50%, #f6f7f4 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

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

.ambient {
  position: fixed;
  z-index: -2;
  width: 42vw;
  height: 42vw;
  filter: blur(72px);
  opacity: 0.28;
  pointer-events: none;
}

.ambient-a {
  top: -12vw;
  right: -14vw;
  background: radial-gradient(circle, rgba(227, 127, 68, 0.1) 0%, transparent 64%);
}

.ambient-b {
  bottom: -20vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(79, 92, 78, 0.16) 0%, transparent 64%);
}

.topbar,
main,
.footer {
  width: min(1520px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  margin-top: 14px;
  border: 1px solid var(--line);
  background: rgba(250, 248, 241, 0.94);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(42, 45, 39, 0.06);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-lunaya-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  line-height: 1;
}

.logo-lunaya-main {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: #1f221e;
}

.logo-lunaya-sub {
  margin-top: -2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.logo-novastar {
  width: 66px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.mobile-socials {
  display: none !important;
  align-items: center;
  gap: 8px;
}

.mobile-social {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8f6f0;
  color: #30342d;
}

.mobile-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.phone-link,
.social-link {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 12px;
  background: #f8f6f0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.phone-link:hover,
.social-link:hover {
  background: #f0efe8;
  transform: translateY(-1px);
}

.topbar-social {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2d312b;
}

.topbar-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.topbar-social svg path {
  fill: currentColor;
}

.btn {
  border: 0;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 24px;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #111;
  background: linear-gradient(120deg, var(--accent-2) 0%, var(--accent) 100%);
  border: 1px solid #1b1b1b;
  box-shadow: 0 12px 26px rgba(142, 77, 33, 0.2);
}

.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
}

.topbar .btn-outline {
  color: #111;
  border: 1px solid #1b1b1b;
  background: linear-gradient(120deg, var(--accent-2) 0%, var(--accent) 100%);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fffdf7;
}

.btn-hero {
  width: min(100%, 360px);
  min-height: 58px;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 700;
  text-transform: none;
}

main {
  padding: 14px 0 56px;
}

section {
  margin: 14px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  align-items: start;
}

.hero-content {
  background: linear-gradient(165deg, #fbfcf8, #f4f6f1);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 11px;
  border-radius: 6px;
  background: #edf1e9;
  border: 1px solid #ced5c8;
  color: var(--olive);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(30px, 3.2vw, 54px);
  letter-spacing: -0.01em;
  line-height: 1.03;
}

h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(28px, 2.4vw, 36px);
}

.lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.4;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-slide {
  margin: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
}

.stats {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 10px 10px;
  border: 1px solid #d5d9d1;
  border-radius: 10px;
  background: #fafbf7;
}

.stat span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--olive);
  font-size: clamp(16px, 1.35vw, 22px);
}

.stat p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.utp,
.collection,
.investment,
.plan,
.location,
.cta,
.gallery {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  background: linear-gradient(170deg, #fafbf7, #f2f4ef);
  box-shadow: var(--shadow);
}

.utp-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.utp-grid article {
  border-radius: 10px;
  border: 1px solid #d5d9d1;
  background: #fafbf7;
  padding: 20px;
}

.utp-cta-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.utp-cta-btn {
  width: min(100%, 360px);
  min-height: 58px;
  font-size: 22px;
}

.utp-grid p {
  margin-top: 10px;
  line-height: 1.55;
  color: var(--muted);
}

.collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.collection-head p {
  margin: 0;
  color: var(--muted);
}

.collection-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.type-card {
  padding: 14px 14px 18px;
  border-radius: 10px;
  border: 1px solid #d5d9d1;
  background: #fafbf7;
}

.type-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d6dad2;
  margin-bottom: 14px;
}

.type-card h3 {
  font-size: clamp(28px, 2vw, 36px);
  margin-top: 2px;
}

.type-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.type-meta {
  font-size: 15px;
}

.type-price {
  font-weight: 600;
  color: var(--olive);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.gallery-header p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
}

.slider {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d8d4c8;
  background: #f0eee6;
}

.slides {
  min-height: 560px;
}

.slide {
  margin: 0;
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
  animation: fadeSlide 0.45s ease;
}

.slide-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  min-height: 560px;
}

.slide img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #ecefe8;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #d4d1c5;
  background: rgba(248, 246, 239, 0.9);
  color: #4f5449;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.slider-btn:hover {
  background: rgba(241, 239, 232, 0.95);
}

.slider-btn.prev {
  left: 12px;
}

.slider-btn.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(88, 97, 79, 0.25);
  cursor: pointer;
}

.dot.active {
  width: 26px;
  background: var(--olive);
}

.mobile-scroll-slider {
  position: relative;
}

.scroll-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #d4d1c5;
  background: rgba(248, 246, 239, 0.92);
  color: #4f5449;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.scroll-arrow.prev {
  left: 8px;
}

.scroll-arrow.next {
  right: 8px;
}

.investment-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.investment-grid article {
  border: 1px solid #e0c9a8;
  border-radius: 15px;
  padding: 18px;
  background: #fffcf6;
}

.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--olive);
}

.investment-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.plan-line {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.step {
  border-radius: 16px;
  border: 1px solid #dcc19b;
  padding: 24px;
  background: #fffdf8;
  text-align: center;
}

.step span {
  font-size: clamp(36px, 5vw, 52px);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--olive);
}

.step p {
  margin: 6px 0 0;
  color: var(--muted);
}

.location p {
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.6;
  margin: 0 0 8px;
}

.location-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.location-card {
  border: 1px solid #d5d9d1;
  border-radius: 10px;
  overflow: hidden;
  background: #fffcf6;
}

.location-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.location-card p {
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 15px;
  line-height: 1.35;
  color: #4c5147;
}

.cta {
  text-align: center;
}

.cta p {
  color: var(--muted);
}

.cta-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr auto;
}

.cta-form input {
  width: 100%;
  background: #fcfaf4;
  border: 1px solid #d5d1c6;
  color: var(--text);
  border-radius: 3px;
  padding: 13px 16px;
  font: inherit;
}

.cta-form input::placeholder {
  color: #8f9486;
}

.cta-contacts {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-contact-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cta-contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.cta-success {
  min-height: 24px;
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--olive);
}

.cta-consent {
  margin: 12px auto 0;
  max-width: 72ch;
  font-size: 13px;
  line-height: 1.45;
  color: #727668;
}

.footer {
  border-top: 1px solid #d7d4c9;
  padding: 18px 0 28px;
  color: #727668;
  text-align: center;
}

.footer a {
  color: var(--olive);
}

.note {
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.shown {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlide {
  from {
    opacity: 0.35;
    transform: scale(1.01);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gallery-header {
    display: block;
  }

  .gallery-header p {
    margin-top: 10px;
  }

  .utp-grid,
  .collection-grid,
  .investment-grid,
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar,
  main,
  .footer {
    width: min(1160px, calc(100% - 22px));
  }

  .topbar {
    margin-top: 10px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .brand-lockup {
    width: 100%;
    flex: 0 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .brand-logos {
    min-width: 0;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo-lunaya-wordmark {
    min-width: 140px;
  }

  .logo-lunaya-main {
    font-size: 27px;
  }

  .logo-lunaya-sub {
    font-size: 10px;
  }

  .logo-novastar {
    display: block;
    width: 40px;
    opacity: 0.95;
  }

  .mobile-socials {
    display: inline-flex !important;
    gap: 6px;
  }

  .topbar-right {
    width: 100%;
    min-width: 100%;
    display: block;
  }

  .topbar-right .phone-link,
  .topbar-right .social-link {
    display: none !important;
  }

  .phone-link,
  .social-link {
    font-size: 12px;
    padding: 8px 11px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .btn {
    padding: 11px 14px;
    font-size: 14px;
  }

  .topbar .btn-outline {
    display: none !important;
  }

  .hero-content,
  .utp,
  .collection,
  .investment,
  .plan,
  .location,
  .cta,
  .gallery {
    padding: 22px 18px;
    border-radius: 14px;
  }

  h1 {
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.08;
    font-weight: 500;
  }

  .lead {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
  }

  .btn-hero {
    width: 100%;
    min-height: 52px;
    font-size: 20px;
  }

  .stats,
  .investment-grid,
  .plan-line,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .utp-grid article {
    padding: 18px;
  }

  .utp-cta-card {
    display: none;
  }

  .mobile-scroll-slider {
    overflow: hidden;
    padding: 0 0 44px;
  }

  .mobile-scroll-slider [data-scroll-track] {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-scroll-slider [data-scroll-track]::-webkit-scrollbar {
    display: none;
  }

  .mobile-scroll-slider [data-scroll-track] > article {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .mobile-scroll-slider .scroll-arrow {
    display: inline-flex;
    top: auto;
    bottom: 4px;
    transform: none;
  }

  .mobile-scroll-slider .scroll-arrow.prev {
    left: calc(50% - 46px);
  }

  .mobile-scroll-slider .scroll-arrow.next {
    left: calc(50% + 10px);
    right: auto;
  }

  .stats {
    display: none;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    margin-top: 10px;
  }

  .hero-slider {
    min-height: 0;
  }

  .slides,
  .slide-collage,
  .slide img {
    height: auto;
    min-height: 0;
  }

  .slide-collage {
    display: block;
    min-height: 0;
    padding: 8px;
  }

  .slide img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: 56vh;
    border-radius: 10px;
  }

  .slide-collage img:nth-child(n + 2) {
    display: none;
  }

  .cta-consent br {
    display: block;
  }

  .cta-contacts {
    gap: 10px;
  }

  .cta-contacts .cta-contact {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    justify-content: center;
  }

  .cta-contacts .cta-contact-label {
    display: none;
  }

  .cta-contacts .cta-contact-icon {
    width: 19px;
    height: 19px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .slider-dots {
    bottom: 10px;
  }
}

@media (max-width: 420px) {
  .brand-logos {
    gap: 6px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo-lunaya-wordmark {
    min-width: 120px;
  }

  .logo-lunaya-main {
    font-size: 22px;
  }

  .logo-lunaya-sub {
    font-size: 9px;
  }

  .logo-novastar {
    width: 34px;
  }

  .mobile-social {
    width: 32px;
    height: 32px;
  }
}
