/* Care Home Phils.
   Navy and teal come from the client's logo. Sun yellow is the one action colour. */
:root {
  --ink: #0B2038;
  --deep: #071627;
  --teal: #17A2B0;
  --teal-dark: #0C7682;
  --sun: #FFB81C;
  --sun-deep: #F0A400;
  --sky: #EAF3FA;
  --cloud: #F4F7FA;
  --line: #DAE4EC;
  --body: #42526A;
  --muted: #64748B;
  --on-dark: #D5E1EC;
  --error: #B42318;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --wrap: 1200px;
  --header-h: 76px;
  --shadow-float: 0 30px 70px -20px rgba(7, 22, 39, .45);
  --shadow-soft: 0 14px 40px -18px rgba(11, 32, 56, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.7vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero-copy :focus-visible, .site-header:not(.is-solid) :focus-visible, .mobile-bar :focus-visible, .lightbox :focus-visible, .bento-tile:focus-visible, .compare-main :focus-visible { outline-color: var(--sun); }
.calc :focus-visible, .quote-form :focus-visible, .quote-done :focus-visible, .nav.is-open :focus-visible { outline-color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 10px 26px; border: 2px solid transparent; border-radius: 999px; font: 700 1rem/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .15s; }
.btn:hover .i { transform: translateX(3px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C3D0DB; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sun); text-decoration: none; }
.arrow-link .i { transition: transform .15s; }
a:hover > .arrow-link .i, a.arrow-link:hover .i { transform: translateX(4px); }
.arrow-link-ink { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background-color .25s, color .25s, box-shadow .25s; }
.site-header.is-solid, .site-header[data-solid] { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.header-row { display: flex; align-items: center; gap: 30px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; color: inherit; text-decoration: none; }
.brand-mark { width: 42px; height: 30px; flex: none; color: var(--teal); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-weight: 800; font-size: 1.04rem; letter-spacing: .01em; text-transform: uppercase; }
.brand-text span { font-size: .64rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.header-phone .i { width: 18px; height: 18px; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: inherit; cursor: pointer; }
.is-solid .menu-btn, [data-solid] .menu-btn { background: var(--cloud); }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
body:not(.has-hero) main { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(640px, 90vh, 880px); padding: calc(var(--header-h) + 48px) 0 80px; color: #fff; background: var(--deep); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(180deg, rgba(7, 22, 39, .6) 0, rgba(7, 22, 39, 0) 24%),
    linear-gradient(96deg, rgba(7, 22, 39, .9) 0%, rgba(7, 22, 39, .66) 40%, rgba(7, 22, 39, .14) 70%, rgba(7, 22, 39, 0) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-loc { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); font-weight: 600; font-size: .95rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-loc .i { width: 18px; height: 18px; color: var(--sun); }
.hero h1 { color: #fff; max-width: 12ch; }
.lede { margin-top: 22px; max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #E7EEF5; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--sun); stroke-width: 3; }

/* Calculator card */
.calc { background: #fff; color: var(--body); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-float); }
.calc-label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.peso-input { display: flex; align-items: center; gap: 8px; height: 70px; padding: 0 20px; border: 2px solid var(--line); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.peso-input:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23, 162, 176, .16); }
.peso-input span { font-weight: 800; font-size: 1.6rem; color: var(--muted); }
.peso-input input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font: 800 2rem/1 var(--font); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 12px 0 0; background: transparent; cursor: pointer; --fill: 24%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--sun) var(--fill), var(--line) var(--fill)); }
.range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--sun); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 4px solid var(--sun); box-shadow: 0 4px 12px rgba(11, 32, 56, .3); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--sun); box-shadow: 0 4px 12px rgba(11, 32, 56, .3); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(11, 32, 56, .25); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(11, 32, 56, .25); }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 600; color: var(--muted); }
.calc-error { margin-top: 8px; color: var(--error); font-weight: 600; font-size: .95rem; }
.calc-preview { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; margin: 18px 0; }
.calc-stat { padding: 14px 16px; border-radius: var(--r-md); background: var(--sky); }
.calc-stat span { display: block; font-size: .84rem; font-weight: 600; color: var(--body); }
.calc-stat strong { display: block; margin: 2px 0; font-weight: 800; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-stat-save strong { color: var(--teal-dark); }
.calc-note { margin: 18px 0; padding: 14px 16px; border-radius: var(--r-md); background: #FFF3D1; color: var(--ink); font-weight: 500; }
.calc-alt { margin-top: 14px; text-align: center; font-size: .95rem; }

/* ---------- Brands ---------- */
.brands { padding: 30px 0; background: #fff; border-bottom: 1px solid var(--line); }
.brands-inner { display: flex; align-items: center; gap: 44px; }
.brands-title { flex: none; font-size: .9rem; font-weight: 700; color: var(--ink); }
.marquee { flex: 1; min-width: 0; overflow: hidden; border-radius: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus .marquee-track, .marquee:active .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-right: 76px; }
.marquee-track li { height: 76px; justify-content: flex-end; }
.marquee-track img { display: block; width: auto; height: var(--h, 34px); margin: auto 0; }
.marquee-track span { font-size: .72rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Estimate ---------- */
.estimate { padding-block: clamp(64px, 8vw, 112px); background: var(--sky); }
.estimate-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.kicker { margin-bottom: 8px; font-weight: 700; font-size: .95rem; color: var(--teal-dark); }
.seg { display: inline-flex; margin: 0; padding: 5px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span { display: block; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink); transition: background-color .15s, color .15s; }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.est-note { margin-bottom: 20px; padding: 16px 20px; border-radius: var(--r-md); background: #FFF3D1; color: var(--ink); font-weight: 500; }
.est-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; }
.est-numbers { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.25fr 1fr auto; gap: 16px; margin: 0; }
.est-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px 26px; border-radius: var(--r-lg); background: #fff; }
.est-tile dt { font-weight: 600; font-size: .95rem; }
.est-tile dd { margin: 0; font-weight: 800; font-size: clamp(1.3rem, 2.05vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.est-save { grid-column: 1 / -1; background: var(--ink); }
.est-save dt { color: var(--on-dark); }
.est-save dd { font-size: clamp(2rem, 4.1vw, 3.25rem); letter-spacing: -.035em; color: #fff; }
.est-roi { background: var(--sun); }
.est-roi dt { color: var(--ink); }
.est-price { grid-column: 1 / -1; }
.est-house { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; margin: 0; padding: 20px 20px 22px; border-radius: var(--r-lg); background: linear-gradient(180deg, #CFE9FB 0%, #EAF6FF 62%, #fff 100%); overflow: hidden; }
.house { margin: auto 0; }
.house svg { display: block; width: 100%; height: auto; }
.house .pv { animation: lay .4s both; animation-delay: calc(var(--i) * 35ms); }
.house-more { font-size: .85rem; font-weight: 600; color: var(--ink); text-align: center; }
.est-house figcaption { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; color: var(--ink); }
.chip b { font-weight: 700; }
.chip .i { width: 17px; height: 17px; color: var(--teal-dark); }
.est-mode { margin-top: 22px; max-width: 74ch; font-weight: 500; color: var(--ink); }
.est-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.disclaimer { margin-top: 22px; max-width: 94ch; font-size: .86rem; }
.tick { animation: tick .3s ease-out; }
@keyframes tick { from { opacity: .3; transform: translateY(5px); } }
@keyframes lay { from { opacity: 0; transform: translateY(-7px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-sky { background: var(--sky); }
.section h2 { max-width: 20ch; }
.section-lede { margin-top: 16px; max-width: 56ch; font-size: 1.12rem; }
.on-dark { background: var(--deep); color: var(--on-dark); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a:not(.btn) { color: var(--sun); }

/* ---------- Who it's for ---------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-top: 44px; }
.bento-tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 280px; overflow: hidden; border-radius: var(--r-lg); color: #fff; text-decoration: none; background: var(--ink); }
.bento-lg { grid-row: span 2; min-height: 576px; }
.bento-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bento-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 22, 39, 0) 30%, rgba(7, 22, 39, .9) 100%); }
.bento-tile:hover img { transform: scale(1.04); }
.bento-text { padding: 28px; max-width: 44ch; }
.bento-text h3 { font-size: 1.55rem; font-weight: 800; color: #fff; }
.bento-text p { margin-top: 6px; color: #E4ECF4; }
.bento-text .arrow-link { margin-top: 14px; }

/* ---------- Package ---------- */
.package-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.package-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--r-lg); }
.package-price { margin: 26px 0 22px; font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.package-price span { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--on-dark); }
.package-list { list-style: none; margin: 0 0 22px; padding: 0; }
.package-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .13); }
.package-list .i { margin-top: 4px; color: var(--sun); stroke-width: 3; }
.package-list strong { display: block; color: #fff; }
.package-list span { display: block; font-size: .96rem; }
.package-fine { margin-bottom: 26px; font-size: .9rem; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 6vw, 80px); }
.assure-card { padding: 30px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); }
.assure-card h3 { margin-bottom: 20px; }
.assure-card > p { font-size: .93rem; }
.warranty { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0 0 18px; }
.warranty div { display: flex; flex-direction: column-reverse; padding-top: 12px; border-top: 2px solid rgba(255, 255, 255, .16); }
.warranty dt { font-size: .93rem; }
.warranty dd { margin: 0; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: #fff; }
.terms { list-style: none; display: flex; gap: 6px; margin: 0 0 18px; padding: 0; }
.terms li { flex: var(--w) 1 0; min-width: 0; }
.terms li::before { content: ""; display: block; height: 10px; margin-bottom: 14px; border-radius: 999px; background: var(--sun); }
.terms li:nth-child(2)::before { opacity: .72; }
.terms li:nth-child(3)::before { opacity: .46; }
.terms strong { display: block; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: #fff; }
.terms span { display: block; font-size: .93rem; }

/* ---------- With or without battery ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.compare-card { padding: 30px; border-radius: var(--r-lg); background: var(--cloud); }
.compare-main { background: var(--ink); color: var(--on-dark); }
.compare-card header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.compare-card header .i { width: 50px; height: 50px; padding: 13px; border-radius: 16px; background: #fff; color: var(--ink); }
.compare-main header .i { background: var(--sun); }
.compare-card header p { font-size: .9rem; font-weight: 600; }
.compare-main h3 { color: #fff; }
.compare-card dl { margin: 0; }
.compare-card dl div { display: grid; grid-template-columns: 11.5rem 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); }
.compare-main dl div { border-color: rgba(255, 255, 255, .14); }
.compare-card dt { font-size: .93rem; font-weight: 600; }
.compare-card dd { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-weight: 700; color: var(--ink); }
.compare-main dd { color: #fff; }
.compare-card dd .i { margin-top: 3px; stroke-width: 3; }
.yes .i { color: #3DD9A0; }
.no .i { color: #D92D20; }
.compare-foot { margin-top: 26px; }

/* ---------- How it works ---------- */
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 52px 0 0; padding: 0; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: #C5D6E3; }
.steps li { position: relative; padding-top: 68px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 8px var(--sky); }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: .98rem; }
.process-photos { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 16px; margin-top: 60px; }
.process-photos img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--r-lg); }

/* ---------- Projects ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; margin-top: 44px; }
.gallery a { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; background: linear-gradient(transparent, rgba(7, 22, 39, .88) 55%); color: #fff; font-weight: 600; font-size: .92rem; }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Review ---------- */
.review-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.review-intro .arrow-link { margin-top: 24px; }
.fb-review { margin: 0; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); }
.fb-head { display: flex; align-items: center; gap: 14px; }
.avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.25rem; }
.fb-head figcaption { color: var(--body); line-height: 1.35; }
.fb-head strong { color: var(--ink); }
.fb-head small { display: block; font-size: .86rem; }
.stars { margin-top: 18px; color: #E8A100; font-size: 1.25rem; letter-spacing: 4px; }
.fb-review blockquote { margin: 10px 0 0; font-weight: 500; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 46px 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; top: 50%; right: 8px; width: 11px; height: 11px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { max-width: 64ch; padding: 0 0 24px; }

/* ---------- Quote ---------- */
.quote { background: var(--ink); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.channels { list-style: none; display: grid; gap: 12px; margin: 30px 0 0; padding: 0; }
.channels a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); text-decoration: none; transition: background-color .15s; }
.channels a:hover { background: rgba(255, 255, 255, .13); }
.channels .i { width: 24px; height: 24px; color: var(--sun); }
.channels small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }
.channels strong { display: block; font-weight: 700; font-size: 1.1rem; color: #fff; overflow-wrap: anywhere; }
.address { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; font-size: .95rem; }
.address .i { margin-top: 3px; color: var(--sun); }
.quote-form, .quote-done { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; color: var(--body); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form a:not(.btn), .quote-done a:not(.btn) { color: var(--teal-dark); }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--body); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #C9D6E0; border-radius: var(--r-sm); background: #fff; font: 500 1rem var(--font); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23, 162, 176, .16); }
.field [aria-invalid=true], .field [aria-invalid=true]:focus { border-color: var(--error); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; font-weight: 500; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal-dark); }
.quote-summary { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--r-sm); background: var(--sky); font-weight: 600; font-size: .95rem; color: var(--ink); }
.form-error { color: var(--error); font-weight: 600; font-size: .95rem; }
.form-status { padding: 12px 16px; border-radius: var(--r-sm); background: #FFF3D1; font-weight: 500; font-size: .95rem; color: var(--ink); }
.quote-done h3 { margin-bottom: 10px; font-size: 1.6rem; color: var(--ink); }
.quote-done p { margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 34px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 30ch; }
.site-footer h3 { margin-bottom: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--on-dark); }
.site-footer a:not(.btn) { color: #fff; }
.site-footer p + p { margin-top: 8px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

/* ---------- Phone bar ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { max-width: min(94vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--deep); color: #fff; }
.lightbox::backdrop { background: rgba(7, 22, 39, .86); }
.lightbox img { width: auto; max-width: 100%; max-height: 80vh; margin: 0 auto; }
.lightbox p { padding: 12px 18px 16px; font-weight: 600; }
.lightbox-close { position: absolute; top: 12px; right: 12px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--sun); color: var(--ink); font: 700 .95rem var(--font); cursor: pointer; }

/* ---------- Plain pages (other services, privacy, 404) ---------- */
.page-hero { padding: 64px 0 72px; background: var(--deep); color: var(--on-dark); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 3.3rem); color: #fff; }
.page-hero p { margin-top: 16px; max-width: 52ch; font-size: 1.12rem; }
.service-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.service-list li { padding: 30px; border-radius: var(--r-lg); background: var(--cloud); }
.service-list h2 { max-width: none; margin-bottom: 8px; font-size: 1.4rem; }
.service-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 40px; }
.plain { padding: 56px 0 88px; }
.plain .wrap { max-width: 760px; }
.plain h1 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 2.8rem); }
.plain h2 { max-width: none; margin: 34px 0 10px; font-size: 1.35rem; letter-spacing: -.015em; }
.plain p, .plain li { margin-bottom: 10px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-float); }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav a:hover { background: var(--cloud); text-decoration: none; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 36px) 0 56px; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 22, 39, .86) 0%, rgba(7, 22, 39, .62) 48%, rgba(7, 22, 39, .2) 100%); }
  .hero-grid, .est-grid, .package-grid, .assure, .compare, .review-grid, .faq-wrap, .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .lede { max-width: 18ch; }
  .lede { max-width: 40ch; }
  .calc { max-width: 560px; }
  .brands-inner { flex-direction: column; gap: 18px; }
  .marquee { width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .bento-lg { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
  .package-photo img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 40px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .steps li { padding: 0 0 0 72px; min-height: 48px; }
  .process-photos { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .process-photos img { height: 230px; }
  .process-photos img:last-child { display: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  body:has(.mobile-bar) { padding-bottom: 76px; }
  :root { --header-h: 66px; --r-lg: 22px; }
  .header-cta { display: none; }
  .brand-text span { font-size: .58rem; letter-spacing: .14em; }
  .hero-photo img { object-position: 70% center; }
  .hero-points { gap: 8px 18px; font-size: .95rem; }
  .calc { padding: 20px; }
  .peso-input { height: 64px; }
  .peso-input input { font-size: 1.8rem; }
  .calc-preview { grid-template-columns: 1fr 1fr; }
  .calc-stat strong { font-size: 1.08rem; }
  .estimate-head { flex-direction: column; align-items: stretch; }
  .seg { display: flex; width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .seg span { padding: 12px 8px; }
  .est-numbers { grid-template-rows: auto; }
  .est-tile { padding: 20px; }
  .est-cta .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento-tile, .bento-lg { min-height: 300px; }
  .bento-text { padding: 22px; }
  .assure-card, .compare-card { padding: 22px; }
  .terms { flex-direction: column; gap: 14px; }
  .terms li { display: grid; grid-template-columns: 4.2rem 1fr; align-items: baseline; }
  .terms li::before { display: none; }
  .compare-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .quote-form { grid-template-columns: minmax(0, 1fr); }
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 22, 39, .96); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar.at-top { transform: translateY(110%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; }
  .mobile-bar .i { width: 18px; height: 18px; }
  .mobile-bar .mobile-bar-main { background: var(--sun); color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 18px; }
  .marquee-track li[aria-hidden] { display: none; }
}
