/* North Mintwortage homepage */
.home-page { --home-wine: #a81e32; --home-paper: #f7f3eb; --home-rule: #dfd5c8; }
.home-page .section { padding-block: clamp(42px, 6vw, 86px); }
.home-page .section-head h2 { text-wrap: balance; }

.home-page .hero--home {
  --home-hero-overlay: linear-gradient(90deg, #0b1528f5, #0b1528c9 42%, #0c183747 82%, #0c183757);
  border-bottom: 4px solid var(--home-wine);
}
.home-page .hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  grid-template-areas: "heading form" "copy form";
  column-gap: clamp(46px, 9vw, 128px);
  row-gap: 20px; align-items: start; align-content: center;
  padding-block: clamp(42px, 6vw, 82px);
}
.home-hero-heading { grid-area: heading; align-self: end; }
.home-hero-kicker {
  margin: 0 0 16px; color: #f6bdc8;
  font-size: .76rem; font-weight: 730; text-transform: uppercase; letter-spacing: .12em;
}
.home-hero-kicker span { margin-inline: 7px; color: #d48493; }
.home-page .hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 1.2rem + 3.3vw, 4.35rem); line-height: 1.01;
  letter-spacing: -.035em; font-weight: 500; margin: 0; max-width: 15ch; text-wrap: balance;
}
.home-page .hero__lead-wrap { grid-area: copy; min-width: 0; }
.home-page .hero__lead { max-width: 52ch; margin: 0; color: #eef0f6; font-size: 1rem; }
.home-page .trust-row { gap: 8px; margin-top: 20px; }
.home-page .trust-link, .home-page .trust-row__flag { border-radius: 5px; background: #111e34bb; }
.home-page .hero__form { grid-area: form; align-self: center; min-width: 0; }
.home-page .hero__form .form-card {
  padding: clamp(18px, 2.5vw, 26px); background: #fcfaf5;
  border-top: 4px solid var(--home-wine); border-radius: 10px;
  box-shadow: 0 22px 65px #060a17a6;
}
.home-page .hero__form .form-card__head { margin: 0; color: #1b2435; font-size: 1.16rem; text-shadow: none; }
.home-page .hero__form .form-card__head small { color: #46516a; }
.home-page .hero__form .form-block { width: 100%; max-width: none; padding: 0; background: transparent; border: 0; box-shadow: none; }

.home-page .home-markets {
  padding-block: 24px; background: #fffaf3;
  border-block: 1px solid var(--home-rule);
}
.home-markets > .container { display: grid; gap: 16px; align-items: center; }
.home-markets .section-head { margin: 0; }
.home-markets .section-head h2 { font-family: Georgia, serif; font-size: 1.42rem; margin: 0 0 5px; }
.home-markets .section-head p { font-size: .88rem; margin: 0; }
.home-markets .logos-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.home-markets .logo-chip { min-width: 0; width: 100%; min-height: 0; height: 50px; border-radius: 6px; box-shadow: none; padding: 8px; }
.home-markets .logo-chip img { width: auto; height: auto; max-height: 25px; max-width: 100%; object-fit: contain; }

.home-company {
  background: linear-gradient(90deg, #0e192df8, #0d192ee8 49%, #101b31a8),
    url("../images/hero-uk.webp") right 62% / cover;
  color: #dfe7f3;
}
.home-company .company-grid { align-items: center; }
.home-company h2 { font: 500 clamp(1.9rem, 3.3vw, 2.85rem)/1.08 Georgia, serif; color: #fff; }
.home-company .fact-list { max-width: 560px; }
.home-company .fact-list__row { border-color: #ffffff37; }
.home-company .fact-list :is(dt, dd, a) { color: #f2edf3; }
.home-company .mini-link { background: #f8f3eb; color: #15243c; border-radius: 6px; }

.home-security { background: #fffdf9; }
.home-security .card, .home-advantages .card { border-radius: 8px; border-color: var(--home-rule); box-shadow: none; }
.home-steps { background: var(--home-paper); }
.home-steps .steps { gap: 0; border-block: 1px solid #cfc0ad; }
.home-steps .step { min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 20px 17px; }
.home-steps .step:hover { transform: none; }
.home-steps .step__num {
  width: auto; height: auto; border: 0; background: transparent; color: var(--home-wine);
  font: 500 2.65rem/1 Georgia, serif; margin-bottom: 12px;
}
.home-estimate { background: #142038; color: #fff; }
.home-estimate .two-col { align-items: center; }
.home-estimate .section-head { margin-bottom: 0; }
.home-estimate .section-head h2 { font: 500 clamp(1.95rem, 3.5vw, 3rem)/1.04 Georgia, serif; color: #fff; }
.home-estimate .section-head p { color: #e0e7f3; }
.home-estimate .two-col > :last-child { min-width: 0; }
.home-estimate .calc-widget { padding: clamp(15px, 2.5vw, 26px); border-radius: 10px; background: #f8f4ed; }
.home-estimate .calc-widget__wrapper { gap: clamp(12px, 2vw, 24px); margin-bottom: 21px; }
.home-estimate .calc-widget__controls { gap: clamp(12px, 2vw, 26px); }
.home-estimate .calc-widget__result { border-radius: 8px; }
.home-compare { background: #fffaf3; }
.home-compare table { background: #fff; }
.home-compare thead th { background: #1c2941; color: #fff; }
.home-compare thead .compare-col-brand { background: #7f192b; color: #fff; }
.home-reviews { background: #fffdf9; }
.home-reviews .review { border-radius: 6px; border-color: var(--home-rule); border-top: 3px solid #ae6d78; box-shadow: none; }
.home-reviews .review__photo { border-color: #e7d1d5; }
.home-advantages { background: var(--home-paper); }

.home-join { background: linear-gradient(110deg, #5f1729, #361b30 53%, #15233d); color: #f9eaf0; }
.home-join .section-head { margin-bottom: 0; }
.home-join .section-head h2 { color: #fff; font: 500 clamp(2rem, 3vw, 3rem)/1.04 Georgia, serif; }
.home-join .section-head p, .home-join .section-head a { color: #f7eaf1; }
.home-join .form-block { max-width: none; width: 100%; background: #fffaf6; border-radius: 8px; }
.home-faq { background: #fffaf4; }
.home-faq .faq-list { max-width: none; }
.home-faq .faq-item { border-radius: 7px; border-color: var(--home-rule); box-shadow: none; }
.home-faq .faq-item[open] { border-left: 3px solid var(--home-wine); }
.site-footer { border-top: 3px solid #a66672; }

@media (min-width: 900px) {
  .home-markets > .container { grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); }
  .home-steps .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-steps .step + .step { border-left: 1px solid #cfc0ad; }
  .home-faq > .container { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 0 38px; align-items: start; }
  .home-faq .faq-list { grid-column: 2; grid-row: span 2; }
  .home-estimate .two-col { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}
@media (max-width: 899px) {
  .home-page .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "form" "copy"; gap: 24px; }
  .home-page .hero--home {
    --home-hero-overlay: linear-gradient(180deg, #101a2d8c, #101b31 560px);
    background-position: center, right top;
    background-size: auto, auto clamp(420px, 72vw, 570px);
  }
  .home-page .hero__form { max-width: 500px; }
  .home-steps .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .home-steps .step:nth-child(even) { border-left: 1px solid #cfc0ad; }
  .home-steps .step:nth-child(n+3) { border-top: 1px solid #cfc0ad; }
  .home-estimate .section-head canvas { max-height: 155px; }
}
@media (max-width: 520px) {
  .home-markets .logos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-steps .step { padding: 13px; }
}

/* Editorial pairing and page spacing */
.home-page .hero-note { margin-bottom: 0; }
.home-page .section-head > :last-child { margin-bottom: 0; }
.home-page .home-company { padding-block: clamp(46px, 7vw, 94px); }
.home-page .home-editorial { padding-block: clamp(36px, 6vw, 76px); }
.home-editorial .home-steps,
.home-editorial .home-advantages {
  min-width: 0; background: transparent; padding-block: 0;
}
.home-editorial > .section > .container { padding: 0; }
.home-editorial .home-advantages::before { display: none; }
.home-editorial .home-steps .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-editorial .home-steps .step { border-left: 0; }
.home-editorial .home-steps .step:nth-child(even) { border-left: 1px solid #cfc0ad; }
.home-editorial .home-steps .step:nth-child(n+3) { border-top: 1px solid #cfc0ad; }
.home-editorial .home-advantages .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-editorial .home-advantages .card { min-width: 0; padding: clamp(13px, 1.65vw, 21px); }
.home-reviews .reviews-note { margin-bottom: 0; }
.home-security .card-grid { gap: 14px; }
.home-estimate .calc-widget__title { font-size: clamp(1.35rem, 2.25vw, 1.85rem); margin-bottom: 8px; }
.home-estimate .calc-widget__subtitle { margin-bottom: 20px; }
.home-estimate .calc-widget__range:focus-visible { outline: 2px solid #852036; outline-offset: 4px; }

@media (min-width: 1024px) {
  .home-editorial { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(26px, 4vw, 64px); }
  .home-editorial .home-advantages { border-left: 1px solid var(--home-rule); padding-left: clamp(20px, 3.2vw, 46px); }
}
@media (max-width: 1023px) {
  .home-editorial .home-advantages { margin-top: clamp(30px, 5vw, 50px); }
}
@media (max-width: 520px) {
  .home-editorial .home-advantages .card-grid { grid-template-columns: minmax(0, 1fr); }
}

.home-page .home-hero-kicker { letter-spacing: .13em; }
.home-reviews .review { border-radius: 2px; border-top: 2px solid #632038; }
.home-editorial .section-head h2, .home-reviews .section-head h2 { font-family: Georgia, serif; font-weight: 500; }
@media (min-width: 900px) {
  .home-page .hero--home { --home-hero-overlay: linear-gradient(90deg, #f7f1e5 0%, #f7f1e5 55%, #17203845 55%); border-bottom: 1px solid #ae9b84; }
  .home-page .hero__bg { display: none; }
  .home-page .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(335px, 38%); column-gap: 12%; }
  .home-page .hero__title { color: #242032; text-shadow: none; }
  .home-page .home-hero-kicker { color: #791e36; }
  .home-page .hero__lead, .home-page .hero__lead strong, .home-page .hero-note { color: #3e3744; text-shadow: none; }
  .home-page .trust-link, .home-page .trust-row__flag { color: #4e2633; background: #fff9ee; border: 1px solid #c9b7a5; }
  .home-page .hero__form .form-card { border-radius: 2px; box-shadow: 0 15px 42px #10182540; }
}
@media (min-width: 900px) { .home-page .trust-link svg, .home-page .hero-note svg { color: #852036; } }

.home-page .home-hero-kicker { display: flex; align-items: center; gap: 10px; }
.home-hero-kicker .flag { width: 26px; height: 18px; }
.home-page .trust-row { border-top: 1px solid #a9958266; padding-top: 14px; }
@media (min-width: 900px) {
  .home-page .hero__inner { row-gap: 18px; padding-block: clamp(42px, 4.6vw, 68px); }
  .home-page .hero__title { max-width: 16ch; }
  .home-page .trust-link { background: transparent; border: 0; border-bottom: 1px solid #ab8187; border-radius: 0; padding: 4px 0; }
  .home-page .trust-row { gap: 18px; }
}
@media (max-width: 899px) {
  .home-page .hero__inner { gap: 18px; padding-block: 28px; }
  .home-page .hero__title { font-size: clamp(2.15rem, 6.5vw, 3.5rem); max-width: 17ch; }
}
.hero-title-accent { color: #ffc1ce; }
@media (min-width: 900px) {
  .hero-title-accent { color: #852036; }
}
