/* MAWH hero (homepage design, used by every page with a hero). Loaded from header.php. */
/* ===== Homepage hero v2 (owner's mock-up, 2026-11-22): text | illustration | quote card ===== */
.hero-v2 .hero-inner { width: min(1440px, calc(100% - 4rem)); gap: 2rem; }
.hero-v2 .hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem; margin-bottom: 1.6rem; font-weight: 600; font-size: .9rem; color: #202124; border: 1px solid #ceead6 !important; border-radius: 999px; box-shadow: 0 4px 14px rgba(52, 168, 83, .12) !important; }
.hero-v2 .dot-ping { display: inline-block; flex: none; width: 12px; height: 12px; margin: 0; opacity: 1; transform: none; animation: heroDot 2s ease-out infinite; }
@keyframes heroDot { 0% { box-shadow: 0 0 0 0 rgba(52, 168, 83, .55); } 70% { box-shadow: 0 0 0 9px rgba(52, 168, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 168, 83, 0); } }
.hero-v2 .hero-title { font-size: clamp(2.6rem, 4.3vw, 4.4rem); line-height: 1.06; margin-bottom: 1.6rem; }
.hero-v2 .hero-line1 { position: relative; display: inline-block; }
.hero-v2 .hero-sparks { position: absolute; top: -.6em; right: -.95em; width: .9em; height: .9em; }
.hero-v2 .hero-sparks i { position: absolute; left: 0; bottom: 0; width: .09em; height: .34em; border-radius: 99px; background: #fbbc04; transform-origin: 50% 100%; }
.hero-v2 .hero-sparks i:nth-child(1) { transform: translate(.05em, .1em) rotate(-20deg); }
.hero-v2 .hero-sparks i:nth-child(2) { transform: translate(.32em, -.05em) rotate(30deg); }
.hero-v2 .hero-sparks i:nth-child(3) { width: .32em; height: .09em; transform: translate(.4em, .32em) rotate(-14deg); }
.hero-v2 .hero-title-accent { background: none; -webkit-text-fill-color: initial; }
.hero-v2 .hero-w1, .hero-v2 .hero-w2 { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-v2 .hero-w1 { position: relative; display: inline-block; background-image: linear-gradient(90deg, #1a73e8 0%, #3367d6 30%, #d93025 62%, #ea4335 100%); }
.hero-v2 .hero-w2 { background-image: linear-gradient(90deg, #f9ab00 0%, #fbbc04 40%, #34a853 75%, #1e8e3e 100%); }
.hero-v2 .hero-w1::after { content: ""; position: absolute; left: 4%; right: -6%; bottom: -.16em; height: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C60 4 130 3 196 8' fill='none' stroke='%23fbbc04' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; -webkit-text-fill-color: initial; }
.hero-v2 .hero-sub { font-size: 1.2rem; color: #3c4043; max-width: 540px; }
.hero-v2 .hero-sub b { color: #202124; font-weight: 700; }
.hero-v2 .hero-cta .btn { border-radius: 12px; }
.hero-v2 .hero-cta .btn-white { box-shadow: 0 8px 18px rgba(26, 115, 232, .28); }
.hero-v2 .hero-trust { gap: 0; padding-top: 1.6rem; }
.hero-v2 .trust-item { display: flex; align-items: center; gap: .75rem; padding: 0 1.6rem; }
.hero-v2 .trust-item:first-child { padding-left: 0; }
.hero-v2 .trust-item + .trust-item { border-left: 1px solid #dadce0; }
.hero-v2 .trust-ic { font-size: 1.7rem; }
.hero-v2 .trust-ic--star { color: #fbbc04; }
.hero-v2 .trust-ic--users { color: #ea4335; }
.hero-v2 .trust-ic--support { color: #34a853; }
.hero-v2 .trust-num { font-size: 1.75rem; line-height: 1.1; }
.hero-v2 .trust-label { font-size: .78rem; font-weight: 600; color: #3c4043; white-space: nowrap; }

/* illustration */
.hero-v2 .hero-art { display: none; }
.hero-v2 .hero-art img { display: block; width: 100%; height: auto; }

/* quote card */
.hero-v2 .hero-form { padding: 2rem 1.8rem 1.6rem; border-radius: 28px; box-shadow: 0 24px 60px rgba(32, 33, 36, .14), 0 2px 6px rgba(32, 33, 36, .06); }
.hero-v2 .form-bar { height: 6px; }
.hero-v2 .form-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: .4rem; text-align: left; }
.hero-v2 .form-head__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #fde8e6; color: #d93025; font-size: 1.9rem; box-shadow: 0 6px 14px rgba(217, 48, 37, .18); }
.hero-v2 .form-head h2 { margin: 0; font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 800; color: #202124; letter-spacing: -.02em; line-height: 1.15; }
.hero-v2 .form-head p { margin: .3rem 0 0; color: #3c4043; font-weight: 500; font-size: .98rem; }
.hero-v2 .form-grid { gap: .9rem; margin-top: 1.3rem; }
.hero-v2 .hero-form .input { height: 52px; padding: 1rem .9rem .35rem; border: 1.5px solid #c9ced6; border-radius: 12px; background: #fff; font-weight: 500; }
.hero-v2 .hero-form .input:focus { border-color: #1a73e8; box-shadow: 0 0 0 4px rgba(26, 115, 232, .12); }
.hero-v2 .hero-form .textarea { height: auto; min-height: 112px; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.hero-v2 .hero-form .input-group label { top: 50%; transform: translateY(-50%); max-width: calc(100% - 3.6rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3c4043; font-weight: 500; font-size: .95rem; }
.hero-v2 .hero-form .input-group.is-area label { top: 1.05rem; transform: none; }
.hero-v2 .hero-form .input:focus + label, .hero-v2 .hero-form .input:not(:placeholder-shown) + label { top: .5rem; transform: none; font-size: .7rem; font-weight: 700; }
.hero-v2 #dateGroup label { top: .5rem; transform: none; font-size: .7rem; font-weight: 700; color: #1a73e8; text-transform: uppercase; letter-spacing: .05em; }
.hero-v2 #dateGroup .input { font-size: 1.05rem; font-weight: 600; color: #202124; }
.hero-v2 .hero-form .req::after { content: " *"; color: #d93025; }
.hero-v2 .hero-form .has-ic .input { padding-left: 2.9rem; }
.hero-v2 .hero-form .has-ic label { left: 2.9rem; }
.hero-v2 .hero-form .in-ic { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #5f6368; font-size: 1.05rem; pointer-events: none; z-index: 1; }
.hero-v2 .hero-form .in-ic--wa { color: #1e8e3e; font-size: 1.2rem; }
.hero-v2 .hero-form .is-area .in-ic { top: 1.05rem; transform: none; }
.hero-v2 .hero-form .area-count { position: absolute; right: .9rem; bottom: .55rem; font-size: .8rem; color: #5f6368; pointer-events: none; }
.hero-v2 .hero-submit { grid-column: 1 / -1; width: 100%; height: 58px; border-radius: 12px; font-size: 1.2rem; gap: .6rem; background: #1a73e8; border-color: #1a73e8; box-shadow: 0 8px 18px rgba(26, 115, 232, .28); }
.hero-v2 .hero-submit i { font-size: 1.35rem; }
.hero-v2 .form-note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .2rem; font-size: .95rem; color: #3c4043; }

/* wide screens: three columns like the mock-up */
@media (min-width: 1200px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1.12fr); gap: 1.5rem; }
  .hero-v2 .hero-art { display: block; align-self: center; margin: 0 -1.5rem 0 -3rem; }
  .hero-v2 .hero-title { font-size: clamp(2.6rem, 3.9vw, 4.2rem); }
}
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr) minmax(0, 1.2fr); }
  .hero-v2 .hero-art { margin: 0 -1rem 0 -2.5rem; }
  .hero-v2 .trust-item { padding: 0 1rem; }
  .hero-v2 .form-head p { font-size: .9rem; }
}
@media (min-width: 1025px) and (max-width: 1199.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* laptops / desktops: the hero fills the first screen; a small script scales it to fit */
@media (min-width: 1025px) {
  .hero.hero-v2 { min-height: 0; padding: 22px 0 26px; justify-content: center; }
}

/* phones / tablets: stacked, centred text, form below */
@media (max-width: 1024px) {
  .hero-v2 .hero-inner { width: min(1180px, calc(100% - 2.5rem)); }
  .hero-v2 .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-v2 .hero-trust { justify-content: center; }
  .hero-v2 .hero-form { text-align: left; }
}
@media (max-width: 640px) {
  .hero-v2 .hero-sub { font-size: 1.05rem; }
  .hero-v2 .trust-item { padding: 0 .9rem; gap: .5rem; }
  .hero-v2 .trust-ic { font-size: 1.3rem; }
  .hero-v2 .trust-num { font-size: 1.4rem; }
  .hero-v2 .trust-label { font-size: .7rem; }
  .hero-v2 .hero-form { padding: 1.6rem 1.1rem 1.3rem; border-radius: 22px; }
  .hero-v2 .form-head__icon { width: 52px; height: 52px; font-size: 1.5rem; border-radius: 15px; }
  .hero-v2 .form-head h2 { font-size: 1.55rem; }
  .hero-v2 .form-head p { font-size: .88rem; }
  .hero-v2 .form-grid { grid-template-columns: 1fr !important; }
  .hero-v2 .hero-form .input { min-height: 54px; font-size: 16px; }
}
@media (max-width: 380px) {
  .hero-v2 .trust-item { padding: 0 .6rem; }
  .hero-v2 .trust-ic { display: none; }
  .hero-v2 .hero-sparks { display: none; }
}
/* ===== Hero v3 (owner, 2026-11-22): narrow vertical quote card with a centred title,
   smaller illustration, bigger heading and text ===== */
.hero-v2 .hero-title { font-size: clamp(2.9rem, 4.6vw, 5.2rem); line-height: 1.04; }
.hero-v2 .hero-sub { font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.6; max-width: 600px; }
.hero-v2 .hero-badge { font-size: 1rem; padding: .6rem 1.2rem; }
.hero-v2 .hero-cta .btn { font-size: 1.08rem; padding: .95rem 1.6rem; }
.hero-v2 .trust-num { font-size: 2rem; }
.hero-v2 .trust-label { font-size: .85rem; }
.hero-v2 .trust-ic { font-size: 1.9rem; }

.hero-v2 .hero-right { width: 100%; max-width: 420px; justify-self: end; }
.hero-v2 .hero-form { padding: 1.9rem 1.6rem 1.4rem; border-radius: 28px; }
.hero-v2 .form-head { flex-direction: column; align-items: center; gap: .7rem; margin-bottom: .2rem; text-align: center; }
.hero-v2 .form-head__icon { width: 52px; height: 52px; font-size: 1.55rem; border-radius: 15px; }
.hero-v2 .form-head h2 { font-size: 1.9rem; }
.hero-v2 .form-head p { font-size: .95rem; }
.hero-v2 .form-grid { grid-template-columns: 1fr !important; gap: .65rem; margin-top: 1.1rem; }
.hero-v2 .hero-form .input { height: 48px; min-height: 48px; }
.hero-v2 .hero-form .textarea { height: auto; min-height: 86px; }
.hero-v2 .hero-submit { height: 52px; }
.hero-v2 #dateGroup .input { height: 54px; min-height: 54px; padding-top: 1.25rem; }

.hero-v2 .hero-art img { max-width: 330px; margin: 0 auto; }

@media (min-width: 1200px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 300px) 420px; gap: 2rem; }
  .hero-v2 .hero-art { margin: 0 -1rem; }
  .hero-v2 .hero-title { font-size: clamp(2.9rem, 4.2vw, 5.2rem); }
}
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 250px) 400px; gap: 1.5rem; }
  .hero-v2 .hero-right { max-width: 400px; }
  .hero-v2 .hero-art { margin: 0 -1rem 0 -1.5rem; }
}
@media (min-width: 1025px) and (max-width: 1199.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) 400px; }
}
@media (max-width: 1024px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-v2 .hero-cta { flex-wrap: wrap; justify-content: center; }
  .hero-v2 .hero-right { max-width: 460px; justify-self: center; margin: 0 auto; }
  .hero-v2 .hero-title { font-size: clamp(2.6rem, 9vw, 4rem); }
}
@media (max-width: 640px) {
  .hero-v2 .hero-sub { font-size: 1.12rem; }
  .hero-v2 .hero-form { padding: 1.6rem 1.1rem 1.3rem; }
  .hero-v2 .hero-badge { font-size: .92rem; }
  .hero-v2 .hero-cta { gap: .7rem; }
  .hero-v2 .hero-cta .btn { flex: 1 1 0; min-width: 0; padding: .9rem .8rem; font-size: 1rem; white-space: nowrap; }
  .hero-v2 .form-head h2 { font-size: 1.65rem; }
  .hero-v2 .trust-num { font-size: 1.5rem; }
  .hero-v2 .trust-label { font-size: .72rem; }
  .hero-v2 .trust-ic { font-size: 1.35rem; }
}
/* ===== Hero v4 (owner, 2026-11-22): proper side spacing, quote card in a 3:4 (width:height)
   portrait shape with two fields per line; phones keep one field per line ===== */
.hero-v2 .hero-inner { width: min(1320px, calc(100% - clamp(2.5rem, 9vw, 10rem))); }
.hero-v2 .hero-right { width: 100%; max-width: none; justify-self: stretch; }
.hero-v2 .hero-form { display: flex; flex-direction: column; aspect-ratio: 3 / 4; overflow: clip; padding: 1.8rem 1.6rem 1.3rem; }
.hero-v2 .form-grid { flex: 1 1 auto; grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto auto minmax(96px, 1fr) auto auto; gap: .8rem; margin-top: 1.2rem; }
.hero-v2 .hero-form .input-group.is-area .textarea { height: 100%; min-height: 96px; }
.hero-v2 .form-head h2 { font-size: 2rem; }

@media (min-width: 1200px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 270px) clamp(420px, 33vw, 480px); gap: 2rem; }
  .hero-v2 .hero-art { margin: 0 -.5rem; }
}
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 220px) 420px; gap: 1.6rem; }
  .hero-v2 .hero-art { margin: 0 -.5rem 0 -1rem; }
  .hero-v2 .hero-title { font-size: clamp(2.8rem, 4vw, 4.4rem); }
}
@media (min-width: 1025px) and (max-width: 1199.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) 420px; }
}
@media (max-width: 1024px) {
  .hero-v2 .hero-inner { width: min(1180px, calc(100% - 3rem)); }
  .hero-v2 .hero-right { max-width: 480px; justify-self: center; }
}
.hero-v2 .hero-line1 { white-space: nowrap; }
@media (min-width: 1200px) {
  .hero-v2 .hero-title { font-size: clamp(2.8rem, 3.6vw, 4.2rem); }
}
/* narrower cards (laptops, tablets): slimmer field padding so every label fits on one line */
@media (min-width: 641px) and (max-width: 1439.98px) {
  .hero-v2 .hero-form { padding: 1.5rem 1.3rem 1.1rem; }
  .hero-v2 .form-head { gap: .5rem; }
  .hero-v2 .form-head__icon { width: 46px; height: 46px; font-size: 1.35rem; border-radius: 14px; }
  .hero-v2 .form-head h2 { font-size: 1.75rem; }
  .hero-v2 .form-grid { gap: .65rem; margin-top: .9rem; grid-template-rows: auto auto auto minmax(76px, 1fr) auto auto; }
  .hero-v2 .hero-form .input-group.is-area .textarea { min-height: 76px; }
  .hero-v2 .hero-form .has-ic .input { padding-left: 2.5rem; }
  .hero-v2 .hero-form .has-ic label { left: 2.5rem; }
  .hero-v2 .hero-form .in-ic { left: .85rem; }
  .hero-v2 .hero-form .input-group label { font-size: .85rem; max-width: calc(100% - 2.9rem); }
}
@media (max-width: 640px) {
  .hero-v2 .hero-form .input-group.is-area .input:placeholder-shown:not(:focus) + label { font-size: .88rem; line-height: 1.3; max-width: calc(100% - 3.4rem); white-space: normal; overflow: visible; }
}
@media (max-width: 640px) {
  .hero-v2 .hero-form { aspect-ratio: auto; }
  .hero-v2 .form-grid { grid-template-columns: 1fr !important; grid-template-rows: none; }
  .hero-v2 .hero-form .input-group.is-area .textarea { height: auto; min-height: 110px; }
}
/* ===== Hero v5 (owner, 2026-11-22): no illustration, more space from the screen sides,
   quote card 20% bigger (576 x 768 on large screens, 504 x 672 on laptops; still 3:4) ===== */
.hero-v2 .hero-art { display: none !important; }
.hero-v2 .hero-inner { width: min(1240px, calc(100% - clamp(3rem, 16vw, 18rem))); }

.hero-v2 .hero-form { padding: 2.2rem 1.9rem 1.6rem; border-radius: 32px; }
.hero-v2 .form-head { gap: .75rem; }
.hero-v2 .form-head__icon { width: 64px; height: 64px; font-size: 1.9rem; border-radius: 18px; }
.hero-v2 .form-head h2 { font-size: 2.4rem; }
.hero-v2 .form-head p { font-size: 1.1rem; }
.hero-v2 .form-grid { gap: .95rem; margin-top: 1.4rem; grid-template-rows: auto auto auto minmax(115px, 1fr) auto auto; }
.hero-v2 .hero-form .input { height: 58px; min-height: 58px; font-size: 1.05rem; }
.hero-v2 .hero-form .input-group.is-area .textarea { min-height: 115px; }
.hero-v2 #dateGroup .input { height: 62px; min-height: 62px; padding-top: 1.45rem; }
.hero-v2 .hero-form .input-group label { font-size: 1.05rem; }
.hero-v2 .hero-form .input:focus + label,
.hero-v2 .hero-form .input:not(:placeholder-shown) + label,
.hero-v2 #dateGroup label { font-size: .78rem; }
.hero-v2 .hero-form .has-ic .input { padding-left: 3.1rem; }
.hero-v2 .hero-form .has-ic label { left: 3.1rem; }
.hero-v2 .hero-form .in-ic { left: 1.1rem; font-size: 1.2rem; }
.hero-v2 .hero-form .area-count { font-size: .9rem; }
.hero-v2 .hero-submit { height: 62px; font-size: 1.35rem; }
.hero-v2 .form-note { font-size: 1.05rem; }

@media (min-width: 1200px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) 576px; gap: 4rem; }
  .hero-v2 .hero-title { font-size: clamp(3rem, 4.2vw, 4.8rem); }
}
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) 504px; gap: 3rem; }
}
@media (min-width: 1025px) and (max-width: 1199.98px) {
  .hero-v2 .hero-inner { grid-template-columns: minmax(0, 1fr) 480px; gap: 2.5rem; }
}

/* laptops and tablets: the 504px-wide card */
@media (min-width: 641px) and (max-width: 1439.98px) {
  .hero-v2 .hero-form { padding: 1.8rem 1.5rem 1.3rem; }
  .hero-v2 .form-head { gap: .6rem; }
  .hero-v2 .form-head__icon { width: 54px; height: 54px; font-size: 1.6rem; border-radius: 16px; }
  .hero-v2 .form-head h2 { font-size: 2.05rem; }
  .hero-v2 .form-head p { font-size: 1rem; }
  .hero-v2 .form-grid { gap: .8rem; margin-top: 1.1rem; grid-template-rows: auto auto auto minmax(92px, 1fr) auto auto; }
  .hero-v2 .hero-form .input { height: 54px; min-height: 54px; font-size: 1rem; }
  .hero-v2 .hero-form .input-group.is-area .textarea { min-height: 92px; }
  .hero-v2 #dateGroup .input { height: 58px; min-height: 58px; padding-top: 1.35rem; }
  .hero-v2 .hero-form .has-ic .input { padding-left: 2.75rem; }
  .hero-v2 .hero-form .has-ic label { left: 2.75rem; }
  .hero-v2 .hero-form .in-ic { left: .95rem; font-size: 1.1rem; }
  .hero-v2 .hero-form .input-group label { font-size: .97rem; max-width: calc(100% - 3.2rem); }
  .hero-v2 .hero-submit { height: 58px; font-size: 1.25rem; }
  .hero-v2 .form-note { font-size: 1rem; }
}
@media (max-width: 1024px) {
  .hero-v2 .hero-inner { width: min(1180px, calc(100% - 3.5rem)); }
  .hero-v2 .hero-right { max-width: 576px; }
}
/* phones: as before (one field per line), card a little roomier */
@media (max-width: 640px) {
  .hero-v2 .hero-form { padding: 1.7rem 1.2rem 1.4rem; }
  .hero-v2 .form-head__icon { width: 54px; height: 54px; font-size: 1.55rem; }
  .hero-v2 .form-head h2 { font-size: 1.75rem; }
  .hero-v2 .form-head p { font-size: .95rem; }
  .hero-v2 .form-grid { gap: .75rem; }
  .hero-v2 .hero-form .input { height: 54px; min-height: 54px; font-size: 16px; }
  .hero-v2 .hero-form .input-group label { font-size: 1rem; }
  .hero-v2 .hero-form .has-ic .input { padding-left: 2.9rem; }
  .hero-v2 .hero-form .has-ic label { left: 2.9rem; }
  .hero-v2 .hero-form .in-ic { left: 1rem; font-size: 1.1rem; }
  .hero-v2 .hero-submit { height: 58px; font-size: 1.2rem; }
  .hero-v2 .form-note { font-size: .95rem; }
}
/* ===== Hero v6 (owner, 2026-11-22): proper borders on the quote card, card exactly as tall as
   the text column on desktop/laptop, and fixed button hovers ===== */

/* buttons: style.css's generic .btn-white:hover turned the blue CTA's text blue (invisible) */
.hero-v2 .hero-cta .btn-white:hover,
.hero-v2 .hero-cta .btn-white:focus-visible { background: #185abc; border-color: #185abc; color: #fff; box-shadow: 0 10px 22px rgba(26, 115, 232, .35); }
.hero-v2 .hero-cta .btn-glass:hover,
.hero-v2 .hero-cta .btn-glass:focus-visible { background: #e8f0fe; border-color: #1a73e8; color: #185abc; }
.hero-v2 .hero-submit { transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hero-v2 .hero-submit:hover,
.hero-v2 .hero-submit:focus-visible { background: #185abc; border-color: #185abc; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(26, 115, 232, .38); }
.hero-v2 .hero-submit:active { transform: none; box-shadow: 0 4px 10px rgba(26, 115, 232, .3); }
.hero-v2 .hero-submit i { color: inherit; }

/* card and field borders */
.hero-v2 .hero-form { background: #fff; border: 1.5px solid #d3d9e3 !important; box-shadow: 0 22px 50px rgba(32, 33, 36, .12), 0 2px 6px rgba(32, 33, 36, .06); }
.hero-v2 .form-head { padding-bottom: 1rem; border-bottom: 1px solid #e8ebf0; }
.hero-v2 .hero-form .input { border: 1.5px solid #c3cad5; background: #fbfcfe; }
.hero-v2 .hero-form .input:hover { border-color: #8f99a8; }
.hero-v2 .hero-form .input:focus { border-color: #1a73e8; background: #fff; box-shadow: 0 0 0 4px rgba(26, 115, 232, .14); }
.hero-v2 .hero-form .input-group:focus-within .in-ic { color: #1a73e8; }
.hero-v2 .hero-form .input-group:focus-within .in-ic--wa { color: #1e8e3e; }
.hero-v2 .form-note { padding-top: .75rem; border-top: 1px solid #eef0f4; }

/* desktop + laptop: the card and the text column share one height */
@media (min-width: 1025px) {
  .hero-v2 .hero-inner { align-items: stretch; }
  .hero-v2 .hero-left { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .hero-v2 .hero-left > * { margin-top: 0; margin-bottom: 0; }
  .hero-v2 .hero-trust { align-self: stretch; }
  .hero-v2 .hero-right { display: flex; }
  .hero-v2 .hero-form { flex: 1 1 auto; aspect-ratio: auto; padding: 1.7rem 1.7rem 1.3rem; }
  .hero-v2 .form-head__icon { width: 56px; height: 56px; font-size: 1.65rem; }
  .hero-v2 .form-head h2 { font-size: 2.15rem; }
  .hero-v2 .form-grid { gap: .85rem; margin-top: 1.1rem; grid-template-rows: auto auto auto minmax(84px, 1fr) auto auto; }
  .hero-v2 .hero-form .input { height: 56px; min-height: 56px; }
  .hero-v2 #dateGroup .input { height: 58px; min-height: 58px; }
  .hero-v2 .hero-form .input-group.is-area .textarea { min-height: 84px; }
  .hero-v2 .hero-submit { height: 58px; }
}
@media (min-width: 1025px) and (max-width: 1439.98px) {
  .hero-v2 .hero-form { padding: 1.5rem 1.4rem 1.1rem; }
  .hero-v2 .form-head { padding-bottom: .8rem; }
  .hero-v2 .form-head__icon { width: 50px; height: 50px; font-size: 1.45rem; }
  .hero-v2 .form-head h2 { font-size: 1.95rem; }
  .hero-v2 .form-grid { gap: .75rem; margin-top: .95rem; grid-template-rows: auto auto auto minmax(76px, 1fr) auto auto; }
  .hero-v2 .hero-form .input { height: 52px; min-height: 52px; }
  .hero-v2 #dateGroup .input { height: 56px; min-height: 56px; }
  .hero-v2 .hero-form .input-group.is-area .textarea { min-height: 76px; }
  .hero-v2 .hero-submit { height: 54px; }
}
/* ===== Hero v7 (owner, 2026-11-22): text column back to its natural spacing (no stretched gaps);
   the quote card follows the text column's height instead (its Details box takes up the rest) ===== */
@media (min-width: 1025px) {
  .hero-v2 .hero-left { justify-content: center; }
  .hero-v2 .hero-left > .hero-badge { margin-bottom: 1.6rem; }
  .hero-v2 .hero-left > .hero-title { margin-bottom: 1.6rem; }
  .hero-v2 .hero-left > .hero-sub { margin-bottom: 2rem; }
  .hero-v2 .hero-left > .hero-cta { margin-bottom: 2.5rem; }
  .hero-v2 .hero-left > .hero-trust { margin-bottom: 0; }
  /* the text column alone sets the row height; the card fills exactly that space */
  .hero-v2 .hero-right { position: relative; display: block; }
  .hero-v2 .hero-right > .hero-form { position: absolute; inset: 0; }
  .hero-v2 .hero-right > .hero-form .form-grid { min-height: 0; }
  .hero-v2 .hero-right > .hero-form .input-group.is-area { min-height: 0; }
  /* header: icon beside the title, centred as one group (saves height for the Details box) */
  .hero-v2 .form-head { flex-direction: row; justify-content: center; align-items: center; gap: .85rem; text-align: left; }
  .hero-v2 .form-head h2 { line-height: 1.1; }
  .hero-v2 .hero-form .input-group.is-area .textarea { min-height: 64px; }

  /* compact card so it is never taller than the text: the Details box grows to fill */
  .hero-v2 .hero-form { padding: 1.5rem 1.6rem 1.1rem; }
  .hero-v2 .form-head { gap: .5rem; padding-bottom: .85rem; }
  .hero-v2 .form-head__icon { width: 50px; height: 50px; font-size: 1.45rem; border-radius: 15px; }
  .hero-v2 .form-head h2 { font-size: 2rem; }
  .hero-v2 .form-head p { font-size: 1rem; margin-top: .15rem; }
  .hero-v2 .form-grid { gap: .7rem; margin-top: .95rem; grid-template-rows: auto auto auto minmax(46px, 1fr) auto auto; }
  .hero-v2 .hero-form .input { height: 52px; min-height: 52px; }
  .hero-v2 #dateGroup .input { height: 54px; min-height: 54px; padding-top: 1.3rem; }
  .hero-v2 .hero-form .input-group.is-area .textarea { min-height: 46px; }
  .hero-v2 .hero-submit { height: 54px; }
  .hero-v2 .form-note { padding-top: .6rem; }
}
@media (min-width: 1025px) and (max-width: 1439.98px) {
  .hero-v2 .hero-form { padding: 1.3rem 1.3rem 1rem; }
  .hero-v2 .form-head { padding-bottom: .7rem; }
  .hero-v2 .form-head__icon { width: 44px; height: 44px; font-size: 1.3rem; border-radius: 13px; }
  .hero-v2 .form-head h2 { font-size: 1.8rem; }
  .hero-v2 .form-head p { font-size: .95rem; }
  .hero-v2 .form-grid { gap: .6rem; margin-top: .8rem; }
  .hero-v2 .hero-form .input { height: 50px; min-height: 50px; }
  .hero-v2 #dateGroup .input { height: 52px; min-height: 52px; padding-top: 1.25rem; }
  .hero-v2 .hero-submit { height: 52px; }
  .hero-v2 .form-note { padding-top: .5rem; font-size: .95rem; }
}
/* ===== Hero v8 (owner, 2026-11-22): phones - nothing wider than the screen, button text inside
   the buttons, and the same quote card as on desktop (two fields per line, icon beside title) ===== */
.hero-v2 .hero-left, .hero-v2 .hero-right { min-width: 0; }
@media (max-width: 640px) {
  /* buttons side by side when they fit, otherwise one under the other */
  .hero-v2 .hero-cta { display: flex; flex-wrap: wrap; gap: .65rem; }
  .hero-v2 .hero-cta .btn { flex: 1 1 158px; min-width: auto; padding: .85rem .7rem; font-size: clamp(.92rem, 3.9vw, 1.02rem); white-space: nowrap; }
  .hero-v2 .hero-cta .btn i { margin-left: .45rem !important; }

  /* stats: three equal parts that always fit */
  .hero-v2 .hero-trust { display: flex; justify-content: space-between; }
  .hero-v2 .trust-item { flex: 1 1 0; min-width: 0; justify-content: center; gap: .4rem; padding: 0 .35rem; }
  .hero-v2 .trust-item:first-child { padding-left: 0; }
  .hero-v2 .trust-ic { font-size: 1.15rem; }
  .hero-v2 .trust-num { font-size: 1.35rem; }
  .hero-v2 .trust-label { font-size: .66rem; letter-spacing: .02em; }

  /* quote card: same layout as desktop */
  .hero-v2 .hero-form { aspect-ratio: auto; padding: 1.3rem 1rem 1rem; border-radius: 24px; }
  .hero-v2 .form-head { flex-direction: row; justify-content: center; align-items: center; gap: .7rem; padding-bottom: .8rem; text-align: left; }
  .hero-v2 .form-head__icon { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 13px; }
  .hero-v2 .form-head h2 { font-size: clamp(1.3rem, 6.2vw, 1.6rem); line-height: 1.1; }
  .hero-v2 .form-head { display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: .7rem; row-gap: .35rem; text-align: center; }
  .hero-v2 .form-head > div { display: contents; }
  .hero-v2 .form-head p { grid-column: 1 / -1; font-size: clamp(.8rem, 3.6vw, .92rem); margin-top: 0; }
  .hero-v2 .hero-form .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-rows: none; gap: .6rem; margin-top: .85rem; }
  .hero-v2 .hero-form .input { height: 52px; min-height: 52px; font-size: 16px; }
  .hero-v2 #dateGroup .input { height: 54px; min-height: 54px; padding-top: 1.3rem; }
  .hero-v2 .hero-form .has-ic .input { padding-left: 2.25rem; padding-right: .5rem; }
  .hero-v2 .hero-form .has-ic label { left: 2.25rem; }
  .hero-v2 .hero-form .in-ic { left: .75rem; font-size: 1rem; }
  .hero-v2 .hero-form .input-group label { font-size: .9rem; max-width: calc(100% - 2.6rem); }
  .hero-v2 .hero-form .input-group.is-area .textarea { height: auto; min-height: 104px; }
  .hero-v2 .lbl-x { display: none; }
  .hero-v2 .hero-submit { height: 54px; font-size: 1.15rem; }
  .hero-v2 .form-note { font-size: .88rem; padding-top: .6rem; }
}
/* very small phones: field icons step aside so the labels fit */
@media (max-width: 345px) {
  .hero-v2 .hero-form .in-ic:not(.is-area .in-ic) { display: none; }
  .hero-v2 .hero-form .has-ic:not(.is-area) .input { padding-left: .75rem; }
  .hero-v2 .hero-form .has-ic:not(.is-area) label { left: .75rem; max-width: calc(100% - 1.2rem); }
  .hero-v2 .trust-ic { display: none; }
}
/* ===== Hero v9 (owner): wider quote card on phones - 12px from the screen edges ===== */
@media (max-width: 640px) {
  .hero-v2 .hero-right { width: auto; max-width: none; margin-left: -16px; margin-right: -16px; }
  .hero-v2 .hero-form { padding-left: .9rem; padding-right: .9rem; border-radius: 22px; }
}

/* ===== Every page (2026-11-23): the homepage hero design on all pages with a hero ===== */
/* pages whose accent line is not split into two words keep one gradient over the whole line */
.hero-v2 .hero-title-accent:not(:has(.hero-w1)) {
  background: linear-gradient(90deg, #1a73e8 0%, #d93025 36%, #f29900 66%, #1e8e3e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* subject / city pages have longer headings: a slightly smaller size so they stay at 2-3 lines */
.hero-v2:not(.hero-home) .hero-title { font-size: clamp(2.3rem, 3.3vw, 3.7rem); line-height: 1.08; }
@media (max-width: 1024px) { .hero-v2:not(.hero-home) .hero-title { font-size: clamp(1.95rem, 7.6vw, 3rem); } }
/* long "Details (...)" labels wrap instead of being cut */
.hero-v2 .hero-form .is-area .input:placeholder-shown:not(:focus) + label { white-space: normal; overflow: visible; line-height: 1.3; }
/* desktop: the card needs at least this much room; a shorter text column is centred beside it */
@media (min-width: 1025px) { .hero-v2 .hero-right { min-height: 440px; } }
/* subject examples like '(e.g., Soil Chemistry Lab)' do not fit a half-width box: the label shows 'Subject' */
.hero-v2:not(.hero-home) label[for="cSubject"] .lbl-x { display: none; }
