/* Planet Marketing — full-website template. Theme colors/fonts are injected per client from site.json. */
:root {
  --primary: #1f6fe5; --primary-d: #1557bd; --accent: #4da3ff;
  --navy: #0b1d40; --navy-2: #132a58;
  --ink: #0f1a2e; --text: #3b4658; --muted: #6a7486;
  --line: #e3e8f0; --bg: #fff; --bg-alt: #f4f7fb;
  --radius: 14px; --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 29, 64, .06), 0 12px 32px rgba(11, 29, 64, .08);
  --shadow-lg: 0 24px 60px rgba(11, 29, 64, .18);
  --head: "Montserrat", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --hdr: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.ic { width: 20px; height: 20px; flex: none; }
.ic.big { width: 56px; height: 56px; color: var(--primary); margin: 0 auto 1rem; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; background: var(--primary); color: #fff; border: 2px solid var(--primary);
  padding: .8em 1.5em; border-radius: 999px; font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--primary-d); border-color: var(--primary-d); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 111, 229, .3); }
.btn .ic { width: 18px; height: 18px; }
.btn-lg { padding: 1em 1.9em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { color: #fff; }
.btn-outline-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--navy); box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-alt); border-color: var(--bg-alt); color: var(--navy); }
.link { display: inline-flex; align-items: center; gap: .4em; color: var(--primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link .ic { width: 18px; transition: transform .2s; }
.link:hover .ic { transform: translateX(4px); }

/* ---------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); transition: background .3s, box-shadow .3s; }
.nav { display: flex; align-items: center; gap: 1rem; height: var(--hdr); }
.brand { flex: none; display: block; }
.brand img { height: 62px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; }
.logo-light { display: none; }
.has-hero .site-header:not(.scrolled):not(.open) { background: linear-gradient(rgba(6, 16, 38, .55), rgba(6, 16, 38, 0)); box-shadow: none; }
.has-hero .site-header:not(.scrolled):not(.open) .logo-light { display: block; }
.has-hero .site-header:not(.scrolled):not(.open) .logo-dark { display: none; }
.has-hero .site-header:not(.scrolled):not(.open) .menu > ul > li > a,
.has-hero .site-header:not(.scrolled):not(.open) .dd-btn,
.has-hero .site-header:not(.scrolled):not(.open) .menu-phone,
.has-hero .site-header:not(.scrolled):not(.open) .hdr-phone { color: #fff; }
.has-hero .site-header:not(.scrolled):not(.open) .menu-btn span { background: #fff; }
.menu { flex: 1; display: flex; align-items: center; justify-content: space-between; margin-left: 1.5rem; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.menu > ul > li { position: relative; }
.menu > ul > li > a, .dd-btn { display: flex; align-items: center; gap: .3rem; padding: .6rem .85rem; font: 600 .93rem var(--body); color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px; transition: color .2s; }
.menu > ul > li > a:hover, .dd-btn:hover, .menu a[aria-current] , .has-dd.active > .dd-btn { color: var(--primary) !important; }
/* Current page: underline it, and use the light accent while the header sits over a dark hero */
.menu a[aria-current], .has-dd.active > .dd-btn { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.has-hero .site-header:not(.scrolled):not(.open) .menu > ul > li > a:hover,
.has-hero .site-header:not(.scrolled):not(.open) .dd-btn:hover,
.has-hero .site-header:not(.scrolled):not(.open) .menu a[aria-current],
.has-hero .site-header:not(.scrolled):not(.open) .has-dd.active > .dd-btn { color: var(--accent) !important; }
.caret { width: 16px; height: 16px; transition: transform .2s; }
.dd { position: absolute; top: 100%; left: -1rem; padding-top: .6rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .caret, .has-dd.open .caret { transform: rotate(180deg); }
.dd-inner { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .6rem; width: 340px; display: grid; }
.dd-inner a { display: flex; gap: .85rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-inner a:hover { background: var(--bg-alt); }
.dd-inner .ic { color: var(--primary); width: 24px; height: 24px; margin-top: 2px; }
.dd-inner strong { display: block; font: 600 .95rem/1.3 var(--body); }
.dd-inner small { display: block; color: var(--muted); font-size: .82rem; }
.menu-cta { display: flex; align-items: center; gap: 1.1rem; }
.menu-phone { display: flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.menu-phone .ic { color: var(--accent); }
.hdr-phone, .menu-btn { display: none; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 29, 64, .08); }

/* ---------- hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; max-height: 980px; display: flex; align-items: center; overflow: hidden; background: var(--navy); color: #dfe6f3; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8, 20, 46, .88) 0%, rgba(8, 20, 46, .62) 50%, rgba(8, 20, 46, .35) 100%),
  linear-gradient(0deg, rgba(8, 20, 46, .6), transparent 40%); }
.hero-inner { position: relative; padding: calc(var(--hdr) + 3rem) 0 4rem; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: #dfe6f3; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 700 .78rem var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .navy .eyebrow { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 0; }
.trust { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .92rem; font-weight: 500; color: #fff; }
.trust li { display: flex; align-items: center; gap: .45em; }
.trust .ic { color: var(--accent); width: 18px; }
.video-toggle { position: absolute; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(8, 20, 46, .4); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle .ic { width: 18px; height: 18px; }

.page-hero { position: relative; background: var(--navy); color: #dfe6f3; padding: calc(var(--hdr) + 4.5rem) 0 4.5rem; overflow: hidden; }
.page-hero.short { padding-bottom: 6rem; min-height: 60vh; display: flex; align-items: center; }
.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.ph-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 46, .92), rgba(8, 20, 46, .6)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.5rem); max-width: 20ch; }
.page-hero .lead { font-size: 1.15rem; max-width: 58ch; }
.crumbs { font-size: .85rem; margin-bottom: 1.1rem; color: #aab6cc; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: #dfe6f3; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section.alt { background: var(--bg-alt); }
.section.navy { background: var(--navy); color: #c6d1e4; }
.navy h2, .navy h3 { color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 2.75rem; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
.sec-row .sec-head { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split.top { align-items: start; }
.prose p { font-size: 1.06rem; }
.center-block { text-align: center; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cat-card { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 46, .9) 0%, rgba(8, 20, 46, .15) 55%, transparent); }
.cat-card:hover img { transform: scale(1.06); }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.5rem; }
.cat-body small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.cat-body strong { display: block; font: 800 1.35rem/1.2 var(--head); margin: .25rem 0 .6rem; }
.cat-body .more { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; opacity: .9; }
.cat-body .ic { width: 16px; transition: transform .2s; }
.cat-card:hover .cat-body .ic { transform: translateX(4px); }

/* stacked photos */
.stack-photos { position: relative; padding: 0 12% 12% 0; }
.stack-photos img { border-radius: var(--radius); object-fit: cover; }
.sp-main { width: 100%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.sp-2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.section.alt .sp-2 { border-color: var(--bg-alt); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.stats strong { display: block; font: 800 2.2rem/1 var(--head); color: var(--primary); }
.stats span { font-size: .88rem; color: var(--muted); }

/* services list */
.svc-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.svc-groups.one { grid-template-columns: 1fr; }
.svc-group h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.svc-group { display: grid; gap: .75rem; align-content: start; }
.svc-groups.one .svc-group { grid-template-columns: repeat(3, 1fr); }
.svc-row { display: flex; align-items: center; gap: 1.1rem; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: .25s; }
.svc-row:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-row strong { display: block; font: 700 1.05rem/1.3 var(--head); color: var(--ink); }
.svc-row small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: .2rem; }
.svc-ic { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--navy-2)); color: #fff; }
.svc-ic .ic { width: 26px; height: 26px; }
.svc-row .go { margin-left: auto; color: var(--primary); opacity: 0; transform: translateX(-6px); transition: .25s; }
.svc-row:hover .go { opacity: 1; transform: none; }

/* video feature */
.video-feature { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; max-width: 980px; margin-inline: auto; }
.video-feature.reverse { grid-template-columns: 1fr minmax(260px, 360px); }
.video-feature.reverse .phone-frame { order: 2; }
.phone-frame { border-radius: 28px; padding: 10px; background: var(--navy); box-shadow: var(--shadow-lg); }
.phone-frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: #000; }
.video-feature p { font-size: 1.08rem; }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.section.alt .steps li { border-color: transparent; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 .9rem var(--head); margin-bottom: 1rem; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

/* gallery */
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g-item { display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--bg-alt); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(11, 29, 64, 0); transition: background .3s; }
.g-item:hover::after { background: rgba(11, 29, 64, .15); }
.g-item:hover img { transform: scale(1.04); }
.g-item.hide { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: 600 .9rem var(--body); padding: .55rem 1.15rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 12, 28, .94); display: grid; place-items: center; padding: 4rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: calc(100vh - 8rem); max-width: 100%; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #aab6cc; font-size: .9rem; margin: 0; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.promise { padding: 2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.promise .ic { width: 34px; height: 34px; color: var(--accent); margin-bottom: 1rem; }
.promise p { margin: 0; font-size: .96rem; }

/* areas + faq */
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.area-list li { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: var(--bg-alt); border-radius: var(--radius-sm); font-weight: 500; color: var(--ink); }
.area-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font: 600 1.05rem/1.4 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--primary); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }
.section.alt .faq details { border-color: #dbe2ec; }

/* service page */
.svc-intro { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.quote-card { position: sticky; top: calc(var(--hdr) + 1.5rem); background: var(--navy); color: #c6d1e4; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); }
.quote-card h3 { color: #fff; font-size: 1.35rem; }
.qc-phone { display: flex; justify-content: center; align-items: center; gap: .5rem; margin: 1rem 0 1.5rem; color: #fff; font-weight: 700; text-decoration: none; }
.qc-phone .ic { color: var(--accent); }
.qc-lic { display: flex; gap: .75rem; align-items: center; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #fff; }
.qc-lic .ic { color: var(--accent); width: 28px; height: 28px; }
.qc-lic small { color: #aab6cc; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.includes li { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 1px 2px rgba(11, 29, 64, .05); }
.includes .ic { flex: none; color: #fff; background: var(--primary); border-radius: 50%; padding: 5px; width: 28px; height: 28px; }
.includes h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.includes p { margin: 0; color: var(--muted); font-size: .94rem; }

/* about */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.value { background: #fff; border-radius: var(--radius); padding: 2rem; }
.value .n { font: 800 .9rem var(--head); color: var(--primary); letter-spacing: .1em; }
.value h3 { margin-top: .6rem; }
.value p { margin: 0; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card.dark { background: var(--navy); border-color: var(--navy); color: #c6d1e4; }
.card.dark h3 { color: #fff; }
.form { padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.form h2 { font-size: 1.5rem; margin: 0; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea { font: 400 1rem var(--body); padding: .85rem 1rem; border: 1px solid #cfd8e5; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 111, 229, .15); }
.form .invalid { border-color: #d93a3a; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-weight: 500; }
.form-note.ok { color: #16804a; }
.form-note.err { color: #c62f2f; }
.fine { font-size: .82rem; color: var(--muted); margin: 0; }
.contact-side { display: grid; gap: 1rem; }
.contact-side h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.contact-side .ic { color: var(--primary); }
.card.dark .ic { color: var(--accent); }
.contact-side p { margin: 0 0 .25rem; }
.contact-side a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* cta + footer */
.cta-band { background: linear-gradient(120deg, var(--primary-d), var(--primary) 60%, var(--accent)); color: #eaf2ff; padding: 3.75rem 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.site-footer { background: #07142f; color: #9aa8c1; padding: 4.5rem 0 0; font-size: .94rem; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.f-brand img { width: 190px; height: auto; margin-bottom: 1.25rem; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; color: #d5deec; }
.site-footer a:hover { color: #fff; }
.lic-badge { display: inline-flex; gap: .75rem; align-items: center; padding: .8rem 1rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; }
.lic-badge .ic { color: var(--accent); width: 28px; height: 28px; }
.lic-badge strong { display: block; color: #fff; font-size: .92rem; }
.lic-badge small { color: #9aa8c1; font-size: .8rem; }
.f-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.f-contact .ic { color: var(--accent); width: 18px; margin-top: 4px; }
.fbottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3.5rem; padding: 1.4rem 0; font-size: .84rem; }
.fbottom nav { display: flex; gap: 1.5rem; }
.mobile-bar { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive */
/* Optional blocks: photo hero, before/after pairs, labeled second phone */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin: 2.5rem 0; }
.ba { margin: 0; }
.ba-pair.masonry { grid-template-columns: 1fr 1fr; gap: .6rem; }
.ba-tag { position: absolute; z-index: 1; top: 10px; left: 10px; padding: .25rem .6rem; border-radius: 999px; font: 700 .72rem/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; background: rgba(11, 29, 64, .78); color: #fff; }
.ba-tag.after { background: var(--primary); }
.ba figcaption { margin-top: .6rem; font-weight: 600; color: var(--ink); }
.feature-sec .actions { margin-top: 1rem; }
.ph2-label { color: var(--muted); font-weight: 600; }
.site-footer .ph2-label { color: inherit; opacity: .75; }

@media (max-width: 1100px) {
  .menu-phone span { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .includes, .promises { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .svc-groups.one .svc-group { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .ba-grid { grid-template-columns: 1fr; }
  :root { --hdr: 72px; }
  .brand img { height: 52px; max-width: 48vw; }
  .hdr-phone { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; color: var(--primary); }
  .menu-btn { display: block; background: none; border: 0; width: 44px; height: 44px; padding: 11px 10px; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
  .site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { display: none; position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; margin: 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 1rem 20px 2rem; overflow-y: auto; }
  .site-header.open .menu { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu > ul > li > a, .dd-btn { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink) !important; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; display: none; }
  .has-dd:hover .dd { display: none; }
  .has-dd.open .dd { display: block; }
  .has-dd:hover .caret { transform: none; }
  .has-dd.open .caret { transform: rotate(180deg); }
  .dd-inner { width: auto; box-shadow: none; padding: .5rem 0; background: var(--bg-alt); border-radius: 0 0 10px 10px; }
  .menu-cta { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
  .menu-cta .btn { padding: 1em; }
  .menu-phone { justify-content: center; padding: .8rem; border: 1px solid var(--line); border-radius: 999px; }
  .menu-phone span { display: inline; }
  .split, .svc-intro, .contact-grid, .video-feature, .video-feature.reverse { grid-template-columns: 1fr; }
  .video-feature .phone-frame, .video-feature.reverse .phone-frame { order: 0; max-width: 320px; margin-inline: auto; width: 100%; }
  .quote-card { position: static; }
  .svc-groups { grid-template-columns: 1fr; }
  .stack-photos { max-width: 520px; }
  body { padding-bottom: 64px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -4px 20px rgba(11, 29, 64, .12); padding: 8px; gap: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--navy); border: 2px solid var(--navy); }
  .mobile-bar a.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
  .mobile-bar .ic { width: 18px; height: 18px; }
  .video-toggle { bottom: 16px; right: 16px; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .hero { align-items: flex-end; }
  .hero-inner { padding-bottom: 5rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(8, 20, 46, .95) 0%, rgba(8, 20, 46, .7) 45%, rgba(8, 20, 46, .35) 100%); }
  .actions .btn { flex: 1 1 100%; }
  .trust { gap: .5rem 1.25rem; font-size: .85rem; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cat-body { padding: 1rem; }
  .cat-body strong { font-size: 1.05rem; }
  .cat-body .more { display: none; }
  .steps, .includes, .promises, .values, .row2 { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .stats strong { font-size: 1.7rem; }
  .fgrid { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
  .lightbox { padding: 3.5rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-cap { bottom: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
