:root {
  --bg: #f3f1e8;
  --paper: rgba(255, 255, 255, 0.86);
  --paper-strong: #ffffff;
  --ink: #16351f;
  --muted: #5f6f63;
  --line: rgba(22, 53, 31, 0.12);
  --green: #2f7a42;
  --green-strong: #174d2a;
  --green-soft: #dbeccb;
  --gold-soft: #ece0b7;
  --shadow: 0 24px 80px rgba(22, 53, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(219, 236, 203, 0.92), transparent 28%),
    radial-gradient(circle at top right, rgba(236, 224, 183, 0.78), transparent 24%),
    linear-gradient(180deg, #f8f5eb 0%, #eeeadc 100%);
  color: var(--ink);
}

.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 20px auto 28px;
}

.hero,
.offers-section,
.form-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  background: var(--paper);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  margin-bottom: 18px;
}

.hero::before,
.form-section::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 236, 203, 0.9) 0%, rgba(219, 236, 203, 0) 70%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 42px;
}

.brand-logo {
  width: 187px;
  height: 39px;
  object-fit: contain;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--paper-strong);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

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

.hero h1 {
  max-width: 720px;
  font-size: clamp(38px, 7vw, 72px);
}

.hero-text {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-panel {
  display: flex;
  align-items: flex-start;
}

.hero-panel-card,
.offer-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
}

.hero-panel-card {
  width: 100%;
  padding: 10px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
}

.hero-image-frame {
  position: relative;
  min-height: 300px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
}

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

.offers-section,
.form-section {
  padding: 28px;
  margin-bottom: 18px;
}

.offers-section {
  padding-top: 18px;
}

.form-wrap {
  display: grid;
  gap: 20px;
}

.form-section h2 {
  font-size: clamp(30px, 5vw, 48px);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 53, 31, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.search-field input,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 53, 31, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

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

.offer-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  align-content: start;
}

.offer-card:hover {
  border-color: var(--line);
  box-shadow: none;
}

.offer-card[data-category="realty"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 244, 232, 0.94) 100%);
}

.offer-card[data-category="finance"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 247, 241, 0.94) 100%);
}

.offer-card[hidden] {
  display: none;
}

.offer-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 240, 0.92) 100%);
  border: 1px solid rgba(47, 122, 66, 0.1);
}

.offer-media img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.offer-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-strong);
  box-shadow: 0 8px 18px rgba(22, 53, 31, 0.08);
}

.offer-card[data-category="realty"] .offer-tag {
  background: rgba(236, 224, 183, 0.48);
  color: #6b5620;
}

.offer-card[data-category="finance"] .offer-tag {
  background: rgba(219, 236, 203, 0.72);
  color: var(--green-strong);
}

.offer-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.offer-specs .spec-primary {
  grid-column: 1 / -1;
}

.offer-specs div {
  padding: 9px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(219, 236, 203, 0.42) 0%, rgba(255, 255, 255, 0.92) 100%);
  border: 1px solid rgba(47, 122, 66, 0.12);
}

.offer-specs dt {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(95, 111, 99, 0.72);
}

.offer-specs dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green-strong);
}

.offer-link,
.offer-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
}

.offer-link {
  text-decoration: none;
  color: var(--green-strong);
  background: rgba(219, 236, 203, 0.55);
}

.offer-button,
.submit-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  cursor: pointer;
}

.offer-button {
  width: 100%;
  margin-top: auto;
  box-shadow: 0 12px 28px rgba(23, 77, 42, 0.18);
}

.offer-button:hover,
.submit-button:hover,
.topbar-link:hover {
  filter: brightness(1.03);
}

.empty-state {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.form-wrap {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.form-copy {
  max-width: 380px;
}

.form-copy p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.consent-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 2px 0;
}

.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.consent-field > span {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--muted);
}

.consent-field a {
  color: var(--green-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.lead-form label > span {
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  min-height: 52px;
  padding: 0 16px;
}

.lead-form textarea {
  padding: 14px 16px;
  resize: vertical;
}

.form-note,
.success-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.form-note {
  color: var(--muted);
}

.success-message {
  color: #17683a;
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .form-wrap,
  .offers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1240px);
    margin: 10px auto 18px;
  }

  .hero,
  .offers-section,
  .form-section {
    padding: 18px;
    border-radius: 24px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .brand-logo {
    width: 170px;
    height: auto;
  }
}
