/* The two live pages (index.html free site visit, plans.html buyer's guide), on top of common.css + option-a.css. */

/* site visit: what we check */
.sitecheck__in{display:grid;grid-template-columns:1.05fr 1fr;gap:2.6rem;align-items:start;margin-top:.4rem}
.sitecheck__plan{margin:0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:1rem;box-shadow:0 10px 30px rgba(17,35,55,.08)}
.siteplan{width:100%;height:auto;display:block;font-family:"IBM Plex Sans",system-ui,sans-serif}
.sitecheck__plan figcaption{font-size:.88rem;color:var(--mut);margin-top:.6rem}
.checks{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 1.6rem}
.checks li{padding:.85rem 0 .85rem 1.9rem;border-bottom:1px solid var(--line);position:relative}
.checks li::before{content:"";position:absolute;left:0;top:1.05rem;width:1.05rem;height:1.05rem;border:2px solid var(--navy);border-radius:3px}
.checks li::after{content:"";position:absolute;left:.26rem;top:1.2rem;width:.55rem;height:.3rem;border-left:2.5px solid var(--lime-d);border-bottom:2.5px solid var(--lime-d);transform:rotate(-45deg)}
.checks b{display:block;color:var(--navy);font-size:1rem}
.checks span{display:block;color:var(--mut);font-size:.92rem;line-height:1.4;margin-top:.15rem}
.sitecheck__out{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;margin-top:2rem;background:var(--navy);color:#fff;border-radius:12px;padding:1.6rem 1.8rem}
.sitecheck__out h3{color:var(--lime);font-size:1.25rem;margin-bottom:.4rem}
.sitecheck__out p{margin:0;color:#dbe3ec;max-width:62ch}
.sitecheck__out .calllink{color:#fff}

/* included in every build */
.free{background:var(--bg2)}
.free__in{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center}
.free__cols{display:grid;grid-template-columns:1fr 1fr;gap:0 1.6rem}
.free__pics{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
.free__pics img{border-radius:10px;width:100%;aspect-ratio:4/5;object-fit:cover}
.process__cols--3{grid-template-columns:repeat(3,1fr)}

/* second offer on the site visit page */
.alt{padding:3.2rem 0}
.alt__in{display:grid;grid-template-columns:220px 1fr;gap:2.4rem;align-items:center;border:1px solid var(--line);border-radius:14px;padding:1.8rem 2rem;background:#fff}
.alt__pic img{width:100%;border-radius:4px;box-shadow:0 14px 30px rgba(17,35,55,.22);transform:rotate(-3deg)}
.alt h2{margin-bottom:.4rem}
.alt p{color:var(--mut);max-width:60ch}

/* guide hero */
.hero-g{background:radial-gradient(1200px 500px at 15% 110%,#1d3a5c 0%,var(--navy) 60%)}
.hero-g .hero-a__in{align-items:start}
.g-book{position:relative;width:min(330px,70%);height:auto;aspect-ratio:397/562;margin:1.8rem 0 0 1rem}
.g-book img{position:absolute;top:0;left:0;width:100%;height:auto;border-radius:3px}
.g-book__back{transform:translate(52px,18px) rotate(6deg);box-shadow:0 18px 40px rgba(0,0,0,.35);opacity:.92}
.g-book__front{transform:rotate(-3deg);box-shadow:0 26px 55px rgba(0,0,0,.45)}
.qf label.opt{font-weight:600}
.qf label.opt i{font-weight:400;color:var(--mut);font-style:normal}
#gdone .qf__go{margin:.4rem 0 .8rem}
.gdone__next{font-size:.95rem;margin:0}

/* what's inside */
.inside__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem 1.2rem}
.inside figure{margin:0}
.inside figure img{width:100%;border-radius:4px;border:1px solid var(--line);box-shadow:0 8px 22px rgba(17,35,55,.12);cursor:zoom-in}
.inside figcaption{margin-top:.7rem}
.inside figcaption b{display:block;color:var(--navy)}
.inside figcaption span{display:block;color:var(--mut);font-size:.9rem;line-height:1.4}
.inside__cta{background:var(--navy);color:#fff;border-radius:10px;padding:1.4rem;display:flex;flex-direction:column;justify-content:center;gap:1rem}
.inside__cta p{margin:0;font-family:Archivo,system-ui,sans-serif;font-weight:700;font-size:1.3rem;line-height:1.2}

@media (max-width:1023px){
  .sitecheck__in,.free__in{grid-template-columns:1fr}
  .inside__grid{grid-template-columns:repeat(3,1fr)}
  .g-book{display:none}
}
@media (max-width:760px){
  .checks,.free__cols{grid-template-columns:1fr}
  .sitecheck__out{grid-template-columns:1fr;padding:1.3rem}
  .process__cols--3{grid-template-columns:1fr}
  .alt__in{grid-template-columns:1fr;padding:1.3rem}
  .alt__pic{max-width:180px}
  .inside__grid{grid-template-columns:1fr 1fr}
}
.sitecheck__out .btn--quote,.inside__cta .btn--quote,.hero-g #gdone .btn--quote{background:var(--lime);color:var(--navy);border-color:var(--lime)}

/* conversion pass 16/11: hero ticks, quote under the form, area note, plan buttons, two-button phone bar */
.hero-ticks{list-style:none;padding:0;margin:0 0 1.1rem}
.hero-ticks li{position:relative;padding-left:1.7rem;margin:.35rem 0;color:#fff;font-weight:500}
.hero-ticks li::before{content:"";position:absolute;left:.1rem;top:.42em;width:.85rem;height:.45rem;border-left:3px solid var(--lime);border-bottom:3px solid var(--lime);transform:rotate(-45deg)}
.hero-q{margin:.9rem .4rem 0;color:#dbe3ec;font-size:.95rem}
.hero-q p{margin:0 0 .25rem;font-style:italic}
.hero-q cite{font-style:normal;font-size:.85rem;color:#aab6c3}
.qf__legend{font-weight:600;margin:0 0 .5rem;font-size:.98rem}
.qf__area{background:#fff7d6;border:1px solid #e6cf6a;color:#4a3d00;border-radius:7px;padding:.6rem .75rem;font-size:.9rem;margin:-.2rem 0 .8rem}
.plan__go{display:inline-block;margin-top:.35rem;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.callbar2{display:none}
@media (max-width:760px){
  .callbar{display:none!important}
  .callbar2{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:30;box-shadow:0 -4px 14px rgba(0,0,0,.18)}
  .callbar2 a{display:flex;align-items:center;justify-content:center;min-height:56px;font-weight:800;font-size:1rem;text-decoration:none;padding:0 .5rem;text-align:center}
  .callbar2__call{background:var(--navy);color:#fff}
  .callbar2__go{background:var(--lime);color:var(--navy)}
  body{padding-bottom:56px}
  .hero-ticks{display:none}
  .hero-q{display:none}
}

/* section heads (Andy 16/11: "this part looks poor"): heading left, intro right, divider under */
.sechead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3.5rem;align-items:end;margin:0 0 2.2rem;padding-bottom:1.8rem;border-bottom:1px solid var(--line)}
.sechead h2{margin:0;font-size:clamp(1.9rem,3.1vw,2.7rem);line-height:1.08;letter-spacing:-.01em}
.sechead .lead{margin:0;max-width:none;font-size:1.06rem}
.sitecheck{background:var(--bg2)}
.sitecheck .sechead{border-color:#d5dbcf}
.process .sechead,.end .sechead{border-color:rgba(255,255,255,.18)}
@media (max-width:860px){.sechead{grid-template-columns:1fr;gap:.8rem;margin-bottom:1.6rem;padding-bottom:1.2rem}}

/* guide hero v2 (Andy 16/11: "looks odd", headline should sell them, CTA = the guide) */
.hero-g{background:var(--navy)}
.qf__head{display:grid;grid-template-columns:62px 1fr;gap:.9rem;align-items:center;margin-bottom:.9rem}
.qf__head .qf__sub{margin:0}
.qf__cover{width:62px;height:auto;border-radius:3px;box-shadow:0 6px 14px rgba(17,35,55,.3);transform:rotate(-3deg)}
.hero-g .hero-a__pic{object-position:18% 50%}

/* split hero (Andy 16/11): copy + form left on navy, photo right, nothing on top of it */
.hero-s{position:relative;background:var(--navy);color:#fff;padding:2.4rem 0 2.8rem;overflow:hidden}
.hero-s__pic{position:absolute;top:0;right:0;bottom:0;width:calc(50% - 10px)}
.hero-s__pic img{width:100%;height:100%;object-fit:cover}
.hero-s__copy{width:calc(50% - 50px);max-width:590px;position:relative;z-index:1}
.hero-s h1{font-size:clamp(2rem,3.4vw,2.9rem);color:#fff;margin-bottom:.5rem}
.hero-s__sub{font-size:1.08rem;color:#dbe3ec;margin:0 0 .7rem}
.hero-s .rating{color:#fff;margin:0 0 1rem}
.hero-s__form .qf{box-shadow:0 14px 34px rgba(0,0,0,.35)}
.hero-s__call{margin:.9rem 0 0;color:#c3cdd8;font-size:.98rem}
.hero-s__call a{color:var(--lime);font-weight:700}
.hero-g .hero-s__pic img{object-position:62% 50%}
.inside__row{display:grid;grid-template-columns:repeat(7,1fr);gap:.9rem}
.inside__row figure{margin:0}
.inside__row img{width:100%;border-radius:3px;border:1px solid var(--line);box-shadow:0 6px 16px rgba(17,35,55,.12);cursor:zoom-in}
.inside__row figcaption{font-size:.85rem;font-weight:600;color:var(--navy);margin-top:.5rem;line-height:1.3}
.inside__go{margin-top:1.6rem}
@media (max-width:1023px){
  .hero-s__pic{display:none}
  .hero-s__copy{width:auto;max-width:640px}
  .inside__row{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:760px){
  .hero-s{padding:1.4rem 0 2rem}
  .hero-s h1{font-size:1.8rem}
  .hero-s__sub{font-size:1rem}
  .inside__row{grid-template-columns:repeat(3,1fr)}
}
.hero-s__top{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.2rem;margin:0 0 1.1rem}
.hero-s__top .rating{margin:0}
.hero-s .hero-s__btn{background:var(--lime);color:var(--navy);border-color:var(--lime);min-height:44px;padding:.5rem 1rem}
@media (max-width:1023px){.inside__row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.6rem}.inside__row figure{flex:0 0 30%;scroll-snap-align:start}}
@media (max-width:760px){.inside__row figure{flex:0 0 42%}}

/* display visit form + leaving-visitor offer (Andy 16/11) */
.qf--visit{margin-top:1.2rem;box-shadow:0 10px 26px rgba(17,35,55,.14)}
.qf select{display:block;width:100%;margin-top:.25rem;padding:.75rem .8rem;border:1.5px solid #b9c1cb;border-radius:7px;font:inherit;font-size:1rem;background:#fff}
.display__in{align-items:start}
.exit{border:0;border-radius:14px;padding:0;max-width:620px;width:calc(100% - 32px);box-shadow:0 30px 70px rgba(0,0,0,.4)}
.exit::backdrop{background:rgba(11,24,40,.6)}
.exit__in{display:grid;grid-template-columns:150px 1fr;gap:1.4rem;padding:1.8rem;align-items:center}
.exit__cover{width:100%;border-radius:3px;box-shadow:0 10px 24px rgba(17,35,55,.3);transform:rotate(-3deg)}
.exit__t{font-family:Archivo,system-ui,sans-serif;font-weight:700;font-size:1.45rem;color:var(--navy);margin:0 0 .5rem;line-height:1.15}
.exit__x{position:absolute;top:.4rem;right:.6rem;background:none;border:0;font-size:2rem;line-height:1;color:var(--mut);cursor:pointer}
@media (max-width:560px){.exit__in{grid-template-columns:1fr;padding:1.4rem}.exit__cover{width:110px}}

/* homepage lines in the hero + guide page contact section (Andy 16/11) */
.hero-ticks--row{display:flex;flex-wrap:wrap;gap:.2rem 1.3rem;margin:0 0 .9rem}
.hero-ticks--row li{margin:.2rem 0;font-size:.97rem}
.contact{background:var(--navy);color:#fff;padding:3.4rem 0}
.contact h2{color:#fff}
.contact__in{display:grid;grid-template-columns:1fr 1fr;gap:2.6rem;align-items:start}
.contact__txt p{color:#dbe3ec}
.contact__txt a:not(.btn){color:var(--lime);font-weight:700}
.contact .qf{box-shadow:0 14px 34px rgba(0,0,0,.35)}
.contact textarea{display:block;width:100%;margin-top:.25rem;padding:.75rem .8rem;border:1.5px solid #b9c1cb;border-radius:7px;font:inherit;font-size:1rem}
@media (max-width:860px){.contact__in{grid-template-columns:1fr;gap:1.6rem}}

.contact .btn--call{background:var(--lime);color:var(--navy);border-color:var(--lime)}

/* hero photo panel: whole build on top, two inside shots under it, so nothing is cropped to a slice of wall (Andy 16/11) */
@media (min-width:1024px){.hero-s__pic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:62% 1fr;gap:6px;background:var(--navy)}}
.hero-s__pic>div{overflow:hidden;min-height:0}
.hero-s__pic .hp__big{grid-column:1/3}
.hero-s__pic img{width:100%;height:100%;object-fit:cover;display:block}
.hero-g .hero-s__pic img{object-position:50% 50%}
.hero-g .hp__big img{object-position:62% 60%}
.hero-ticks--row li{flex:0 0 auto}

/* full width hero like their homepage (Andy 16/11) */
.hero-f{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero-f__pic{position:absolute;top:0;left:0;right:0;height:min(49vw,720px)}
.hero-f__pic img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
.hero-f__pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,35,55,0) 38%,rgba(17,35,55,.82) 72%,var(--navy) 100%)}
.hero-f__in{position:relative;display:grid;grid-template-columns:1fr 440px;gap:3rem;align-items:start;padding-top:calc(min(49vw,720px) - 330px);padding-bottom:1.6rem}
.hero-f__copy{padding-top:1rem;text-shadow:0 1px 12px rgba(0,0,0,.35)}
.hero-f__tag{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:1.35rem;color:var(--lime);margin:0 0 .3rem}
.hero-f h1{font-size:clamp(2rem,3.2vw,2.8rem);color:#fff;margin:0 0 .6rem}
.hero-f .rating{color:#fff;margin:0}
.hero-f__form .qf{box-shadow:0 18px 40px rgba(0,0,0,.4)}
.hero-f__bar{position:relative;border-top:1px solid rgba(255,255,255,.14);padding:1rem 0 1.2rem}
.hero-f__bar ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.6rem}
.hero-f__bar li{position:relative;padding-left:1.6rem;font-weight:700;color:var(--lime);text-transform:uppercase;letter-spacing:.02em;font-size:.95rem}
.hero-f__bar li::before{content:"";position:absolute;left:.1rem;top:.3em;width:.8rem;height:.42rem;border-left:3px solid var(--lime);border-bottom:3px solid var(--lime);transform:rotate(-45deg)}
@media (max-width:1023px){
  .hero-f__pic{position:relative;height:56vw}
  .hero-f__pic::after{background:linear-gradient(180deg,rgba(17,35,55,0) 65%,var(--navy) 100%)}
  .hero-f__in{grid-template-columns:1fr;gap:1.2rem;padding-top:0}
  .hero-f__copy{padding-top:0}
  .hero-f__bar ul{justify-content:flex-start}
}
@media (max-width:760px){
  .hero-f h1{font-size:1.75rem}
  .hero-f__tag{font-size:1.1rem}
  .hero-f__bar li{font-size:.85rem;flex:0 0 100%}
}

.hero-f .hero-s__btn{background:var(--lime);color:var(--navy);border-color:var(--lime);min-height:44px;padding:.5rem 1rem;text-shadow:none}
.hero-f .hero-s__top{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.2rem;margin-top:.4rem}
.hero-f .hero-s__call{margin:.9rem 0 0;color:#c3cdd8}
.hero-f .hero-s__call a{color:var(--lime);font-weight:700}

.hero-f__pic{height:min(49vw,720px,calc(100vh - 60px))}
.hero-f__in{padding-top:max(150px,calc(min(49vw,720px,calc(100vh - 60px)) - 430px))}
@media (max-width:1023px){.hero-f__pic{height:56vw}.hero-f__in{padding-top:0}}

@media (min-width:1024px){.hero-f__pic img{object-position:80% 30%}.hero-f__pic::after{background:linear-gradient(180deg,rgba(17,35,55,0) 28%,rgba(17,35,55,.86) 62%,var(--navy) 100%)}}

/* form sits below the house line, never over it (Andy 16/11 "you sure its fitting ok?") */
@media (min-width:1024px){.hero-f__form{margin-top:max(0px,calc(min(49vw,720px,calc(100vh - 60px))*.6 - max(150px,calc(min(49vw,720px,calc(100vh - 60px)) - 430px))))}}

/* hero v3 (Andy 16/11 "does the hero fit well?"): ticks + review fill the space under the copy, no separate bar */
.hero-f__ticks{list-style:none;margin:0 0 1.2rem;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.55rem 1.4rem}
.hero-f__ticks li{position:relative;padding-left:1.6rem;font-weight:700;color:#fff;font-size:1rem}
.hero-f__ticks li::before{content:"";position:absolute;left:.1rem;top:.32em;width:.8rem;height:.42rem;border-left:3px solid var(--lime);border-bottom:3px solid var(--lime);transform:rotate(-45deg)}
.hero-f__more .hero-q{margin:0;border-left:3px solid var(--lime);padding:.2rem 0 .2rem 1rem;color:#dbe3ec}
.hero-f__more .hero-q p{margin:0 0 .3rem;font-style:italic}
.hero-f__more .hero-q cite{font-style:normal;font-size:.9rem;color:#9fb0c2}
.hero-f__form .hero-q{display:none}
.hero-f__in{padding-bottom:2.6rem}
@media (min-width:1024px){
  .hero-f__in{grid-template-areas:"copy form" "more form";grid-template-rows:auto 1fr}
  .hero-f__copy{grid-area:copy}.hero-f__form{grid-area:form}.hero-f__more{grid-area:more;padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.14);margin-top:1.4rem;align-self:start}
}
@media (max-width:1023px){.hero-f__more{padding-top:.4rem}}
@media (max-width:560px){.hero-f__ticks{grid-template-columns:1fr}}

@media (max-width:1023px){.hero-f__more .hero-q{display:block}}

/* hero v4 (Andy 16/11 screenshot at ~1380x790): no gap above the ticks, a tighter form that shows more on the first screen */
@media (min-width:1024px){
  .hero-f__in{grid-template-areas:none;grid-template-rows:auto}
  .hero-f__copy,.hero-f__form,.hero-f__more{grid-area:auto}
  .hero-f__more--m{display:none}
  .hero-f__more--d{margin-top:1.3rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.14)}
  .hero-f__form{margin-top:max(0px,calc(min(49vw,720px,calc(100vh - 60px))*.55 - max(150px,calc(min(49vw,720px,calc(100vh - 60px)) - 430px))))}
  .hero-f__form .qf{padding:1.1rem 1.3rem}
  .hero-f__form .qf__title{margin-bottom:.1rem}
  .hero-f__form .qf__sub{margin-bottom:.5rem}
  .hero-f__form .qf__legend,.hero-f__form legend{margin:.5rem 0 .35rem}
  .hero-f__form .tiles label,.hero-f__form .tile{min-height:44px;padding:.45rem .5rem}
  .hero-f__form .row2 label{margin-top:.2rem}
  .hero-f__form .qf input:not([type=radio]){padding:.6rem .75rem}
  .hero-f__form .qf__go{margin-top:.7rem}
}
@media (max-width:1023px){.hero-f__more--d{display:none}}

/* step 1 = bedrooms + garage only (Andy 17/11): a little tighter so both rows sit on a laptop's first screen */
@media (min-width:1024px){
  .hero-f__form #step1 .qf__sub{margin-bottom:.2rem}
  .hero-f__form #step1 .tiles{margin-bottom:.2rem}
  .hero-f__form #step1 .tiles label,.hero-f__form #step1 .tile{min-height:42px}
}

@media (min-width:1024px){.hero-f__form{margin-top:max(0px,calc(min(49vw,720px,calc(100vh - 60px))*.52 - max(150px,calc(min(49vw,720px,calc(100vh - 60px)) - 430px))))}.hero-f__form .qf{padding-top:.9rem}.hero-f__form #step1 .qf__title{font-size:1.15rem}}
