:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-card: #ffffff;
  --text: #16181d;
  --muted: #5f6673;
  --line: #e6e8ec;
  --accent: #1f5eff;
  --accent-dark: #1548c9;
  --shadow: 0 12px 34px rgba(18, 26, 44, 0.08);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  gap: 24px;
}

.desktop-nav a,
.footer-links a,
.mobile-menu a {
  color: var(--muted);
  transition: 0.2s ease;
}

.desktop-nav a:hover,
.footer-links a:hover,
.mobile-menu a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
  border-radius: 4px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
  background: white;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3f6ff;
  border: 1px solid #d9e3ff;
  color: var(--accent);
  font-size: 0.84rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
  max-width: 640px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.18s ease;
}

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

.btn-small {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 24px rgba(31, 94, 255, 0.18);
}

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

.btn-secondary {
  background: white;
  color: var(--text);
  border-color: var(--line);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-point {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-card,
.info-card,
.region-card,
.property-card,
.buyer-card,
.step-card,
.faq-item,
.contact-form,
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(230, 232, 236, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
}

.top-badge {
  top: 18px;
  right: 18px;
  font-weight: 600;
}

.bottom-badge {
  left: 18px;
  bottom: 18px;
  max-width: 320px;
}

.bottom-badge strong {
  display: block;
  margin-bottom: 6px;
}

.bottom-badge span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.trust-strip {
  padding: 0 0 10px;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-strip-inner div {
  text-align: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfc;
  color: var(--muted);
  font-weight: 500;
}

.section {
  padding: 82px 0;
}

.section-soft {
  background: var(--bg-soft);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.info-grid,
.region-grid,
.catalog-grid,
.buyers-grid,
.steps-grid,
.contact-grid,
.articles-grid {
  display: grid;
  gap: 20px;
}

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

.info-card,
.region-card,
.buyer-card,
.step-card,
.faq-item,
.article-card {
  padding: 26px;
}

.info-card h3,
.region-card h3,
.property-card h3,
.buyer-card h3,
.step-card h3,
.faq-item h3,
.article-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.info-card p,
.region-card p,
.buyer-card p,
.step-card p,
.faq-item p,
.contact-copy p,
.contact-note,
.article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

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

.property-card {
  padding: 28px;
}

.property-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef3ff;
  border: 1px solid #d9e3ff;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.property-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.property-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.property-card li {
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}

.card-link::after {
  content: "→";
}

.buyers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.article-meta {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
}

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

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.contact-section {
  background: white;
}

.contact-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.04em;
}

.contact-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafbfc;
}

.contact-form {
  padding: 28px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #98a0ad;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b9cbff;
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.08);
}

.form-button {
  width: 100%;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  background: #fafbfc;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 6px;
}

.footer-inner span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .info-grid,
  .region-grid,
  .catalog-grid,
  .steps-grid,
  .contact-grid,
  .trust-strip-inner,
  .buyers-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    min-height: 420px;
  }
}

@media (max-width: 780px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 40px;
  }

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

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

  .hero-card img {
    min-height: 320px;
  }

  .section {
    padding: 62px 0;
  }
}