:root {
  --ink: #17302f;
  --muted: #60706d;
  --surface: #f6f3ed;
  --surface-strong: #fffaf2;
  --line: #ded6ca;
  --accent: #0f766e;
  --accent-dark: #0f3d3e;
  --gold: #c99b45;
  --clay: #b45f4d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 48, 47, 0.16);
}

* {
  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(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(246, 243, 237, 0.9);
  border-bottom: 1px solid rgba(222, 214, 202, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand-logo {
  width: 380px;
  height: 116px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent-dark);
}

[hidden] {
  display: none !important;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.header-cta {
  padding: 0 18px;
  white-space: nowrap;
}

.primary-button {
  padding: 0 24px;
}

.primary-button.large {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1.08rem;
}

.secondary-button {
  min-height: 46px;
  padding: 0 22px;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 58px);
  background:
    linear-gradient(120deg, rgba(255, 250, 242, 0.96), rgba(246, 243, 237, 0.82)),
    radial-gradient(circle at 84% 18%, rgba(201, 155, 69, 0.22), transparent 34%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy,
.section-heading p,
.split-section p,
.contact-section p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.7);
}

.hero-metrics dt {
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  justify-self: center;
  width: min(420px, 100%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 18px;
  z-index: 0;
  border-radius: 8px;
  background: var(--accent-dark);
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-bar span {
  padding: 18px;
  text-align: center;
  background: var(--surface-strong);
  color: var(--accent-dark);
  font-weight: 800;
}

.section,
.split-section,
.contact-section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.6fr);
  gap: clamp(18px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

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

.property-card,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 14px 44px rgba(23, 48, 47, 0.08);
}

.property-card {
  overflow: hidden;
}

.property-card h3,
.property-card p {
  padding-inline: 22px;
}

.property-card p {
  padding-bottom: 22px;
  color: var(--muted);
}

.card-media {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--surface);
}

.logo-media {
  object-fit: contain;
  padding: 24px;
  background: linear-gradient(180deg, #fffdf8, #f4efe6);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  background: var(--surface-strong);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 750;
}

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

.neighborhood-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #d7ece7 0%, #f6f3ed 62%, #d8c9b5 63%);
  box-shadow: var(--shadow);
}

.sun {
  position: absolute;
  top: 46px;
  right: 58px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gold);
}

.building {
  position: absolute;
  bottom: 72px;
  border-radius: 8px 8px 0 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 250, 242, 0.42) 0 10px, transparent 10px 28px),
    var(--accent-dark);
}

.building.one {
  left: 8%;
  width: 24%;
  height: 42%;
}

.building.two {
  left: 36%;
  width: 28%;
  height: 62%;
  background-color: var(--accent);
}

.building.three {
  right: 8%;
  width: 22%;
  height: 50%;
  background-color: var(--clay);
}

.street {
  position: absolute;
  inset: auto 0 0;
  height: 76px;
  background: linear-gradient(90deg, var(--accent-dark), #273b39);
}

.process-section {
  background: linear-gradient(180deg, var(--surface), #ece5da);
}

.listings-section {
  background: var(--surface);
}

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

.listing-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 14px 44px rgba(23, 48, 47, 0.08);
}

.listing-card > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: var(--surface);
}

.listing-card > div {
  padding: 24px;
}

.listing-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.1;
}

.listing-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  white-space: pre-line;
}

.listing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
  font-weight: 850;
}

.listing-cta:hover {
  transform: translateY(-2px);
}

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

.steps article {
  padding: 26px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.reviews-section {
  background: var(--surface-strong);
}

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

.review-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(23, 48, 47, 0.08);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.review-header img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--surface);
}

.review-header h3 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.review-header span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stars {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.review-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--surface-strong);
  background: var(--accent-dark);
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 250, 242, 0.78);
}

.contact-section h2 {
  max-width: 720px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fffaf2;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  color: var(--accent-dark);
}

.site-footer span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  background: var(--surface);
}

.legal-hero,
.legal-content {
  padding-inline: clamp(18px, 5vw, 72px);
}

.legal-hero {
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: 34px;
  background: var(--surface-strong);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.legal-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-hero small {
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding-top: 44px;
  padding-bottom: clamp(58px, 9vw, 112px);
}

.legal-content article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-content p {
  color: var(--muted);
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-page {
  min-height: calc(100vh - 96px);
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

.admin-login {
  display: grid;
  place-items: start center;
}

.admin-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 14px 44px rgba(23, 48, 47, 0.08);
}

.admin-card.compact {
  width: min(520px, 100%);
}

.admin-card h1,
.admin-heading h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.admin-card h2 {
  font-size: 1.4rem;
}

.admin-card p,
.admin-heading p {
  color: var(--muted);
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--accent-dark);
  font-weight: 850;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
}

.admin-form small,
.form-message {
  color: var(--muted);
  font-size: 0.9rem;
}

.forgot-password-button {
  width: fit-content;
  min-height: 36px;
  border: 0;
  padding: 0;
  color: var(--accent-dark);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.forgot-password-button:hover {
  color: var(--accent);
}

.form-message {
  margin: 0;
  min-height: 1.2em;
  font-weight: 750;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.photo-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-list-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-list-item h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.admin-list-item p {
  display: -webkit-box;
  margin-bottom: 4px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.92rem;
}

.admin-list-item small {
  color: var(--muted);
}

.admin-item-actions {
  display: grid;
  gap: 8px;
}

.admin-item-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--surface-strong);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.policy-details {
  margin: 48px calc(clamp(18px, 5vw, 72px) * -1) calc(clamp(58px, 9vw, 112px) * -1);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  max-width: 720px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.cookie-actions button:last-child {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section-heading,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    width: min(360px, 88vw);
  }

  .property-grid,
  .listings-grid,
  .steps,
  .reviews-grid,
  .trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand {
    min-width: 132px;
  }

  .brand-logo {
    width: 296px;
    height: 96px;
  }

  .header-cta {
    padding-inline: 14px;
  }

  .hero,
  .section,
  .split-section,
  .contact-section {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics,
  .property-grid,
  .listings-grid,
  .steps,
  .reviews-grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .neighborhood-panel {
    min-height: 320px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions button {
    flex: 1;
  }

  .site-footer {
    flex-direction: column;
  }

  .listing-card > img {
    height: 260px;
  }

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

  .admin-list-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-item-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
