/*
 * Sunshine Roofing redesign (PUBLIC_DESIGN=v2): header, footer, homepage and shared components.
 * Brand colours, as the client asked: orange is the site's own sun-to-flame gradient (Astra's -0 #f49530
 * to -1 #eb6733) on buttons, tiles and text accents; flat blue is the middle shade of the blue gradient
 * they sent (#0e2c6e), which replaced the brown -8 #241c1c. The full blue gradient (--v2-navy-grad)
 * alternates with the flat blue on sections. Headings use Poppins, the site's heading face, set heavy
 * and tight the way the reference does; body copy is Inter.
 */
:root {
  --v2-sun: #eb6733;
  --v2-flame: #eb6733;
  --v2-flame-deep: #c9501f;
  --v2-grad: linear-gradient(120deg, #f49530 0%, #eb6733 100%);
  --v2-grad-orange: linear-gradient(120deg, #f49530 0%, #eb6733 100%);
  --v2-ink: #0e2c6e;
  --v2-ink-2: #0b2460;
  --v2-text: #1d2a44;
  --v2-muted: #5b6782;
  --v2-cream: #f2f6fd;
  --v2-cream-2: #e3ebf9;
  --v2-line: #e3e9f4;
  --v2-white: #fff;
  --v2-blue: #0e2c6e;
  --v2-navy-grad: radial-gradient(120% 140% at 12% 100%, #305dba 0%, #1e4ca2 32%, #0e2d72 62%, #061a44 100%);
  --v2-radius: 20px;
  --v2-radius-lg: 28px;
  --v2-shadow: 0 18px 50px -20px rgba(6, 26, 68, 0.28);
  --v2-shadow-sm: 0 6px 20px -10px rgba(6, 26, 68, 0.25);
  --v2-head: "Poppins", system-ui, sans-serif;
  --v2-body: "Inter", system-ui, sans-serif;
  --v2-gutter: clamp(16px, 4vw, 40px);
  /* The sticky contact bar and JotForm popups (cwd plugin CSS) read these Astra globals; the new
     homepage doesn't load Astra's stylesheet, so they're set here with the site's own values. */
  --ast-global-color-0: #f49530;
  --ast-global-color-1: #eb6733;
  --ast-global-color-3: #545454;
  --ast-global-color-7: #ffffff;
  --ast-global-color-8: #0e2c6e;
  --br: 10px;
  --shadow: 0 2px 1rem -4px rgba(0, 0, 0, 0.2);
}

.v2 body,
body.v2 {
  /* Pages rebuilt in v2 load no WordPress CSS, so nothing else removes the browser's 8px margin. */
  margin: 0;
  font-family: var(--v2-body);
  color: var(--v2-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.v2-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--v2-gutter); box-sizing: border-box; }
.v2-home *, .v2-header *, .v2-footer *, .v2-drawer * { box-sizing: border-box; }
.v2-home img { max-width: 100%; display: block; }
.v2-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; color: var(--v2-ink); padding: 10px 16px; border-radius: 0 0 10px 0; }
.v2-skip:focus { left: 0; }
.v2-home :focus-visible, .v2-header :focus-visible, .v2-footer :focus-visible, .v2-drawer :focus-visible, .v2-topbar :focus-visible {
  outline: 3px solid var(--v2-sun); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Type ---------- */
.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font: 700 12.5px/1 var(--v2-body); letter-spacing: 0.16em; text-transform: uppercase; background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.v2-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--v2-grad); border-radius: 2px; }
.v2-eyebrow--center::after { content: ""; width: 24px; height: 2px; background: var(--v2-grad); border-radius: 2px; }
.v2-eyebrow--light { background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-h2, .v2-home h2 {
  font: 800 clamp(34px, 4.6vw, 56px)/1.04 var(--v2-head); letter-spacing: -0.035em; color: var(--v2-ink); margin: 0 0 20px;
}
.v2-h2--xl { font-size: clamp(38px, 5.4vw, 66px); }
.v2-home h2 em, .v2-home h1 em, .v2-h2 em { font-style: normal; background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v2-h3, .v2-home h3 { font: 700 20px/1.25 var(--v2-head); letter-spacing: -0.02em; color: var(--v2-ink); margin: 0 0 10px; }
.v2-home p:where(:not(.v2-eyebrow)) { font-size: 16.5px; line-height: 1.7; color: var(--v2-muted); margin: 0 0 16px; }
.v2-home p.v2-lead { font-size: 18px; color: var(--v2-text); }
.v2-home a { color: inherit; text-decoration: none; }
.v2-small { font-size: 15px !important; }
.v2-small a { background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; font-weight: 700; }

/* ---------- Buttons ---------- */
.v2-btn {
  --bg: var(--v2-grad); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 6px 8px 6px 26px; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg) !important; text-decoration: none !important;
  font: 700 15.5px/1.1 var(--v2-head); letter-spacing: -0.01em; white-space: nowrap;
  box-shadow: 0 12px 28px -14px rgba(235, 103, 51, 0.8); transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.v2-btn:not(:has(.v2-btn__dot)) { padding-right: 26px; }
.v2-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(235, 103, 51, 0.9); }
.v2-btn__dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--v2-flame); flex: none; transition: transform .2s; }
.v2-btn:hover .v2-btn__dot { transform: translateX(3px); }
.v2-btn--sm { min-height: 44px; font-size: 14.5px; padding-left: 20px; }
.v2-btn--sm:not(:has(.v2-btn__dot)) { padding-right: 20px; }
.v2-btn--sm .v2-btn__dot { width: 32px; height: 32px; }
.v2-btn--lg { min-height: 60px; font-size: 17px; }
.v2-btn--lg .v2-btn__dot { width: 44px; height: 44px; }
.v2-btn--ghost { --bg: rgba(255, 255, 255, 0.06); --bd: rgba(255, 255, 255, 0.28); box-shadow: none; backdrop-filter: blur(6px); }
.v2-btn--ghost:hover { --bg: rgba(255, 255, 255, 0.14); box-shadow: none; }
.v2-btn--ghost .v2-btn__dot { background: var(--v2-grad); color: #fff; }
.v2-btn--outline { --bg: transparent; --fg: var(--v2-ink); --bd: var(--v2-ink); box-shadow: none; }
.v2-btn--outline:hover { --bg: var(--v2-ink); --fg: #fff; box-shadow: none; }
.v2-btn--white { --bg: #fff; --fg: var(--v2-flame-deep); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5); }
.v2-btn--white .v2-btn__dot { background: var(--v2-grad); color: #fff; }
.v2-btn--block { width: 100%; justify-content: space-between; }
.v2-link { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1.3 var(--v2-head); background: var(--v2-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.v2-link .ic { color: var(--v2-flame); }
.v2-link .ic { transition: transform .2s; }
.v2-link:hover .ic { transform: translateX(4px); }
.v2-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* ---------- Top bar + header ---------- */
.v2-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.v2-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: rgba(255, 255, 255, 0.78); transition: color .2s, background .2s; }
.v2-social a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.v2-social--round { gap: 10px; margin-top: 22px; }
.v2-social--round a { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.18); }
.v2-social--round a:hover { background: var(--v2-grad); border-color: transparent; }

.v2-header { position: sticky; top: 0; z-index: 900; background: rgba(14, 44, 110, 0.97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: box-shadow .25s; }
.v2-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7); }
.v2-header__in { display: flex; align-items: center; gap: 24px; min-height: 84px; transition: min-height .25s; }
.v2-header.is-scrolled .v2-header__in { min-height: 70px; }
.v2-logo { display: block; flex: none; }
.v2-logo img { display: block; height: 60px; width: auto; transition: height .25s; }
.v2-header.is-scrolled .v2-logo img { height: 50px; }
.v2-nav { margin-inline: auto; }
.v2-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.v2-nav__item { position: relative; display: flex; align-items: center; }
.v2-nav__link { display: block; padding: 12px 12px; color: rgba(255, 255, 255, 0.86) !important; text-decoration: none; font: 500 15.5px/1 var(--v2-body); border-radius: 999px; transition: color .2s, background .2s; }
.v2-nav__item.has-panel .v2-nav__link { padding-right: 2px; }
.v2-nav__link:hover, .v2-nav__item.is-active > .v2-nav__link { color: #fff !important; }
.v2-nav__item.is-active > .v2-nav__link { box-shadow: inset 0 -2px 0 var(--v2-sun); border-radius: 0; }
.v2-nav__toggle { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.7); cursor: pointer; border-radius: 8px; }
.v2-nav__toggle .ic { transition: transform .2s; }
.v2-nav__item.is-open .v2-nav__toggle .ic, .v2-nav__item:hover .v2-nav__toggle .ic { transform: rotate(180deg); }
.v2-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px; width: 460px; padding: 20px;
  background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transition: opacity .18s, translate .18s, visibility .18s; z-index: 10;
}
.v2-panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.v2-panel--wide { width: 620px; }
.v2-nav__item:hover > .v2-panel, .v2-nav__item.is-open > .v2-panel, .v2-nav__item:focus-within > .v2-panel { opacity: 1; visibility: visible; translate: -50% 0; }
.v2-panel__all { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; background: var(--v2-cream); color: var(--v2-flame-deep) !important; font: 700 14.5px/1 var(--v2-head); text-decoration: none; }
.v2-panel__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 8px; list-style: none; margin: 0; padding: 0; }
.v2-panel--wide .v2-panel__grid { grid-template-columns: repeat(3, 1fr); }
.v2-panel__grid a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--v2-text) !important; font: 500 14.5px/1.2 var(--v2-body); text-decoration: none; }
.v2-panel__grid a:hover, .v2-panel__grid a[aria-current] { background: var(--v2-cream); color: var(--v2-flame-deep) !important; }
.v2-header__cta { display: flex; align-items: center; gap: 10px; }
.v2-burger { display: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer; }

.v2-drawer { position: fixed; inset: 0; z-index: 1000; background: var(--v2-ink); color: #fff; overflow-y: auto; padding: 0 var(--v2-gutter) 40px; }
.v2-drawer[hidden] { display: none; }
.v2-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 76px; position: sticky; top: 0; background: var(--v2-ink); }
.v2-drawer__head .v2-logo img { height: 48px; }
.v2-drawer__head .v2-burger { display: grid; }
.v2-drawer__list { list-style: none; margin: 8px 0 0; padding: 0; }
.v2-drawer__list > li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.v2-drawer__list a, .v2-drawer__list summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; color: #fff !important; text-decoration: none; font: 600 19px/1.2 var(--v2-head); cursor: pointer; list-style: none; }
.v2-drawer__list summary::-webkit-details-marker { display: none; }
.v2-drawer__list details[open] summary .ic { transform: rotate(180deg); }
.v2-drawer__list details ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.v2-drawer__list details a { font: 500 15.5px/1.2 var(--v2-body); padding: 10px 4px; color: rgba(255, 255, 255, 0.82) !important; }
.v2-drawer__list a[aria-current] { color: var(--v2-sun) !important; }
.v2-drawer__cta { display: grid; gap: 12px; margin-top: 28px; }
.v2-drawer__cta .v2-btn--ghost { justify-content: center; }
html.v2-locked #sticky-wrapper, html.v2-locked .popup-box { display: none !important; }
.v2-drawer__addr { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, 0.7); font-size: 14.5px; margin: 8px 0 0; }
html.v2-locked, html.v2-locked body { overflow: hidden; }

/* ---------- Sections ---------- */
.v2-section { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.v2-section--cream { background: var(--v2-cream); }
.v2-section--dark { background: var(--v2-ink-2) var(--v2-navy-grad); }
.v2-section--dark h2, .v2-section--dark h3 { color: #fff; }
.v2-section--orange { background: var(--v2-grad-orange); position: relative; overflow: hidden; }
.v2-section--orange::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 45%), radial-gradient(circle at 90% 90%, rgba(6, 26, 68, 0.18), transparent 50%); pointer-events: none; }
.v2-section--orange > * { position: relative; }
.v2-section--orange h2 { color: #fff; }
.v2-section--orange h2 em { background: none; color: var(--v2-ink); -webkit-text-fill-color: var(--v2-ink); }
.v2-section--orange p { color: rgba(255, 255, 255, 0.92); }
.v2-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.v2-head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 52px; }
.v2-head-split--end { align-items: center; grid-template-columns: 1fr auto; }
.v2-head-split h2 { margin: 0; }
.v2-head-split p:last-child { margin: 0; }
.v2-head-center { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.v2-more { text-align: center; margin: 44px 0 0 !important; }

/* ---------- Hero ---------- */
.v2-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--v2-ink); color: #fff; min-height: min(880px, calc(100svh - 84px)); display: flex; align-items: center; padding: 120px 0 110px; text-align: center; }
.v2-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v2-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 44, 110, 0.74) 0%, rgba(14, 44, 110, 0.64) 45%, rgba(14, 44, 110, 0.92) 100%); }
.v2-hero__in { max-width: 1040px; }
.v2-hero__status { display: inline-flex; align-items: center; gap: 12px; margin: 0 auto 26px !important; padding: 10px 20px 10px 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 15px/1.3 var(--v2-body); font-size: 15px !important; color: #fff !important; }
.v2-hero__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 10px rgba(34, 197, 94, 0.9); animation: v2-blink 1.6s ease-in-out infinite; }
@keyframes v2-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6), 0 0 10px rgba(34, 197, 94, 0.9); } 50% { opacity: 0.35; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0), 0 0 4px rgba(34, 197, 94, 0.4); } }
.v2-hero__title { font: 800 clamp(38px, 5.8vw, 74px)/1.03 var(--v2-head); letter-spacing: -0.04em; margin: 0 auto 26px; color: #fff; text-wrap: balance; }
.v2-hero__lead { max-width: 760px; margin: 0 auto 36px !important; font-size: clamp(16.5px, 1.6vw, 19px) !important; color: rgba(255, 255, 255, 0.84) !important; line-height: 1.65 !important; }
.v2-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.v2-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 34px 0 0; padding: 0; font: 500 14.5px/1.3 var(--v2-body); color: rgba(255, 255, 255, 0.85); }
.v2-hero__trust li { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.v2-hero__trust .ic { color: var(--v2-sun); }
.v2-hero__trust strong { color: #fff; }
.v2-stars { display: inline-flex; gap: 2px; color: #ffb400; }
.v2-stars--white { color: #fff; }
.v2-pulse { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: v2pulse 1.8s infinite; }
@keyframes v2pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* ---------- Band: marquee + stats ---------- */
.v2-band { background: var(--v2-grad); color: #fff; }
.v2-marquee { overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.22); padding: 22px 0; }
.v2-marquee__track { display: flex; width: max-content; animation: v2marquee 38s linear infinite; }
.v2-marquee span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font: 800 clamp(22px, 2.6vw, 32px)/1 var(--v2-head); letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.v2-marquee i { font-style: normal; font-size: 0.6em; color: var(--v2-ink); }
@keyframes v2marquee { to { transform: translateX(-50%); } }
.v2-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.v2-stats > div { padding: 34px 28px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.v2-stats > div:first-child { border-left: 0; padding-left: 0; }
.v2-stats strong { display: flex; align-items: center; gap: 6px; font: 800 clamp(34px, 4vw, 48px)/1 var(--v2-head); letter-spacing: -0.04em; }
.v2-stats span { display: block; margin-top: 10px; font: 700 12.5px/1.3 var(--v2-body); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); }

/* ---------- About ---------- */
.v2-photo-stack { position: relative; }
.v2-photo-stack__main { width: 100%; height: auto; aspect-ratio: 1096 / 1435; object-fit: cover; border-radius: var(--v2-radius-lg); box-shadow: var(--v2-shadow); }
.v2-badge-float { position: absolute; left: -22px; top: 32px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 18px; background: var(--v2-grad-orange); color: #fff; box-shadow: 0 24px 40px -18px rgba(235, 103, 51, 0.9); }
.v2-badge-float strong { font: 800 38px/1 var(--v2-head); letter-spacing: -0.04em; }
.v2-badge-float span { font: 600 13.5px/1.2 var(--v2-body); }
.v2-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.v2-checks li { display: flex; align-items: center; gap: 12px; font: 600 16px/1.4 var(--v2-body); color: var(--v2-ink); }
.v2-checks li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--v2-grad); color: #fff; flex: none; }
.v2-checks--light li { color: #fff; }
.v2-checks--light li > span { background: #fff; color: var(--v2-flame); }

/* ---------- Cards ---------- */
.v2-cards { display: grid; gap: 24px; }
.v2-cards--4 { grid-template-columns: repeat(4, 1fr); }
.v2-cards--3 { grid-template-columns: repeat(3, 1fr); }
.v2-card { background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.v2-card:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow); }
.v2-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.v2-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v2-card:hover .v2-card__media img { transform: scale(1.05); }
.v2-card__num { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: 999px; background: #fff; color: var(--v2-flame-deep); font: 800 13px/1 var(--v2-head); }
.v2-card__body { position: relative; padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.v2-card__body p { font-size: 15.5px; flex: 1; }
.v2-card__body .v2-link { align-self: flex-start; }
.v2-card__body h3 a:hover { color: var(--v2-flame); }
.v2-icon-tile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--v2-grad); color: #fff; box-shadow: 0 14px 24px -14px rgba(235, 103, 51, 0.9); }
.v2-card--service .v2-icon-tile { position: absolute; top: -28px; left: 24px; }
.v2-icon-tile--soft { background: var(--v2-cream-2); color: var(--v2-flame); box-shadow: none; }

/* ---------- Steps ---------- */
.v2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.v2-step { position: relative; overflow: hidden; padding: 30px 28px 34px; border-radius: var(--v2-radius); border: 1px solid var(--v2-line); background: #fff; transition: transform .25s, box-shadow .25s; }
.v2-step:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow); }
.v2-step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.v2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--v2-cream); color: var(--v2-flame-deep); font: 700 12.5px/1 var(--v2-body); }
.v2-step p { font-size: 15.5px; margin: 0; position: relative; z-index: 1; }
.v2-step__n { position: absolute; right: 14px; bottom: -18px; font: 800 96px/1 var(--v2-head); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--v2-cream-2); pointer-events: none; }
.v2-step--hot { background: var(--v2-grad-orange); border-color: transparent; box-shadow: 0 30px 50px -28px rgba(235, 103, 51, 0.9); }
.v2-step--hot h3, .v2-step--hot p { color: #fff !important; }
.v2-step--hot .v2-icon-tile--soft { background: #fff; }
.v2-step--hot .v2-chip { background: rgba(255, 255, 255, 0.2); color: #fff; }
.v2-step--hot .v2-step__n { -webkit-text-stroke-color: rgba(255, 255, 255, 0.35); }
.v2-step--cta { background: var(--v2-navy-grad); border-color: transparent; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.v2-step--cta h3 { color: #fff; font-size: 26px; }
.v2-step--cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 18px; }
.v2-step--cta .v2-link { margin-top: 14px; }

/* ---------- Projects ---------- */
.v2-project { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--v2-radius); overflow: hidden; color: #fff !important; }
.v2-project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.v2-project:hover img { transform: scale(1.06); }
.v2-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(20, 14, 14, 0.88) 100%); }
.v2-project__tag { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--v2-flame-deep); font: 700 11.5px/1 var(--v2-body); letter-spacing: 0.12em; text-transform: uppercase; }
.v2-project__body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; }
.v2-project h3 { color: #fff !important; font-size: 22px; margin-bottom: 8px; }
.v2-project .v2-link { }

/* ---------- Reviews ---------- */
.v2-reviews { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.v2-score { grid-row: span 2; display: flex; flex-direction: column; padding: 34px; border-radius: var(--v2-radius-lg); background: var(--v2-grad-orange); color: #fff; box-shadow: 0 34px 60px -30px rgba(235, 103, 51, 0.95); }
.v2-score__big { font: 800 104px/0.9 var(--v2-head); letter-spacing: -0.05em; margin-bottom: 14px; }
.v2-score p { color: #fff !important; font-weight: 600; margin: 16px 0 0 !important; }
.v2-score__badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 auto; padding: 0 0 30px; }
.v2-score__badges a { display: block; padding: 9px 13px; border-radius: 10px; background: rgba(255, 255, 255, 0.18); color: #fff !important; font: 700 13.5px/1 var(--v2-body); }
.v2-score__badges a:hover { background: rgba(255, 255, 255, 0.3); }
.v2-review { margin: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: #fff; }
.v2-review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.v2-review__q { color: var(--v2-cream-2); }
.v2-review blockquote { margin: 0 0 22px; padding: 0; border: 0; font: 400 15.5px/1.7 var(--v2-body); color: var(--v2-text); flex: 1; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.v2-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--v2-line); }
.v2-review figcaption strong { display: block; font: 700 15.5px/1.2 var(--v2-head); color: var(--v2-ink); text-transform: capitalize; }
.v2-review figcaption small { color: var(--v2-muted); font-size: 13px; }
.v2-review__g { margin-left: auto; color: var(--v2-muted); }
.v2-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--v2-cream-2); color: var(--v2-flame-deep); font: 800 15px/1 var(--v2-head); flex: none; }

/* ---------- Videos ---------- */
.v2-video__poster { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--v2-radius); overflow: hidden; background: var(--v2-ink); box-shadow: var(--v2-shadow-sm); }
.v2-video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform .5s, opacity .3s; }
.v2-video__poster:hover img { transform: scale(1.04); opacity: 1; }
.v2-video__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--v2-grad); color: #fff; box-shadow: 0 0 0 10px rgba(235, 103, 51, 0.25); }
.v2-video__play .ic { translate: 2px 0; }
.v2-video iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--v2-radius); }
.v2-video__title { margin: 16px 4px 0 !important; font: 700 17px/1.3 var(--v2-head) !important; color: var(--v2-ink) !important; }

/* ---------- Areas ---------- */
.v2-split--areas { align-items: start; }
.v2-mapcard { border-radius: var(--v2-radius-lg); background: #fff; border: 1px solid var(--v2-line); padding: 10px; box-shadow: var(--v2-shadow); position: sticky; top: 110px; }
.v2-mapcard iframe { display: block; width: 100%; aspect-ratio: 1 / 1; border: 0; border-radius: 20px; }
.v2-mapcard__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 4px 12px; font: 600 15px/1.3 var(--v2-body); color: var(--v2-ink); }
.v2-mapcard__bar > span { display: flex; align-items: center; gap: 8px; }
.v2-mapcard__bar .ic { color: var(--v2-flame); flex: none; }
.v2-pills { list-style: none; margin: 26px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v2-pills a { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--v2-line); border-radius: 14px; color: var(--v2-ink) !important; font: 600 14.5px/1.2 var(--v2-body); transition: border-color .2s, background .2s; }
.v2-pills a .ic { color: var(--v2-flame); flex: none; }
.v2-pills a:hover { border-color: var(--v2-sun); background: var(--v2-cream); }

/* ---------- FAQ ---------- */
.v2-split--faq { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.v2-split--faq .v2-h2 { font-size: clamp(32px, 3.6vw, 46px); }
.v2-askcard { margin-top: 28px; padding: 28px; border-radius: var(--v2-radius); background: var(--v2-navy-grad); }
.v2-askcard p { color: rgba(255, 255, 255, 0.78) !important; margin: 0 0 6px !important; }
.v2-askcard strong { color: #fff; font: 700 20px/1.3 var(--v2-head); }
.v2-askcard .v2-btn--outline { --fg: #fff; --bd: rgba(255, 255, 255, 0.4); }
.v2-askcard .v2-row { margin-top: 18px; }
.v2-faq { display: grid; gap: 14px; }
.v2-faq details { background: #fff; border: 1px solid var(--v2-line); border-radius: 18px; transition: box-shadow .2s, border-color .2s; }
.v2-faq details[open] { border-color: var(--v2-sun); box-shadow: var(--v2-shadow-sm); }
.v2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary h3 { margin: 0; font-size: 17.5px; }
.v2-faq__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--v2-cream); color: var(--v2-flame); flex: none; transition: transform .25s, background .25s, color .25s; }
.v2-faq details[open] .v2-faq__icon { transform: rotate(45deg); background: var(--v2-grad); color: #fff; }
.v2-faq details p { padding: 0 24px 22px; margin: 0 !important; }
.v2-faq > .v2-link { margin: 10px 0 0 6px; }

/* ---------- Final CTA ---------- */
.v2-cta .v2-split { align-items: center; }
.v2-cta .v2-btn--ghost { --bd: rgba(255, 255, 255, 0.6); }
.v2-formcard { background: #fff; border-radius: var(--v2-radius-lg); padding: 30px 26px 22px; box-shadow: 0 40px 70px -34px rgba(6, 26, 68, 0.65); }
.v2-formcard__title { font: 800 28px/1.1 var(--v2-head) !important; letter-spacing: -0.03em; color: var(--v2-ink) !important; margin: 0 0 6px !important; }
.v2-formcard__sub { color: var(--v2-muted) !important; margin: 0 0 10px !important; font-size: 15.5px !important; }
.v2-formcard__alt { text-align: center; color: var(--v2-muted) !important; margin: 8px 0 0 !important; font-size: 15px !important; }
.v2-formcard__alt a { color: var(--v2-flame) !important; font-weight: 700; }

/* ---------- Footer ---------- */
.v2-footer { background: var(--v2-ink-2) var(--v2-navy-grad); color: rgba(255, 255, 255, 0.72); padding: 80px 0 30px; font: 400 15.5px/1.6 var(--v2-body); }
.v2-footer a { color: rgba(255, 255, 255, 0.78) !important; text-decoration: none; transition: color .2s; }
.v2-footer a:hover { color: var(--v2-sun) !important; }
.v2-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr 1.4fr; gap: 48px; padding-bottom: 50px; }
.v2-footer__brand p { margin: 20px 0 0; max-width: 360px; color: rgba(255, 255, 255, 0.72); }
.v2-logo--footer img { height: 70px; }
.v2-footer__title { font: 700 17px/1.2 var(--v2-head); color: #fff; margin: 6px 0 20px; }
.v2-footer ul { list-style: none; margin: 0; padding: 0; }
.v2-footer nav li + li { margin-top: 10px; }
.v2-footer__nap { font-style: normal; display: grid; gap: 14px; }
.v2-footer__nap strong { color: #fff; font: 600 16px/1.3 var(--v2-head); }
.v2-footer__nap > a, .v2-footer__nap > span { display: flex; gap: 12px; align-items: flex-start; }
.v2-footer__nap .ic { color: var(--v2-sun); flex: none; margin-top: 2px; }
.v2-footer__areas { margin: 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 14.5px; line-height: 1.9; }
.v2-footer__areas strong { color: #fff; margin-right: 6px; }
.v2-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 14.5px; }
.v2-footer__bottom p { margin: 0; }
.v2-totop { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--v2-grad); color: #fff !important; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .v2-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .v2-js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-marquee__track, .v2-pulse, .v2-hero__dot { animation: none; }
  .v2-hero__video { display: none; }
}

/* ---------- Inner pages (Areas, Services) ---------- */
.v2-pagehero { position: relative; isolation: isolate; overflow: hidden; background: var(--v2-ink); color: #fff; padding: clamp(84px, 10vw, 128px) 0 clamp(72px, 8vw, 104px); }
.v2-pagehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v2-pagehero .v2-hero__shade { background: linear-gradient(100deg, rgba(14, 44, 110, 0.92) 0%, rgba(14, 44, 110, 0.78) 50%, rgba(14, 44, 110, 0.45) 100%); }
.v2-pagehero__in { max-width: 1240px; }
.v2-pagehero__title { max-width: 900px; font: 800 clamp(36px, 5vw, 64px)/1.05 var(--v2-head); letter-spacing: -0.04em; margin: 0 0 22px; color: #fff; text-wrap: balance; }
.v2-pagehero__lead { max-width: 640px; margin: 0 0 32px !important; font-size: clamp(16.5px, 1.6vw, 19px) !important; color: rgba(255, 255, 255, 0.84) !important; line-height: 1.65 !important; }
.v2-pagehero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.v2-pagehero__trust { justify-content: flex-start; }
.v2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font: 600 14px/1.3 var(--v2-body); color: rgba(255, 255, 255, 0.7); }
.v2-crumbs a { color: rgba(255, 255, 255, 0.7) !important; }
.v2-crumbs a:hover { color: #fff !important; }
.v2-crumbs [aria-current] { color: var(--v2-sun); }
.v2-areamap { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #e9e6e3; z-index: 0; }
.v2-pin span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--v2-flame); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(6, 26, 68, 0.35); transition: transform .2s, background .2s; }
.v2-pin.is-hot span { transform: scale(1.45); background: var(--v2-blue); }
.v2-pin__link { font: 700 14px/1.2 var(--v2-head); color: var(--v2-flame) !important; }
.v2-svclist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.v2-svclist a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--v2-line); border-radius: 18px; color: var(--v2-ink) !important; font: 700 16px/1.3 var(--v2-head); transition: border-color .2s, box-shadow .2s, transform .2s; }
.v2-svclist a > span:nth-child(2) { flex: 1; }
.v2-svclist .v2-icon-tile { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.v2-svclist__go { color: var(--v2-flame); transition: transform .2s; }
.v2-svclist a:hover { border-color: var(--v2-sun); box-shadow: var(--v2-shadow-sm); transform: translateY(-2px); }
.v2-svclist a:hover .v2-svclist__go { transform: translateX(4px); }
@media (max-width: 1080px) {
  .v2-svclist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) and (min-width: 641px) {
  .v2-cards--3:has(.v2-card) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .v2-svclist { grid-template-columns: 1fr; }
  .v2-pagehero__cta .v2-btn { width: 100%; justify-content: space-between; }
  .v2-pagehero__cta .v2-btn--ghost { justify-content: center; }
  .v2-pagehero__trust { flex-direction: column; align-items: flex-start; }
}

/* ---------- Quote card under the homepage hero (placeholder form) ---------- */
.v2-hero { padding-bottom: 210px; }
.v2-quote { position: relative; z-index: 2; background: none; padding: 0 0 clamp(48px, 6vw, 72px); }
.v2-quote__card { position: relative; margin-top: -120px; display: grid; grid-template-columns: minmax(220px, 0.9fr) 2.4fr; gap: 24px 40px; align-items: center; padding: 40px 40px 36px; background: #fff; border: 1px solid var(--v2-line); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(6, 26, 68, 0.45); }
.v2-quote__card::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 4px; border-radius: 0 0 4px 4px; background: var(--v2-grad-orange); }
.v2-quote__title { margin: 0 0 8px !important; font: 800 clamp(22px, 2.2vw, 26px)/1.15 var(--v2-head) !important; letter-spacing: -0.03em; color: var(--v2-ink) !important; }
.v2-quote__sub { margin: 0 0 10px !important; font-size: 14.5px !important; line-height: 1.55 !important; }
.v2-quote__fine { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 14px !important; }
.v2-quote__fine .ic { color: var(--v2-flame); flex: none; }
.v2-quote__form { min-width: 0; }
@media (max-width: 1080px) {
  .v2-quote__card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v2-quote__card { margin-top: -90px; padding: 32px 20px 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .v2-hide-lg { display: none !important; }
  .v2-nav__link { padding-inline: 9px; font-size: 15px; }
}
@media (max-width: 1080px) {
  .v2-nav, .v2-header__cta { display: none; }
  .v2-burger { display: grid; margin-left: auto; }
  .v2-header__in { min-height: 76px; }
  .v2-logo img { height: 50px; }
  .v2-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .v2-steps { grid-template-columns: repeat(2, 1fr); }
  .v2-reviews { grid-template-columns: 1fr 1fr; }
  .v2-score { grid-row: auto; grid-column: 1 / -1; }
  .v2-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .v2-split, .v2-split--faq, .v2-head-split { grid-template-columns: 1fr; }
  .v2-head-split--end { grid-template-columns: 1fr; align-items: start; }
  .v2-head-split--end .v2-btn { justify-self: start; }
  .v2-stats { grid-template-columns: repeat(2, 1fr); }
  .v2-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .v2-stats > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .v2-cards--3 { grid-template-columns: 1fr; }
  .v2-mapcard { position: static; }
  .v2-photo-stack { margin-right: 24px; }
}
@media (max-width: 640px) {
  .v2-hero { padding: 10px 0 150px; min-height: 0; }
  .v2-hero__status { margin-bottom: 18px !important; }
  .v2-hero__title { margin-bottom: 16px; }
  .v2-hero__lead { margin-bottom: 24px !important; line-height: 1.55 !important; }
  .v2-hero__cta { gap: 10px; }
  .v2-hero__title { font-size: clamp(30px, 9.2vw, 38px); }
  .v2-hero__status { gap: 10px; padding: 9px 16px 9px 14px; font-size: 13.5px !important; white-space: nowrap; }
  .v2-hero__dot { width: 9px; height: 9px; }
  .v2-hero__cta .v2-btn { width: 100%; justify-content: space-between; }
  .v2-hero__cta .v2-btn--ghost { justify-content: center; }
  .v2-hero__trust { flex-direction: column; align-items: center; }
  .v2-hero__trust li { flex-wrap: wrap; max-width: 300px; }
  .v2-eyebrow { letter-spacing: 0.12em; }
  .v2-cards--4, .v2-steps, .v2-reviews { grid-template-columns: 1fr; }
  .v2-stats > div { padding: 24px 16px 24px 0; }
  .v2-stats > div:nth-child(even) { padding-left: 16px; }
  .v2-pills { grid-template-columns: 1fr 1fr; }
  .v2-project { aspect-ratio: 4 / 3; }
  .v2-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .v2-footer__bottom { flex-wrap: wrap; }
  .v2-mapcard__bar { flex-direction: column; align-items: stretch; }
  .v2-photo-stack { display: grid; gap: 12px; margin-right: 0; }
  .v2-badge-float { position: static; padding: 14px 18px; }
  .v2-badge-float strong { font-size: 32px; }
  .v2-quote__card { scroll-margin-top: 92px; }
  .v2-score__big { font-size: 84px; }
  .v2-formcard { padding: 24px 14px 16px; }
}
@media (max-width: 380px) {
  .v2-hero__status { gap: 8px; padding: 8px 13px 8px 12px; font-size: 12.5px !important; }
}
@media (max-width: 339px) {
  .v2-hero__status { white-space: normal; text-align: left; }
}

/* ---------- Every other page (Page.astro, Post.astro, Blog.astro) ---------- */
.v2-page .v2-section + .v2-section:not(.v2-section--cream):not(.v2-section--dark):not(.v2-section--orange):not(.v2-band2) { border-top: 1px solid var(--v2-line); }
.v2-kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px !important; font: 700 13px/1.3 var(--v2-body) !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--v2-flame) !important; }
.v2-kicker::before { content: ""; width: 24px; height: 2px; background: var(--v2-grad); border-radius: 2px; flex: none; }
.v2-head-center .v2-kicker { justify-content: center; }
.v2-head-center--tight { margin-bottom: 0; }
.v2-head-center p { margin-inline: auto; }
.v2-home h4, .v2-home h5 { font: 700 18px/1.3 var(--v2-head); color: var(--v2-ink); margin: 0 0 10px; }
.v2-inner .v2-h2 { font-size: clamp(30px, 3.8vw, 46px); }
.v2-h2--p { font-size: clamp(26px, 3vw, 38px) !important; }

/* Lists inside content: rich text in each line, two columns when long */
.v2-checks--rich { margin: 8px 0 22px; }
.v2-checks--rich li { align-items: flex-start; font-weight: 500; color: var(--v2-text); line-height: 1.55; }
.v2-checks--rich li > span:first-child { width: 24px; height: 24px; margin-top: 1px; }
.v2-checks li > span.v2-checks__t { display: block; width: auto; height: auto; border-radius: 0; background: none; color: inherit; flex: 1; }
.v2-checks--rich strong { color: var(--v2-ink); }
.v2-checks--2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.v2-olist { margin: 8px 0 22px; padding-left: 22px; color: var(--v2-muted); line-height: 1.7; }
.v2-olist li { margin-bottom: 8px; padding-left: 4px; }
.v2-olist li::marker { color: var(--v2-flame); font-weight: 800; }
.v2-home p a:not(.v2-btn):not(.v2-link), .v2-checks--rich a, .v2-olist a, .v2-faq details a { color: var(--v2-flame-deep) !important; font-weight: 600; text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Cards made from a section's H3 groups or a grid of small boxes */
.v2-feats { display: grid; gap: 22px; margin-top: 8px; }
.v2-head-center + .v2-feats { margin-top: 0; }
.v2-feats--2 { grid-template-columns: repeat(2, 1fr); }
.v2-feats--3 { grid-template-columns: repeat(3, 1fr); }
.v2-feats--4 { grid-template-columns: repeat(4, 1fr); }
.v2-feats--1 { grid-template-columns: 1fr; }
.v2-reading .v2-feats, .v2-split .v2-feats { margin: 28px 0 0; }
.v2-section > .v2-wrap > .v2-feats:not(:first-child) { margin-top: 48px; }
.v2-feat { position: relative; overflow: hidden; padding: 30px 28px 26px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.v2-section--cream .v2-feat { border-color: transparent; }
.v2-feat:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow); }
.v2-feat .v2-icon-tile { margin-bottom: 20px; width: 52px; height: 52px; }
.v2-feat__n { display: inline-grid; place-items: center; min-width: 46px; height: 46px; margin-bottom: 18px; padding: 0 10px; border-radius: 14px; background: var(--v2-grad); color: #fff; font: 800 16px/1 var(--v2-head); box-shadow: 0 14px 24px -14px rgba(235, 103, 51, 0.9); }
.v2-feat__img { width: calc(100% + 56px); max-width: none !important; margin: -30px -28px 22px; aspect-ratio: 16 / 10; object-fit: cover; }
.v2-feat p { font-size: 15.5px !important; margin-bottom: 10px !important; }
.v2-feat p:last-child { margin-bottom: 0 !important; }
.v2-feat .v2-checks--rich { margin-bottom: 0; }
.v2-feats--lists .v2-feat:nth-child(2) { background: var(--v2-navy-grad); border-color: transparent; }
.v2-feats--lists .v2-feat:nth-child(2) :is(h3, h4, h5, strong) { color: #fff; }
.v2-feats--lists .v2-feat:nth-child(2) li, .v2-feats--lists .v2-feat:nth-child(2) p { color: rgba(255, 255, 255, 0.86) !important; }
.v2-feats--lists .v2-feat:nth-child(2) .v2-checks--rich li > span:first-child { background: #fff; color: var(--v2-flame); }
.v2-feats--lists .v2-feat:nth-child(2) .v2-feat__n { background: #fff; color: var(--v2-flame); }

/* Text beside photos */
.v2-split--content { align-items: start; }
.v2-split--flip > :first-child { order: 2; }
.v2-split__media { position: relative; padding-bottom: 56px; }
.v2-figure { display: block; width: 100%; border-radius: var(--v2-radius-lg); object-fit: cover; box-shadow: var(--v2-shadow); }
.v2-figure--main { aspect-ratio: 4 / 3.4; }
.v2-figure--inset { position: absolute; right: -20px; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 8px solid #fff; border-radius: var(--v2-radius); }
.v2-split--flip .v2-figure--inset { right: auto; left: -20px; }
.v2-section--cream .v2-figure--inset { border-color: var(--v2-cream); }
.v2-split--content > div > h3 { margin-top: 26px; }

/* Long text: a reading column, or an article beside a sticky card */
.v2-reading { max-width: 860px; margin-inline: auto; }
.v2-reading > h3, .v2-reading > h4, .v2-reading > h5 { margin-top: 30px; }
.v2-article { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.4fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.v2-article__sticky { position: sticky; top: 110px; }
.v2-article__side .v2-figure { margin: 26px 0 0; aspect-ratio: 4 / 3; }
.v2-article__side .v2-askcard { margin-top: 26px; }
.v2-prose__item { padding: 30px 0; border-top: 1px solid var(--v2-line); }
.v2-prose__item:first-child { padding-top: 0; border-top: 0; }
.v2-prose__item h3, .v2-prose__item h4 { font-size: clamp(21px, 2vw, 25px); margin-bottom: 14px; }
.v2-section--cream .v2-prose__item { border-color: var(--v2-cream-2); }

/* Call-to-action band */
.v2-band2 { padding: clamp(40px, 5vw, 64px) 0; background: #fff; }
.v2-band2__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 28px 48px; align-items: center; padding: clamp(32px, 4.5vw, 56px); border-radius: var(--v2-radius-lg); background: var(--v2-ink-2) var(--v2-navy-grad); box-shadow: var(--v2-shadow); }
.v2-band2__card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--v2-grad); opacity: 0.18; pointer-events: none; }
.v2-band2__card .v2-h2, .v2-band2__card h2 { color: #fff !important; margin-bottom: 14px; }
.v2-band2__card p { color: rgba(255, 255, 255, 0.82) !important; margin: 0 0 8px !important; }
.v2-band2__card .v2-kicker { color: var(--v2-sun) !important; }
.v2-band2__cta { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }

/* Photo grid */
.v2-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; margin-top: 40px; }
.v2-head-center + .v2-gallery, .v2-wrap > .v2-gallery:first-child { margin-top: 0; }
.v2-gallery__item { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 1 / 1; background: var(--v2-cream-2); }
.v2-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.v2-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.v2-gallery__item:hover img { transform: scale(1.05); }
.v2-videos-inline { margin-top: 40px; }
.v2-mapcard--inline { position: static; margin-top: 40px; }
.v2-mapcard--inline iframe { aspect-ratio: 16 / 7; }
.v2-formcard--inline { max-width: 760px; margin: 40px auto 0; }

/* Blog */
.v2-pagehero--post { padding-bottom: clamp(64px, 7vw, 96px); }
.v2-pagehero__title--post { font-size: clamp(32px, 4.2vw, 54px); max-width: 980px; }
.v2-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 !important; color: rgba(255, 255, 255, 0.8) !important; font: 500 15px/1.4 var(--v2-body) !important; }
.v2-postmeta .ic { color: var(--v2-sun); }
.v2-article--post { grid-template-columns: minmax(0, 1fr) 340px; }
.v2-post__img { margin-bottom: 36px; aspect-ratio: 16 / 9; }
.v2-prose--post { max-width: 780px; font-size: 17px; }
.v2-prose--post p, .v2-prose--post li { font-size: 17px !important; line-height: 1.8 !important; color: var(--v2-text) !important; }
.v2-prose--post p { margin: 0 0 22px !important; }
.v2-prose--post h2 { font: 800 clamp(26px, 2.8vw, 34px)/1.15 var(--v2-head) !important; letter-spacing: -0.03em; margin: 44px 0 16px !important; }
.v2-prose--post h3 { font-size: 22px !important; margin: 32px 0 12px !important; }
.v2-prose--post h4 { font-size: 19px !important; margin: 28px 0 10px !important; }
.v2-prose--post ul, .v2-prose--post ol { margin: 0 0 24px; padding-left: 24px; }
.v2-prose--post li { margin-bottom: 8px; }
.v2-prose--post li::marker { color: var(--v2-flame); }
.v2-prose--post a { color: var(--v2-flame-deep) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.v2-prose--post img { height: auto; border-radius: 18px; margin: 10px 0 24px; }
.v2-prose--post figure { margin: 0; }
.v2-prose--post blockquote { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--v2-sun); border-radius: 0 16px 16px 0; background: var(--v2-cream); }
.v2-prose--post table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15.5px; }
.v2-prose--post th, .v2-prose--post td { padding: 10px 12px; border: 1px solid var(--v2-line); text-align: left; }
.v2-article--post .v2-askcard { margin-top: 0; }
.v2-sidebox { margin-top: 22px; padding: 24px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.v2-sidebox__title { font: 700 18px/1.2 var(--v2-head) !important; color: var(--v2-ink) !important; margin: 0 0 12px !important; }
.v2-sidebox ul { list-style: none; margin: 0; padding: 0; }
.v2-sidebox a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--v2-line); color: var(--v2-ink) !important; font: 600 15px/1.3 var(--v2-body); }
.v2-sidebox li:first-child a { border-top: 0; }
.v2-sidebox a .ic { color: var(--v2-flame); }
.v2-sidebox a:hover { color: var(--v2-flame-deep) !important; }
.v2-card--post .v2-card__media { aspect-ratio: 16 / 10; }
.v2-card--post .v2-card__body { padding: 24px 24px 26px; }
.v2-card--post h3 { font-size: 19px; }
.v2-card__meta { margin: 0 0 10px !important; font: 700 12px/1.3 var(--v2-body) !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v2-flame-deep) !important; }
.v2-card--post .v2-card__body > p:not(.v2-card__meta) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v2-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: -20px 0 36px; }
.v2-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--v2-line); border-radius: 999px; background: #fff; color: var(--v2-ink); font: 600 14.5px/1 var(--v2-body); cursor: pointer; transition: border-color .2s, background .2s; }
.v2-filter button span { color: var(--v2-muted); font-weight: 500; }
.v2-filter button:hover { border-color: var(--v2-sun); }
.v2-filter button.is-on { background: var(--v2-ink); border-color: var(--v2-ink); color: #fff; }
.v2-filter button.is-on span { color: rgba(255, 255, 255, 0.7); }
.v2-postgrid .v2-card[hidden] { display: none; }
.v2-loadmore { cursor: pointer; font-family: var(--v2-head); }

@media (max-width: 1080px) {
  .v2-feats--4 { grid-template-columns: repeat(2, 1fr); }
  .v2-article, .v2-article--post { grid-template-columns: 1fr; }
  .v2-article__sticky { position: static; }
  .v2-article--post .v2-article__side { max-width: 640px; }
  .v2-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .v2-feats--3 { grid-template-columns: repeat(2, 1fr); }
  .v2-band2__card { grid-template-columns: 1fr; }
  .v2-band2__cta { flex-direction: row; flex-wrap: wrap; }
  .v2-split--flip > :first-child { order: 0; }
  .v2-split__media { margin-right: 20px; }
  .v2-split--flip .v2-split__media { margin: 0 0 0 20px; }
}
@media (max-width: 640px) {
  .v2-feats--2, .v2-feats--3, .v2-feats--4, .v2-checks--2 { grid-template-columns: 1fr; }
  .v2-feat { padding: 24px 20px 22px; }
  .v2-feat__img { width: calc(100% + 40px); margin: -24px -20px 20px; }
  .v2-band2__cta .v2-btn { width: 100%; justify-content: space-between; }
  .v2-band2__cta .v2-btn--ghost { justify-content: center; }
  .v2-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .v2-split__media { padding-bottom: 0; margin: 0 !important; }
  .v2-home .v2-figure--inset { display: none; }
  .v2-mapcard--inline iframe { aspect-ratio: 1 / 1; }
  .v2-prose--post p, .v2-prose--post li { font-size: 16.5px !important; }
}

/* Contact */
.v2-split--contact { align-items: start; }
.v2-contactlist { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2-contactlist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); }
.v2-contactlist .v2-icon-tile { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.v2-contactlist h4 { margin: 2px 0 6px !important; font-size: 16px !important; }
.v2-contactlist a, .v2-contactlist p { display: block; margin: 0 !important; font-size: 15px !important; line-height: 1.5 !important; color: var(--v2-muted) !important; word-break: break-word; }
.v2-contactlist a:hover { color: var(--v2-flame-deep) !important; }
.v2-social--soft { margin-top: 24px; gap: 10px; }
.v2-social--soft a { width: 44px; height: 44px; color: var(--v2-ink); background: var(--v2-cream); }
.v2-social--soft a:hover { color: #fff; background: var(--v2-grad); }
.v2-feat p:last-child > a:only-child { text-decoration: none !important; font-family: var(--v2-head); }
@media (max-width: 640px) {
  .v2-contactlist { grid-template-columns: 1fr; }
}

/* FAQ page */
.v2-article--faq { grid-template-columns: minmax(260px, 0.7fr) 1.6fr; }
.v2-article--faq .v2-sidebox { margin-top: 0; background: #fff; }
.v2-faqnav ul { max-height: calc(100vh - 420px); overflow-y: auto; }
.v2-faqnav a { font-size: 14.5px; }
.v2-faqgroup { scroll-margin-top: 110px; }
.v2-faqgroup + .v2-faqgroup { margin-top: 56px; }
.v2-faqgroup .v2-h2 { font-size: clamp(26px, 2.8vw, 34px) !important; margin-bottom: 20px; }
.v2-videos-inline:has(> :only-child) { grid-template-columns: minmax(0, 720px); justify-content: center; }
.v2-contactlist { grid-template-columns: 1fr; }
@media (max-width: 1080px) {
  .v2-article--faq { grid-template-columns: 1fr; }
  .v2-faqnav { display: none; }
}
.v2-section--nohead { padding-top: clamp(48px, 5vw, 72px); }
.v2-article > *, .v2-split > * { min-width: 0; }
.v2-prose--post { overflow-wrap: break-word; }
.v2-prose--post table { display: block; overflow-x: auto; }
.v2-prose--post iframe, .v2-prose--post video { max-width: 100%; }
.v2-faq > *, .v2-faq summary h3 { min-width: 0; overflow-wrap: break-word; }

/* Photo viewer for galleries */
.v2-gallery__item { cursor: zoom-in; }
.v2-lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; background: rgba(6, 26, 68, 0.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.v2-lightbox[hidden] { display: none; }
.v2-lightbox__fig { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; }
.v2-lightbox__fig img { display: block; max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7); }
.v2-lightbox__count { color: rgba(255, 255, 255, 0.8); font: 600 14px/1 "Inter", system-ui, sans-serif; }
.v2-lightbox button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; transition: background .2s; }
.v2-lightbox button:hover { background: var(--v2-grad); border-color: transparent; }
.v2-lightbox button:focus-visible { outline: 3px solid var(--v2-sun); outline-offset: 3px; }
.v2-lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 1; }
@media (max-width: 640px) {
  .v2-lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .v2-lightbox__nav { position: absolute; bottom: 22px; }
  .v2-lightbox__prev { left: calc(50% - 64px); }
  .v2-lightbox__next { right: calc(50% - 64px); }
  .v2-lightbox__fig img { max-height: calc(100vh - 200px); }
}

/* Contact / Text popups (../components/Footer.astro) hold the contact form; long ones scroll inside. */
.popup-box { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); display: none; flex-direction: column; }
.popup-box[style*="block"] { display: flex !important; }
.popup-box .popup-description { margin: 0 0 8px 10px; }
.popup-box > div { overflow-y: auto; min-height: 0; padding-bottom: 14px; }
/* Client crew photo as a page hero (About): keep the crew, not the upper windows, in frame. */
.v2-pagehero__img[src*="sunshine-roofing-crew"] { object-position: 50% 72%; }
.v2-split img[src*="sunshine-roofing-crew"] { object-position: 50% 88%; }
