:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 248, 240, 0.82);
  --surface-strong: #fffaf3;
  --text: #1a1816;
  --muted: #5e564d;
  --accent: #b37a39;
  --accent-deep: #8c5a24;
  --forest: #19362e;
  --shadow: 0 24px 80px rgba(24, 21, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --content: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(179, 122, 57, 0.18), transparent 32%),
    radial-gradient(circle at right 20%, rgba(25, 54, 46, 0.16), transparent 26%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.page-shell { min-height: 100vh; overflow-x: clip; }

img[data-zoomable="true"] {
  cursor: zoom-in;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

img[data-zoomable="true"]:hover {
  transform: scale(1.02);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 241, 232, 0.8);
  border-bottom: 1px solid rgba(26, 24, 22, 0.07);
}

.topbar-inner,
.section-inner,
.footer-inner {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand { display: grid; gap: 2px; }
.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { position: relative; color: var(--muted); font-size: 15px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(26, 24, 22, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}
.button:hover { transform: translateY(-2px); }
.button-ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.24); }
.button-light { background: var(--surface-strong); color: var(--text); border-color: rgba(26, 24, 22, 0.08); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 13, 0.26) 0%, rgba(11, 12, 13, 0.62) 48%, rgba(11, 12, 13, 0.86) 100%),
    url("./assets/images/complex/hero-facade.jpg") center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: linear-gradient(180deg, rgba(246, 241, 232, 0) 0%, var(--bg) 92%);
  z-index: -1;
}

.hero-grid {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 28px;
  padding: 72px 0 78px;
  align-items: end;
}

.hero-copy { color: #fff; max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero h1,
.page-head h1 {
  margin: 16px 0 16px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-lead,
.page-head p {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-note { margin-top: 16px; color: rgba(255, 255, 255, 0.72); font-size: 14px; }

.hero-panel {
  justify-self: end;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(247, 242, 234, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.02; letter-spacing: -0.04em; }
.hero-panel p { margin: 0 0 18px; color: var(--muted); }

.facts-grid,
.stats-ribbon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stats-ribbon { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.fact {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(26, 24, 22, 0.08);
}
.fact-value { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.fact-label { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.section { padding: 88px 0; }
.section-tight { padding-top: 32px; }
.section-kicker {
  margin: 0 0 8px;
  color: var(--accent-deep);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.section h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 0.98; letter-spacing: -0.05em; }
.section-intro { max-width: 760px; margin-top: 14px; color: var(--muted); font-size: 18px; }

.split-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 32px;
}

.feature-layout,
.plans-overview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.plans-overview { grid-template-columns: 0.86fr 1.14fr; align-items: start; }

.image-stack { display: grid; gap: 18px; }
.image-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.image-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-caption {
  position: absolute;
  inset: auto 18px 18px 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(17, 18, 19, 0.56);
  color: #fff;
  backdrop-filter: blur(12px);
}

.content-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 24, 22, 0.06);
}

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

.check-list li,
.bullet-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}

.check-list li::before,
.bullet-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(179, 122, 57, 0.14);
}

.plan-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.filter-button {
  padding: 11px 16px;
  border: 1px solid rgba(26, 24, 22, 0.1);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}
.filter-button.active,
.filter-button:hover { background: var(--text); color: #fff; transform: translateY(-1px); }

.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 24, 22, 0.08);
}
.plan-card img {
  width: 25%;
  max-width: 180px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 15, 12, 0.84);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(92vw, 1240px);
  max-height: 92vh;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(92vh - 90px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  max-width: min(92vw, 960px);
  text-align: center;
  color: rgba(255, 250, 243, 0.88);
  font-size: 15px;
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.96);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.plan-card h3 { margin: 0; font-size: 24px; line-height: 1; letter-spacing: -0.04em; }
.plan-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(25, 54, 46, 0.08);
  color: var(--forest);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.84);
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(26, 24, 22, 0.08);
  text-align: left;
  vertical-align: top;
}
th { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 18px; }
.gallery-grid .image-card:nth-child(1) { min-height: 460px; grid-row: span 2; }
.gallery-grid .image-card:nth-child(2),
.gallery-grid .image-card:nth-child(3),
.gallery-grid .image-card:nth-child(4) { min-height: 220px; }

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 24, 22, 0.08);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-index { font-size: 12px; color: var(--accent-deep); letter-spacing: 0.14em; text-transform: uppercase; }

.faq-item {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 24, 22, 0.07);
}
.faq-item h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.03em; }

.cta-band {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(25, 54, 46, 0.96), rgba(44, 74, 64, 0.94));
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band h2,
.cta-band p { max-width: 700px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin-top: 14px; }

.form-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.form-shell label { display: grid; gap: 8px; font-size: 14px; }
.form-shell input,
.form-shell textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.form-shell textarea { min-height: 120px; resize: vertical; }
.form-shell .full { grid-column: 1 / -1; }
.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}
.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--accent);
}
.consent-row a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-note,
.legal-note,
.muted { color: var(--muted); font-size: 14px; }
.form-note { color: rgba(255, 255, 255, 0.7); }
.success-message { display: none; margin-top: 14px; color: #d7f8ea; }
.success-message.show { display: block; }
.error-message { display: none; margin-top: 14px; color: #ffd9d9; }
.error-message.show { display: block; }
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.page-head { padding: 64px 0 36px; }
.page-head p { color: var(--muted); max-width: 780px; }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.breadcrumbs span::before { content: "/"; margin-right: 10px; }

.footer { padding: 40px 0 54px; }
.footer-inner {
  display: grid;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(26, 24, 22, 0.08);
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

.call-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #d19b47);
  color: #fff;
  box-shadow: 0 18px 34px rgba(181, 133, 58, 0.34);
  z-index: 40;
}

.call-fab svg {
  width: 26px;
  height: 26px;
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .feature-layout,
  .plans-overview,
  .gallery-grid,
  .split-intro { grid-template-columns: 1fr; }
  .hero-panel { justify-self: stretch; }
  .stats-ribbon,
  .plans-grid,
  .form-shell { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-inner { align-items: center; flex-direction: row; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .nav.is-open { display: grid; }
  .nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.54);
  }
  .hero { min-height: auto; }
  .hero-grid { padding-top: 48px; padding-bottom: 58px; }
  .hero h1,
  .page-head h1 { font-size: clamp(34px, 14vw, 52px); }
  .facts-grid,
  .stats-ribbon,
  .plans-grid,
  .form-shell { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-band,
  .content-panel,
  .hero-panel { padding: 22px; }
  .timeline-item { grid-template-columns: 1fr; }
  .button,
  .filter-button { width: 100%; }
  .hero-actions,
  .plan-filters { display: grid; grid-template-columns: 1fr; }
  .lightbox { padding: 16px; }
  .lightbox-close {
    top: -2px;
    right: -2px;
  }
  .call-fab {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
}
