/* V2 home magazine */
.s5-home-v2 > section { padding: clamp(44px, 5.5vw, 84px) 22px; }
.a-hero { display: grid; grid-template-columns: minmax(420px, 44%) 1fr; gap: 0; align-items: stretch; padding: 0 !important; border-bottom: 1px solid var(--a-line); background: var(--a-bg); }
.a-hero__copy { padding: clamp(48px, 6vw, 110px) clamp(26px, 4vw, 70px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.a-hero__title { font-size: clamp(52px, 6.4vw, 104px); line-height: .96; letter-spacing: -.03em; margin: 0; }
.a-hero__sub { font-size: 17px; max-width: 460px; color: var(--a-muted); }
.a-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.a-hero__media { margin: 0; min-height: 460px; }
.a-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-sechead { max-width: var(--a-container); margin: 0 auto 26px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--a-ink); padding-bottom: 12px; }
.a-sechead__link { color: var(--a-ink); text-decoration: none; font-weight: 600; }
.a-sechead__link:hover { color: var(--a-green); }
.a-feature__grid { max-width: var(--a-container); margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; }
.a-card { background: transparent; }
.a-card--side + .a-card--side { margin-top: 26px; }
.a-card--lead { grid-row: span 2; }
.a-card__media { display: block; overflow: hidden; }
.a-card__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform .4s ease; }
.a-card--lead .a-card__media img { aspect-ratio: 16/11; }
.a-card:hover .a-card__media img { transform: scale(1.025); }
.a-card__body { padding: 14px 0 0; border-bottom: 1px solid var(--a-line); padding-bottom: 18px; }
.a-card__t { margin: 0 0 4px; font-size: clamp(19px, 1.6vw, 26px); letter-spacing: -.01em; }
.a-card--lead .a-card__t { font-size: clamp(24px, 2.2vw, 34px); }
.a-card__t a { color: var(--a-ink); text-decoration: none; }
.a-card__t a:hover { color: var(--a-green); }
.a-card__specs { margin: 0 0 6px; color: var(--a-muted); font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.a-card__price { margin: 0; color: var(--a-green); font-weight: 800; font-size: 19px; }
.a-stats { padding-top: 0 !important; padding-bottom: 0 !important; }
.a-stats__row { max-width: var(--a-container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line); }
.a-stats__row::before, .a-stats__row::after { content: none !important; }
.a-stats__row div { padding: 22px 10px; text-align: center; border-left: 1px solid var(--a-line); }
.a-stats__row div:first-child { border-left: 0; }
.a-stats__row b { display: block; font-size: clamp(26px, 2.6vw, 38px); color: var(--a-ink); letter-spacing: -.02em; }
.a-stats__row span { color: var(--a-muted); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.a-makes__row { max-width: var(--a-container); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--a-line); }
.a-makes__row a { padding: 16px 22px; border: 1px solid var(--a-line); border-left: 0; color: var(--a-ink); text-decoration: none; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13.5px; background: var(--a-white); }
.a-makes__row a:hover { background: var(--a-green); color: #fff; }
.a-story { background: var(--a-concrete); }
.a-story__grid { max-width: var(--a-container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
.a-story__copy h2 { font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.02em; margin: 10px 0 14px; }
.a-story__copy p { color: var(--a-ink-2); max-width: 480px; margin-bottom: 18px; }
.a-story__media { margin: 0; }
.a-story__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.a-news { border-top: 1px solid var(--a-line); background: var(--a-white); }
.a-news__row { max-width: var(--a-container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.a-news__copy h2 { margin: 4px 0 0; font-size: clamp(22px, 2.4vw, 34px); }
.a-news .home-news__form { display: flex; gap: 0; flex: 1; max-width: 560px; min-width: 280px; }
.a-news .home-news__input { flex: 1; min-height: 50px; }
.a-news .home-news__btn { min-height: 50px; padding: 0 26px; }
.a-contact { background: var(--a-bg); }
.a-contact__grid { max-width: var(--a-container); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 4vw, 70px); }
.a-contact__info h2 { font-size: clamp(26px, 3vw, 42px); letter-spacing: -.02em; margin: 10px 0 22px; }
.a-contact__line { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--a-line); margin: 0; color: var(--a-ink-2); }
.a-contact__line span { min-width: 64px; color: var(--a-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.a-contact__line a { color: var(--a-ink); text-decoration: none; font-weight: 600; }
.a-contact__line a:hover { color: var(--a-green); }
.a-contact__formwrap { background: var(--a-white); border: 1px solid var(--a-line); padding: clamp(20px, 3vw, 40px); }
.a-contact__formwrap .home-contact__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.a-contact__formwrap .home-contact__row--full, .a-contact__formwrap .home-contact__row--inline { grid-template-columns: 1fr; }
.a-contact__formwrap label { display: block; margin-bottom: 6px; font-size: 12.5px; }
.a-contact__formwrap input, .a-contact__formwrap select, .a-contact__formwrap textarea { width: 100%; min-height: 46px; padding: 8px 12px; }
.a-contact__formwrap textarea { min-height: 110px; }
@media (max-width: 1024px) { .a-hero { grid-template-columns: 1fr; } .a-hero__media { min-height: 320px; } .a-feature__grid { grid-template-columns: 1fr; } .a-contact__grid, .a-story__grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .a-stats__row { grid-template-columns: 1fr 1fr; } .a-stats__row div:nth-child(odd) { border-left: 0; } .a-stats__row div:nth-child(n+3) { border-top: 1px solid var(--a-line); } .a-contact__formwrap .home-contact__row { grid-template-columns: 1fr; } }

/* Keep the JS-enhanced newsletter field and its validation message in the layout. */
.a-news .home-news__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 0; overflow: visible; background: transparent; }
.a-news .home-news__form > .iz-field { min-width: 0; }
.a-news .home-news__form > .iz-field .home-news__input { display: block; width: 100%; min-width: 0; }
.a-news .home-news__form > .home-news__btn { height: 50px; }
@media (max-width: 760px) {
  .a-news .home-news__form { grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; max-width: none; }
  .a-news .home-news__form > .home-news__btn { width: 100%; }
}

/* V2.2: featured -> model carousel */
.a-feature__grid.a-carousel__track {
  display: flex !important; grid-template-columns: none !important;
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 6px;
}
.a-carousel__track::-webkit-scrollbar { display: none; }
.a-card--rail { flex: 0 0 380px; scroll-snap-align: start; margin: 0 !important; grid-row: auto !important; }
@media (max-width: 700px) { .a-card--rail { flex-basis: 300px; } }

/* V2.3: newsletter checkbox row (was blown up by the 100%-width field rule) */
.a-contact__formwrap .home-contact__checkbox {
  display: flex !important; align-items: center; gap: 10px;
  cursor: pointer; margin: 4px 0 0;
  color: var(--a-ink-2) !important; font-size: 14.5px;
}
.a-contact__formwrap .home-contact__checkbox input[type=checkbox] {
  width: 18px !important; height: 18px !important;
  min-height: 0 !important; min-width: 0 !important;
  margin: 0 !important; padding: 0 !important;
  flex: 0 0 auto;
  accent-color: #1f4d3a;
  border: 1px solid var(--a-line-strong) !important;
}
.a-contact__formwrap .home-contact__checkbox span { background: transparent !important; }


/* V2.4: featured carousel - card surface, price chip, specs, CTA, nav arrows */
.a-carousel { position: relative; max-width: var(--a-container); margin: 0 auto; }
.a-card--rail {
  background: var(--a-white); border: 1px solid var(--a-line); border-radius: 2px;
  box-shadow: 0 1px 2px rgba(22,23,15,.05); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.a-card--rail:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(22,23,15,.13); border-color: var(--a-line-strong); }
.a-card--rail .a-card__media { position: relative; display: block; overflow: hidden; background: var(--a-concrete); }
.a-card--rail .a-card__media img { width: 100%; height: auto; aspect-ratio: 16/10 !important; object-fit: cover; display: block; transition: transform .5s ease; }
.a-card--rail:hover .a-card__media img { transform: scale(1.05); }
.a-card__sold { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--a-red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; }
.a-card--rail .a-card__body { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.a-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.a-card--rail .a-card__t { margin: 0 !important; font-size: 19px !important; line-height: 1.25; letter-spacing: -.01em; }
.a-card__chip { flex: 0 0 auto; align-self: flex-start; background: var(--a-green); color: #faf8f5; font-weight: 800; font-size: 14px; line-height: 1; padding: 6px 10px; border-radius: 2px; white-space: nowrap; }
.a-card__chip.is-sold { background: var(--a-red); }
.a-card--rail .a-card__specs { margin: 0; color: var(--a-muted); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }
.a-card__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: var(--a-green); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: gap .2s ease, border-color .2s ease; }
.a-card__cta:hover { gap: 11px; border-color: var(--a-green); color: var(--a-green-hover); }
.a-carousel__nav { position: absolute; top: 30%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--a-line-strong); background: rgba(255,255,255,.94); color: var(--a-ink); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(22,23,15,.12); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.a-carousel__nav:hover { background: var(--a-green); color: #fff; border-color: var(--a-green); }
.a-carousel__nav--prev { left: 6px; }
.a-carousel__nav--next { right: 6px; }
@media (max-width: 700px) { .a-carousel__nav { display: none; } }
/* end V2.4 */

/* price/sold chip: force readable WHITE text on the colored chip (beats inherited/foreign color rules) */
html body .s5-max .a-card__chip { background: var(--a-green) !important; color: #fff !important; }
html body .s5-max .a-card__chip.is-sold { background: var(--a-red) !important; color: #fff !important; }
