/* 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; }
.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; }
}

/* ---------- Price guide ---------- */
.price-guide { margin-top: clamp(40px, 6vw, 80px); padding: 30px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); }
.price-guide h3 { margin-bottom: 18px; }
.price-guide > p { margin-top: 16px; font-size: .9rem; }
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 14px 12px; text-align: left; border-top: 1px solid rgba(255, 255, 255, .13); }
.price-table thead th { border-top: 0; padding-top: 0; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.price-table tbody th { font-weight: 800; font-size: 1.1rem; color: #fff; }
.price-table td:last-child { font-weight: 700; color: var(--sun); white-space: nowrap; }
@media (max-width: 640px) {
  .price-guide { padding: 22px 16px; }
  .price-table th, .price-table td { padding: 12px 6px; font-size: .92rem; }
  .price-table tbody th { font-size: 1rem; }
  .price-table td:last-child { white-space: normal; }
}
.package-price span { display: block; margin-top: 8px; }

/* ---------- Two reviews ---------- */
.review-grid { align-items: start; }
.review-list { display: grid; gap: 16px; }
.fb-review blockquote p + p { margin-top: 12px; }
.fb-review-long blockquote { position: relative; max-height: 13.5em; overflow: hidden; }
.fb-review-long blockquote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.fb-review-long.is-open blockquote { max-height: none; }
.fb-review-long.is-open blockquote::after { display: none; }
.review-more { margin-top: 14px; padding: 0; border: 0; background: none; font: 700 .98rem var(--font); color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- Solar home picture with moving energy ---------- */
.scene { position: relative; margin: auto 0; overflow: hidden; border-radius: 16px; isolation: isolate; background: #cfe6f5; aspect-ratio: 1648 / 928; }
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene-fx .track { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.scene-fx .flow { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 37; animation: travel 1.4s linear infinite; filter: url(#sc-soft); }
.scene-fx .flow.green { animation-duration: 1.65s; }
.scene-fx .flow.blue { animation-duration: 1.35s; }
.scene-fx .indicator { transform-box: fill-box; transform-origin: center; animation: charge 2.8s ease-in-out infinite; filter: url(#sc-glow); }
.scene-fx .indicator:nth-of-type(2) { animation-delay: .18s; }
.scene-fx .indicator:nth-of-type(3) { animation-delay: .36s; }
.scene-fx .indicator:nth-of-type(4) { animation-delay: .54s; }
.scene-fx .indicator:nth-of-type(5) { animation-delay: .72s; }
.scene-fx .reflection { animation: shine 5s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.scene-fx .sun { animation: breathe 5s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
.scene.no-battery .batt-only { display: none; }
@keyframes travel { to { stroke-dashoffset: -38; } }
@keyframes charge { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
@keyframes shine { 0%, 100% { opacity: .05; } 50% { opacity: .19; } }
@keyframes breathe { 0%, 100% { opacity: .32; } 50% { opacity: .58; } }
.flow-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.flow-legend li { display: flex; align-items: center; gap: 8px; }
.flow-legend .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-gold { background: #F5B23A; box-shadow: 0 0 0 4px rgba(245, 178, 58, .22); }
.dot-green { background: #2FBF77; box-shadow: 0 0 0 4px rgba(47, 191, 119, .22); }
.dot-blue { background: #3BAFE0; box-shadow: 0 0 0 4px rgba(59, 175, 224, .22); }
.package-price span { display: block; margin-top: 8px; }

/* ---------- Accordion gallery (port of React Bits AccordionGallery) ---------- */
.accordion-gallery {
  --ag-accent: #FFB81C;
  --ag-overlay: #071627;
  --ag-text: #ffffff;
  --ag-gap: 10px;
  --ag-radius: 18px;
  --ag-media-size: 320px;
  display: flex;
  flex-direction: row;
  gap: var(--ag-gap);
  width: 100%;
  max-width: 100%;
  height: 460px;
  margin-top: 28px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.accordion-gallery--vertical { flex-direction: column; }
.ag-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--ag-radius);
  cursor: pointer;
  display: block;
  text-decoration: none;
  outline: none;
  transform-style: preserve-3d;
  transform-origin: center center;
  background: #0a1626;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
  will-change: flex-grow, transform;
  -webkit-tap-highlight-color: transparent;
}
.ag-panel:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.ag-panel__frame { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.ag-panel__media {
  --ag-gray: 1;
  --ag-dim: .35;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ag-media-size);
  height: 100%;
  transform: translate(-50%, -50%);
  filter: grayscale(var(--ag-gray));
  will-change: transform, filter;
}
.accordion-gallery--vertical .ag-panel__media { width: 100%; height: var(--ag-media-size); }
.ag-panel__media img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.ag-panel__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--ag-overlay) 78%, transparent) 100%),
    color-mix(in srgb, var(--ag-overlay) calc(var(--ag-dim, .35) * 100%), transparent);
}
.ag-panel__label { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; align-items: center; gap: 12px; pointer-events: none; z-index: 2; }
.ag-panel__bar { flex: 0 0 auto; width: 3px; height: 26px; border-radius: 3px; background: var(--ag-accent); opacity: 0; box-shadow: 0 0 12px color-mix(in srgb, var(--ag-accent) 60%, transparent); }
.ag-panel__text { color: var(--ag-text); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.4rem); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
@media (max-width: 640px) {
  .accordion-gallery { --ag-gap: 8px; perspective: none; }
  .ag-panel { transform: none !important; }
  .ag-panel__label { left: 16px; bottom: 14px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-panel, .ag-panel__media { will-change: auto; }
}

/* ---------- Team: profile cards (port of React Bits ProfileCard) ---------- */
.team-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.team-intro .btn { margin-top: 28px; }
.team-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; justify-content: end; }
.team .profile-card {
  --pc-frame: rgba(240, 240, 243, 0.8);
  --pc-frame-edge: rgba(24, 24, 27, 0.07);
  --pc-frame-highlight: rgba(255, 255, 255, 0.95);
  --pc-frame-shadow: 0 22px 44px -22px rgba(24, 24, 27, 0.3), 0 6px 16px -10px rgba(24, 24, 27, 0.16);
  --pc-tile: linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%);
  --pc-tile-edge: rgba(24, 24, 27, 0.08);
  --pc-tile-highlight: rgba(255, 255, 255, 1);
  --pc-tile-shadow: 0 4px 10px -5px rgba(24, 24, 27, 0.25);
  --pc-ink: #0B2038;
  --pc-muted: rgba(11, 32, 56, 0.62);
  --pc-hover: brightness(0.97);
  --pc-press: brightness(0.92);
  --pc-shade: rgba(24, 24, 27, 0.14);
  --pc-blend: color-dodge;
  --pc-holo-filter: hue-rotate(0deg);
  --pc-sheen: rgba(255, 255, 255, 0.16);
  --pc-radius: 16px;
  --pc-backdrop: linear-gradient(180deg, color-mix(in srgb, #1E5A8A, #ffffff 12%) 0%, color-mix(in srgb, #1E5A8A, #000000 18%) 100%);
  --pc-holo: .8;
  --pc-glare: .5;
  --pc-parallax: 8px;
  --pc-status: #22c55e;
  --pc-grain: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27500%27%20height%3D%27500%27%3E%3Cfilter%20id%3D%27g%27%20x%3D%270%27%20y%3D%270%27%20width%3D%27100%25%27%20height%3D%27100%25%27%20color-interpolation-filters%3D%27sRGB%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.85%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20values%3D%270.55%200%200%200%20-0.24%200.55%200%200%200%20-0.24%200.55%200%200%200%20-0.24%200%200%200%200%201%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23g%29%27%2F%3E%3C%2Fsvg%3E");
  --pc-pattern: url("/assets/team/pattern.svg");
  --pc-pattern-size: 180% auto;
  --pc-holo-gain: 1.25;
  --pc-holo-detail: 1;
}
.team .profile-card__photo { object-position: center top; }
.team .profile-card__name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.team .profile-card__title { font-size: 15px; }
@media (max-width: 960px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-cards { justify-content: start; }
}
@media (max-width: 640px) {
  .team-cards { grid-template-columns: minmax(0, 340px); justify-content: center; }
}

.profile-card {
  --pc-light-x: 50%;
  --pc-light-y: 50%;
  --pc-pointer-x: 50%;
  --pc-pointer-y: 50%;
  --pc-band-x: 50%;
  --pc-band-y: 50%;
  --pc-reach: 0;
  --pc-rotate-x: 0deg;
  --pc-rotate-y: 0deg;
  --pc-shift-x: 0px;
  --pc-shift-y: 0px;
  --pc-tilt: 0;
  --pc-active: 0;
  position: relative;
  width: 340px;
  max-width: 100%;
  perspective: 1000px;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.profile-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: calc(var(--pc-radius) + 10px);
  background: var(--pc-frame);
  box-shadow: var(--pc-frame-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  transform: rotateX(var(--pc-rotate-x)) rotateY(var(--pc-rotate-y));
  will-change: transform;
}

.profile-card__tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--pc-radius);
  background: var(--pc-backdrop);
  box-shadow: var(--pc-tile-shadow);
  overflow: hidden;
  isolation: isolate;
}

.profile-card__sheen,
.profile-card__holo,
.profile-card__scrim,
.profile-card__tile-rim,
.profile-card__glare,
.profile-card__shade,
.profile-card__rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.profile-card__sheen {
  background: radial-gradient(
    farthest-corner circle at calc(var(--pc-light-x) - 10px) calc(var(--pc-light-y) - 10px),
    var(--pc-sheen) 0%,
    transparent 55%
  );
  opacity: calc(var(--pc-holo) * var(--pc-active));
}

.profile-card__holo {
  --pc-spectrum: repeating-linear-gradient(
    0deg,
    hsl(2, 100%, 73%) 5%,
    hsl(53, 100%, 69%) 10%,
    hsl(93, 100%, 69%) 15%,
    hsl(176, 100%, 76%) 20%,
    hsl(228, 100%, 74%) 25%,
    hsl(260, 100%, 76%) 30%,
    hsl(2, 100%, 73%) 35%
  );
  --pc-bars: repeating-linear-gradient(
    -45deg,
    #0e152e 0%,
    hsl(180, 10%, 60%) 3.8%,
    hsl(180, 29%, 66%) 4.5%,
    hsl(180, 10%, 60%) 5.2%,
    #0e152e 10%,
    #0e152e 12%
  );
  --pc-falloff: radial-gradient(
    farthest-corner circle at var(--pc-pointer-x) var(--pc-pointer-y),
    hsla(0, 0%, 0%, 0.1) 12%,
    hsla(0, 0%, 0%, 0.15) 20%,
    hsla(0, 0%, 0%, 0.25) 120%
  );
  background-image: var(--pc-spectrum), var(--pc-bars), var(--pc-falloff);
  background-position:
    0 var(--pc-band-y),
    var(--pc-band-x) var(--pc-band-y),
    center;
  background-size:
    500% 500%,
    300% 300%,
    200% 200%;
  background-blend-mode: color, hard-light;
  mix-blend-mode: var(--pc-blend);
  filter: brightness(calc(0.66 + 0.19 * var(--pc-active))) contrast(calc(1.33 + 0.17 * var(--pc-active)))
    saturate(calc(0.33 + 0.17 * var(--pc-active))) var(--pc-holo-filter);
  opacity: calc(var(--pc-holo) * var(--pc-holo-gain) * (0.5 + 0.5 * var(--pc-active)));
  -webkit-mask-image: var(--pc-pattern);
  -webkit-mask-size: var(--pc-pattern-size);
  -webkit-mask-position: calc(50% - var(--pc-shift-x) * 1.5) calc(65% - var(--pc-shift-y) * 1.5);
  -webkit-mask-repeat: repeat;
  mask-image: var(--pc-pattern);
  mask-size: var(--pc-pattern-size);
  mask-position: calc(50% - var(--pc-shift-x) * 1.5) calc(65% - var(--pc-shift-y) * 1.5);
  mask-repeat: repeat;
}

.profile-card__holo-glow,
.profile-card__holo-shift {
  position: absolute;
  inset: 0;
  opacity: calc(var(--pc-active) * var(--pc-holo-detail));
}

.profile-card__holo-glow {
  background-image:
    linear-gradient(
      45deg,
      hsl(176, 100%, 76%),
      hsl(228, 100%, 74%),
      hsl(260, 100%, 76%),
      hsl(2, 100%, 73%),
      hsl(53, 100%, 69%),
      hsl(93, 100%, 69%)
    ),
    radial-gradient(circle at var(--pc-pointer-x) var(--pc-pointer-y), hsl(0, 0%, 70%) 0%, hsla(0, 0%, 30%, 0.2) 90%),
    var(--pc-grain);
  background-size:
    250% 250%,
    100% 100%,
    220px 220px;
  background-position:
    var(--pc-pointer-x) var(--pc-pointer-y),
    center,
    0 0;
  background-blend-mode: color-dodge;
  filter: brightness(calc(2 - var(--pc-reach))) contrast(calc(var(--pc-reach) + 2))
    saturate(calc(0.5 + var(--pc-reach)));
  mix-blend-mode: luminosity;
}

.profile-card__holo-shift {
  background-image: var(--pc-spectrum), var(--pc-bars), var(--pc-falloff);
  background-position:
    0 var(--pc-band-y),
    calc(var(--pc-band-x) * 0.4) calc(var(--pc-band-y) * 0.5),
    center;
  background-size:
    200% 300%,
    700% 700%,
    100% 100%;
  background-blend-mode: color, hard-light;
  mix-blend-mode: difference;
  filter: brightness(0.8) contrast(1.5);
}

.profile-card__photo {
  position: absolute;
  inset: calc(var(--pc-parallax) * -1);
  width: calc(100% + var(--pc-parallax) * 2);
  height: calc(100% + var(--pc-parallax) * 2);
  object-fit: cover;
  object-position: center bottom;
  transform: translate3d(var(--pc-shift-x), var(--pc-shift-y), 0);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.profile-card__scrim {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.57) 6%,
    rgba(0, 0, 0, 0.5) 12%,
    rgba(0, 0, 0, 0.4) 19%,
    rgba(0, 0, 0, 0.28) 26%,
    rgba(0, 0, 0, 0.16) 33%,
    rgba(0, 0, 0, 0.07) 40%,
    rgba(0, 0, 0, 0.02) 46%,
    rgba(0, 0, 0, 0) 52%
  );
}

.profile-card__info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #ffffff;
}

.profile-card__name {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: inherit;
}

.profile-card__title {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.profile-card__tile-rim {
  box-shadow:
    inset 0 0 0 1px var(--pc-tile-edge),
    inset 0 1px 0 var(--pc-tile-highlight);
}

.profile-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 6px 20px 8px;
}

.profile-card__avatar {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pc-tile);
  overflow: hidden;
}

.profile-card__avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--pc-tile-edge);
}

.profile-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-card__meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.profile-card__handle {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--pc-ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--pc-muted);
  white-space: nowrap;
}

.profile-card__status::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pc-status);
}

.profile-card__contact {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: calc(var(--pc-radius) * 0.75);
  background: var(--pc-tile);
  box-shadow:
    inset 0 0 0 1px var(--pc-tile-edge),
    inset 0 1px 0 var(--pc-tile-highlight),
    var(--pc-tile-shadow);
  color: var(--pc-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.profile-card__contact:active {
  filter: var(--pc-press);
  transform: scale(0.96);
  transition-duration: 0s;
}

.profile-card__contact:focus-visible {
  outline: 2px solid var(--pc-ink);
  outline-offset: 2px;
}

.profile-card__glare {
  background: radial-gradient(
    farthest-corner circle at var(--pc-light-x) var(--pc-light-y),
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.36) 20%,
    rgba(255, 255, 255, 0) 60%
  );
  mix-blend-mode: overlay;
  opacity: calc(var(--pc-glare) * var(--pc-active));
}

.profile-card__shade {
  background: radial-gradient(
    farthest-corner circle at var(--pc-light-x) var(--pc-light-y),
    transparent 30%,
    var(--pc-shade) 100%
  );
  opacity: calc(var(--pc-glare) * var(--pc-tilt));
}

.profile-card__rim {
  box-shadow:
    inset 0 0 0 1px var(--pc-frame-edge),
    inset 0 1px 0 var(--pc-frame-highlight);
}

@media (hover: hover) {
  .profile-card__contact:hover {
    filter: var(--pc-hover);
  }

  .profile-card__contact:hover:active {
    filter: var(--pc-press);
  }
}

/* Team card: one clear Messenger button in place of the hours row */
.team .profile-card__footer { padding: 0; }
.profile-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 52px; padding: 0 18px;
  border-radius: calc(var(--pc-radius) * .75);
  background: linear-gradient(180deg, #17406E 0%, #0B2038 100%);
  color: #fff; font: 700 15px/1 var(--font); text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 20px -12px rgba(11, 32, 56, .7);
  transition: filter .2s ease, transform .2s ease;
}
.profile-card__cta .i { width: 19px; height: 19px; color: var(--sun); }
.profile-card__cta-arrow { margin-left: 2px; transition: transform .2s ease; }
.profile-card__cta:hover { filter: brightness(1.18); }
.profile-card__cta:hover .profile-card__cta-arrow { transform: translateX(4px); }
.profile-card__cta:active { transform: scale(.98); }
.profile-card__cta:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- Customer reviews: one at a time ---------- */
.tm-head { margin-bottom: 40px; }
.tm { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.tm-stack { position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; margin-inline: auto; }
.tm-photo {
  --r: 0deg;
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  border-radius: 26px; background: var(--ink);
  box-shadow: 0 30px 60px -28px rgba(11, 32, 56, .55);
  transform: rotate(var(--r)) scale(.93);
  transform-origin: 50% 90%;
  opacity: .75;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s ease;
}
.tm-photo.is-front { transform: none; opacity: 1; }
.tm-photo.is-lifting { animation: tm-lift .6s cubic-bezier(.22, 1, .36, 1); }
@keyframes tm-lift { 0% { transform: rotate(-4deg) scale(.93); } 45% { transform: translateY(-36px) rotate(0) scale(1.02); } 100% { transform: none; } }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tm-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(transparent, rgba(7, 22, 39, .85) 55%); color: #fff; font-weight: 600; font-size: .92rem; }
.tm-photo--initial { display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, #1E5A8A 0%, #0B2038 70%); }
.tm-photo--initial::before { content: ""; position: absolute; inset: 0; background: url("/assets/team/pattern.svg") center / 46% auto no-repeat; opacity: .07; filter: invert(1); }
.tm-initial { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px rgba(255, 184, 28, .55); color: var(--sun); font-weight: 800; font-size: 76px; letter-spacing: -.03em; }
.tm-card { position: relative; padding: clamp(26px, 3.6vw, 48px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); }
.tm-stars { color: #E8A100; font-size: 1.3rem; letter-spacing: 4px; }
.tm-quote { margin: 14px 0 0; font-weight: 500; font-size: clamp(1.06rem, 1.45vw, 1.24rem); line-height: 1.6; color: var(--ink); }
.tm-quote p + p { margin-top: 12px; }
.tm-quote.is-clamped { max-height: 12.8em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.tm-quote.is-clamped.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.tm-word { display: inline-block; }
.tm-slide.is-in .tm-word { animation: tm-word .5s both cubic-bezier(.22, 1, .36, 1); animation-delay: var(--d); }
@keyframes tm-word { from { opacity: 0; filter: blur(8px); transform: translateY(5px); } }
.tm-more { margin-top: 12px; padding: 0; border: 0; background: none; font: 700 .98rem var(--font); color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.tm-who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--body); }
.tm-who strong { color: var(--ink); }
.tm-who span { display: block; font-size: .9rem; }
.tm-slide.is-in .tm-who { animation: tm-word .5s .15s both; }
.tm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; }
.tm-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid #C3D0DB; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.tm-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tm-btn[data-dir="-1"] .i { transform: rotate(180deg); }
.tm-dots { display: flex; gap: 6px; margin-left: 6px; }
.tm-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #C3D0DB; cursor: pointer; transition: width .3s, background-color .3s; }
.tm-dots button[aria-current="true"] { width: 28px; background: var(--ink); }
.tm-count { font-size: .9rem; font-weight: 600; color: var(--muted); }
.tm-fb { margin-left: auto; }
@media (max-width: 960px) {
  .tm { grid-template-columns: minmax(0, 1fr); }
  .tm-stack { width: min(80%, 340px); }
}
@media (max-width: 640px) {
  .tm-fb { margin-left: 0; width: 100%; margin-top: 8px; }
  .tm-initial { width: 120px; height: 120px; font-size: 60px; }
}

/* ---------- Packages ---------- */
.pk-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.pk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pk-sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0 0 16px; padding: 6px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pk-sizes label { position: relative; cursor: pointer; }
.pk-sizes input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pk-sizes span { display: block; padding: 12px 6px; border-radius: 999px; text-align: center; font-weight: 700; font-size: .98rem; color: var(--ink); white-space: nowrap; transition: background-color .2s, color .2s; }
.pk-sizes label:hover span { background: var(--cloud); }
.pk-sizes input:checked + span { background: var(--ink); color: #fff; }
.pk-sizes input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.pk-card { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); }
.pk-tag { font-weight: 700; font-size: .95rem; color: var(--teal-dark); }
.pk-price { margin-top: 8px; font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pk-sub { margin-top: 10px; font-size: .98rem; }
.pk-sub b { color: var(--ink); }
.pk-incl { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; padding: 0; }
.pk-incl li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--cloud); }
.pk-incl li:last-child { grid-column: 1 / -1; }
.pk-incl .i { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: #fff; color: var(--teal-dark); box-shadow: inset 0 0 0 1px var(--line); }
.pk-incl b { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.pk-incl span { display: block; font-size: .88rem; line-height: 1.4; margin-top: 2px; }
.pk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pk-fine { margin-top: 16px; font-size: .86rem; }
.pk-flash { animation: pk-flash .5s ease-out; }
@keyframes pk-flash { from { opacity: .35; transform: translateY(4px); } }

.pk-photos { position: relative; width: min(100%, 360px); aspect-ratio: 3 / 4.2; margin-inline: auto; }
.pk-ph { position: absolute; width: 64%; aspect-ratio: 3 / 4; margin: 0; overflow: hidden; border-radius: 22px; background: var(--ink); box-shadow: 0 26px 50px -24px rgba(11, 32, 56, .55); border: 5px solid #fff; transition: transform .5s cubic-bezier(.22, 1, .36, 1), z-index 0s .1s; }
.pk-ph img { width: 100%; height: 100%; object-fit: cover; }
.pk-ph figcaption { position: absolute; left: 10px; top: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 800; font-size: .82rem; letter-spacing: .02em; }
.pk-ph-1 { left: 0; top: 4%; transform: rotate(-7deg); z-index: 1; }
.pk-ph-2 { right: 0; top: 0; transform: rotate(6deg); z-index: 2; }
.pk-ph-3 { left: 18%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
.pk-photos:hover .pk-ph-1 { transform: rotate(-10deg) translateX(-10px); }
.pk-photos:hover .pk-ph-2 { transform: rotate(9deg) translateX(10px); }
.pk-ph:hover { z-index: 5; transform: rotate(0) scale(1.03) !important; }

.pk-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.pk-box { padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft); }
.pk-box h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pk-box h3 .i { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--sun); color: var(--ink); stroke-width: 2.5; }
.pk-box > p { font-size: .93rem; }
.pk-warranty { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.pk-warranty div { padding: 14px 16px; border-radius: var(--r-md); background: var(--cloud); }
.pk-warranty dt { font-size: .88rem; }
.pk-warranty dd { margin: 2px 0 0; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--ink); }
.pk-terms { list-style: none; display: flex; gap: 6px; margin: 0 0 16px; padding: 0; }
.pk-terms li { flex: var(--w) 1 0; min-width: 0; }
.pk-terms li::before { content: ""; display: block; height: 10px; margin-bottom: 14px; border-radius: 999px; background: var(--sun); }
.pk-terms li:nth-child(2)::before { background: #FFCF66; }
.pk-terms li:nth-child(3)::before { background: #FFE3A3; }
.pk-terms strong { display: block; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); }
.pk-terms span { display: block; font-size: .9rem; }

@media (max-width: 960px) {
  .pk-grid, .pk-assure { grid-template-columns: minmax(0, 1fr); }
  .pk-photos { width: min(80%, 320px); }
}
@media (max-width: 640px) {
  .pk-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 22px; }
  .pk-incl { grid-template-columns: minmax(0, 1fr); }
  .pk-cta .btn { flex: 1 1 100%; }
  .pk-box { padding: 22px; }
  .pk-terms { flex-direction: column; gap: 12px; }
  .pk-terms li { display: grid; grid-template-columns: 4.2rem 1fr; align-items: baseline; }
  .pk-terms li::before { display: none; }
}
.pk-cta .btn b { font-weight: 800; }
.pk-ph-3 figcaption { top: auto; bottom: 10px; }
