:root {
  --bg: #f9fafb;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --border-soft: #e5e7eb;
  --radius: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

  header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
/*      background: rgba(249, 250, 251, 0.97);*/
    background: #fff;
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  }


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.24);
}

.brand-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.logo {
  height: 60px;
}

.nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.nav a {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-main);
}

.header-cta {
  display: none;
}

/* Burger */

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  padding: 0;
}

.burger-line {
  height: 2px;
  width: 16px;
  border-radius: 999px;
  background: #1f2933;
  margin: 0 auto;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.burger--open .burger-line:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.burger--open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger--open .burger-line:nth-child(3) {
  transform: translateY(-3px) rotate(-45deg);
}

@media (max-width: 639px) {
  .logo {
    height: 35px;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.6rem 1.25rem 0.8rem;
    background: rgba(249, 250, 251, 0.98);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    display: none;
  }

  .nav.nav--open {
    display: flex;
  }

  .nav a {
    padding: 0.3rem 0;
  }

  .header-cta.btn-primary {
    display: none;
  }
}

@media (min-width: 640px) {
  .burger {
    display: none;
  }
}

/* Layout / sections */

main {
  flex: 1;
}

section {
/*  padding: 2.6rem 0;*/
  padding: 1.2rem 0;
}


#hero {
  padding-top: 48px;
}

.hero-inner {
  display: grid;
  gap: 2.1rem;
}

.hero-kicker {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.12;
  font-weight: 700;
/*      margin-bottom: 0.8rem;*/

  margin-bottom: 1.6rem;
  margin-top: 0;
}


  .hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
/*      margin-bottom: 1.1rem;*/
    margin-bottom: 1.6rem;
  }


.hero-highlight {
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 1.6rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.hero-phone {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-phone span {
  font-weight: 600;
  color: var(--text-main);
}

.hero-media {
/*  border-radius: var(--radius);*/
/*  background: radial-gradient(circle at top left, #e0f2fe, #fefce8);*/
  min-height: 190px;
/*  padding: 1.2rem;*/
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-media-inner {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hero-preview {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
/*  box-shadow: var(--shadow-soft);*/
}

.hero-preview img {
  width: 100%;
  height: auto;
}

.hero-card {
  background: var(--bg-card);
/*  border-radius: 18px;*/
  border-radius: 8px;
  padding: 1.05rem;
/*  box-shadow: var(--shadow-soft);*/
  width: 100%;
  display: grid;
  gap: 0.6rem;
/*  margin-bottom: 30px;*/
  border: 1px solid #ececec;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.78rem;
  color: #1d4ed8;
  width: fit-content;
}

.hero-card-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-card-list li + li {
  margin-top: 0.2rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.pill {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* Homepage specific blocks */

.why-points {
  font-size: 0.98rem;
  line-height: 1.7;
}

.why-points strong {
  display: block;
  margin-bottom: 0.25rem;
}

.features-grid {
  display: grid;
  gap: 1.05rem;
  font-size: 0.93rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.05rem;
  border: 1px solid var(--border-soft);
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.sample-group {
  margin-bottom: 1.9rem;
}

.sample-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.sample-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.thumb-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.thumb {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e5e7eb;
}

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

.thumb-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.3rem 0.4rem;
  font-size: 0.7rem;
  color: #111827;
  background: linear-gradient(
    to top,
    rgba(243, 244, 246, 0.98),
    rgba(243, 244, 246, 0)
  );
}

.thumb--vertical,
.thumb--tall {
  grid-row: span 2;
}

.thumb--vertical img,
.thumb--tall img {
  aspect-ratio: 9 / 16;
}

.thumb--large,
.thumb--wide {
  grid-column: span 2;
}

.thumb--large img,
.thumb--wide img {
  aspect-ratio: 16 / 9;
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid var(--border-soft);
  font-size: 0.93rem;
}

.property-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.demo-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.93rem;
}

.demo-list li {
  padding: 0.5rem 0;
/*  border-bottom: 1px dashed var(--border-soft);*/
}

.quote-block {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1.5rem 1rem;
/*  border-radius: var(--radius);*/
/*  background: #fafafa;*/
  color: #0f172a;
  font-style: italic;
/*  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;*/


/*  box-shadow: var(--shadow-soft);*/
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--border-soft);
  font-size: 0.93rem;
}

.price-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.price-amount {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.price-items {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.price-items li + li {
  margin-top: 0.15rem;
}

.addons {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cta-block {
  text-align: center;
  padding: 1.6rem 1.1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  font-size: 0.96rem;
}

.cta-block p {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.93rem;
}

.faq-item + .faq-item {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-soft);
}

.faq-q {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.faq-a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.about-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-text strong {
  color: var(--text-main);
}

/* Property page specific */

.highlights-grid {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.details-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--border-soft);
  font-size: 0.93rem;
}

.details-card p {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.facts-details {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.facts-details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.facts-details summary::-webkit-details-marker {
  display: none;
}

.facts-details summary::after {
  content: " ⌄";
  font-weight: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.facts-details[open] summary::after {
  content: " ⌃";
}

.facts-grid {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.facts-group-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.facts-group-list {
  margin: 0;
  padding-left: 1rem;
}

.map-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-placeholder {
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 0.75rem;
}

.map-placeholder img {
  width: 100%;
}

.share {
  margin-top: 1rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--text-muted);
}

#contact {
  margin-bottom: 3rem;
}

/* Footer */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 1.6rem 0 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.lightbox.is-visible {
  display: flex;
}

.lightbox-inner {
  width: 100%;
  max-width: 900px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #f9fafb;
}

.lightbox-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.lightbox-close {
  background: none;
  border: 1px solid rgba(249, 250, 251, 0.4);
  color: #f9fafb;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.lightbox-body {
  background: #020617;
  border-radius: 14px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: calc(100vh - 6rem);
}

.lightbox-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.lightbox-media img,
.lightbox-media video {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #020617;
}

.lightbox-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #020617 0%,
    #111827 20%,
    #020617 40%,
    #020617 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.lightbox-placeholder {
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 2rem 1rem;
  text-align: center;
}

.lightbox-caption {
  font-size: 0.8rem;
  color: #9ca3af;
  padding: 0 0.2rem;
}

.lightbox-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}

.lightbox-nav {
  display: flex;
  gap: 0.5rem;
}

.lightbox-btn {
  background: none;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.lightbox-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.lightbox-index {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Responsive */

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
/*    align-items: center;*/
  }

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

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

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

  .header-cta {
    display: inline-flex;
  }

  .nav {
    position: static;
    flex-direction: row;
    background: transparent;
    border-bottom: none;
    padding: 0;
    display: flex;
  }
}

@media (min-width: 900px) {
  #hero {
    padding-top: 7.2rem;
  }

  section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
