:root {
  --bg: #f6f2ea;
  --bg-soft: #fffaf1;
  --text: #1f2a24;
  --muted: #66756d;
  --accent: #116149;
  --accent-dark: #0a4433;
  --accent-soft: #d8eee5;
  --gold: #d49b32;
  --card: #ffffff;
  --line: rgba(31, 42, 36, 0.12);
  --shadow: 0 24px 70px rgba(18, 54, 41, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 155, 50, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(17, 97, 73, 0.12), transparent 28rem);
  z-index: -1;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 18px rgba(17, 97, 73, 0.22);
}

.hero {
  padding: 86px 0 42px;
}

.hero-grid,
.benefits-grid,
.registration-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.hero-text,
.section-text,
.registration-copy > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 32px rgba(17, 97, 73, 0.25);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--text);
}

.btn.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 23px;
  line-height: 1;
}

.trust-row span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.card-glow {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: 45%;
  background: linear-gradient(135deg, rgba(17, 97, 73, 0.22), rgba(212, 155, 50, 0.18));
  filter: blur(8px);
  transform: rotate(-10deg);
}

.listing-card {
  position: relative;
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.listing-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-dark);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 42, 36, 0.13);
}

.listing-image {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: linear-gradient(145deg, #e5f3ed, #ffe9b8);
}

.listing-image::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -40px;
  height: 120px;
  background: #f9f4e9;
  border-radius: 50% 50% 0 0;
}

.building {
  position: absolute;
  bottom: 36px;
  width: 94px;
  border-radius: 16px 16px 0 0;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.building::before {
  content: "";
  position: absolute;
  inset: 18px 16px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7) 0 8px,
    transparent 8px 24px
  );
}

.building-one {
  left: 76px;
  height: 188px;
}

.building-two {
  left: 180px;
  height: 245px;
  background: var(--accent-dark);
}

.building-three {
  right: 70px;
  height: 158px;
  background: #2d8065;
}

.sun {
  position: absolute;
  top: 62px;
  right: 60px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 18px rgba(212, 155, 50, 0.14);
}

.listing-content {
  padding: 26px;
}

.listing-content p {
  margin-bottom: 8px;
  color: var(--muted);
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.listing-meta span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 750;
}

.notice-section {
  padding: 20px 0 42px;
}

.notice-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(212, 155, 50, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 18px 50px rgba(212, 155, 50, 0.09);
}

.notice-icon {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--gold);
  color: white;
  font-size: 26px;
  font-weight: 900;
}

.notice-card h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 42px);
}

.notice-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: 90px 0;
}

.section.muted {
  background: rgba(255, 255, 255, 0.42);
  border-block: 1px solid rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 800;
}

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

.step-card,
.property-card,
.lead-form,
.contact-box {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(18, 54, 41, 0.08);
}

.step-card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
}

.step-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.step-card p,
.property-body p,
.benefit-item p,
.form-note,
.form-success,
.footer-inner p {
  color: var(--muted);
}

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

.benefit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.benefit-item span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.benefit-item p {
  margin: 0;
}

.property-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.property-visual {
  height: 190px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--accent), var(--gold));
  position: relative;
}

.property-visual::before,
.property-visual::after {
  content: "";
  position: absolute;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.property-visual::before {
  left: 34px;
  bottom: 34px;
  width: 110px;
  height: 84px;
}

.property-visual::after {
  right: 34px;
  top: 34px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
}

.visual-b {
  background: linear-gradient(135deg, #215747, #9c7a2f);
}

.visual-c {
  background: linear-gradient(135deg, #1d6f59, #d6b765);
}

.property-body {
  padding: 24px;
}

.registration-section {
  padding: 96px 0;
  background: var(--accent-dark);
  color: white;
}

.registration-section .eyebrow {
  color: #f1cc73;
}

.registration-copy > p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-box {
  display: grid;
  gap: 8px;
  width: fit-content;
  min-width: 260px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.contact-box a {
  color: rgba(255, 255, 255, 0.76);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
  background: white;
  color: var(--text);
}

.form-row.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: #fbfaf7;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(17, 97, 73, 0.12);
}

textarea {
  resize: vertical;
}

.checkbox-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 11px;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

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

.form-success {
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 750;
}

.site-footer {
  background: #091c16;
  color: white;
}

.footer-inner p {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  text-align: right;
}

@media (max-width: 940px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-grid,
  .benefits-grid,
  .registration-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-card {
    min-height: auto;
  }

  .trust-row,
  .steps-grid,
  .property-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, 1160px);
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .notice-card {
    flex-direction: column;
  }

  .section,
  .registration-section {
    padding: 64px 0;
  }

  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 20px;
  }

  .brand span {
    font-size: 15px;
  }
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(190, 50, 50, 0.1);
  color: #8f1f1f;
  font-size: 14px;
  font-weight: 750;
}

.form-status[data-type="success"] {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

body.modal-open {
  overflow: hidden;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.success-modal.is-open {
  display: flex;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 18, 0.72);
  backdrop-filter: blur(8px);
}

.success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 38px 30px 30px;
  border: 1px solid rgba(247, 232, 190, 0.45);
  border-radius: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #f8f0dc 100%);
  box-shadow: 0 26px 80px rgba(4, 16, 12, 0.35);
  text-align: center;
  animation: modalPop 0.22s ease-out;
}

.success-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 97, 73, 0.1);
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.success-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: var(--accent);
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(17, 97, 73, 0.28);
}

.success-modal__dialog h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 6vw, 40px);
}

.success-modal__dialog p {
  margin: 0 0 24px;
  color: var(--muted-text);
  font-size: 18px;
  line-height: 1.55;
}

.success-modal__dialog .btn {
  width: 100%;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
