:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #eef2f8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #0f172a;
  --muted: #5b6477;
  --accent: #1d4ed8;
  --accent-strong: #0f2f8f;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  min-height: 100vh;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(238, 242, 248, 0.72));
}

.section--cta {
  padding-bottom: 120px;
}

.video-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.video-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  height: auto;
}

.tour-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Calendar / contact styling */
.card--text #calendly-inline {
  border-radius: 12px;
  overflow: hidden;
}

.contact-card {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.contact-form {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-row {
  display: block;
  margin-bottom: 12px;
}

.form-row span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-status {
  font-size: 0.95rem;
  color: var(--muted);
}

.video-info h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.video-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 247, 251, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #67e8f9);
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(29, 78, 216, 0.24);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.split-grid,
.cta-card {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  max-width: 10ch;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 12ch;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.09);
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.85rem;
}

.lead,
.section-heading p,
.card--text p,
.card p,
.cta-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lead {
  max-width: 60ch;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: white;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-color: var(--border);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stats article,
.card,
.hero-card,
.cta-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stats article {
  border-radius: 22px;
  padding: 18px;
}

.stats strong {
  display: block;
  font-size: 1.2rem;
}

.stats span,
.detail-item span,
.highlight-card p {
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 640px;
}

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

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-card-overlay {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 1;
  display: grid;
  gap: 14px;
  color: white;
}

.hero-card-overlay h2 {
  margin: 0;
  font-size: 1.45rem;
  max-width: 16ch;
}

.hero-card-overlay p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 34ch;
}

.pill {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.pill--soft {
  background: rgba(255, 255, 255, 0.28);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

.split-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.split-grid--floorplan {
  grid-template-columns: 0.85fr 1.15fr;
}

.floorplan-meta {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.floorplan-layout {
  display: grid;
  gap: 16px;
}

.floorplan-card {
  overflow: hidden;
  border-radius: 28px;
  padding: 0;
}

.floorplan-card img {
  width: 100%;
  height: auto;
  display: block;
}

.card {
  border-radius: var(--radius-lg);
}

.card--text {
  padding: 30px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading p {
  max-width: 42ch;
  margin: 0;
}

.modernization-layout {
  display: grid;
  gap: 16px;
}

.timeline,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.timeline li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
}

.timeline strong {
  color: var(--accent-strong);
  font-size: 1rem;
}

.timeline span,
.feature-list li,
.cost-grid span,
.price-card span,
.note-box {
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
}

.feature-list--compact li {
  padding-left: 24px;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 10px;
  top: 0;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.price-stack {
  display: grid;
  gap: 16px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  padding: 22px;
  border-radius: 24px;
}

.price-card span {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.price-card strong {
  display: block;
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-card--accent {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(255, 255, 255, 0.86));
  border-color: rgba(29, 78, 216, 0.14);
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.cost-grid > div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
}

.cost-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.cost-grid strong {
  display: block;
  font-size: 1.05rem;
}

.note-box {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(29, 78, 216, 0.07);
  border: 1px solid rgba(29, 78, 216, 0.12);
  line-height: 1.6;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.highlight-card {
  padding: 26px;
  border-radius: 28px;
}

.icon {
  font-size: 1.5rem;
  display: inline-flex;
  margin-bottom: 16px;
}

.highlight-card h3,
.detail-item strong {
  margin: 0 0 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #dbe5ff;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(15, 23, 42, 0.16);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid--real .gallery-card {
  aspect-ratio: 4 / 3;
}

.gallery-card::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 18px 18px;
  color: white;
  font-weight: 700;
  z-index: 1;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.45));
}

.gallery-card--wide {
  grid-column: span 7;
}

.gallery-card--tall {
  grid-column: span 5;
}

.gallery-card--small {
  grid-column: span 4;
}

.split-grid--details {
  grid-template-columns: 0.9fr 1.1fr;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-item {
  padding: 22px 24px;
}

.detail-item span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.detail-item strong {
  display: block;
  font-size: 1.1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.cta-card {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  border-radius: 34px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 242, 248, 0.95));
}

.site-footer {
  padding: 0 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner a {
  color: var(--accent-strong);
  font-weight: 700;
}

.background-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.background-glow--one {
  width: 340px;
  height: 340px;
  left: -120px;
  top: 120px;
  background: rgba(59, 130, 246, 0.18);
}

.background-glow--two {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 520px;
  background: rgba(29, 78, 216, 0.12);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  margin: 0;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  width: auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: calc(90vh - 60px);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.05);
}

.modal-content figcaption {
  padding: 16px 20px 20px;
  color: var(--muted);
  font-size: 0.98rem;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .split-grid--details,
  .split-grid--floorplan,
  .video-wrapper,
  .cta-card,
  .section-heading,
  .price-grid,
  .cost-grid,
  .floorplan-layout {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .hero-copy h1,
  .section h2,
  .video-info h2 {
    max-width: none;
  }

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

  .cta-card {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .video-section {
    padding: 52px 0;
  }

  .tour-video {
    aspect-ratio: 16 / 9;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .stats,
  .details-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .details-grid,
  .highlights-grid {
    gap: 14px;
  }

  .hero-card {
    min-height: 420px;
  }

  .card--text,
  .detail-item,
  .highlight-card,
  .cta-card {
    padding: 22px;
  }

  .hero-card-overlay {
    inset: auto 18px 18px;
  }

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