/* Home page: the hero, Systems, savings calculator, Care Shield, process, who-we-are and enquiry sections.
   Loaded only on the home page. Every rule is scoped to .mg, the wrapper around these sections in
   src/pages/index.astro, so nothing here can change the header, footer or any other page.
   Ported from the brand page design approved in October 2026. */

/* Text basics inside the new sections, which were designed without the site-wide margins */
.mg { --header-h: 64px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.mg h1, .mg h2, .mg h3, .mg p { margin: 0; }
.mg h1, .mg h2, .mg h3 { line-height: 1.1; font-weight: 700; }
.mg ul, .mg ol { margin: 0; padding: 0; list-style: none; }
.mg img, .mg svg { display: block; max-width: 100%; }
.mg a { color: inherit; }
.mg button, .mg input, .mg select, .mg textarea { font: inherit; color: inherit; }
.mg :focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.mg .nowrap { white-space: nowrap; }

.mg { --night: #0B2618; --green: #1F8A4C; --green-dark: #16663A; --sun: #F2B01E; --sun-deep: #D9970A; --ink: #15201A; --ink-soft: #4A564F; --paper: #FFFFFF; --paper-warm: #F7F5EF; --line: #E3DFD4; --error: #B83A3A; --radius: 4px; --gutter: 24px; }
.mg svg { display: block; max-width: 100%; }
.mg h2, .mg h3, .mg p { margin: 0; }
.mg input { font: inherit; color: inherit; }
.mg .visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mg .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: 15.5px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.mg .btn-sun { background: var(--sun); color: var(--night); }
.mg .btn-sun:hover { background: var(--sun-deep); }
.mg .btn-green { background: var(--green); color: #fff; }
.mg .btn-green:hover { background: var(--green-dark); }
.mg .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.mg .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.mg .btn-lg { padding: 15px 24px; font-size: 16.5px; }
.mg .btn-sm { padding: 9px 16px; font-size: 14.5px; }
.mg .btn-block { width: 100%; }
.mg .mg-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(100svh, 900px); padding: calc(var(--header-h) + 56px) 0 72px; color: #fff; background: var(--night); }
.mg .mg-hero-media { position: absolute; inset: 0; z-index: -2; }
.mg .mg-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.mg .mg-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 38, 24, .55) 0%, rgba(11, 38, 24, 0) 22%), linear-gradient(90deg, rgba(11, 38, 24, .94) 0%, rgba(11, 38, 24, .82) 38%, rgba(11, 38, 24, .35) 72%, rgba(11, 38, 24, .2) 100%); }
.mg .hero-rays { position: absolute; top: var(--header-h); right: 0; z-index: -1; width: clamp(150px, 24vw, 340px); height: auto; color: var(--sun); opacity: .5; pointer-events: none; }
/* Hero sun: the disc and rays draw in once, then the rays pulse outward in a slow wave and the sun glows. Still state = drawn. */
.mg .hero-rays .hr-disc, .mg .hero-rays .hr-ray { transform-box: view-box; transform-origin: 360px 40px; }
.mg .hero-rays .hr-disc { stroke-dasharray: 100; animation: hr-draw 1.4s ease-out both, hr-glow 6s 1.6s ease-in-out infinite; }
.mg .hero-rays .hr-rays { transform-box: view-box; transform-origin: 360px 40px; animation: hr-sway 14s 1.6s ease-in-out infinite; }
.mg .hero-rays .hr-ray { stroke-dasharray: 100; animation: hr-draw .6s calc(.7s + var(--i) * .12s) ease-out both, hr-pulse 3.2s calc(1.8s + var(--i) * .25s) ease-in-out infinite; }
.mg .hero-rays .hr-ray:nth-child(1) { --i: 0; } .mg .hero-rays .hr-ray:nth-child(2) { --i: 1; } .mg .hero-rays .hr-ray:nth-child(3) { --i: 2; } .mg .hero-rays .hr-ray:nth-child(4) { --i: 3; } .mg .hero-rays .hr-ray:nth-child(5) { --i: 4; }
@keyframes hr-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes hr-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.09); opacity: .55; } }
@keyframes hr-glow { 0%, 100% { stroke-width: 3; } 50% { stroke-width: 4.5; } }
@keyframes hr-sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .mg .hero-rays .hr-disc, .mg .hero-rays .hr-rays, .mg .hero-rays .hr-ray { animation: none; } }
.mg .mg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mg .hero-copy h1 { max-width: 13ch; font-size: clamp(40px, 5.6vw, 74px); font-weight: 700; line-height: 1.03; letter-spacing: -.025em; }
.mg .hero-lead { max-width: 52ch; margin-top: 24px; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: #D2E0D7; }
.mg .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.mg .hero-credit { position: absolute; right: var(--gutter); bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.mg .bill-card { padding: 28px; border-radius: var(--radius); background: #fff; color: var(--ink); }
.mg .bill-title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.mg .bill-help { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.mg .bill-value { display: block; margin-top: 22px; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--night); font-variant-numeric: tabular-nums; }
.mg .bill-range { --fill: 50%; width: 100%; height: 28px; margin: 18px 0 6px; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.mg .bill-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--green) 0 var(--fill), var(--line) var(--fill) 100%); }
.mg .bill-range::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--green); border-radius: 50%; background: #fff; -webkit-appearance: none; appearance: none; }
.mg .bill-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.mg .bill-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--green); }
.mg .bill-range::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--green); border-radius: 50%; background: #fff; }
.mg .bill-range:focus-visible { outline: none; }
.mg .bill-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(242, 176, 30, .5); }
.mg .bill-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(242, 176, 30, .5); }
.mg .bill-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mg .bill-card .btn { margin-top: 22px; }
.mg .bill-note { margin-top: 12px; font-size: 13px; text-align: center; color: var(--ink-soft); }
@media (max-width: 960px) {
  .mg .mg-hero { min-height: auto; align-items: flex-start; padding: calc(var(--header-h) + 40px) 0 64px; }
  .mg .mg-hero::before { background: linear-gradient(180deg, rgba(11, 38, 24, .88) 0%, rgba(11, 38, 24, .78) 55%, rgba(11, 38, 24, .92) 100%); }
  .mg .mg-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .mg .bill-card { max-width: 520px; }
}
@media (max-width: 600px) {
  .mg .hero-actions .btn { flex: 1 1 100%; }
  .mg .bill-card { padding: 22px; }
  .mg .bill-value { font-size: 38px; }
  .mg .hero-credit { right: auto; left: var(--gutter); }
}
.mg .mg-head { max-width: 680px; margin-bottom: 40px; }
.mg .mg-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.mg .mg-sub { margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.mg .sys-section { padding: clamp(64px, 8vw, 112px) 0; background: #fff; border-bottom: 1px solid var(--line); }
.mg .sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mg .sys-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s ease; }
.mg .sys-card:hover { border-color: var(--green); }
.mg .sys-name { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -.025em; color: var(--night); }
.mg .sys-size { margin-top: 8px; font-size: 15.5px; font-weight: 600; color: var(--green-dark); }
.mg .sys-for { margin-top: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.mg .sys-facts { display: grid; gap: 12px; margin: 16px 0 0; }
.mg .sys-facts dt { font-size: 13px; color: var(--ink-soft); }
.mg .sys-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mg .sys-note { margin: 14px 0 20px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.mg .sys-cta { margin-top: auto; }
.mg .sys-section .calc-small { margin-top: 8px; }
.mg .sys-more { margin-top: 24px; font-size: 15px; color: var(--ink); }
.mg .sys-more a { color: var(--green-dark); font-weight: 600; }
.mg .sys-media { position: relative; margin: -24px -24px 20px; }
.mg .sys-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: var(--line); }
.mg .sys-media-drawing { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper-warm); border-radius: var(--radius) var(--radius) 0 0; }
.mg .sys-drawing { width: 64%; height: auto; color: var(--green); }
.mg .sys-credit { position: absolute; right: 8px; bottom: 6px; padding: 2px 6px; border-radius: 2px; background: rgba(11, 38, 24, .45); font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.mg .sys-tabs { display: inline-flex; gap: 4px; margin-bottom: 28px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-warm); }
.mg .sys-tabs button { padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.mg .sys-tabs button:hover { color: var(--ink); }
.mg .sys-tabs button[aria-selected="true"] { background: var(--night); color: #fff; }
.mg .sys-panel[hidden] { display: none; }
.mg .sys-panel:not([hidden]) ~ .sys-panel:not([hidden]) { margin-top: 48px; }
@media (max-width: 860px) {
  .mg .sys-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 600px) {
  .mg .sys-card { padding: 22px; }
  .mg .sys-media { margin: -22px -22px 18px; }
  .mg .sys-tabs { display: flex; }
  .mg .sys-tabs button { flex: 1; padding: 10px 8px; }
}
.mg .hc-section { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.mg .hc-section:focus { outline: none; }
.mg .hc { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.mg.hc-compact .hc { grid-template-columns: 1fr; }
.mg.hc-compact .hc-section { padding: 32px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.mg.hc-compact .container { padding: 0 20px; }
.mg.hc-compact .mg-head h2 { font-size: 24px; }
.mg .calc-inputs { display: grid; align-content: start; gap: 28px; padding: 32px; }
.mg .calc-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.mg .calc-field > label, .mg .calc-field > legend { display: block; margin-bottom: 10px; padding: 0; font-size: 15px; font-weight: 600; }
.mg .calc-optional { font-weight: 400; color: var(--ink-soft); }
.mg .calc-hint { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); }
.mg .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mg .seg-two { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.mg .seg label { position: relative; display: block; }
.mg .seg input { position: absolute; opacity: 0; pointer-events: none; }
.mg .seg span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.3; text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.mg .seg span:hover { border-color: var(--green); }
.mg .seg input:checked + span { border-color: var(--green); background: #EEF6F0; color: var(--green-dark); font-weight: 600; box-shadow: inset 0 0 0 1px var(--green); }
.mg .seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.mg .money-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mg .money-input:focus-within { border-color: var(--green); outline: 3px solid var(--sun); outline-offset: 2px; }
.mg .money-input span { padding-left: 16px; font-size: 22px; font-weight: 700; color: var(--ink-soft); }
.mg .money-input input { width: 100%; min-width: 0; padding: 12px 16px 12px 6px; border: 0; background: transparent; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.mg .money-input input:focus-visible { outline: none; }
.mg .money-input input::-webkit-inner-spin-button, .mg .money-input input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.mg .calc-inputs .bill-range { margin: 14px 0 0; }
.mg .hc-scale { margin-top: 2px; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mg .calc-input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 16px; }
.mg .calc-input:focus-visible { border-color: var(--green); }
.mg .hc-more { border-top: 1px solid var(--line); padding-top: 20px; }
.mg .hc-more summary { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--green-dark); cursor: pointer; list-style: none; }
.mg .hc-more summary::-webkit-details-marker { display: none; }
.mg .hc-more summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
.mg .hc-more[open] summary::before { transform: rotate(45deg); }
.mg .calc-more-body { display: grid; gap: 22px; margin-top: 20px; }
.mg .calc-results { display: flex; flex-direction: column; gap: 24px; padding: 32px 36px; background: var(--night); color: #fff; }
.mg .res-ok { display: flex; flex-direction: column; gap: 24px; }
.mg .res-ok[hidden] { display: none; }
.mg .res-label { font-size: 14px; color: #A9C2B3; }
.mg .res-kw { margin-top: 6px; font-size: clamp(48px, 5vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.mg .res-units { margin-top: 10px; font-size: 14.5px; color: #C5D6CC; }
.mg .res-bars-title { margin-bottom: 10px; font-size: 13px; color: #A9C2B3; }
.mg .res-bars { display: grid; gap: 10px; }
.mg .res-bar { display: grid; grid-template-columns: 84px minmax(0, 1fr) 76px; align-items: center; gap: 12px; font-size: 14.5px; }
.mg .res-bar-track { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.mg .res-bar-fill { display: block; height: 100%; width: 0; border-radius: 5px; background: rgba(255, 255, 255, .55); transition: width .35s ease; }
.mg .res-bar-after .res-bar-fill { background: var(--sun); }
.mg .res-bar-val { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.mg .res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); background: rgba(255, 255, 255, .14); overflow: hidden; }
.mg .res-grid > div { padding: 14px 16px; background: var(--night); }
.mg .res-grid dt { font-size: 13px; color: #A9C2B3; }
.mg .res-grid dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.mg .res-route, .mg .res-note, .mg .res-alt { font-size: 14px; line-height: 1.55; color: #C5D6CC; }
.mg .res-alt { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mg .res-alt strong { color: #fff; }
.mg .res-empty { font-size: 17px; line-height: 1.6; color: #E3EDE7; }
.mg .res-cta { margin-top: auto; }
.mg .calc-small { max-width: 90ch; margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
/* Payback calculator (PaybackCalculator.astro, drawn by payback.js): white, so it alternates with the savings calculator above. */
.mg .pb-section { background: #fff; }
.mg .pb-when { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; }
.mg .pb-reset { margin: -8px 0 0; }
.mg .pb-reset[hidden] { display: none; }
.mg .pb-reset-btn { padding: 0; border: 0; background: none; font-size: 14.5px; font-weight: 600; color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mg .pb-date { font-size: clamp(38px, 4.2vw, 54px); }
.mg .pb-chart { margin: 0; }
.mg .pb-chart svg { width: 100%; height: auto; overflow: visible; }
.mg .pb-axis { stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.mg .pb-area { fill: rgba(242, 176, 30, .12); }
.mg .pb-save { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.mg .pb-cost { stroke: rgba(255, 255, 255, .7); stroke-width: 1.5; stroke-dasharray: 6 5; }
.mg .pb-drop { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 2 4; }
.mg .pb-dot { fill: var(--sun); stroke: var(--night); stroke-width: 3; }
.mg .pb-mark { fill: #fff; font-size: 15px; font-weight: 600; }
.mg .pb-tick { fill: #A9C2B3; font-size: 13px; }
.mg .pb-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 13px; color: #A9C2B3; }
.mg .pb-key span { display: inline-flex; align-items: center; gap: 8px; }
.mg .pb-key span::before { content: ""; width: 18px; height: 0; border-top: 3px solid var(--sun); }
.mg .pb-key .pb-key-cost::before { border-top: 2px dashed rgba(255, 255, 255, .7); }
@media (max-width: 600px) { .mg .pb-tick { font-size: 22px; } .mg .pb-mark { font-size: 26px; } }
@media (max-width: 960px) {
  .mg .hc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .mg .calc-inputs { padding: 22px; gap: 24px; }
  .mg .calc-results { padding: 24px 22px; }
  .mg .seg { grid-template-columns: 1fr; }
  .mg .seg span { min-height: 48px; justify-content: flex-start; text-align: left; padding: 10px 14px; }
  .mg .res-bar { grid-template-columns: 72px minmax(0, 1fr) 68px; gap: 10px; }
  .mg .res-grid dd { font-size: 16px; }
}
.mg .care-section { padding: clamp(64px, 8vw, 112px) 0; background: #fff; border-bottom: 1px solid var(--line); }
/* Care Shield as one card, in the manner of a product care plan: a centred mark and heading, then a single card
   with the value on one side and everything included on the other. */
.mg .care-hero { text-align: center; max-width: 680px; margin: 0 auto 40px; }
/* The Care Shield badge: a soft rounded tile, like a product's care-plan icon. */
.mg .care-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 132px; height: 132px; margin: 0 auto 22px; border-radius: 28px; background: linear-gradient(180deg, #FFFFFF 0%, #EEF1EC 100%); border: 1px solid #E3E6E0; box-shadow: 0 1px 2px rgba(21, 32, 26, .06); }
.mg .care-badge svg { width: 50px; height: 58px; }
.mg .care-badge span { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.mg .care-hero h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; letter-spacing: -.02em; }
.mg .care-hero .mg-sub { margin: 12px auto 0; }
.mg .care-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mg .care-side { padding: 36px 32px; background: var(--night); color: #C9D8CF; display: flex; flex-direction: column; align-items: flex-start; }
.mg .care-value-label { font-size: 13.5px; font-weight: 700; color: var(--sun); margin-bottom: 10px; }
.mg .care-value-num { font-size: clamp(42px, 4.6vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -.025em; color: #fff; font-variant-numeric: tabular-nums; }
.mg .care-value-text { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.mg .care-cta { margin-top: 26px; }
.mg .care-side-note { margin-top: auto; padding-top: 26px; font-size: 14px; line-height: 1.5; color: #A9BDB1; }
.mg .care-main { padding: 36px 36px 32px; }
.mg .care-main h3 { font-size: 18px; margin-bottom: 14px; }
.mg .care-main h3 + .care-checks { margin-top: 0; }
.mg .care-visits { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mg .care-visits li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mg .care-month { display: grid; place-items: center; height: 46px; border-radius: var(--radius); background: #E8F2EC; color: var(--green-dark); font-weight: 700; font-size: 14px; }
.mg .care-visits strong { display: block; font-size: 15.5px; line-height: 1.35; }
.mg .care-visits p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.mg .care-checks { list-style: none; margin: 0; padding: 0; }
.mg .care-checks li { position: relative; padding: 9px 0 9px 30px; font-size: 15px; line-height: 1.5; border-top: 1px solid var(--line); }
.mg .care-checks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.mg .care-small { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; align-items: start; }
.mg .care-small h3 { font-size: 16px; margin-bottom: 6px; }
.mg .care-small li { padding: 6px 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.mg .care-excl { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mg .care-excl summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 15.5px; }
.mg .care-excl ul { padding: 0 0 12px; }
.mg .care-biz { margin-top: 24px; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 960px) {
}
@media (max-width: 600px) {
}
.mg .how-section { padding: clamp(64px, 8vw, 112px) 0; background: var(--paper-warm); border-bottom: 1px solid var(--line); }
.mg .lanes { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.mg .lanes thead th { padding: 0 20px 14px; border-bottom: 2px solid var(--ink); font-size: 13.5px; font-weight: 600; text-align: left; color: var(--ink-soft); }
.mg .lanes thead th:nth-child(1) { width: 22%; padding-left: 28px; }
.mg .lanes thead th:nth-child(2) { width: 30%; }
.mg .lanes tbody th, .mg .lanes tbody td { padding: 22px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mg .lanes tbody th { position: relative; padding-left: 28px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.mg .lanes tbody th::before { content: ""; position: absolute; left: 0; top: 29px; z-index: 1; width: 12px; height: 12px; border: 2px solid var(--green); border-radius: 50%; background: var(--paper-warm); }
.mg .lanes tbody th::after { content: ""; position: absolute; left: 5px; top: 41px; bottom: -29px; width: 2px; background: #CFE5D7; }
.mg .lanes tbody tr:last-child th::after { display: none; }
.mg .lanes tbody tr:first-child th::before { background: var(--green); }
.mg .lanes td { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.mg .lanes td:nth-of-type(1) { font-weight: 500; color: var(--ink); }
@media (max-width: 760px) {
  .mg .lanes, .mg .lanes tbody, .mg .lanes tr, .mg .lanes tbody th, .mg .lanes td { display: block; width: auto; }
  .mg .lanes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mg .lanes tbody { border-top: 2px solid var(--ink); }
  .mg .lanes tr { position: relative; padding: 20px 0 20px 28px; border-bottom: 1px solid var(--line); }
  .mg .lanes tbody th { position: static; padding: 0; border: 0; }
  .mg .lanes tbody th::before { top: 26px; }
  .mg .lanes tbody th::after { top: 38px; bottom: -26px; }
  .mg .lanes tbody td { padding: 10px 0 0; border: 0; }
  .mg .lanes td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: var(--green-dark); }
}
.mg .about-section { padding: clamp(64px, 8vw, 112px) 0; background: #fff; }
.mg .about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.mg .about-photo { margin: 0; }
.mg .about-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.mg .about-photo figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); }
.mg .about-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.mg .about-lead { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.mg .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 28px 0 0; }
.mg .facts > div { padding: 16px 0; border-top: 1px solid var(--line); }
.mg .facts dt { font-size: 13px; font-weight: 600; color: var(--green-dark); }
.mg .facts dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.mg .facts a { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) {
  .mg .about-grid { grid-template-columns: 1fr; }
  .mg .about-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  .mg .facts { grid-template-columns: 1fr; }
}
.mg textarea.calc-input { resize: vertical; min-height: 84px; font-family: inherit; line-height: 1.5; }
.mg .calc-input.invalid { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }

/* Trust tiles under the hero: customer count and the Care Shield. Line icons in the nav-icon style. */
.mg .trust-tiles { border-bottom: 1px solid var(--line); background: #fff; }
.mg .trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 28px; padding-bottom: 28px; }
.mg .trust-tile { display: flex; align-items: center; gap: 24px; padding: 6px 36px 6px 0; color: var(--ink); text-decoration: none; }
.mg .trust-tile + .trust-tile { padding: 6px 0 6px 36px; border-left: 1px solid var(--line); }
.mg .trust-icon { flex: none; width: 120px; height: 92px; color: var(--green-deep); }
.mg .trust-icon .ti-face, .mg .trust-icon .ti-shirt { fill: #fff; }
.mg .trust-icon .ti-hair { fill: var(--green-deep); }
.mg .trust-icon .ti-mouth { fill: var(--green-deep); }
.mg .trust-icon .ti-star, .mg .trust-icon .ti-sun { fill: var(--sun); }
.mg .trust-icon .ti-band { fill: #E9F2EC; stroke: none; }
.mg .trust-icon .ti-cover { fill: #fff; stroke: none; }
.mg .trust-icon .ti-check { stroke: var(--green); stroke-width: 4; }
.mg .trust-title { margin: 0; font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--green-deep); }
.mg .trust-text { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.mg a.trust-tile:hover .trust-title { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .mg .trust-grid { grid-template-columns: 1fr; padding-top: 12px; padding-bottom: 12px; }
  .mg .trust-tile, .mg .trust-tile + .trust-tile { padding: 16px 0; border-left: 0; }
  .mg .trust-tile + .trust-tile { border-top: 1px solid var(--line); }
  .mg .trust-icon { width: 88px; height: 68px; }
}

@media (max-width: 860px) {
  .mg .care-card { grid-template-columns: 1fr; }
  .mg .care-side { padding: 28px 24px; }
  .mg .care-main { padding: 28px 20px 24px; }
  .mg .care-small { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) { .mg .care-visits { grid-template-columns: 1fr; } }
