:root {
  --bg: #f3f7fc;
  --bg-soft: #eef4fb;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --text: #1f2e3d;
  --text-soft: rgba(31, 46, 61, 0.68);
  --text-muted: rgba(31, 46, 61, 0.52);
  --line: rgba(31, 46, 61, 0.08);
  --line-strong: rgba(31, 46, 61, 0.14);
  --primary: #1f2e3d;
  --primary-dark: #2a3b4d;
  --primary-light: #41576d;
  --accent: #7da4d1;
  --accent-soft: rgba(125, 164, 209, 0.12);
  --shadow: 0 24px 60px rgba(30, 58, 95, 0.08);
  --shadow-soft: 0 10px 28px rgba(30, 58, 95, 0.06);
  --shadow-strong: 0 30px 70px rgba(32, 52, 77, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --container: 1240px;
  --header-height: 82px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(159, 187, 230, 0.20), transparent 28%),
    linear-gradient(180deg, #f6f9fd 0%, #eef4fb 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(31, 46, 61, 0.05);
  box-shadow: 0 8px 30px rgba(31, 46, 61, 0.04);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo,
.site-logo:visited,
.site-logo:hover,
.site-logo:active {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary) !important;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav a:visited,
.site-nav a:hover,
.site-nav a:active,
.site-nav a:focus {
  position: relative;
  font-size: 14px;
  color: var(--primary-light) !important;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: rgba(31, 46, 61, 0.18);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--primary) !important;
}

.site-nav a:hover::after,
.site-nav a:focus::after {
  transform: scaleX(1);
}

.hero {
  padding: 36px 0 28px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.hero-info-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(63, 134, 255, 0.12);
  color: #62778c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 820px;
  margin: 16px 0 14px;
  color: var(--primary);
}

.hero__lead {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 46, 61, 0.06);
  box-shadow: 0 6px 18px rgba(31, 46, 61, 0.04);
  font-size: 13px;
  color: #32485d;
  backdrop-filter: blur(10px);
}

.hero__actions,
.final-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fact-card,
.trust-item,
.plan-card,
.faq-item,
.hero-info-card,
.location-tab {
  background: var(--surface);
  border: 1px solid rgba(31, 46, 61, 0.06);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.fact-card {
  min-height: 120px;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact-card strong {
  font-size: 16px;
  color: var(--primary);
}

.fact-card span {
  font-size: 14px;
  color: var(--text-soft);
}

.hero__visual {
  display: grid;
  gap: 18px;
}

.hero__image-card {
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: #dfe9f5;
}

.hero__image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info-card {
  border-radius: 26px;
  padding: 24px;
}

.hero-info-card h2 {
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 10px;
  color: var(--primary);
}

.hero-info-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.hero-info-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--text);
}

.hero-info-list li + li {
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
}

.btn--primary,
.btn--primary:visited,
.btn--primary:hover,
.btn--primary:active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(31, 46, 61, 0.18);
}

.btn--primary:hover,
.btn--primary:focus {
  background: var(--primary-dark);
}

.btn--secondary,
.btn--secondary:visited,
.btn--secondary:hover,
.btn--secondary:active,
.btn--ghost,
.btn--ghost:visited,
.btn--ghost:hover,
.btn--ghost:active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary) !important;
  border: 1px solid rgba(31, 46, 61, 0.12);
}

.btn--secondary:hover,
.btn--ghost:hover {
  background: #edf3f9;
  color: var(--primary) !important;
  border-color: rgba(31, 46, 61, 0.2);
}

.section {
  padding: 78px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--soft {
  background: linear-gradient(180deg, #f8fbfe 0%, #edf4fb 100%);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading--center {
  text-align: center;
}

.section-heading h2,
.final-contact h2 {
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 14px 0 12px;
}

.section-heading p {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 780px;
}

.section-heading--center p {
  margin-left: auto;
  margin-right: auto;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  border-radius: 22px;
  min-height: 148px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-item strong {
  font-size: 18px;
  line-height: 1.2;
  color: var(--primary);
}

.trust-item span {
  font-size: 14px;
  color: var(--text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  display: block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(31, 46, 61, 0.08);
  min-height: 280px;
  background: #dfe8f3;
}

.gallery-card--xl {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 576px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  border-radius: 24px;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.plan-card__visual {
  min-height: 270px;
  border-radius: 22px;
  border: 1px solid rgba(31, 46, 61, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #edf4fc 100%);
}

.plan-card__visual--styled {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(125, 164, 209, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #edf4fb 100%);
}

.plan-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-card__body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
  color: var(--primary);
}

.plan-card__body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.plan-scheme {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(31, 46, 61, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 12px 28px rgba(31, 46, 61, 0.06);
  overflow: hidden;
}

.plan-label {
  position: absolute;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 46, 61, 0.06);
  color: var(--primary-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-label--top {
  top: 12px;
}

.room {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  border: 2px solid rgba(31, 46, 61, 0.14);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  background: rgba(125, 164, 209, 0.08);
}

.plan-scheme--compact .room--living {
  left: 18px;
  top: 56px;
  width: 58%;
  height: 42%;
}

.plan-scheme--compact .room--bed {
  right: 18px;
  top: 56px;
  width: 30%;
  height: 58%;
}

.plan-scheme--compact .room--bath {
  left: 18px;
  bottom: 18px;
  width: 24%;
  height: 22%;
}

.plan-scheme--compact .room--hall {
  left: 42%;
  bottom: 18px;
  width: 34%;
  height: 22%;
}

.plan-scheme--family .room--living-lg {
  left: 18px;
  top: 56px;
  width: 42%;
  height: 34%;
}

.plan-scheme--family .room--bed-1 {
  right: 18px;
  top: 56px;
  width: 34%;
  height: 30%;
}

.plan-scheme--family .room--bed-2 {
  left: 18px;
  bottom: 18px;
  width: 30%;
  height: 28%;
}

.plan-scheme--family .room--kitchen {
  left: 50%;
  top: 38%;
  width: 24%;
  height: 24%;
}

.plan-scheme--family .room--bath-1 {
  left: 50%;
  bottom: 18px;
  width: 16%;
  height: 18%;
}

.plan-scheme--family .room--bath-2 {
  right: 18px;
  bottom: 18px;
  width: 16%;
  height: 18%;
}

.plan-scheme--family .room--hall-lg {
  left: 50%;
  top: 56px;
  width: 16%;
  height: 24%;
}

.plan-scheme--view .room--living-pano {
  left: 18px;
  top: 56px;
  width: 64%;
  height: 30%;
}

.plan-scheme--view .room--bed-view {
  left: 18px;
  top: 47%;
  width: 34%;
  height: 24%;
}

.plan-scheme--view .room--cabinet {
  left: 54%;
  top: 47%;
  width: 28%;
  height: 24%;
}

.plan-scheme--view .room--bath-view {
  right: 18px;
  top: 56px;
  width: 16%;
  height: 18%;
}

.plan-scheme--view .room--hall-view {
  right: 18px;
  top: 38%;
  width: 16%;
  height: 34%;
}

.window-line {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 64%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 3px solid rgba(125, 164, 209, 0.52);
  color: #6d87a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans-note {
  margin-top: 18px;
}

.plans-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.location-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
  color: var(--primary);
}

.location-copy p {
  color: var(--text-soft);
  font-size: 17px;
}

.location-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}

.location-tab {
  min-height: 64px;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.35;
  color: #27394b;
  display: flex;
  align-items: center;
}

.location-card {
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(31, 46, 61, 0.10);
  background: #dfe8f3;
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  padding: 0 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  font-size: 17px;
  color: var(--primary);
  font-weight: 600;
  position: relative;
  padding-right: 34px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary-light);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--text-soft);
}

.final-contact {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(31, 46, 61, 0.18);
  border-radius: var(--radius-xl);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-contact--compact {
  padding: 22px 26px;
  border-radius: 24px;
  gap: 18px;
  min-height: unset;
}

.final-contact--compact .final-contact__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.final-contact--compact h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.02;
  margin: 0;
  color: #ffffff !important;
}

.final-contact--compact p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78) !important;
}

.final-contact h2 {
  color: #ffffff !important;
  margin: 14px 0 12px;
}

.final-contact p {
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0;
  max-width: 760px;
}

.final-contact .eyebrow {
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.final-contact .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.16);
  min-width: 220px;
}

.final-contact .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
}

.site-footer {
  background: #eef4fb;
  border-top: 1px solid rgba(31, 46, 61, 0.06);
  padding: 32px 0 24px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}

.site-footer__brand p,
.site-footer__bottom p {
  color: var(--text-soft);
  margin: 8px 0 0;
  font-size: 14px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(31, 46, 61, 0.08);
  padding-top: 18px;
}

.sticky-mobile-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero__grid,
  .location-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip__grid,
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card--xl {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 460px;
  }

  .final-contact,
  .final-contact--compact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .hero__image-card {
    min-height: 420px;
  }

  .location-tabs {
    grid-template-columns: 1fr;
  }

  .location-card {
    min-height: 320px;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .hero {
    padding: 24px 0 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__lead,
  .section-heading p,
  .location-copy p {
    font-size: 15px;
  }

  .hero__image-card {
    min-height: 300px;
  }

  .section,
  .section--tight {
    padding: 46px 0;
  }

  .section-heading h2,
  .location-copy h2 {
    font-size: 30px;
  }

  .trust-strip__grid,
  .plans-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card--xl {
    grid-column: span 1;
    min-height: 320px;
  }

  .location-tab {
    min-height: 56px;
    padding: 14px 16px;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .header-cta,
  .footer-actions {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .final-contact__actions {
    width: 100%;
  }

  .sticky-mobile-cta {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 60;
    background: rgba(243, 247, 252, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(31, 46, 61, 0.08);
    padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
  }

  .final-contact {
    padding: 24px;
  }

  .final-contact--compact {
    padding: 18px;
    gap: 14px;
  }

  .final-contact--compact h2 {
    font-size: 24px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-scheme {
    max-width: 100%;
  }

  .room {
    font-size: 10px;
    padding: 6px;
  }
}
