.newbuilds-v3 {
  background: #f5f1eb;
  color: #281a15;
}

.newbuilds-v3 .nb-hero {
  padding: clamp(48px, 6vw, 82px) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(185, 83, 58, .14), transparent 34%),
    linear-gradient(135deg, #f7f2eb 0%, #eee5dc 100%);
  border-bottom: 1px solid rgba(114, 64, 49, .12);
}

.nb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.nb-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #a44332;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nb-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: .98;
  letter-spacing: -.04em;
}

.nb-hero__content > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #6f5b51;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.nb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.newbuilds-v3 .nb-hero__actions .btn { min-width: 190px; text-align: center; }

.nb-hero__facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(114, 64, 49, .14);
  border-radius: 22px;
  background: rgba(114, 64, 49, .14);
  box-shadow: 0 18px 55px rgba(59, 35, 27, .08);
}

.nb-hero__facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 22px; background: rgba(255, 255, 255, .82); }
.nb-hero__facts strong { color: #953b2d; font-size: 25px; line-height: 1; }
.nb-hero__facts span { color: #735e54; font-size: 13px; text-align: right; }

.newbuilds-v3 .nb-catalog { width: 100%; max-width: none; margin: 0; padding: clamp(48px, 6vw, 88px) 0 96px; scroll-margin-top: 86px; }
.nb-catalog__heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.nb-catalog__heading h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.03em; }
.nb-catalog__heading > p { max-width: 520px; margin: 0; color: #766157; line-height: 1.55; }

.nb-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(4, minmax(150px, 1fr)) auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(114, 64, 49, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(63, 37, 29, .06);
}

.nb-field { display: grid; gap: 7px; min-width: 0; }
.nb-field > span { color: #806a60; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.nb-field input, .nb-field select {
  width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #ded1c7; border-radius: 12px; background: #fbf8f4;
  color: #281a15; font: inherit; font-size: 14px; outline: 0;
}
.nb-field input:focus, .nb-field select:focus { border-color: #b7523d; box-shadow: 0 0 0 3px rgba(183, 82, 61, .12); }
.nb-reset { align-self: end; min-height: 46px; padding: 0 18px; border: 1px solid #d8c6bb; border-radius: 12px; background: #fff; color: #9a3e2e; font-weight: 800; cursor: pointer; }

.nb-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 22px 2px 18px; color: #6c584f; }
.nb-results-bar p { margin: 0; font-weight: 800; }
.nb-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; }
.nb-legend span { display: inline-flex; align-items: center; gap: 7px; }
.nb-legend i { width: 8px; height: 8px; border-radius: 50%; background: #b58d7c; }
.nb-legend .is-complete { background: #47785b; }

.nb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nb-card { min-width: 0; overflow: hidden; border: 1px solid rgba(101, 60, 45, .13); border-radius: 24px; background: #fff; box-shadow: 0 16px 44px rgba(55, 32, 24, .07); transition: transform .2s ease, box-shadow .2s ease; }
.nb-card:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(55, 32, 24, .12); }
.nb-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9dfd6; }
.nb-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.nb-card:hover .nb-card__media img { transform: scale(1.025); }
.nb-card__placeholder { width: 100%; height: 100%; display: grid; place-content: center; gap: 8px; text-align: center; background: linear-gradient(145deg, #e8ddd3, #f7f3ee); color: #a78879; }
.nb-card__placeholder span { font-family: Georgia, serif; font-size: 42px; font-weight: 700; letter-spacing: -.08em; }
.nb-card__placeholder small { font-size: 12px; }

.nb-quality { position: absolute; top: 14px; left: 14px; max-width: calc(100% - 28px); padding: 8px 11px; border-radius: 999px; background: rgba(44, 35, 31, .84); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.nb-quality.is-complete { background: rgba(47, 104, 72, .9); }
.nb-quality.is-partial { background: rgba(154, 95, 43, .9); }

.nb-card__body { display: flex; flex-direction: column; min-height: 382px; padding: 20px; }
.nb-card__top > p { margin: 0 0 6px; color: #9b6c5d; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nb-card__top h3 { min-height: 2.6em; margin: 0; font-size: 20px; line-height: 1.28; }
.nb-card__top h3 a { color: inherit; text-decoration: none; }
.nb-card__top h3 a:hover { color: #a44332; }

.nb-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0; color: #963c2d; font-size: clamp(23px, 2.2vw, 30px); font-weight: 850; line-height: 1; white-space: nowrap; }
.nb-price__currency { font-size: .62em; font-weight: 800; }
.nb-price--request { white-space: normal; }

.nb-card__meta { display: grid; gap: 9px; margin: 0 0 20px; padding: 0; list-style: none; }
.nb-card__meta li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid #eee5de; }
.nb-card__meta span { color: #8c776d; font-size: 11px; }
.nb-card__meta strong { overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; }

.nb-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: auto; }
.nb-card__actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid #d8b9ad; border-radius: 12px; color: #933b2c; font-size: 13px; font-weight: 800; text-decoration: none; }
.nb-card__actions .nb-card__primary { border-color: #ad4937; background: #ad4937; color: #fff; }
.nb-card__source { margin: 12px 0 0; color: #9a887f; font-size: 10px; text-align: center; }

.nb-empty, .nb-load-error { padding: 36px; border: 1px dashed #c8ada1; border-radius: 18px; background: #fff; color: #6f5a50; text-align: center; }

@media (max-width: 1180px) {
  .nb-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nb-field--search { grid-column: span 2; }
  .nb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .newbuilds-v3 .nb-hero { padding: 38px 0 42px; }
  .nb-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .nb-hero h1 { font-size: clamp(35px, 11vw, 49px); }
  .nb-hero__actions .btn { width: 100%; }
  .nb-hero__facts div { padding: 16px 18px; }
  .nb-catalog__heading { display: grid; gap: 14px; }
  .nb-filters { grid-template-columns: 1fr; padding: 14px; border-radius: 18px; }
  .nb-field--search { grid-column: auto; }
  .nb-results-bar { align-items: flex-start; flex-direction: column; }
  .nb-legend { display: none; }
  .nb-cards { grid-template-columns: 1fr; gap: 18px; }
  .nb-card__body { min-height: 0; }
  .nb-card__top h3 { min-height: 0; }
  .nb-price { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-card, .nb-card__media img { transition: none; }
}
