@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --ink: #181511;
  --accent: #c76b2e;
  --accent-2: #1a7a6a;
  --soft: #efe3d5;
  --dark: #0b0a08;
  --card: #fff7ec;
  --nav-height: 104px;
  --paper: #ffffff;
  --shadow: 0 18px 40px rgba(27, 26, 23, 0.12);
  --sans: "Nunito", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 10% 10%, #fff2dd 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, #d8efe9 0%, transparent 40%),
    linear-gradient(135deg, #f7f3ee, #f3ede4);
  color: var(--ink);
}

.page {
  min-height: 100vh;
}

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

/* BLOCK: HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.menu {
  display: flex;
  gap: 22px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  align-items: center;
}

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

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-direction: column;
  padding: 0;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.burger:focus-visible {
  outline: 2px solid rgba(200, 106, 74, 0.6);
  outline-offset: 3px;
}

.nav.is-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-open .burger span:nth-child(2) {
  opacity: 0;
}

.nav.is-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu a {
  position: relative;
  padding-bottom: 6px;
  color: inherit;
  text-decoration: none;
}

.menu a:visited {
  color: inherit;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-header.is-solid {
  background: linear-gradient(120deg, #16120c, #1d2f2a);
  border-bottom-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: #fff;
}

.site-header.is-solid .logo-mark {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.site-header.is-solid .burger {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

/* SCREEN: HERO */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 0 0 80px;
  min-height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
}

.hero-title-strip,
.hero-info-strip {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 9, 7, 0.85),
    rgba(10, 9, 7, 0.25)
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fef5ea;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: calc(var(--nav-height) + 64px) 6vw 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.hero-title-strip {
  padding: calc(var(--nav-height) + 64px) 6vw 12px;
  color: #fef5ea;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  animation: rise 1s ease both;
  align-self: start;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1,
h2,
h3,
h4 {
  font-family: "Nunito", sans-serif;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  margin: 0 0 18px;
  font-weight: 400;
  white-space: nowrap;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.hero-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  margin-top: auto;
  max-width: none;
  width: 100%;
  text-align: left;
}

.hero-summary .lead {
  flex: 1;
  max-width: 640px;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-copy {
  flex: 1;
  max-width: 640px;
}

.hero-actions {
  margin-left: auto;
}

button {
  font-family: "Nunito", sans-serif;
}

.primary {
  border: none;
  padding: 14px 26px;
  border-radius: 30px;
  background: var(--accent);
  color: #fff6ea;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(199, 107, 46, 0.3);
}

.ghost {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 14px 26px;
  border-radius: 30px;
  background: transparent;
  color: #fff6ea;
  cursor: pointer;
  white-space: nowrap;
}

.stat {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lead-note {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-info-strip {
  padding: 0 6vw 72px;
  color: #fef5ea;
  align-self: end;
}

section {
  padding: 72px 6vw;
  scroll-margin-top: var(--nav-height);
}

/* SCREEN: VISION */
.vision {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

.vision-text h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.vision-text p {
  font-size: 1rem;
  line-height: 1.8;
}

.vision-grid {
  display: grid;
  gap: 18px;
}

.vision-card {
  background: var(--card);
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(24, 21, 17, 0.08);
}

/* SCREEN: DISTRICTS */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.district-card {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff8ee, #f1e5d3);
  box-shadow: 0 20px 35px rgba(24, 21, 17, 0.08);
  transition: transform 0.4s ease;
}

.district-card:hover {
  transform: translateY(-6px);
}

.tag {
  display: inline-flex;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0d6bf;
}

.price {
  display: block;
  margin-top: 20px;
  font-weight: 600;
}

.outline {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
}

/* SCREEN: ENERGY */
.energy {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  background: linear-gradient(120deg, #16120c, #1d2f2a);
  color: #fef5ea;
  border-radius: 32px;
  margin: 0 6vw;
}

.energy-panel {
  padding: 48px;
}

.energy-panel ul {
  padding-left: 18px;
  line-height: 1.8;
}

.energy-metric {
  padding: 48px;
  display: grid;
  gap: 24px;
}

.circle {
  border-radius: 32px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 600;
}

/* SCREEN: BANKING */
.banking {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.banking-steps {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.banking-steps span {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.banking-panel {
  background: linear-gradient(160deg, #f1f7f5, #d9ece6);
  padding: 36px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(24, 21, 17, 0.08);
}

.panel-card h3 {
  margin-top: 0;
}

.panel-data {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

/* SCREEN: LISTINGS */
.listings {
  background:
    radial-gradient(circle at 20% 10%, #fff3dd, transparent 60%),
    radial-gradient(circle at 80% 10%, #d6efe8, transparent 55%);
}

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

.listing-card {
  padding: 24px;
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 18px 30px rgba(24, 21, 17, 0.06);
}

.listing-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
}

/* SCREEN: CTA */
.cta {
  margin: 0 6vw 80px;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(120deg, #f8e7d2, #f0d5c5);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: center;
}

.cta-form {
  display: grid;
  gap: 14px;
}

input {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid #d7c5b2;
  font-family: "Nunito", sans-serif;
}

/* BLOCK: FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 6vw 48px;
  border-top: 1px solid #e4d8c8;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }
  .site-header {
    background: #1d2f2a;
    border-bottom-color: transparent;
    color: #fff;
  }

  .nav {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
  }

  .menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: calc(var(--nav-height) + 24px) 24px 24px;
    background: #1d2f2a;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    letter-spacing: 0.12em;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
  }

  .menu a {
    width: 100%;
  }

  .nav.is-open .menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-details {
    width: auto;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
  }

  .burger {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .burger:hover {
    border-color: rgba(255, 255, 255, 0.85);
  }

  .hero {
    display: block;
    height: auto;
    min-height: auto;
    margin: 0 0 32px;
    padding: 0 !important;
  }

  .hero-title-strip {
    padding: clamp(12px, 3.5vw, 18px) 6vw;
    background: #1d2f2a;
    text-align: left;
    color: #fff;
    width: 100%;
    margin: 0;
  }

  .hero-media {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    background: #1d2f2a;
    padding: 0;
    margin: 0;
  }

  .hero-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #1d2f2a;
    display: block;
  }

  .hero-overlay {
    display: none;
  }

  h1 {
    font-size: clamp(1.6rem, 5.4vw, 2.4rem);
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
  }

  .hero-info-strip {
    padding: clamp(12px, 3.5vw, 18px) 6vw clamp(16px, 4vw, 22px);
    background: #1d2f2a;
    color: #fff;
    width: 100%;
    margin: 0;
  }

  .hero-summary {
    margin: 0;
    max-width: none;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    background: transparent;
    text-align: left;
  }

  .hero-summary .lead {
    max-width: 100%;
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  }

  .lead-note {
    justify-content: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  h1 {
    white-space: normal;
  }

  .hero-copy {
    flex: 1;
    max-width: 60%;
  }

  .hero-actions {
    justify-content: flex-end;
    align-self: center;
  }

  .vision,
  .banking {
    grid-template-columns: 1fr;
  }

  .energy {
    grid-template-columns: 1fr;
    margin: 0 4vw;
  }

  .cta {
    grid-template-columns: 1fr;
    margin: 0 4vw 60px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (min-width: 901px) {
  .nav-details > .menu {
    display: flex;
    position: static;
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 0;
    box-shadow: none;
    background: transparent;
    visibility: visible;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 0 !important;
  }

  .nav {
    padding: 18px 5vw;
  }

  section {
    padding: 56px 5vw;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
