/* V6 refinement: stronger contrast, bright yellow accent, sans typography and redesigned mortgage / specs / wall sections */
:root {
  --ink: #0f3517;
  --text: #185124;
  --muted: #5d655e;
  --line: rgba(18,61,27, .14);
  --white: #fffdf8;
  --soft: #efefec;
  --soft-2: #e5e4db;
  --yellow: #ffce3c;
  --yellow-deep: #ffc414;
  --yellow-ink: #0e4d1b;
  --green: #08963c;
  --serif: "Open Sans", "Segoe UI", Arial, sans-serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --sh-y: 0 12px 28px rgba(255,196,20, .28);
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); }
h1, h2, h3 { font-family: var(--sans) !important; font-weight: 700 !important; letter-spacing: -.045em; }
h1 { line-height: 1.02; }
h2 { line-height: 1.08; }
h3 { line-height: 1.2; }
.kicker { font-family: var(--sans); }
.hl { color: inherit; background: linear-gradient(180deg, transparent 67%, rgba(255,206,60, .66) 67%, rgba(255,206,60, .66) 93%, transparent 93%); }
.on-dark .hl, .hl-dark { background: linear-gradient(180deg, transparent 67%, rgba(255,206,60, .7) 67%, rgba(255,206,60, .7) 93%, transparent 93%); }
::selection { background: rgba(255,206,60, .62); color: #0d2e14; }
:focus-visible { outline-color: #ecb100; }

/* Yellow is a clear brand accent, not a second background colour */
.btn-y { background: linear-gradient(135deg, #ffd864, #ffc822); color: #0f3517; box-shadow: 0 12px 26px rgba(245,184,0, .25), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-y:hover { background: linear-gradient(135deg, #ffde7c, #ffc107); color: #0d2e14; box-shadow: 0 16px 30px rgba(245,184,0, .32); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #f2b500, 0 8px 20px rgba(15,53,23,.08); }
.nav a::after { background: #ffc413; }
.chip.is-on, .tabs button.is-on { background: #ffce3c; color: #0f3517; box-shadow: 0 6px 16px rgba(221, 171, 37, .22); }
.chip:hover { border-color: rgba(216, 164, 31, .45); }
.consent input { accent-color: #f6b800; }

/* 1. Mortgage: bright editorial layout with the house photograph peeking from behind the program card */
.mort {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7.2vw, 104px) 0 clamp(82px, 8vw, 112px);
  background: linear-gradient(118deg, #f1f1ef 0%, #edebe4 52%, #e5e3da 100%);
  color: #175024;
}
.mort::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  bottom: auto;
  clip-path: none;
  pointer-events: none;
  opacity: .20;
  background: url("assets/img/architectural-paper-bg.webp") center / cover;
  mix-blend-mode: multiply;
}
.mort::after {
  content: "";
  position: absolute;
  top: 8%;
  right: -210px;
  bottom: auto;
  left: auto;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(83,96,85, .16);
  border-radius: 50%;
  clip-path: none;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: 0 0 0 30px rgba(83,96,85,.025), 0 0 0 66px rgba(83,96,85,.02);
  pointer-events: none;
}
.mort > .wrap, .mort .wrap { position: relative; z-index: 1; }
.mort-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(32px, 5vw, 76px);
}
.mort-copy { min-width: 0; padding-top: 40px; }
.mort .kicker { color: #8d783a; }
.mort .kicker::before { background: #f1b500; }
.mort h2 {
  max-width: 15ch;
  color: #103819;
  font-size: clamp(42px, 4.3vw, 62px);
  line-height: 1.06;
}
.mort h2 .hl {
  color: #0f561f;
  background: linear-gradient(180deg, transparent 70%, rgba(255,206,60,.78) 70%, rgba(255,206,60,.78) 93%, transparent 93%);
}
.mort .lead { max-width: 34em; color: #5d685f; font-size: 15px; line-height: 1.75; }
.mort-points {
  display: grid;
  gap: 11px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.mort-points li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(23,79,35, .11);
  border-radius: 17px;
  background: rgba(255, 253, 248, .88);
  box-shadow: 0 8px 22px rgba(16,56,25, .045);
}
.mort-points .ic {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 14px;
  background: #fff0bd;
  color: #0f521d;
}
.mort-points b { display: block; color: #14431e; font-size: 14px; font-weight: 700; line-height: 1.4; }
.mort-points span { display: block; margin-top: 3px; color: #5c645d; font-size: 11px; line-height: 1.5; }
.mort-stage { position: relative; min-width: 0; min-height: 600px; }
.mort-photo {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 94%;
  height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 30px;
  background: #ddd9c2;
  box-shadow: 0 24px 58px rgba(15,50,22, .16);
}
.mort-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(11,36,16,.16));
  pointer-events: none;
}
.mort-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 54%; }
.mort-card {
  position: relative;
  z-index: 2;
  width: 94%;
  top: 0;
  margin: 242px 0 0 auto;
  padding: clamp(27px, 3vw, 40px);
  border: 1px solid rgba(24,82,36, .13);
  border-radius: 27px;
  background: rgba(255, 253, 248, .98);
  color: #174e22;
  box-shadow: 0 26px 62px rgba(15,53,23, .17), inset 0 1px 0 #fff;
}
.mort-card h3 { max-width: none; padding-right: 68px; color: #123e1c; font-size: clamp(25px, 2.25vw, 34px); }
.mort-card > p { max-width: 48em; margin-top: 10px; color: #5b645c; font-size: 13px; line-height: 1.65; }
.st-mort { top: -38px; right: -24px; width: 84px; height: 84px; transform: rotate(-8deg); filter: drop-shadow(0 10px 18px rgba(17,75,30,.22)); }
.stamp b { color: #0f3317; font-family: var(--sans); font-weight: 700; }
.progs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 21px 0 22px;
}
.prog {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 47px;
  padding: 9px 11px;
  border: 1px solid rgba(65,74,66, .14);
  border-radius: 999px;
  background: #f2f2ef;
  color: #59645b;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.prog:hover { border-color: #e0b42d; background: #f4f4f1; color: #12401c; transform: translateY(-1px); }
.prog.is-on { border-color: #ffc720; background: #ffd044; color: #0f3517; box-shadow: 0 8px 18px rgba(221,171,37,.22); }
.mort-card .btn-y { width: 100%; border-radius: 14px; }
.mort-num { display: none !important; }

/* 2. Included package: turn the long vertical checklist into compact feature tiles */
.incl {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  align-items: stretch;
  border: 1px solid rgba(24,83,37, .12);
  border-radius: 29px;
  background: #fffdf8;
  box-shadow: 0 24px 64px rgba(17,58,26,.09);
}
.incl-l { min-width: 0; padding: clamp(23px, 2.7vw, 38px); }
.incl-l .tabs { display: inline-flex; flex-wrap: wrap; max-width: 100%; }
.incl-l .tabs button { min-height: 42px; padding: 8px 16px; font-size: 11px; }
.incl-l .tabs button.is-on { background: #ffce3c; color: #0f3517; box-shadow: 0 6px 16px rgba(221,171,37,.2); }
.checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  min-height: 78px;
  margin: 0;
  padding: 10px 10px;
  border: 1px solid rgba(24,83,37,.10);
  border-radius: 14px;
  background: #f6f6f5;
  color: #185325;
  font-size: 11px;
  line-height: 1.4;
  transition: background .2s, border-color .2s, opacity .2s, transform .2s;
}
.checks li:last-child { border-bottom: 1px solid rgba(24,83,37,.10); }
.checks li:hover { border-color: rgba(218,170,35,.55); background: #fffaf0; transform: translateY(-1px); }
.checks .box {
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  background: #ffd966;
  color: #0c4619;
}
.checks .box .ic { width: 13px; height: 13px; }
.checks li > span:last-child { display: block; min-width: 0; color: #174f23; font-size: 12px; font-weight: 700; line-height: 1.38; }
.checks li small { display: block; margin-top: 4px; color: #626d64; font-size: 10.5px; font-weight: 400; line-height: 1.4; }
.checks li.off { opacity: .57; background: #f1f1ee; }
.checks li.off .box { background: #e5e4db; color: #93a296; }
.checks li.is-hl { border-color: #ffc415; background: #f0efea; box-shadow: 0 4px 14px rgba(221,171,37,.11); }
.incl-r { position: relative; min-height: 490px; overflow: hidden; background: #dddaca; }
.incl-r .hs { position: absolute; top: 0; left: 50%; width: 100%; height: 100%; aspect-ratio: auto; transform: translateX(-50%); }
.incl-r .hs img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.incl-r .cap { position: absolute; left: 17px; right: 17px; bottom: 17px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,253,248,.94); color: #545d55; font-size: 11px; line-height: 1.5; backdrop-filter: blur(12px); }
.incl-r .cap b { color: #14431e; }
.incl-r .pin { background: #ffce3c; box-shadow: 0 0 0 6px rgba(255,206,60,.28), 0 10px 18px rgba(11,39,17,.17); }
.incl-r .pin::after { background: #12401c; }
.incl-r .pin span { background: #12401c; }

/* 3. Wall construction: generated 3D exploded view and meaningful icons instead of numeric labels */
.sec-tech { background-color: #eae9e1; }
.tech { align-items: center; }
.tech-col { align-content: center; gap: 13px; }
.titem {
  min-width: 0;
  padding: 17px 17px 16px;
  border: 1px solid rgba(24,83,37,.12);
  border-radius: 19px;
  background: rgba(255,253,248,.9);
  box-shadow: 0 8px 20px rgba(17,57,25,.045);
}
.titem b { display: flex; align-items: center; gap: 11px; color: #14431e; font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.35; }
.titem .tech-icon {
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(224,181,54,.36);
  border-radius: 13px;
  background: #fff2c6;
  color: #0f521d;
}
.titem .tech-icon .ic { width: 20px; height: 20px; }
.titem > span:not(.tech-icon) { display: block; padding-left: 50px; color: #5c645d; font-size: 11px; line-height: 1.55; }
.titem.is-on { border-color: rgba(220,174,42,.58); background: #f4f4f1; box-shadow: 0 12px 26px rgba(23,78,35,.09); }
.titem.is-on .tech-icon { background: #ffce3c; border-color: #ffc310; color: #0b2e13; }
.wall svg { width: auto; height: auto; filter: none; }
.wall .wall-chip .ic { width: 16px; height: 16px; }
.wall { min-width: 0; padding: 17px; border: 1px solid rgba(24,83,37,.13); border-radius: 26px; background: rgba(255,253,248,.82); box-shadow: 0 20px 48px rgba(18,61,27,.08); }
.wall-visual { position: relative; overflow: hidden; border-radius: 18px; background: #efefec; }
.wall-render { display: block; width: 100%; height: auto; aspect-ratio: 650 / 280; object-fit: cover; }
.wall-chip { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(255,215,96,.96); color: #0d2d14; box-shadow: 0 7px 18px rgba(14,48,21,.12); }
.wall-chip .ic { width: 16px; height: 16px; }
.wall-chip b { font-size: 12px; font-weight: 800; }
.wall-chip span { font-size: 10px; font-weight: 600; }
.wall-cap { margin: 12px 2px 0; color: #5c655d; font-size: 10px; line-height: 1.5; text-align: left; }

/* Keep yellow accent visible in active states without changing the warm architectural base */
.fact .fi { background: #fff0b8; color: #0f521d; }
.opt.is-on { border-color: #ffc310; background: #efeee8; box-shadow: inset 0 0 0 1px #ffc310, 0 12px 24px rgba(15,53,23,.08); }
.opt.is-on::before { border-color: #f8ba00; background: #ffc415; }
.quiz-bar i { background: linear-gradient(90deg, #ffc414, #ffd556); }

@media (max-width: 1180px) {
  .mort { padding: 70px 0 82px; }
  .mort-grid { grid-template-columns: 1fr; gap: 27px; }
  .mort-copy { padding-top: 0; }
  .mort-copy h2 { max-width: 12ch; }
  .mort-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .mort-points li { grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 13px; }
  .mort-points .ic { width: 40px; height: 40px; padding: 10px; }
  .mort-stage { min-height: 0; padding-bottom: 0; }
  .mort-photo { position: relative; width: 100%; height: clamp(250px, 36vw, 380px); }
  .mort-card { top: 0; width: min(760px, 92%); margin: -76px auto 0; }
  .incl { grid-template-columns: 1fr; }
  .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .incl-r { min-height: 370px; }
  .tech { grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr); }
  .wall { grid-column: 2; grid-row: 1 / span 2; }
  .tech-col:last-child { grid-column: 1; }
}
@media (max-width: 720px) {
  h1, h2, h3 { letter-spacing: -.04em; }
  .mort { padding: 58px 0 68px; }
  .mort-grid { gap: 24px; }
  .mort h2 { max-width: 12ch; font-size: clamp(37px, 10.5vw, 49px); }
  .mort .lead { font-size: 13px; }
  .mort-points { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .mort-points li { grid-template-columns: 42px minmax(0,1fr); align-items: center; padding: 10px 12px; }
  .mort-points .ic { width: 40px; height: 40px; margin: 0; }
  .mort-points b { font-size: 12px; }
  .mort-points span { font-size: 10px; }
  .mort-photo { height: 225px; border-radius: 22px; }
  .mort-card { top: 0; width: 96%; margin: -43px auto 0; padding: 25px 17px 20px; border-radius: 22px; }
  .mort-card h3 { max-width: 13ch; padding-right: 50px; font-size: 24px; }
  .mort-card > p { font-size: 11px; }
  .st-mort { top: -27px; right: -9px; width: 64px; height: 64px; }
  .stamp b { font-size: 25px; }
  .stamp b small { font-size: 9px; }
  .progs { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin: 16px 0 18px; }
  .prog { min-height: 48px; padding: 8px 9px; border-radius: 13px; font-size: 10px; line-height: 1.3; }
  .mort-card .btn-y { min-height: 49px; font-size: 12px; }
  .incl { border-radius: 22px; }
  .incl-l { padding: 19px 15px; }
  .incl-l .tabs { display: flex; width: 100%; border-radius: 15px; }
  .incl-l .tabs button { flex: 1 1 45%; min-height: 38px; padding: 7px 8px; font-size: 9px; }
  .checks { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; margin-top: 14px; }
  .checks li { min-height: 79px; gap: 7px; padding: 9px 8px; border-radius: 11px; }
  .checks .box { flex-basis: 19px; width: 19px; height: 19px; border-radius: 6px; }
  .checks .box .ic { width: 12px; height: 12px; }
  .checks li > span:last-child { font-size: 10.5px; }
  .checks li small { font-size: 9.5px; }
  #included .pin[data-pin="0"] { top: 72% !important; }
  .incl-r { min-height: 285px; }
  .incl-r .cap { left: 11px; right: 11px; bottom: 11px; padding: 10px 11px; font-size: 9px; }
  .tech { grid-template-columns: 1fr; gap: 12px; }
  .tech-col, .tech-col:last-child { grid-column: auto; grid-row: auto; grid-template-columns: 1fr; order: 0; }
  .wall { grid-column: auto; grid-row: auto; order: -1; padding: 9px; border-radius: 19px; }
  .wall-render { aspect-ratio: 650 / 280; object-fit: contain; }
  .wall-chip { right: 7px; bottom: 7px; gap: 5px; padding: 6px 8px; }
  .wall-chip b { font-size: 10px; }
  .wall-chip span { font-size: 9px; }
  .wall-cap { margin-top: 8px; font-size: 9px; }
  .titem { padding: 13px 13px 12px; }
  .titem b { gap: 9px; font-size: 13px; }
  .titem .tech-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 11px; }
  .titem .tech-icon .ic { width: 18px; height: 18px; }
  .titem > span:not(.tech-icon) { padding-left: 43px; font-size: 10px; }
}
@media (max-width: 380px) {
  .progs { grid-template-columns: 1fr; }
  .checks li { min-height: 88px; }
}
