/* 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; }
/* Spam trap: display:none so browser autofill skips it (autofill DOES fill off-screen fields). */
.hp { display: none !important; }

/* ---------- 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.single { padding: 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; }
.form label[hidden] { display: none; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 1rem; color: var(--ink); }
.field-hint { display: flex; gap: .5rem; align-items: flex-start; margin: -.25rem 0 1rem; font-size: .92rem; color: var(--muted); }
.field-hint .ic { flex: none; width: 18px; height: 18px; margin-top: .15rem; color: var(--primary); }
.field-hint a { white-space: nowrap; font-weight: 600; }
.upload { display: grid; gap: .5rem; }
.upload-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.upload-label small { font-weight: 400; color: var(--muted); }
.form .upload-btn { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: 1rem; border: 2px dashed #cfd8e5; border-radius: 10px; color: var(--primary); font-weight: 600; font-size: 1rem; cursor: pointer; position: relative; transition: border-color .2s, background .2s; }
.form .upload-btn:hover, .form .upload-btn:focus-within { border-color: var(--primary); background: rgba(31, 111, 229, .04); }
.form .upload-btn .ic { width: 22px; height: 22px; }
.form .upload-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; padding: 0; border: 0; }
.upload.full .upload-btn { display: none; }
.upload-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; }
.upload-thumbs:empty { display: none; }
.upload-thumbs li { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-alt); }
.upload-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-thumbs li.busy img { opacity: .45; }
.upload-thumbs button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(11, 20, 51, .78); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.upload-note { margin: 0; font-size: .85rem; color: var(--muted); }
.sms-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.sms-link .ic { width: 18px; height: 18px; }
.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; }
.check-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-group legend { font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; margin-bottom: .5rem; }
.check-group legend small { font-weight: 400; color: var(--muted); margin-left: .35rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.form .check { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; border: 1px solid #cfd8e5; border-radius: 10px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.form .check:hover { border-color: var(--primary); }
.form .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none; }
.form .check:has(input:checked) { border-color: var(--primary); background: rgba(31, 111, 229, .06); }
.check-group.invalid .check { 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; }
.footer-credit { margin: 0; padding: 0 0 1.4rem; text-align: center; font-size: .78rem; color: #7f8ea8; }
.footer-credit a { color: #d5deec; text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: #fff; }
.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; }
@media (min-width: 641px) { .hero-video.mobile-only, .video-toggle.mobile-only { display: none; } }
.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; }
  .mobile-bar.three { grid-template-columns: 1fr 1fr 1.25fr; gap: 6px; }
  .mobile-bar.three a { padding: .85rem .5rem; font-size: .92rem; white-space: nowrap; }
  .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, .check-grid { 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; }
}

/* business hours list (footer + contact page) */
.hours-list { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; margin: .35rem 0 0; }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; }
.contact-side .hours-list { font-size: .92rem; margin-top: .6rem; }

/* Google reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review { margin: 0; display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.review blockquote { margin: 0; flex: 1; font-size: 1.02rem; color: var(--ink); }
.review figcaption { margin-top: auto; }
/* Long reviews are cut to 7 lines with a "Read more" toggle (site.js adds .clamp only when JS runs). */
.review blockquote.clamp { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.review .more { align-self: flex-start; margin-top: -.5rem; padding: 0; background: none; border: 0; font: 600 .9rem var(--body); color: var(--primary); cursor: pointer; }
.review .more:hover { text-decoration: underline; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption span { font-size: .85rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #f5b301; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.g-rating { display: inline-flex; align-items: center; gap: .85rem; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.g-rating:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.g-score { font: 800 2rem/1 var(--head); }
.g-rating small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } }

/* Header language switch (site.json "lang_in_header": true) */
.hdr-lang { display: inline-flex; align-items: center; margin-left: 14px; padding: 6px 12px; border: 1.5px solid currentColor; border-radius: 999px; font: 700 .8rem/1 var(--body); letter-spacing: .02em; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.hdr-lang:hover { color: var(--primary); }
.has-hero .site-header:not(.scrolled):not(.open) .hdr-lang { color: #fff; }
@media (max-width: 960px) { .hdr-lang { margin-left: auto; padding: 6px 10px; } .hdr-lang + .hdr-phone { margin-left: 2px; } }

/* Hero portrait (hero.portrait): owner cutout on the right, wide desktops only (1240px+), sized by height so it clears the text */
.hero-portrait { display: none; }
@media (min-width: 1240px) {
  .hero-portrait { display: block; position: absolute; right: max(20px, calc((100% - 1200px) / 2)); bottom: 0; margin: 0; pointer-events: none; }
  /* Keep all hero text (any language) in the column left of the portrait: width = height x the cutout's ratio (~0.69, or hero.portrait_ratio) + gap.
     Height: min(80vh, 720px, 46vw) (raised 2026-10-23, same scale as JM Tile / Pro-Elite), or hero.portrait_height (any CSS length) to change it. */
  .hero.has-portrait .hero-inner { padding-right: calc(var(--portrait-h, min(80vh, 720px, 46vw)) * var(--portrait-ratio, .7) + 32px); }
  .hero-portrait img { display: block; height: var(--portrait-h, min(80vh, 720px, 46vw)); width: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .5)); }
  .hero-portrait figcaption { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; background: rgba(10, 11, 13, .82); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font: 600 .85rem var(--body); backdrop-filter: blur(4px); }
}

/* Extra rating badges (reviews.badges) next to the Google one */
.g-badges { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Extra review rows (reviews.rows), e.g. Thumbtack under Google */
.review-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 3rem 0 1.25rem; }
.review-row-head h3 { margin: 0; font-size: 1.35rem; }

/* Review tabs (reviews.tabs): rating badges as tabs, one platform shown at a time */
.rev-bar { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.75rem; }
.rev-tabs { display: flex; flex-wrap: wrap; gap: .75rem; }
.rev-tab { cursor: pointer; font: inherit; text-align: left; opacity: .75; }
.rev-tab[aria-selected="true"] { opacity: 1; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); }
.rev-tab:hover { opacity: 1; }
.rev-panel:focus-visible { outline-offset: 6px; }
.rev-more { margin-top: 1.25rem; }
.rev-link { border-style: dashed; opacity: .75; }
.rev-link:hover { opacity: 1; border-style: solid; }
@media (max-width: 640px) { .rev-bar, .rev-tabs { display: grid; grid-template-columns: 1fr 1fr; } .rev-bar > .rev-tabs { grid-column: 1 / -1; } .rev-link { grid-column: 1 / -1; padding: .55rem .8rem; } .rev-link .g-score { font-size: 1.3rem; } .rev-tab { flex-direction: column; align-items: flex-start; gap: .3rem; padding: .7rem .8rem; } .rev-tab .g-score { font-size: 1.6rem; } .rev-tab .stars svg { width: 12px; height: 12px; } .rev-tab small { font-size: .74rem; white-space: nowrap; } }

/* ---- Review cards (reviews.style = "cards") and the Reviews page (reviews_page), Cal Coast style ---- */
.pl-logo { width: 26px; height: 26px; flex: none; }
.pl-word { font: 800 1rem var(--head); flex: none; min-width: 26px; letter-spacing: -.01em; }
.pl-word.yelp { color: #d32323; font-size: 1.15rem; letter-spacing: -.03em; }
.pl-word.thumbtack { color: #009fd9; font-size: .85rem; }
.pl-word.bbb { background: #00527a; color: #fff; border-radius: 6px; padding: 4px 6px; font-size: .85rem; }
.pl-word.lic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--primary); color: #fff; }
.pl-word.lic .ic { width: 20px; height: 20px; }
.pl-word.sm { font-size: .92rem; }
.pl-word.thumbtack.sm { font-size: .8rem; }
.rev-tab .pl-logo, .rev-link .pl-logo { width: 22px; height: 22px; }
.review.rv { padding: 1.25rem 1.35rem; gap: .8rem; box-shadow: none; }
.review.rv[hidden] { display: none; }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 18px; }
.rv .stars svg { width: 15px; height: 15px; }
.rv-src { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.rv-src .pl-logo { width: 16px; height: 16px; }
.review.rv blockquote { font-size: .98rem; line-height: 1.55; }
.review.rv figcaption { display: flex; align-items: center; gap: .65rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.review.rv figcaption strong { font-size: .95rem; }
.review.rv figcaption small { display: block; color: var(--muted); font-size: .8rem; }
.av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 800 .95rem var(--head); color: #fff; background: var(--navy-2); }
.review.rv figcaption .av { color: #fff; font-size: .95rem; }
.av-google { background: #4285f4; }
.av-thumbtack { background: #009fd9; }
.av-yelp { background: #d32323; }
.rv-foot { margin-top: 1.75rem; }
/* Reviews page */
.platform-bar { background: var(--bg-alt); padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.platforms a { display: flex; align-items: center; gap: .65rem; height: 100%; min-height: 64px; padding: .65rem .8rem; border-radius: var(--radius-sm); background: #fff;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.platforms a:hover { transform: translateY(-2px); border-color: var(--primary); }
.platforms strong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 1.02rem; }
.platforms .stars svg { width: 12px; height: 12px; }
.platforms small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
@media (min-width: 900px) { .platforms { grid-template-columns: repeat(4, 1fr); gap: .9rem; } }
@media (max-width: 640px) { .platforms a { flex-direction: column; align-items: flex-start; gap: .35rem; padding: .7rem .8rem; } .platforms .pl-word.thumbtack { font-size: .7rem; } .platforms .pl-word.yelp { font-size: 1rem; } .platforms .pl-logo { width: 22px; height: 22px; } }
.chip .pl-logo { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -3px; }
.rv-grid { display: grid; gap: 1rem; }
@media (min-width: 760px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
.rv-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.rv-cta .btn { flex: 1 1 240px; justify-content: center; gap: .5rem; }
.cred-grid { display: grid; gap: 1rem; }
@media (min-width: 620px) { .cred-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cred-grid { grid-template-columns: repeat(4, 1fr); } }
.cred { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
a.cred:hover { border-color: var(--primary); transform: translateY(-3px); }
.cred strong { font: 800 1.1rem var(--head); color: var(--ink); }
.cred span { color: var(--muted); font-size: .92rem; }
.cred small { margin-top: auto; padding-top: .35rem; font-weight: 700; color: var(--primary); }
.cred-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--primary); color: #fff !important; margin-bottom: .35rem; }
.cred-ic .ic { width: 28px; height: 28px; }

/* Header with a language switch: on medium desktops (961–1239px) tighten the menu and shorten the switch to "ES"/"EN" so everything fits on one line */
@media (min-width: 961px) and (max-width: 1239px) {
  .site-header:has(.hdr-lang) .menu { margin-left: .6rem; }
  .site-header:has(.hdr-lang) .menu > ul > li > a, .site-header:has(.hdr-lang) .dd-btn { padding-left: .5rem; padding-right: .5rem; }
  .site-header:has(.hdr-lang) .brand img { height: 58px; }
  .hdr-lang { font-size: 0; margin-left: 10px; padding: 6px 9px; }
  .hdr-lang::after { content: attr(data-short); font-size: .8rem; }
}

/* Owner "author box" (site.json "owner") */
.qc-owner { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.qc-owner img.qc-av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; border: 2px solid var(--accent); }
.owner-box { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; background: var(--navy); color: #d9dde3; border-radius: calc(var(--radius) + 6px); padding: 2.25rem; }
.owner-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-2); }
.owner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.owner-body h2 { color: #fff; margin-bottom: .35rem; }
.owner-body .eyebrow { color: var(--accent); }
.owner-role { font-weight: 600; color: #fff; opacity: .8; font-size: .92rem; margin: 0 0 1rem; }
.owner-body p { margin: 0 0 .8rem; }
.owner-body .actions { margin: 1.25rem 0 .9rem; }
.owner-body .link { color: var(--accent); }
@media (max-width: 760px) { .owner-box { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.5rem; } .owner-photo { max-width: 220px; aspect-ratio: 1; } }
.owner-card { display: flex; align-items: center; gap: 1rem; }
.owner-card img.oc-av { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.owner-card h3 { margin-bottom: .2rem; }
.owner-card p { margin: 0; }

/* Mobile sticky bar with the owner's photo (owner.mobile_bar), like planetmarketing.com: dark bar, four equal slots,
   icon over label, the photo pops up out of the bar with a ring; the estimate slot is the highlighted one. */
@media (max-width: 960px) {
  .mobile-bar.owner-bar { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 6px max(6px, env(safe-area-inset-bottom)); background: rgba(17, 19, 22, .97); background: color-mix(in srgb, var(--navy) 97%, transparent); backdrop-filter: blur(8px); box-shadow: 0 -8px 30px rgba(0, 0, 0, .25); }
  .mobile-bar.owner-bar a { flex-direction: column; gap: .15rem; padding: .45rem .2rem; border: 0; border-radius: 11px; color: #fff; font-size: .75rem; line-height: 1.15; text-align: center; white-space: normal; }
  .mobile-bar.owner-bar .ic { width: 20px; height: 20px; color: var(--accent); }
  .mobile-bar.owner-bar a.primary { background: var(--primary); color: #fff; }
  .mobile-bar.owner-bar a.primary .ic { color: #fff; }
  /* Room for the dark bar goes inside the (navy) footer, not under it: padding on <body> showed a white strip
     between the footer and the bar at the very bottom of the page. +safe-area for iPhones' home indicator. */
  body:has(.owner-bar) { padding-bottom: 0; }
  body:has(.owner-bar) .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar.owner-bar a.me img { width: 56px; height: 56px; margin-top: -38px; border-radius: 50%; object-fit: cover; background: #fff; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent), 0 10px 24px rgba(0, 0, 0, .45); }
}

/* owner-bar desktop: a floating dark pill in the bottom-right corner, one row (like planetmarketing.com on desktop) */
@media (min-width: 961px) {
  .mobile-bar.owner-bar { display: flex; position: fixed; right: 20px; bottom: 20px; z-index: 90; gap: 6px; padding: 6px; border-radius: 16px;
    background: var(--navy); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
  .mobile-bar.owner-bar a { display: flex; align-items: center; gap: .45rem; padding: .65rem 1rem; border-radius: 11px; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background .2s; }
  .mobile-bar.owner-bar a:hover { background: rgba(255, 255, 255, .1); }
  .mobile-bar.owner-bar { transition: opacity .3s, transform .3s; }
  .mobile-bar.owner-bar.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
  .mobile-bar.owner-bar .ic { width: 18px; height: 18px; color: var(--accent); }
  .mobile-bar.owner-bar a.primary { background: var(--primary); color: #fff; }
  .mobile-bar.owner-bar a.primary:hover { background: var(--primary-d); }
  .mobile-bar.owner-bar a.primary .ic { color: #fff; }
  /* The photo pops up out of the pill at almost twice the icon size (same as planetmarketing.com); only the name stays inside. */
  .mobile-bar.owner-bar a.me { position: relative; padding-left: 82px; }
  .mobile-bar.owner-bar a.me img { position: absolute; left: 8px; bottom: 2px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #fff;
    border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent), 0 10px 24px rgba(0, 0, 0, .45); transition: transform .2s; }
  .mobile-bar.owner-bar a.me:hover img { transform: translateY(-2px) scale(1.04); }
  @media (prefers-reduced-motion: reduce) { .mobile-bar.owner-bar a.me img { transition: none; } }
}

/* Footer "Company" column (site.json "footer_company": true), under Contact */
.site-footer .f-company { margin-top: 2.25rem; }
/* Desktop: keep the last footer line clear of the floating owner pill when scrolled to the very bottom */
@media (min-width: 961px) { body:has(.owner-bar) .site-footer { padding-bottom: 88px; } }

/* Free-form sections (build.py sections(): home.sections, services[].sections, about.sections, typed extra_pages
   sections). For content-heavy sites whose copy is kept word for word, e.g. a medical practice. */
.sec-head h2 .t-acc { display: block; color: var(--primary); }
.navy .sec-head h2 .t-acc { color: var(--accent); }
.fs .sec-head { margin-bottom: 2rem; }
.fs-prose > :first-child { margin-top: 0; }
.fs-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.4rem 0 .8rem; }
.fs-prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
.fs-prose h4 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; }
.fs-prose ul, .fs-prose ol { padding-left: 1.25rem; margin: 0 0 1.2rem; }
.fs-prose li { margin: .35rem 0; }
.fs-prose li::marker { color: var(--primary); }
.fs-prose a { color: var(--primary); font-weight: 600; }
.fs-prose blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.25rem; border-left: 3px solid var(--primary); font-size: 1.1rem; color: var(--ink); }
.navy .fs-prose a { color: var(--accent); }
.navy .fs-prose blockquote { color: #fff; }
.fs-split .stack-photos { position: sticky; top: calc(var(--hdr, 80px) + 1.5rem); }
.actions.center { justify-content: center; }
.fcards { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.fcards.n1 { grid-template-columns: 1fr; max-width: 820px; margin-inline: auto; }
.fcards.n2 { grid-template-columns: repeat(2, 1fr); }
.fc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section.alt .fc { border-color: transparent; box-shadow: 0 1px 2px rgba(11, 29, 64, .05); }
.navy .fc { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.navy .fc h3 { color: #fff; }
.fc-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fc-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.fc-body h3 { font-size: 1.15rem; margin: 0; }
.fc-body p, .fc-body li { color: var(--muted); font-size: .96rem; margin: 0; }
.navy .fc-body p { color: #c6d1e4; }
.fc-body ul { padding-left: 1.1rem; margin: 0; }
.fc-body .link { margin-top: auto; padding-top: .5rem; }
.fs-steps { grid-template-columns: repeat(4, 1fr); }
.fs-steps.n2 { grid-template-columns: repeat(2, 1fr); }
.fs-steps.n3, .fs-steps.n5 { grid-template-columns: repeat(3, 1fr); }
.fs-note { text-align: center; color: var(--muted); font-style: italic; margin: 1.5rem 0 0; }
.fs-quote { max-width: 820px; margin: 0 auto; text-align: center; font: 500 clamp(1.15rem, 2vw, 1.4rem)/1.6 var(--head); color: var(--ink); }
.navy .fs-quote { color: #fff; }
.fs-quote cite { display: block; margin-top: 1.25rem; font: 700 .85rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); font-style: normal; }
.navy .fs-quote cite { color: var(--accent); }
.fs-figure { margin: 0 auto; max-width: 900px; text-align: center; }
.fs-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.fs-figure figcaption { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.fs-video { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.fs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fs-caption { max-width: 820px; margin: 1.5rem auto 0; text-align: center; }
.narrow-in { max-width: 820px; margin: 0 auto; }
.fs-reviews .review-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (max-width: 960px) {
  .fcards, .fcards.n2, .fs-steps, .fs-steps.n2, .fs-steps.n3, .fs-steps.n5 { grid-template-columns: repeat(2, 1fr); }
  .fs-split .stack-photos { position: static; }
}
@media (max-width: 640px) {
  .fcards, .fcards.n2, .fs-steps, .fs-steps.n2, .fs-steps.n3, .fs-steps.n5 { grid-template-columns: 1fr; }
}
/* Footer disclaimer (site.json "footer_disclaimer", e.g. a medical results disclaimer) and form consent boxes (forms.consent) */
.f-disclaimer { margin: 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; line-height: 1.55; opacity: .8; }
.form .check.consent { align-items: flex-start; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.form .check.consent input { margin-top: .2rem; }
/* Footer with three service-group columns (e.g. a medical practice): brand | 3 groups | contact on one row */
@media (min-width: 1101px) { .fgrid.g3 { grid-template-columns: 1.35fr 1fr 1fr 1.15fr 1.25fr; gap: 2rem; } }
/* business.credential shown where the license would go (linked) */
a.qc-lic { text-decoration: none; }
a.qc-lic strong, .qc-lic strong { display: block; font-weight: 600; }
a.qc-lic:hover strong { text-decoration: underline; }
/* Service page with no intro text: the consult card becomes a full-width band instead of leaving an empty column */
.svc-intro.no-intro { grid-template-columns: 1fr; }
.svc-intro.no-intro > .prose { display: none; }
.svc-intro.no-intro .quote-card { position: static; display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "h btn ph" "p btn ph" "lic own own"; gap: .4rem 1.75rem; align-items: center; }
.svc-intro.no-intro .quote-card > h3 { grid-area: h; margin: 0; }
.svc-intro.no-intro .quote-card > p { grid-area: p; margin: 0; }
.svc-intro.no-intro .quote-card > .btn { grid-area: btn; width: auto; padding-inline: 2rem; }
.svc-intro.no-intro .qc-phone { grid-area: ph; margin: 0; }
.svc-intro.no-intro .qc-lic { grid-area: lic; margin-top: 1rem; }
.svc-intro.no-intro .qc-owner { grid-area: own; margin-top: 1rem; padding-top: 1.25rem; justify-self: end; }
@media (max-width: 960px) { .svc-intro.no-intro .quote-card { display: block; } .svc-intro.no-intro .quote-card > .btn { width: 100%; margin-top: 1.25rem; } .svc-intro.no-intro .qc-phone { margin: 1rem 0 1.5rem; justify-content: center; } }
