body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #fbfbf8;
}

body.home-menu-open {
  overflow: hidden;
}

.home-footer__links a {
  color: var(--grey-700);
  text-decoration: none;
}

.home-footer__links a:hover {
  color: var(--color-primary);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 440px);
  gap: 40px;
  align-items: center;
  min-height: auto;
  padding: 46px 48px 40px;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 15% 15%, rgba(215, 101, 73, 0.12), transparent 32%),
    linear-gradient(135deg, #f4f1e8 0%, #f7fbf7 48%, #eaf4ef 100%);
}

.home-section,
.home-footer {
  max-width: 1180px;
}

.home-hero__content {
  grid-column: 1;
  min-width: 0;
  max-width: 720px;
}

.home-eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 700px;
  margin: 0;
  color: #13241d;
  font-size: clamp(44px, 5.8vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.home-hero__sub {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--grey-700);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.42;
}

.home-search {
  margin-top: 24px;
  max-width: 720px;
}

.home-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--grey-700);
  font-size: 14px;
  font-weight: 800;
}

.home-search__bar {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: white;
  border: 1px solid rgba(59, 124, 100, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(25, 53, 42, 0.16);
}

.home-search__bar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 0 16px;
  color: var(--text-dark);
  font: 700 17px var(--font-sans);
}

.home-search__bar button {
  border: none;
  border-radius: 15px;
  background: var(--color-primary);
  color: white;
  padding: 16px 26px;
  font: 900 16px var(--font-sans);
  cursor: pointer;
}

.home-search__bar button:hover,
.home-nav__app:hover {
  background: var(--color-primary-dark);
}

.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--grey-600);
  font-size: 14px;
  font-weight: 700;
}

.home-quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--grey-800);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.home-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 820px;
  margin-top: 22px;
}

.home-trust div {
  padding: 18px;
  border: 1px solid rgba(59, 124, 100, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
}

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

.home-trust strong {
  color: var(--grey-900);
  font-size: 15px;
}

.home-trust span {
  margin-top: 5px;
  color: var(--grey-600);
  font-size: 13px;
  line-height: 1.35;
}

.home-hero__panel {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 440px;
}

.hero-field-card {
  display: block;
  overflow: hidden;
  border-radius: 30px;
  background: white;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 34px 90px rgba(25, 53, 42, 0.2);
  transition: transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard);
}

.hero-field-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 100px rgba(25, 53, 42, 0.24);
}

.hero-field-card.is-fading {
  opacity: 0.55;
  transition: opacity 0.22s ease;
}

.hero-field-card__image {
  position: relative;
  height: 260px;
}

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

.hero-field-card__image span,
.home-field-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.hero-field-card__body {
  padding: 26px;
}

.hero-field-card__kicker {
  margin: 0 0 8px;
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-field-card h2 {
  margin: 0 0 18px;
  color: var(--grey-900);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-field-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--grey-600);
  font-size: 14px;
  font-weight: 800;
}

.hero-field-card__meta strong {
  color: var(--color-primary);
}

.home-section {
  margin: 0 auto;
  padding: 64px 48px;
}

.home-section--tight {
  padding-top: 44px;
}

.home-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-section__header h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.home-section__link {
  color: var(--color-primary);
  font-weight: 900;
  text-decoration: none;
}

.home-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.home-loading,
.home-error {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed var(--grey-300);
  border-radius: 22px;
  color: var(--grey-600);
  text-align: center;
  background: white;
}

.home-field-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  min-width: 0;
  min-height: 100%;
  border: 1px solid rgba(59, 124, 100, 0.13);
  border-radius: 24px;
  background: white;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-standard),
    box-shadow var(--duration-normal) var(--ease-standard);
}

.home-field-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.home-field-card__image {
  position: relative;
  height: 220px;
  background: var(--color-surface);
}

.home-field-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-field-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.home-field-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--grey-500);
  font-size: 13px;
  font-weight: 800;
}

.home-field-card h3 {
  margin: 10px 0 8px;
  color: var(--grey-900);
  font-size: 20px;
  line-height: 1.15;
}

.home-field-card p {
  margin: 0;
  color: var(--grey-600);
  font-size: 14px;
  line-height: 1.4;
}

.home-field-card__footer {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 900;
}

.home-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.promo-card {
  min-height: 330px;
  padding: 38px;
  border-radius: 30px;
}

.promo-card h2 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.promo-card p:not(.home-eyebrow) {
  max-width: 520px;
  margin: 20px 0 28px;
  color: var(--grey-700);
  font-size: 18px;
  line-height: 1.45;
}

.promo-card--owner {
  background: linear-gradient(135deg, #e8f3ec, #ffffff);
  border: 1px solid rgba(59, 124, 100, 0.16);
}

.promo-card--app {
  background: linear-gradient(135deg, #f6e8d5, #ffffff);
  border: 1px solid rgba(215, 101, 73, 0.18);
}

.home-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-city-grid a {
  padding: 18px;
  border: 1px solid rgba(59, 124, 100, 0.14);
  border-radius: 18px;
  background: white;
  color: var(--grey-800);
  font-weight: 800;
  text-decoration: none;
}

.home-city-grid a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 36px 48px 56px;
  color: var(--grey-600);
  border-top: 1px solid rgba(59, 124, 100, 0.12);
}

.home-footer img {
  width: 96px;
}

.home-footer p {
  margin: 10px 0 0;
}

.home-footer__links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 42px 20px 34px;
  }

  .home-hero__content,
  .home-hero__panel {
    grid-column: 1;
    max-width: none;
  }

  .home-hero__panel {
    justify-self: stretch;
    width: 100%;
  }

  .home-trust,
  .home-fields,
  .home-promo-grid,
  .home-city-grid {
    grid-template-columns: 1fr;
  }

  .home-section,
  .home-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-section__header,
  .home-footer {
    display: block;
  }

  .home-section__link,
  .home-footer__links {
    display: flex;
    margin-top: 16px;
  }
}

.home-footer__links {
  flex-wrap: wrap;
  gap: 12px 22px;
}

.home-quick-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.home-field-card__image {
  aspect-ratio: 16 / 10;
}

@media (max-width: 620px) {
  .home-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .home-search__bar {
    display: block;
  }

  .home-search__bar input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px;
  }

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

