/* DripRite Roofing — Howell, MI. Owned by brothers Ben & Gabe.

   Palette sampled from logo.jpg (purple + black badge on white): dominant
   #42067E, bright #54069C, deepest #1E0042, black. Tokens per RESEARCH.md.
   Measured WCAG ratios:
     white    on #1A0536 deep   18.77     white    on #3C0078 dark  14.35
     white    on #5A12A8 mid    10.06     #B98AF0  on #1A0536        7.11
     #B98AF0  on #3C0078         5.44     #D9C2F8  on #1A0536       11.64
     #5A12A8  on white          10.06     #5A12A8  on #F6F3FA        9.16
     #1A0536  on #B98AF0 button  7.11     #5B5566  on #F6F3FA        6.51
     #B98AF0  on white           2.64  <- FAILS. Lilac is text-on-dark only.
     #5A12A8  on #1A0536         1.86  <- FAILS. Mid purple is text-on-light only.

   Logo rule: the logo only ever sits in a WHITE rounded badge (logo-badge.jpg,
   logo.jpg trimmed to its ink box). The wordmark is wider than the house, so
   the whole lockup is kept — no zoom crop. The dark-wordmark cutout (logo.png)
   is not deployed and never goes on purple or a photo.

   Fonts: Montserrat 800 (logo's heavy italic sans; italic on the header
   wordmark only) + Work Sans. */

:root {
    --brand-ink: #0E0E12;
    --brand-deep: #1A0536;
    --brand-dark: #3C0078;
    --brand-mid: #5A12A8;            /* text/links on white only */
    --brand-accent: #B98AF0;         /* text on dark only; button bg with deep text */
    --brand-accent-light: #D9C2F8;
    --off-white: #F6F3FA;
    --white: #ffffff;
    --text: #1B1722;
    --text-muted: #5B5566;
    --border: rgba(26, 5, 54, 0.14);
    --border-strong: rgba(26, 5, 54, 0.28);
    --border-light: rgba(255, 255, 255, 0.14);
    --shadow: 0 18px 48px rgba(26, 5, 54, 0.18);
    --shadow-sm: 0 4px 18px rgba(26, 5, 54, 0.08);
    --radius: 5px;
    --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
    --container-max: 75rem;
    --container-pad: clamp(1rem, 2.5vw, 1.75rem);
    /* Phone floor 2.5rem = 40px (jx-mobile-standard.md). */
    --section-padding: clamp(2.5rem, 7vw, 6rem);
    --fluid-body: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
    --fluid-lead: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    --fluid-h2: clamp(1.65rem, 1.3rem + 1.5vw, 2.6rem);
    --grid-gap: clamp(0.75rem, 1.5vw, 1.5rem);
    --grid-gap-lg: clamp(1.35rem, 3vw, 2.75rem);
    --label-track: 0.14em;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    font-size: var(--fluid-body);
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-mid); text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
a:hover { color: var(--brand-dark); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 3px; }

/* Layout primitives */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--container-pad); }
.section { padding-block: var(--section-padding); }
.section-light { background: var(--off-white); }

/* Section helpers */
.section-label {
    font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--brand-mid); margin-bottom: 0.7rem;
}
.section-label-light { color: var(--brand-accent); }
.section-title {
    font-family: var(--font-display); font-size: var(--fluid-h2); font-weight: 800; line-height: 1.08;
    color: var(--brand-deep); text-transform: uppercase; letter-spacing: 0;
}
.section-title, .section-label, .hero-subtitle, .cta-band-title, .cta-band-text, .service-card h3, .faq-item summary, .footer-tagline, .about-photo-caption, .footer-copy { text-wrap: balance; }
.nw { white-space: nowrap; }  /* keeps each tagline phrase whole */
.section-title-light { color: var(--white); }
.section-title-left { text-align: left; }
.section-head { text-align: center; max-width: min(46rem, 100%); margin: 0 auto clamp(1.75rem, 4vw, 3rem); }
.section-lead { font-size: var(--fluid-lead); color: var(--text-muted); margin-top: 0.9rem; line-height: 1.65; }
.section-lead-light { color: rgba(255, 255, 255, 0.84); }
.title-underline { width: 4rem; height: 3px; background: var(--brand-mid); margin: 1rem auto 0; }
.title-underline-left { margin-left: 0; margin-right: auto; }
.title-underline-light { background: var(--brand-accent); }

.icon-mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-mark svg { width: 1.3rem; height: 1.3rem; }
.icon-mark--tile { width: 2.6rem; height: 2.6rem; border-radius: var(--radius); background: rgba(185, 138, 240, 0.16); color: var(--brand-accent); }

/* Buttons — >=13.5px text and >=44px tall at every width. */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    padding: 0.9rem 1.5rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; border-radius: var(--radius);
    border: 1px solid transparent; cursor: pointer; transition: var(--transition); white-space: nowrap; min-height: 44px;
}
/* Lilac button carries deep-purple text (7.11:1), never white (2.64:1 on lilac fails). */
.btn-primary { background: var(--brand-accent); color: var(--brand-deep); border-color: var(--brand-accent); }
.btn-primary:hover { background: var(--brand-accent-light); border-color: var(--brand-accent-light); color: var(--brand-deep); transform: translateY(-1px); }
.btn-dark { background: var(--brand-dark); color: var(--white); border-color: var(--brand-dark); }
.btn-dark:hover { background: var(--brand-mid); border-color: var(--brand-mid); color: var(--white); transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--brand-deep); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--brand-deep); background: var(--white); color: var(--brand-deep); }
.btn-sm { padding: 0.65rem 1.05rem; font-size: 0.85rem; min-height: 44px; }
.btn-block { width: 100%; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: var(--transition); }
.header:not(.scrolled) { background: linear-gradient(180deg, rgba(26, 5, 54, 0.55) 0%, rgba(26, 5, 54, 0) 100%); }
.header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.92); }
.header:not(.scrolled) .nav-link:hover, .header:not(.scrolled) .nav-link[aria-current="page"] { color: var(--brand-accent); }
.header:not(.scrolled) .logo-name, .header:not(.scrolled) .logo-tag { color: var(--white); }
.header:not(.scrolled) .hamburger { background: var(--white); }
.header.scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--border), 0 8px 28px rgba(20, 10, 30, 0.07); -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); }
.header.scrolled .nav-link { color: var(--text); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link[aria-current="page"] { color: var(--brand-mid); }
.header.scrolled .logo-name { color: var(--brand-ink); }
.header.scrolled .logo-tag { color: var(--brand-mid); }
.header.scrolled .hamburger { background: var(--brand-deep); }
.header-content { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0; gap: 1rem; transition: padding 0.3s; }
.header.scrolled .header-content { padding: 0.4rem 0; }
.logo { display: flex; align-items: center; gap: 0.6rem; min-width: 0; flex-shrink: 1; text-decoration: none; }
/* Header logo: transparent cutout of the house + DRIPRITE ROOFING wordmark
   (logo-wordmark.png). No box. The wordmark is black + deep purple, so a tight
   white die-cut edge keeps it readable on the purple hero and the white
   scrolled header without recolouring the client's logo. The tagline and ribbon
   are illegible at header size, so they live in the footer circle instead. */
.logo-mark {
    flex-shrink: 0; height: clamp(3.4rem, 6.4vw, 3.9rem); display: flex; align-items: center;
    background: none; padding: 0;
    box-shadow: none; border-radius: 0; overflow: visible;
}
.header.scrolled .logo-mark { box-shadow: none; }
.logo-img {
    height: 100%; width: auto; display: block;
    filter: drop-shadow(1.2px 0 0 #fff) drop-shadow(-1.2px 0 0 #fff) drop-shadow(0 1.2px 0 #fff) drop-shadow(0 -1.2px 0 #fff) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}
.header.scrolled .logo-img { filter: drop-shadow(0 1px 2px rgba(26, 5, 54, 0.18)); }
.logo-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.logo-name { font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 800; font-style: italic; letter-spacing: 0.01em; text-transform: uppercase; }
.logo-tag { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 0.25rem; }
.nav-list { display: flex; list-style: none; gap: clamp(0.85rem, 1.6vw, 1.6rem); }
.nav-link { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; position: relative; padding: 0.35rem 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform 0.25s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-cta { flex-shrink: 0; }
.header.scrolled .header-actions .btn-secondary { background: transparent; color: var(--brand-deep); border-color: var(--border-strong); }
.header.scrolled .header-actions .btn-secondary:hover { border-color: var(--brand-deep); }

.mobile-menu-toggle, .nav-close { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.mobile-menu-toggle { flex-direction: column; }
.hamburger { width: 24px; height: 2px; margin: 4px 0; border-radius: 1px; transition: background 0.3s; }
.nav-close {
    position: absolute; top: 0.75rem; right: 0.75rem; width: 2.75rem; height: 2.75rem;
    font-size: 2.1rem; font-weight: 300; color: var(--white); line-height: 1; z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%;
}
/* Template gotcha: without this the close button never appears. */
.nav.active .nav-close { display: flex; }

/* Hero — hero-roofer.jpg (square 1800): a DripRite roofer on the ridge of a
   colonial. Only the square crop reads as "roofer" at both 390x844 and
   1440x900. Desktop crops height only, so aim the Y to keep the roofer in. */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: center; overflow: hidden; background: var(--brand-deep); }
.hero-media { position: absolute; inset: 0; background: var(--brand-deep); }
.hero-media picture, .hero-img { display: block; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 62% 50%; }
/* Hero video sits over the poster photo and fades in only once it is playing. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero--home .hero-img { animation: hero-zoom 18s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26, 5, 54, 0.35) 0%, rgba(26, 5, 54, 0.25) 30%, rgba(26, 5, 54, 0.82) 62%, rgba(26, 5, 54, 0.94) 100%);
}
.hero .container { width: 100%; position: relative; z-index: 3; }
.hero-layout { position: relative; max-width: min(40rem, 100%); margin-inline: auto; text-align: center; padding: clamp(6rem, 16vw, 8rem) 0 clamp(3.25rem, 8vw, 5rem); }
.hero-kicker { font-size: 0.85rem; font-weight: 600; letter-spacing: var(--label-track); text-transform: uppercase; color: var(--brand-accent-light); margin-bottom: 0.8rem; }
.hero-title {
    font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 4vw, 3.7rem); font-weight: 800; line-height: 1.04;
    color: var(--white); text-transform: uppercase; letter-spacing: 0; text-wrap: balance; margin-bottom: 0.9rem;
}
.hero-title em { display: block; font-style: normal; color: var(--brand-accent); }
.hero-subtitle { color: rgba(255, 255, 255, 0.95); font-size: var(--fluid-lead); font-weight: 500; max-width: 32rem; margin: 0 auto 1.5rem; line-height: 1.5; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-buttons .btn { min-height: 48px; }
.hero-divider { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(22px, 3.5vw, 46px); z-index: 2; display: block; }

@media (min-width: 769px) {
    .hero--home .hero-img { object-position: 50% 22%; }
    .hero-overlay { background: linear-gradient(90deg, rgba(26, 5, 54, 0.25) 0%, rgba(26, 5, 54, 0.5) 40%, rgba(26, 5, 54, 0.92) 100%); }
    .hero-layout { margin-inline: 0; margin-left: auto; text-align: right; max-width: min(38rem, 52vw); }
    .hero-subtitle { margin-inline: 0; margin-left: auto; }
    .hero-buttons { justify-content: flex-end; }
}
.hero-layout > * { animation: hero-in 1s var(--ease-reveal) both; }
.hero-layout > *:nth-child(2) { animation-delay: 0.08s; }
.hero-layout > *:nth-child(3) { animation-delay: 0.16s; }
.hero-layout > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes hero-in { from { opacity: 0.001; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Credibility strip */
.credibility-strip { background: var(--brand-deep); padding: clamp(0.9rem, 3vw, 1.6rem) 0 clamp(1.1rem, 3.5vw, 1.9rem); }
.credibility-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.credibility-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.3rem; padding: 0.6rem clamp(0.5rem, 2vw, 1.25rem); border-right: 1px solid var(--border-light); }
.credibility-stat:last-child { border-right: none; }
.credibility-value { font-family: var(--font-display); font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.15rem); font-weight: 800; color: var(--white); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.01em; }
.credibility-label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.76); line-height: 1.4; }
.credibility-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-accent); font-weight: 600; letter-spacing: 0.04em; margin: -0.6rem 0; }
.credibility-phone:hover { color: var(--white); }

/* Service pills — one swipeable row on phones. */
.service-pills { background: var(--off-white); border-bottom: 1px solid var(--border); padding: clamp(0.8rem, 2.5vw, 1.15rem) 0; }
.service-pills-inner {
    display: flex; flex-wrap: nowrap; gap: 0.5rem; justify-content: flex-start; list-style: none;
    overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem; margin-bottom: -0.35rem; scrollbar-width: thin;
}
.service-pills-inner::before, .service-pills-inner::after { content: ''; flex: 0 0 0.25rem; }
@media (min-width: 900px) { .service-pills-inner { flex-wrap: wrap; justify-content: center; overflow-x: visible; } }
.service-pill { flex: 0 0 auto; scroll-snap-align: start; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5rem 0.95rem; border-radius: 999px; background: var(--white); color: var(--brand-deep); border: 1px solid var(--border); }

/* About */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--grid-gap-lg); align-items: center; }
.about-copy > p + p { margin-top: 1rem; }
.about-lead { font-size: var(--fluid-lead); margin-top: 1.2rem; }
.about-quote { margin: 1.2rem 0 1rem; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 3px solid var(--brand-mid); }
.about-quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.5; color: var(--brand-deep); }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 1.3rem 0 0; }
.about-tags li { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.45rem 0.8rem; background: var(--white); border: 1px solid var(--border); color: var(--brand-deep); }
.about-stat-chip { display: flex; align-items: center; flex-wrap: wrap; gap: 0.2rem 1.1rem; padding: 0.8rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--brand-mid); margin: 1.3rem 0; }
.about-stat-num { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); font-weight: 800; color: var(--brand-deep); line-height: 1.1; display: inline-flex; align-items: center; min-height: 44px; }
.about-stat-num:hover { color: var(--brand-mid); }
.about-stat-label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.about-photo { position: relative; margin: 0; }
/* about-range.jpg is a 2x2 composite (1400x1400) of four of their own jobs. */
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow); background: var(--brand-deep); border-radius: var(--radius); }
.about-photo-caption { margin-top: 0.8rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); text-align: right; }

/* Services */
.services { background: linear-gradient(170deg, var(--brand-deep) 0%, #2A0758 100%); color: var(--white); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { display: flex; flex-direction: column; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.3rem 1.25rem 1.4rem; transition: border-color 0.35s, background 0.35s, transform 0.35s; }
.service-card:hover { border-color: rgba(185, 138, 240, 0.55); background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); }
.service-card-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.7rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.2; color: var(--white); }
.service-card p { font-size: 1rem; color: rgba(255, 255, 255, 0.84); line-height: 1.6; }
.services-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* CTA band — cta-sunset.jpg, sunset over a shingle roof, heavily overlaid. */
.cta-band { position: relative; padding: clamp(2.75rem, 8vw, 5.5rem) 0; overflow: hidden; background: var(--brand-deep); }
.cta-band-bg { position: absolute; inset: 0; background: url('cta-sunset.jpg') center 45% / cover no-repeat; background-image: image-set(url('images/cta-sunset-1200.webp') type('image/webp'), url('cta-sunset.jpg') type('image/jpeg')); background-color: var(--brand-dark); background-attachment: fixed; }
.cta-band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 5, 54, 0.84) 0%, rgba(60, 0, 120, 0.72) 50%, rgba(26, 5, 54, 0.92) 100%); }
.cta-band-inner { position: relative; z-index: 1; text-align: center; max-width: min(42rem, 100%); margin: 0 auto; }
.cta-band-title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 2.4vw, 2.9rem); font-weight: 800; color: var(--white); margin-bottom: 0.8rem; line-height: 1.08; text-transform: uppercase; }
.cta-band-text { color: rgba(255, 255, 255, 0.92); margin-bottom: 1.5rem; font-size: var(--fluid-lead); }
.cta-band-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Recent projects */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.5rem, 1.5vw, 1.1rem); }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.work-figure { position: relative; margin: 0; overflow: hidden; background: var(--brand-deep); border-radius: var(--radius); }
.work-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 900px) { .work-figure img { aspect-ratio: 3 / 4; } }
.work-figure figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 0.65rem 0.55rem;
    background: linear-gradient(180deg, rgba(26, 5, 54, 0) 0%, rgba(26, 5, 54, 0.92) 100%);
    color: var(--white); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.3;
}
@media (min-width: 900px) { .work-figure figcaption { padding: 2.5rem 1rem 0.85rem; font-size: 0.85rem; letter-spacing: 0.06em; } }

/* Why us + service area */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-card { padding: 1.2rem 1.2rem 1.3rem; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--brand-mid); border-radius: 0 0 var(--radius) var(--radius); }
.why-card h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.25; color: var(--brand-deep); margin-bottom: 0.45rem; }
.why-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.areas-block { margin-top: clamp(1.75rem, 4vw, 3rem); text-align: center; }
.areas-title { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.7rem; }
.areas-single { display: inline-block; font-family: var(--font-display); font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.3; padding: 0.8rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--brand-mid); color: var(--brand-deep); }
.areas-note { margin-top: 0.9rem; color: var(--text-muted); }
.areas-note a { font-weight: 600; border-bottom: 1px solid var(--brand-mid); white-space: nowrap; }

/* Recommendation — Facebook recommendations carry no rating; none shown. */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap-lg); max-width: min(44rem, 100%); margin: 0 auto; }
.testimonial-card { position: relative; background: var(--off-white); border: 1px solid var(--border); border-top: 3px solid var(--brand-mid); padding: 1.5rem 1.35rem 1.3rem; }
.testimonial-quote { font-family: var(--font-display); font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.25rem); font-weight: 500; line-height: 1.5; color: var(--brand-deep); }
.testimonial-meta { display: flex; flex-direction: column; gap: 0.15rem; margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--border); }
.testimonial-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--brand-deep); }
.testimonial-source { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

/* FAQ */
.faq { background: var(--brand-deep); color: var(--white); }
.faq-list { max-width: min(46rem, 100%); margin: 0 auto; border-top: 1px solid var(--border-light); }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item summary {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
    text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.4; cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 0.95rem 0;
    color: var(--white); transition: color 0.2s; min-height: 44px;
}
.faq-item summary:hover { color: var(--brand-accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-body); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--brand-accent); flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 2.5rem 1.2rem 0; color: rgba(255, 255, 255, 0.85); line-height: 1.7; font-size: 1rem; }
.faq-item a { color: var(--brand-accent); border-bottom: 1px solid rgba(185, 138, 240, 0.5); }
.faq-item a:hover { color: var(--white); }

/* Contact */
.contact-split { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap-lg); align-items: start; }
@media (min-width: 900px) { .contact-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.contact-info > p:not(.section-label) { margin-top: 1.2rem; color: var(--text); }
.contact-fast { display: flex; margin-top: 1.3rem; }
.contact-details { list-style: none; margin-top: 1.4rem; border-top: 1px solid var(--border); }
.contact-details li { display: grid; grid-template-columns: 1fr; gap: 0.1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; line-height: 1.5; }
@media (min-width: 480px) { .contact-details li { grid-template-columns: 8.5rem 1fr; gap: 1rem; align-items: center; } }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; margin: -0.6rem 0; font-weight: 600; justify-self: start; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: var(--brand-mid); text-underline-offset: 4px; }
.contact-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-form { background: var(--white); padding: clamp(1.25rem, 3.5vw, 2.25rem); border: 1px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.form-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; color: var(--brand-deep); }
.form-intro { font-size: 0.95rem; color: var(--text-muted); margin: 0.4rem 0 1.1rem; }
.form-intro a { font-weight: 600; color: var(--brand-mid); border-bottom: 1px solid var(--brand-mid); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; } }
.form-row { margin-bottom: 0.9rem; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.35rem; }
.label-optional { text-transform: none; letter-spacing: 0; font-weight: 500; }
/* 16px inputs — smaller makes iOS Safari zoom on focus. */
.form-row input, .form-row select, .form-row textarea {
    width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; font-family: var(--font-body); font-size: 1rem;
    border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--off-white); color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-row textarea { resize: vertical; min-height: 6rem; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; background: var(--white); border-color: var(--brand-mid); box-shadow: 0 0 0 3px rgba(90, 18, 168, 0.16); }
.form-error { color: #b42318; font-size: 0.9rem; margin-bottom: 0.9rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(180, 35, 24, 0.3); background: #fff6f5; }
.form-fine { margin-top: 0.8rem; font-size: 0.85rem; color: var(--text-muted); text-align: center; }

/* Footer — background on <footer>, never on .footer-main (container gutters). */
.footer { background: var(--brand-deep); color: rgba(255, 255, 255, 0.75); }
.footer-banner { background: var(--brand-dark); border-top: 3px solid var(--brand-accent); padding: 1.05rem 0; text-align: center; }
.footer-tagline { font-family: var(--font-display); font-size: clamp(0.95rem, 0.85rem + 0.6vw, 1.15rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; color: var(--white); line-height: 1.4; }
.footer-main { padding: clamp(1.75rem, 4.5vw, 3rem) var(--container-pad); display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; }
/* Full lockup inside a white circle (logo-circle.png, transparent corners) — never the dark cutout on purple. */
.footer-logo-badge { width: clamp(11rem, 46vw, 13.5rem); aspect-ratio: 1 / 1; filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35)); }
.footer-logo { display: block; width: 100%; height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 1.3rem; justify-content: center; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.footer-nav a:hover { color: var(--brand-accent); }
.footer-contact { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.footer-contact a { color: var(--white); font-weight: 600; white-space: nowrap; }
.footer-contact a:hover { color: var(--brand-accent); }
.footer-copy { font-size: 0.85rem; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.64); padding-top: 1.1rem; border-top: 1px solid var(--border-light); width: min(36rem, 100%); }

/* Scroll reveal */
.scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-reveal), transform 0.8s var(--ease-reveal); will-change: opacity, transform; }
.scroll-reveal.visible { opacity: 1; transform: none; }
.stagger > .scroll-reveal:nth-child(2) { transition-delay: 0.09s; }
.stagger > .scroll-reveal:nth-child(3) { transition-delay: 0.18s; }
.stagger > .scroll-reveal:nth-child(4) { transition-delay: 0.27s; }
.stagger > .scroll-reveal:nth-child(n+5) { transition-delay: 0.36s; }

/* Responsive — mobile menu */
@media (max-width: 1024px) {
    .header-actions .btn-primary { display: none; }
    .header-actions { margin-left: auto; }
    .header-call { min-height: 44px; min-width: 44px; }
    .mobile-menu-toggle { display: flex; }
    .nav {
        display: none; position: fixed; top: 0; left: 0; width: 100%; min-height: 100vh; min-height: 100dvh;
        z-index: 10000; padding: clamp(5.5rem, 15vh, 8rem) var(--container-pad) 2.5rem; overflow-y: auto;
        background: var(--brand-deep); flex-direction: column; align-items: center; justify-content: flex-start;
    }
    .nav.active { display: flex; }
    .nav.active .nav-list { flex-direction: column; align-items: center; gap: 0.9rem; width: 100%; max-width: 18rem; }
    .nav.active .nav-link { display: flex; align-items: center; justify-content: center; min-height: 44px; width: 100%; text-align: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white) !important; padding: 0.4rem 0; }
    .nav.active .nav-link::after { display: none; }
    .nav.active .nav-extra { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; width: 100%; }
}
@media (max-width: 768px) {
    /* Phone: copy sits in the lower part of the hero so the roofer and the
       house stay visible above it. */
    .hero { align-items: flex-end; }
    .hero-layout { padding: 6.5rem 0 3rem; }
    .credibility-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .credibility-stat { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--border-light); }
    .credibility-stat:nth-child(2n) { border-right: none; }
    .credibility-stat:nth-last-child(-n+2) { border-bottom: none; }
    .about-split { grid-template-columns: 1fr; }
    .about-photo-caption { text-align: center; letter-spacing: 0.04em; }
    .cta-band-bg { background-attachment: scroll; }
    .hero-title { font-size: clamp(1.7rem, 1rem + 5vw, 2.4rem); }
    .hero-kicker { font-size: 0.82rem; letter-spacing: 0.1em; }
    .hero-subtitle { font-size: 1rem; }
}
@media (max-width: 560px) {
    .hero-buttons .btn, .cta-band-buttons .btn, .services-cta .btn, .about-actions .btn, .contact-fast .btn { width: 100%; }
    .header-content { gap: 0.5rem; }
    .logo { gap: 0.5rem; }
    .logo-mark { height: 3.2rem; }
    .logo-name { font-size: 1.12rem; }
    .service-card { padding: 1.05rem 1rem 1.15rem; }
    .service-card-head { margin-bottom: 0.5rem; }
    .service-card h3 { font-size: 1rem; }
    .why-card h3 { font-size: 0.98rem; }
    .faq-item p { padding-right: 0.5rem; }
}
@media (max-width: 360px) {
    .btn { padding-inline: 1rem; letter-spacing: 0.03em; }
    .logo-mark { height: 3rem; }
    .logo-name { font-size: 1.05rem; white-space: nowrap; }
    .logo-tag { letter-spacing: 0.24em; white-space: nowrap; }
    .header-call { padding-inline: 0.75rem; }
    .hero-kicker { letter-spacing: 0.05em; }
    .credibility-value { font-size: 0.88rem; }
    .credibility-label { font-size: 0.8125rem; letter-spacing: 0.02em; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-reveal { opacity: 1; transform: none; transition: none; }
    .hero-layout > *, .page-hero-layout > *, .hero--home .hero-img { animation: none; }
    .hero-video { display: none; }
    .service-card, .work-figure img, .review-track { transition: none !important; }
    .service-card { transition: none; }
}

/* ==========================================================================
   Multi-page additions (2026-10). Same tokens; nothing above re-themed.
   ========================================================================== */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 20000; background: var(--white); color: var(--brand-deep); padding: 0.7rem 1rem; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.link-light { color: var(--brand-accent); border-bottom: 1px solid rgba(185, 138, 240, 0.5); font-weight: 600; }
.link-light:hover { color: var(--white); }
.link-arrow { width: 1.05em; height: 1.05em; flex-shrink: 0; transition: transform 0.25s var(--ease-reveal); }
a:hover .link-arrow, .service-card:hover .link-arrow { transform: translateX(4px); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-more { display: flex; justify-content: center; margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Hero trust row */
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; justify-content: center; list-style: none; margin-top: 1.4rem; }
.hero-trust li { position: relative; padding-left: 1.15rem; font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.9); }
.hero-trust li::before { content: ''; position: absolute; left: 0; top: 50%; width: 0.55rem; height: 0.3rem; border-left: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: translateY(-70%) rotate(-45deg); }
@media (min-width: 769px) { .hero-trust { justify-content: flex-end; } }
.hero-layout > *:nth-child(5) { animation-delay: 0.32s; }

/* Inner-page hero */
.hero--page { min-height: clamp(26rem, 62vh, 34rem); align-items: flex-end; }
.hero--compact { min-height: clamp(20rem, 46vh, 26rem); }
.hero-overlay--page, .hero--page .hero-overlay { background: linear-gradient(100deg, rgba(26, 5, 54, 0.95) 0%, rgba(26, 5, 54, 0.82) 45%, rgba(26, 5, 54, 0.5) 100%); }
.page-hero-layout { max-width: min(44rem, 100%); padding: clamp(7rem, 16vw, 8.5rem) 0 clamp(3.25rem, 7vw, 4.5rem); }
.page-hero-layout > * { animation: hero-in 0.9s var(--ease-reveal) both; }
.page-hero-layout > *:nth-child(2) { animation-delay: 0.06s; }
.page-hero-layout > *:nth-child(3) { animation-delay: 0.12s; }
.page-hero-layout > *:nth-child(4) { animation-delay: 0.18s; }
.page-hero-layout > *:nth-child(5) { animation-delay: 0.24s; }
.page-hero-title { font-size: clamp(1.75rem, 1.1rem + 3.4vw, 3.2rem); }
.page-hero-lead { color: rgba(255, 255, 255, 0.9); font-size: var(--fluid-lead); line-height: 1.6; margin-bottom: 1.5rem; max-width: 36rem; }
.hero-buttons--left { justify-content: flex-start !important; }

/* Breadcrumbs */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-bottom: 1rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; color: rgba(255, 255, 255, 0.4); }
.breadcrumbs a { color: var(--brand-accent-light); display: inline-flex; min-height: 32px; align-items: center; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs li { display: inline-flex; align-items: center; }

/* Service cards — whole card is a link */
.service-card { position: relative; }
.card-link { color: inherit; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link:hover { color: inherit; }
.card-link:focus-visible { outline: none; }
.service-card:has(.card-link:focus-visible) { outline: 2px solid var(--brand-accent); outline-offset: 3px; }
.card-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.9rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-accent); }
.service-card::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--brand-accent), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-reveal); border-radius: var(--radius) var(--radius) 0 0; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-mark--tile { background: rgba(185, 138, 240, 0.28); }

/* Gallery — interactive */
.work-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; font: inherit; text-align: left; }
.work-open:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: -3px; }
.work-figure img { transition: transform 0.6s var(--ease-reveal); }
.work-figure:hover img { transform: scale(1.05); }
.work-figure[hidden] { display: none; }
.work-grid--full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .work-grid--full { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); max-width: 50rem; margin: 0 auto; }
.pair-grid .work-figure img { aspect-ratio: 3 / 4; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 0.5rem; }
.filter-btn { min-height: 44px; padding: 0.55rem 1.05rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--white); color: var(--brand-deep); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.filter-btn:hover { border-color: var(--brand-mid); color: var(--brand-mid); }
.filter-btn[aria-pressed="true"] { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.filter-status { text-align: center; font-size: 0.85rem; color: var(--text-muted); min-height: 1.5rem; margin-bottom: 1rem; }
.gallery-note { text-align: center; margin-top: 1.75rem; color: var(--text-muted); }
.gallery-note a { font-weight: 600; border-bottom: 1px solid var(--brand-mid); }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: auto; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(14, 6, 26, 0.94); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lb-in 0.25s ease both; }
.lightbox::backdrop { background: rgba(14, 6, 26, 0.6); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-figure { margin: 0; max-width: min(92vw, 60rem); text-align: center; }
.lightbox-img { max-width: 100%; max-height: 80vh; max-height: 80dvh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox-caption { margin-top: 0.9rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lightbox-close, .lightbox-nav { position: absolute; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(26, 5, 54, 0.6); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; transition: var(--transition); }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--brand-accent); color: var(--brand-deep); border-color: var(--brand-accent); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox--single .lightbox-nav { display: none; }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; } }

/* Reviews carousel */
.review-carousel { max-width: min(44rem, 100%); margin: 0 auto; overflow: hidden; }
.review-track { display: flex; transition: transform 0.6s var(--ease-reveal); }
.review-slide { flex: 0 0 100%; }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.review-controls[hidden] { display: none; }
.review-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--white); color: var(--brand-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.review-btn:hover { border-color: var(--brand-mid); color: var(--brand-mid); }
.review-dots { display: flex; gap: 0.25rem; }
.review-dot { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; }
.review-dot::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--border-strong); }
.review-dot[aria-current="true"]::after { background: var(--brand-mid); }
.reviews-more { text-align: center; margin-top: 1.25rem; }
.reviews-more a { font-weight: 600; border-bottom: 1px solid var(--brand-mid); }
.testimonial-feature { max-width: min(44rem, 100%); margin: 0 auto; text-align: center; }
.testimonial-feature .testimonial-card { text-align: left; background: var(--white); }

/* Content layouts for service / area pages */
.content-split { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap-lg); align-items: start; }
@media (min-width: 900px) { .content-split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.prose > p:not(.section-label) { margin-top: 1rem; }
.prose > p.about-lead { margin-top: 1.2rem; }
.prose-h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; text-transform: uppercase; color: var(--brand-deep); margin: 1.8rem 0 0.4rem; letter-spacing: 0.01em; }
.prose a:not(.btn) { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(90, 18, 168, 0.4); text-underline-offset: 3px; }
.steps { list-style: none; counter-reset: step; margin-top: 1.4rem; display: grid; gap: 0.85rem; }
.steps li { counter-increment: step; position: relative; padding: 0.9rem 1rem 0.9rem 3.6rem; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); line-height: 1.6; }
.steps li::before { content: counter(step); position: absolute; left: 0.9rem; top: 0.85rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand-dark); color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; }
.steps strong { color: var(--brand-deep); }
.check-list { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.6rem; }
.check-list li { position: relative; padding-left: 1.6rem; line-height: 1.6; }
.check-list li::before { content: ''; position: absolute; left: 0.15rem; top: 0.55em; width: 0.65rem; height: 0.35rem; border-left: 2px solid var(--brand-mid); border-bottom: 2px solid var(--brand-mid); transform: rotate(-45deg); }
.side-card { background: var(--brand-deep); color: rgba(255, 255, 255, 0.86); border-radius: var(--radius); padding: clamp(1.35rem, 3vw, 1.85rem); border-top: 3px solid var(--brand-accent); box-shadow: var(--shadow); display: grid; gap: 0.75rem; }
.side-card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; text-transform: uppercase; color: var(--white); line-height: 1.2; }
.side-card .btn-dark { background: var(--brand-accent); border-color: var(--brand-accent); color: var(--brand-deep); }
.side-card .btn-dark:hover { background: var(--brand-accent-light); border-color: var(--brand-accent-light); color: var(--brand-deep); }
.side-card .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.side-card .btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }
.side-card-list { list-style: none; border-top: 1px solid var(--border-light); padding-top: 0.75rem; font-size: 0.9rem; display: grid; gap: 0.3rem; }
.side-card-list li::before { content: '\2713'; color: var(--brand-accent); margin-right: 0.55rem; font-weight: 700; }
.side-card-fine { font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); border-top: 1px solid var(--border-light); padding-top: 0.75rem; }
.media-split { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap-lg); align-items: center; }
@media (min-width: 769px) {
    .media-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
    .media-split--flip .media-figure { order: 2; }
}
.media-figure { margin: 0; }
.media-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 769px) { .media-figure img { aspect-ratio: 4 / 5; } }
.media-figure figcaption { margin-top: 0.7rem; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
@media (min-width: 1025px) { .why-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Service areas */
.area-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; max-width: 60rem; margin: 0 auto; }
@media (min-width: 769px) { .area-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.area-card { display: flex; flex-direction: column; gap: 0.2rem; height: 100%; padding: 0.95rem 1rem; text-align: left; background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--brand-mid); border-radius: 0 var(--radius) var(--radius) 0; transition: var(--transition); }
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--brand-mid); }
.area-card-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; color: var(--brand-deep); }
.area-card-sub { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--text-muted); }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.area-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.05rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-deep); }
.area-chip:hover { border-color: var(--brand-mid); color: var(--brand-mid); }
.areas-block--flush { margin-top: 0; }

/* Footer — multi-column */
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding-block: clamp(2rem, 5vw, 3.25rem); text-align: center; }
@media (min-width: 769px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; text-align: left; align-items: start; } }
.footer-brand { display: flex; justify-content: center; }
@media (min-width: 769px) { .footer-brand { justify-content: flex-start; } .footer-logo-badge { width: clamp(9rem, 15vw, 12rem); } }
.footer-heading { font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 0.5rem; }
.footer-col ul { list-style: none; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }
.footer-col a:hover { color: var(--brand-accent); }
.footer-col .footer-contact { margin-top: 0.75rem; line-height: 1.4; }
.footer-col .footer-contact a { min-height: 36px; color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.footer-copy { margin: 0 auto; text-align: center; padding: 1.1rem 0 1.4rem; width: 100%; }

/* Sticky mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 768px) {
    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        padding: 0.6rem var(--container-pad) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(26, 5, 54, 0.96);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--border-light);
        transform: translateY(110%); transition: transform 0.35s var(--ease-reveal);
    }
    .mobile-cta.is-visible { transform: none; }
    .mobile-cta .btn { width: 100%; min-height: 48px; }
    .mobile-cta .icon-mark svg { width: 1.1rem; height: 1.1rem; }
    body.menu-open .mobile-cta { display: none; }
    .footer { padding-bottom: 4.5rem; }
    .side-card { position: static; }
}

/* Header nav fits six links between 1025 and 1240px */
@media (min-width: 1025px) and (max-width: 1240px) {
    .nav-list { gap: 0.9rem; }
    .nav-link { font-size: 0.74rem; letter-spacing: 0.06em; }
    .header-call { display: none; }
}
@media (max-width: 560px) {
    .page-hero-layout .hero-buttons .btn, .side-card .btn { width: 100%; }
    .pair-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .page-hero-layout > * { animation: none; }
    .work-figure:hover img { transform: none; }
    .mobile-cta { transition: none; }
}

/* ==========================================================================
   Desktop premium pass (2026-10). Mobile rules above are untouched; most of
   this is scoped to min-width: 1025px.
   ========================================================================== */
:root { --glass-dark: rgba(26, 5, 54, 0.38); --glass-light: rgba(255, 255, 255, 0.74); --lavender: #F4EFFB; }

/* Hero: real photo, cinematic overlay */
.hero--home .hero-img { object-position: 50% 30%; }
.hero-rating { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem; padding: 0.55rem 1rem 0.55rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); font-size: 0.9rem; }
.hero-rating:hover { background: rgba(255, 255, 255, 0.18); color: var(--white); }
.hero-rating strong { font-weight: 700; }
.hero-rating-stars, .g-stars { color: #FBBC05; letter-spacing: 0.08em; }
.g-logo { width: 1.35rem; height: 1.35rem; flex-shrink: 0; }
.hero-layout > *:nth-child(6) { animation-delay: 0.4s; }

/* Work captions get a category eyebrow */
.work-cat { display: block; font-size: 0.68rem; letter-spacing: 0.14em; color: var(--brand-accent-light); margin-bottom: 0.15rem; }

/* Home showcase — balanced mosaic */
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.5rem, 1.2vw, 1rem); }
.showcase-grid .work-figure img { aspect-ratio: 1 / 1; }
@media (min-width: 900px) {
    .showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(14rem, 19vw, 21rem)); }
    .showcase-grid .work-figure, .showcase-grid .work-open, .showcase-grid picture { height: 100%; }
    .showcase-grid .work-figure img { aspect-ratio: auto; height: 100%; }
    .showcase-feature { grid-column: span 2; grid-row: span 2; }
}
.work-figure { border-radius: 10px; box-shadow: 0 10px 30px rgba(26, 5, 54, 0.12); }
.work-figure::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); pointer-events: none; }
.work-figure figcaption { transition: padding 0.4s var(--ease-reveal); }
.work-figure:hover figcaption { padding-bottom: 1.15rem; }
.work-open::before { content: '+'; position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 300; color: var(--white); background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.3s var(--ease-reveal); }
.work-figure:hover .work-open::before, .work-open:focus-visible::before { opacity: 1; transform: none; }
.work-grid[data-expandable]:not(.is-expanded) .is-extra { display: none; }
.work-grid.is-expanded + .section-more { display: none; }

/* Google reviews */
.reviews-g { background: linear-gradient(180deg, var(--lavender) 0%, var(--white) 100%); overflow: hidden; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.reviews-head .section-title { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.1rem); }
.g-summary { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding: 0.9rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 14px 40px rgba(26, 5, 54, 0.08); }
.g-summary .g-logo { width: 2.2rem; height: 2.2rem; }
.g-summary-score { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--brand-deep); line-height: 1; display: flex; align-items: center; gap: 0.5rem; }
.g-summary-score .g-stars { font-size: 1.05rem; }
.g-summary-count { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.g-summary-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.88rem; padding-left: 0.9rem; border-left: 1px solid var(--border); min-height: 44px; }
.rv-carousel { position: relative; }
.rv-track { display: flex; gap: clamp(1rem, 1.6vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.5rem 0.25rem 1.75rem; scrollbar-width: none; cursor: grab; outline: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.rv-card { flex: 0 0 min(88%, 24rem); scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.85rem; padding: 1.6rem 1.6rem 1.4rem; background: var(--white); border: 1px solid rgba(26, 5, 54, 0.08); border-top: 3px solid var(--brand-mid); border-radius: 14px; box-shadow: 0 16px 40px rgba(26, 5, 54, 0.08); transition: transform 0.35s var(--ease-reveal), box-shadow 0.35s; }
.rv-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(26, 5, 54, 0.14); }
.rv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.rv-card-top .g-logo { width: 1.25rem; height: 1.25rem; }
.rv-stars { color: #FBBC05; font-size: 1.05rem; letter-spacing: 0.08em; }
.rv-source { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.rv-text { color: var(--text); line-height: 1.7; font-size: 0.98rem; flex: 1; }
.rv-text.is-long { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rv-name { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--brand-deep); padding-top: 0.85rem; border-top: 1px solid var(--border); }
.rv-meta { font-size: 0.8rem; color: var(--text-muted); }
.rv-meta a { font-weight: 600; }
.rv-controls { display: flex; gap: 0.6rem; justify-content: flex-end; }
.rv-controls[hidden] { display: none; }
.rv-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--white); color: var(--brand-deep); font-size: 1.7rem; line-height: 1; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm); }
.rv-btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.rv-carousel.is-single .rv-track { justify-content: center; cursor: default; }
.rv-carousel.is-single .rv-card { flex-basis: min(100%, 40rem); }

@media (min-width: 1025px) {
    /* Glass navigation */
    .header { padding: 0.6rem 0; }
    .header:not(.scrolled) { background: transparent; }
    .header .header-content { padding: 0.55rem 0.6rem 0.55rem 1.1rem; border-radius: 16px; transition: background 0.4s, box-shadow 0.4s, border-color 0.4s; border: 1px solid rgba(255, 255, 255, 0.14); background: var(--glass-dark); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
    .header.scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .header.scrolled .header-content { padding: 0.45rem 0.6rem 0.45rem 1.1rem; background: var(--glass-light); border-color: rgba(26, 5, 54, 0.08); box-shadow: 0 12px 40px rgba(26, 5, 54, 0.12); }
    .logo-mark { height: 3.3rem; }
    .nav-link { font-size: 0.78rem; }

    /* Hero composition */
    .hero--home { min-height: 100vh; min-height: 100svh; }
    .hero--home .hero-overlay { background:
        radial-gradient(ellipse at 15% 20%, rgba(255, 190, 110, 0.10) 0%, transparent 45%),
        linear-gradient(90deg, rgba(26, 5, 54, 0.15) 0%, rgba(26, 5, 54, 0.45) 38%, rgba(26, 5, 54, 0.9) 72%, rgba(26, 5, 54, 0.95) 100%),
        linear-gradient(180deg, rgba(26, 5, 54, 0.35) 0%, transparent 30%, transparent 70%, rgba(26, 5, 54, 0.6) 100%); }
    .hero--home .hero-layout { max-width: 50rem; padding: 9rem 0 7rem; }
    .hero--home .hero-title { font-size: clamp(3.4rem, 1.6rem + 2.6vw, 4.8rem); line-height: 0.98; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
    .hero--home .hero-subtitle { font-size: 1.25rem; max-width: 36rem; margin-bottom: 2rem; }
    .hero--home .hero-buttons .btn { min-height: 56px; padding: 1rem 1.9rem; font-size: 0.95rem; }
    .hero--home .hero-buttons .btn-primary { box-shadow: 0 14px 36px rgba(185, 138, 240, 0.4); }
    .hero--home .hero-buttons .btn-secondary { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .hero-kicker { font-size: 0.9rem; letter-spacing: 0.2em; }

    /* Credibility strip as glass cards lifted over the hero edge */
    .credibility-strip { background: var(--brand-deep); padding: 0 0 3rem; }
    .credibility-list { gap: 1rem; margin-top: -3.5rem; position: relative; z-index: 4; }
    .credibility-stat { border: 1px solid rgba(255, 255, 255, 0.14) !important; border-radius: 14px; padding: 1.5rem 1rem; background: rgba(60, 0, 120, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); transition: transform 0.35s var(--ease-reveal), border-color 0.35s; }
    .credibility-stat:hover { transform: translateY(-4px); border-color: rgba(185, 138, 240, 0.5) !important; }
    .credibility-value { font-size: 1.2rem; }
    .hero-divider { display: none; }

    /* Generous rhythm */
    .section { padding-block: clamp(5rem, 7vw, 7.5rem); }
    .section-title { letter-spacing: -0.005em; }
    .section-head { margin-bottom: 3.5rem; }

    /* Service cards */
    .services { background: radial-gradient(ellipse at 85% 0%, rgba(185, 138, 240, 0.18) 0%, transparent 50%), linear-gradient(170deg, var(--brand-deep) 0%, #2A0758 100%); }
    .services-grid { gap: 1.25rem; }
    .service-card { padding: 2rem 1.85rem 1.75rem; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
    .service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
    .service-card .icon-mark--tile { width: 3.2rem; height: 3.2rem; border-radius: 12px; transition: transform 0.4s var(--ease-reveal), background 0.3s; }
    .service-card:hover .icon-mark--tile { transform: rotate(-6deg) scale(1.06); }
    .service-card h3 { font-size: 1.15rem; }

    /* About / why */
    .about-photo img { border-radius: 16px; }
    .why-card { border-radius: 0 0 14px 14px; padding: 1.6rem 1.5rem; transition: transform 0.35s var(--ease-reveal), box-shadow 0.35s; }
    .why-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26, 5, 54, 0.1); }

    /* CTA band */
    .cta-band { padding: 7rem 0; }
    .cta-band-title { font-size: clamp(2.6rem, 1.5rem + 2.4vw, 3.8rem); }
    .cta-band-inner { padding: 3rem 3.5rem; border-radius: 20px; background: rgba(26, 5, 54, 0.35); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); max-width: 50rem; }

    /* Contact */
    .contact-form { border-radius: 18px; padding: 2.5rem; box-shadow: 0 24px 60px rgba(26, 5, 54, 0.12); border-top: 3px solid var(--brand-mid); }

    /* Reviews */
    .rv-card { flex-basis: calc((100% - 3 * 1.5rem) / 3.25); }

    /* Footer */
    .footer-grid { gap: 3rem; padding-block: 4.5rem 3.5rem; }
    .footer-col a { position: relative; }
    .footer-col a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
    .footer-col a:hover::after { transform: scaleX(1); }

    /* Inner pages */
    .hero--page .hero-img { object-position: 50% 32%; }
    .page-hero-layout { padding: 10rem 0 5rem; }
    .page-hero-title { font-size: clamp(2.8rem, 1.4rem + 2.8vw, 4.2rem); line-height: 1; }
    .side-card { border-radius: 16px; }
    .media-figure img, .steps li { border-radius: 12px; }
}
@media (min-width: 1600px) {
    :root { --container-max: 84rem; }
    .rv-card { flex-basis: calc((100% - 3 * 1.5rem) / 3.6); }
}
@media (prefers-reduced-motion: reduce) {
    .rv-track { scroll-behavior: auto; }
    .rv-card, .credibility-stat, .why-card, .work-open::before { transition: none; }
}
.g-summary-link[hidden] { display: none; }

/* ==========================================================================
   Conversion + scale pass (2026-10). Estimate form component, landing hero,
   CTA rows, then a desktop sizing pass (real layout values, no zoom/scale).
   ========================================================================== */
.btn-lg { padding: 1.05rem 1.9rem; font-size: 0.95rem; min-height: 54px; }
.btn-estimate { background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-dark) 100%); color: var(--white); border: 0; min-height: 60px; font-size: 1rem; letter-spacing: 0.06em; box-shadow: 0 14px 30px rgba(90, 18, 168, 0.32); }
.btn-estimate:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 18px 38px rgba(90, 18, 168, 0.42); background: linear-gradient(135deg, #6A1FC0 0%, var(--brand-mid) 100%); }
.btn-estimate:disabled { opacity: 0.75; cursor: wait; transform: none; }

/* CTA rows inside sections */
.section-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; align-items: center; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.section-cta-text { flex: 0 0 100%; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); color: var(--brand-deep); margin-bottom: 0.25rem; }
.prose-cta { margin-top: 1.75rem; }
@media (max-width: 560px) { .section-cta .btn, .prose-cta .btn { width: 100%; } }

/* Estimate section */
.estimate { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(ellipse at 10% 0%, rgba(185, 138, 240, 0.22) 0%, transparent 50%), linear-gradient(160deg, var(--brand-deep) 0%, #2A0758 60%, var(--brand-dark) 100%); }
.estimate-bg { position: absolute; inset: 0; background: url('images/dr-ridge-detail-1200.webp') center 40% / cover no-repeat; opacity: 0.12; mix-blend-mode: luminosity; }
.estimate .container { position: relative; z-index: 1; }
.estimate-split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .estimate-split { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } }
.estimate-lead { color: rgba(255, 255, 255, 0.88); font-size: var(--fluid-lead); margin-top: 1rem; line-height: 1.6; }
.estimate-points, .landing-points { list-style: none; display: grid; gap: 0.6rem; margin-top: 1.4rem; }
.estimate-points li, .landing-points li { position: relative; padding-left: 2rem; color: rgba(255, 255, 255, 0.92); font-weight: 500; line-height: 1.5; }
.estimate-points li::before, .landing-points li::before { content: ''; position: absolute; left: 0; top: 0.1em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: rgba(185, 138, 240, 0.22); }
.estimate-points li::after, .landing-points li::after { content: ''; position: absolute; left: 0.42rem; top: 0.42em; width: 0.5rem; height: 0.28rem; border-left: 2px solid var(--brand-accent); border-bottom: 2px solid var(--brand-accent); transform: rotate(-45deg); }
.estimate-call { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding: 0.9rem 1.4rem 0.9rem 0.9rem; border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); transition: var(--transition); }
.estimate-call:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); transform: translateY(-2px); }
.estimate-call-icon { width: 3rem; height: 3rem; border-radius: 12px; background: var(--brand-accent); color: var(--brand-deep); }
.estimate-call-label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-accent-light); }
.estimate-call-num { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; line-height: 1.15; }
.estimate-alt { margin-top: 1.1rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }
.estimate-alt a { color: var(--brand-accent-light); overflow-wrap: anywhere; }
.estimate-alt a:hover { color: var(--white); }

/* Estimate form card */
.estimate-form { position: relative; background: var(--white); color: var(--text); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: 0 30px 80px rgba(10, 2, 24, 0.45); overflow: hidden; }
.estimate-form::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--brand-mid), var(--brand-accent)); }
.estimate-form-head { margin-bottom: 1.2rem; }
.estimate-form-title { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 800; text-transform: uppercase; color: var(--brand-deep); line-height: 1.15; }
.estimate-form-sub { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.35rem; }
.estimate-form-sub a { font-weight: 600; color: var(--brand-mid); border-bottom: 1px solid var(--brand-mid); white-space: nowrap; }
.estimate-form .form-row label { color: var(--brand-deep); }
.estimate-form .form-fine { margin-top: 0.9rem; }

/* Landing hero (Roof Replacement): copy left, form right */
.hero--landing { min-height: 0; align-items: center; }
.hero-overlay--landing { background: linear-gradient(100deg, rgba(26, 5, 54, 0.95) 0%, rgba(26, 5, 54, 0.85) 50%, rgba(26, 5, 54, 0.7) 100%); }
.landing-split { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr; gap: 2rem; padding-block: 7rem 2.5rem; }
.landing-split .page-hero-layout { padding: 0; max-width: none; }
.landing-points { margin: 0 0 1.75rem; }
.hero-form-wrap { scroll-margin-top: 6rem; }
.credibility-strip--landing { padding: 1.5rem 0; }

/* Process steps */
.step-grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
@media (min-width: 640px) { .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem 1.5rem; transition: transform 0.35s var(--ease-reveal), box-shadow 0.35s, border-color 0.35s; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26, 5, 54, 0.1); border-color: rgba(90, 18, 168, 0.35); }
.step-num { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 0.8rem; background: linear-gradient(135deg, var(--brand-mid), var(--brand-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step-card h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; text-transform: uppercase; color: var(--brand-deep); line-height: 1.25; margin-bottom: 0.45rem; }
.step-card p { color: var(--text-muted); line-height: 1.6; }

.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; text-align: left; max-width: none; }
.section-head--split .section-lead { max-width: 30rem; margin: 0; }

/* Final CTA */
.final-cta { background: radial-gradient(ellipse at 50% 0%, rgba(185, 138, 240, 0.25) 0%, transparent 60%), linear-gradient(170deg, var(--brand-dark) 0%, var(--brand-deep) 100%); padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center; color: rgba(255, 255, 255, 0.88); }
.final-cta-title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); font-weight: 800; text-transform: uppercase; line-height: 1.05; color: var(--white); margin-bottom: 0.75rem; }
.final-cta p { font-size: var(--fluid-lead); margin-bottom: 1.75rem; }

/* ---------------- Desktop sizing pass ---------------- */
@media (min-width: 1025px) {
    :root {
        --container-max: 1360px; --container-pad: 2.5rem;
        --fluid-body: 1.125rem; --fluid-lead: 1.3rem;
        --fluid-h2: clamp(2.6rem, 1.6rem + 1.6vw, 3.6rem);
        --section-padding: clamp(4.5rem, 5.5vw, 6.5rem);
    }
    .section { padding-block: var(--section-padding); }
    .section-tight { padding-block: 3rem; }
    .section-head { max-width: 62rem; margin-bottom: 3rem; }
    .section-label { font-size: 0.92rem; letter-spacing: 0.18em; margin-bottom: 0.9rem; }
    .section-lead { font-size: 1.3rem; }
    .title-underline { width: 5rem; height: 4px; }

    /* Header */
    .logo-mark { height: 4rem; }
    .nav-list { gap: 1.9rem; }
    .nav-link { font-size: 0.92rem; letter-spacing: 0.07em; }
    .header-actions .btn-sm { padding: 0.85rem 1.35rem; font-size: 0.9rem; min-height: 50px; }
    .header .header-content { padding: 0.65rem 0.7rem 0.65rem 1.3rem; }
    .btn { font-size: 0.95rem; padding: 1rem 1.7rem; min-height: 52px; }
    .btn-lg { padding: 1.2rem 2.2rem; font-size: 1.02rem; min-height: 62px; }

    /* Home hero */
    .hero-kicker { font-size: 1rem; }
    .hero--home .hero-subtitle { font-size: 1.4rem; }
    .hero--home .hero-buttons .btn { min-height: 62px; padding: 1.2rem 2.2rem; font-size: 1.02rem; }
    .hero-rating { font-size: 1rem; padding: 0.7rem 1.2rem 0.7rem 0.85rem; }
    .hero-trust li { font-size: 1rem; }

    /* Credibility */
    .credibility-value { font-size: 1.35rem; }
    .credibility-label { font-size: 0.9rem; }
    .credibility-stat { padding: 1.8rem 1rem; }
    .credibility-strip--landing .credibility-list { margin-top: 0; }
    .credibility-strip--landing { padding: 2.25rem 0; }

    /* About */
    .about-split { gap: 5rem; }
    .about-lead { font-size: 1.35rem; }
    .about-quote p { font-size: 1.4rem; }
    .about-tags li { font-size: 0.88rem; padding: 0.55rem 0.95rem; }

    /* Services */
    .services-grid { gap: 1.5rem; }
    .service-card { padding: 2.4rem 2.2rem 2.1rem; }
    .service-card h3 { font-size: 1.32rem; }
    .service-card p { font-size: 1.08rem; }
    .card-more { font-size: 0.88rem; }

    /* Why / areas */
    .why-grid { gap: 1.5rem; }
    .why-card { padding: 2rem 1.8rem; }
    .why-card h3 { font-size: 1.22rem; }
    .why-card p { font-size: 1.06rem; }
    .areas-title { font-size: 1rem; }
    .area-grid { max-width: none; gap: 1rem; }
    .area-card { padding: 1.3rem 1.3rem; }
    .area-card-name { font-size: 1.25rem; }
    .area-card-sub { font-size: 0.92rem; }
    .area-chip { font-size: 0.95rem; padding: 0.7rem 1.3rem; min-height: 50px; }

    /* Showcase + projects */
    .showcase-grid { grid-template-rows: repeat(2, clamp(17rem, 22vw, 26rem)); gap: 1.25rem; }
    .work-figure figcaption { font-size: 1rem; padding: 3.5rem 1.4rem 1.2rem; }
    .work-cat { font-size: 0.75rem; }
    .work-grid--full { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
    .work-grid--full .work-figure img { aspect-ratio: 4 / 5; }
    .filter-btn { font-size: 0.95rem; padding: 0.75rem 1.4rem; min-height: 52px; }
    .filter-bar { margin-bottom: 0.75rem; }

    /* Reviews */
    .rv-card { padding: 2.1rem 2rem 1.8rem; }
    .rv-text { font-size: 1.08rem; }
    .g-summary { padding: 1.1rem 1.5rem; }
    .g-summary-score { font-size: 2rem; }

    /* FAQ */
    .faq-list { max-width: 64rem; }
    .faq-item summary { font-size: 1.2rem; padding: 1.3rem 0; }
    .faq-item p { font-size: 1.1rem; }

    /* CTA band */
    .cta-band-text { font-size: 1.3rem; }

    /* Estimate */
    .estimate-points li, .landing-points li { font-size: 1.12rem; }
    .form-row label { font-size: 0.88rem; }
    .form-row input, .form-row select, .form-row textarea { min-height: 56px; font-size: 1.05rem; padding: 0.85rem 1rem; }
    .form-row { margin-bottom: 1rem; }
    .form-grid { gap: 0 1.1rem; }
    .btn-estimate { min-height: 64px; font-size: 1.08rem; }

    /* Inner page heroes: no tall empty band */
    .hero--page { min-height: 0; align-items: center; }
    .page-hero-layout { padding: 10rem 0 5.5rem; max-width: 52rem; }
    .page-hero-title { font-size: clamp(3rem, 1.6rem + 2.6vw, 4.6rem); }
    .page-hero-lead { font-size: 1.3rem; max-width: 42rem; }
    .breadcrumbs ol { font-size: 0.88rem; }

    /* Landing hero */
    .landing-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4.5rem; align-items: center; padding-block: 9.5rem 4.5rem; }
    .hero--landing .page-hero-title { font-size: clamp(2.9rem, 1.5rem + 2.5vw, 4.4rem); }
    .hero--landing .estimate-form { padding: 2rem 2rem 1.6rem; }

    /* Content blocks */
    .prose > p:not(.section-label) { font-size: 1.12rem; }
    .media-split { gap: 5rem; }
    .step-card { padding: 2rem 1.9rem; }
    .step-card h3 { font-size: 1.25rem; }
    .step-card p { font-size: 1.06rem; }

    /* Footer */
    .footer-col a { font-size: 1.02rem; }
    .footer-heading { font-size: 0.95rem; }
    .footer-tagline { font-size: 1.3rem; }
    .footer-copy { font-size: 0.92rem; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
    .nav-list { gap: 1.1rem; }
    .nav-link { font-size: 0.8rem; letter-spacing: 0.04em; }
}
@media (min-width: 1680px) {
    :root { --container-max: 1400px; }
    html { font-size: 17px; }
}
@media (min-width: 1025px) {
    .landing-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr); gap: 4rem; padding-block: 8.5rem 4rem; }
    .hero--landing .page-hero-title { font-size: clamp(2.6rem, 1.3rem + 2.1vw, 3.7rem); line-height: 1.02; }
    .hero--landing .page-hero-lead { font-size: 1.2rem; margin-bottom: 1.25rem; }
    .hero--landing .landing-points { margin-bottom: 1.4rem; }
    .hero--landing .landing-scroll-cta { display: none; }
    .hero-overlay--landing { background: linear-gradient(100deg, rgba(26, 5, 54, 0.94) 0%, rgba(26, 5, 54, 0.8) 45%, rgba(26, 5, 54, 0.45) 100%); }
}
.section-head.section-head--split { max-width: none; margin-left: 0; margin-right: 0; }
.section-head--split .section-lead { max-width: 34rem; }
/* Loading placeholder: soft lavender shimmer instead of a dark empty box. */
.work-figure, .media-figure picture, .about-photo picture { background: linear-gradient(110deg, #EDE6F7 8%, #F7F3FC 18%, #EDE6F7 33%); background-size: 200% 100%; animation: ph-shimmer 1.4s linear infinite; }
.work-figure:has(img[data-loaded]), .media-figure picture:has(img[data-loaded]), .about-photo picture:has(img[data-loaded]) { animation: none; }
.media-figure picture, .about-photo picture { display: block; border-radius: 12px; }
@keyframes ph-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .work-figure, .media-figure picture, .about-photo picture { animation: none; } }
@media (min-width: 1025px) {
    .nav-link, .header-actions .btn { white-space: nowrap; }
    .nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
}
@media (min-width: 1680px) { .nav-list { gap: 1.6rem; } .nav-link { font-size: 0.88rem; } }

/* ==========================================================================
   Launch pass (2026-10-17): trust badges, review cards, form qualification
   fields, minimal ad-landing header.
   ========================================================================== */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-row.has-error input, .form-row.has-error select { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }

/* Trust badges */
.trust-badges { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
@media (min-width: 900px) { .trust-badges--glass, .trust-badges--light { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-badge { display: flex; align-items: center; gap: 0.75rem; height: 100%; padding: 0.75rem 0.9rem; border-radius: 14px; text-decoration: none; transition: transform 0.3s var(--ease-reveal), border-color 0.3s, background 0.3s; }
a.trust-badge:hover { transform: translateY(-2px); }
.tb-mark { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; }
.tb-mark svg { width: 1.45rem; height: 1.45rem; }
.tb-bbb { background: #005A78; color: #fff; font-size: 0.82rem; letter-spacing: 0.02em; }
.tb-shield { background: var(--brand-accent); color: var(--brand-deep); }
.tb-google { background: #fff; }
.tb-google .g-logo { width: 1.4rem; height: 1.4rem; }
.tb-free { background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark)); color: #fff; font-size: 0.95rem; }
.tb-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tb-text strong { font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.01em; }
.tb-text span { font-size: 0.8rem; }
.trust-badges--glass .trust-badge { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.trust-badges--glass .tb-text span { color: rgba(255, 255, 255, 0.8); }
.trust-badges--glass a.trust-badge:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.trust-badges--dark .trust-badge { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; }
.trust-badges--dark .tb-text span { color: rgba(255, 255, 255, 0.75); }
.trust-badges--dark a.trust-badge:hover { color: #fff; border-color: rgba(185, 138, 240, 0.5); }
.trust-badges--light .trust-badge { background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 28px rgba(26, 5, 54, 0.07); color: var(--brand-deep); }
.trust-badges--light .tb-text span { color: var(--text-muted); }
.trust-badges--light .tb-google { box-shadow: inset 0 0 0 1px var(--border); }
.estimate-copy .trust-badges { margin-top: 1.5rem; }
.hero-badges { position: relative; z-index: 3; padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.hero--home { flex-direction: column; justify-content: flex-end; }
.hero--home > .container:not(.hero-badges) { flex: 1; display: flex; align-items: center; }
.landing-badges { margin-top: 1.25rem; }
.landing-badges .trust-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing-trust { background: var(--off-white); padding: 1.5rem 0; border-bottom: 1px solid var(--border); }

/* Review cards */
.rv-person { display: flex; align-items: center; gap: 0.75rem; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.rv-person .rv-name { border-top: 0; padding-top: 0; }
.rv-avatar { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand-mid), var(--brand-accent)); color: #fff; font-family: var(--font-display); font-weight: 800; }
.rv-meta { margin-top: 0.1rem; }
.reviews-g .reviews-head .section-title { max-width: 46rem; }

/* Minimal ad-landing header */
.header--minimal .header-actions { margin-left: auto; }
.header-phone { gap: 0.45rem; }
.header-phone .icon-mark svg { width: 1.05rem; height: 1.05rem; }
@media (max-width: 1024px) { .header--minimal .header-actions .btn-primary { display: inline-flex; } }
@media (max-width: 560px) {
    .header--minimal .header-phone > span:not(.icon-mark) { display: none; }
    .header--minimal .header-phone { min-width: 44px; padding-inline: 0.75rem; }
    .header--minimal .header-actions .btn-primary { padding-inline: 0.8rem; font-size: 0.78rem; }
}

@media (min-width: 1025px) {
    .hero--home { min-height: 100vh; min-height: 100svh; }
    .hero--home .hero-layout { padding: 8.5rem 0 2.5rem; }
    .hero-badges .trust-badges { max-width: none; }
    .trust-badge { padding: 0.95rem 1.1rem; }
    .tb-mark { width: 3rem; height: 3rem; }
    .tb-text strong { font-size: 1.05rem; }
    .tb-text span { font-size: 0.86rem; }
    .reviews-g { padding-top: 4.5rem; }
    .rv-card { padding: 2rem 1.9rem 1.6rem; }
}
@media (min-width: 1025px) {
    .hero--landing .estimate-form .form-row { margin-bottom: 0.7rem; }
    .hero--landing .estimate-form .form-row input, .hero--landing .estimate-form .form-row select { min-height: 50px; padding-block: 0.65rem; }
    .hero--landing .estimate-form textarea { min-height: 3.6rem; }
    .hero--landing .estimate-form-head { margin-bottom: 0.9rem; }
    .hero--landing .estimate-form-title { font-size: 1.45rem; }
    .landing-split { padding-block: 7.5rem 3.5rem; }
}

/* ==========================================================================
   Mobile QA pass (2026-10-17) — fixes found by rendering at 320/375/390/430/768.
   ========================================================================== */
/* Grid children may shrink below their content width (was pushing the
   estimate copy + form past the viewport at 320–375px). */
.estimate-split > *, .landing-split > *, .contact-split > *, .content-split > *, .media-split > *, .about-split > * { min-width: 0; }
.estimate-alt, .estimate-form-sub { overflow-wrap: anywhere; }
.form-row input, .form-row select, .form-row textarea { max-width: 100%; }

@media (max-width: 768px) {
    /* Hero */
    .hero-kicker { font-size: 0.72rem; letter-spacing: 0.08em; line-height: 1.6; }
    .hero--home .hero-layout { padding: 6rem 0 1.25rem; }
    .hero--home .hero-subtitle { font-size: 0.98rem; margin-bottom: 1.25rem; }
    .hero-badges { padding-bottom: 1.5rem; }

    /* Trust badges: icon above text, centred, so long labels never overflow */
    .trust-badges { gap: 0.5rem; }
    .trust-badge { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 0.45rem; padding: 0.75rem 0.5rem; }
    .tb-mark { width: 2.3rem; height: 2.3rem; border-radius: 9px; }
    .tb-mark svg, .tb-google .g-logo { width: 1.2rem; height: 1.2rem; }
    .tb-bbb { font-size: 0.72rem; }
    .tb-text { align-items: center; }
    .tb-text strong { font-size: 0.8rem; line-height: 1.2; }
    .tb-text span { font-size: 0.72rem; line-height: 1.3; }

    /* Reviews heading must wrap */
    .reviews-head .section-title .nw { white-space: normal; }
    .reviews-head { margin-bottom: 1.25rem; }
    .rv-card { flex-basis: min(86%, 22rem); padding: 1.3rem 1.2rem 1.1rem; }
    .rv-text { font-size: 0.95rem; }
    .rv-text.is-long { -webkit-line-clamp: 9; }
    .rv-controls { justify-content: center; }

    /* About */
    .about-actions { margin-top: 1.25rem; }
    .about-tags { margin-top: 1rem; }

    /* Showcase: feature photo full width, then a balanced 2×2 */
    .showcase-feature { grid-column: 1 / -1; }
    .showcase-feature img { aspect-ratio: 4 / 3 !important; }

    /* Estimate */
    .estimate-call { width: 100%; }
    .estimate-form { padding: 1.25rem 1.05rem 1.1rem; border-radius: 16px; }
    .estimate-form-title { font-size: 1.2rem; }

    /* Footer: two columns for services + areas */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; text-align: left; }
    .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
    .footer-col:last-child { text-align: center; }
    .footer-logo-badge { width: 8.5rem; }
    .footer-col a { min-height: 40px; font-size: 0.9rem; }
    .footer-copy { font-size: 0.8rem; padding-inline: var(--container-pad); }

    /* Sticky bar never hides the last content */
    body { padding-bottom: 0; }
    .footer { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
    .hero-title { font-size: 1.75rem; }
    .section-title { font-size: 1.55rem; }
    .btn-lg { padding-inline: 1rem; font-size: 0.88rem; }
}
/* Ad landing page on phones: solid header, offer + trust visible on the first screen. */
@media (max-width: 1024px) {
    .header--minimal, .header--minimal.scrolled { background: rgba(26, 5, 54, 0.94) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }
    .header--minimal .logo-img { filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }
    .header--minimal .btn-secondary { background: rgba(255, 255, 255, 0.1) !important; color: #fff !important; border-color: rgba(255, 255, 255, 0.5) !important; }
}
@media (max-width: 600px) {
    .hero--landing .landing-split { padding-block: 5.25rem 2rem; gap: 1.5rem; }
    .hero--landing .breadcrumbs { display: none; }
    .hero--landing .hero-kicker { margin-bottom: 0.5rem; }
    .hero--landing .page-hero-title { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2rem); margin-bottom: 0.6rem; }
    .hero--landing .page-hero-lead { font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; }
    .hero--landing .landing-points { display: none; }
    .hero--landing .hero-buttons { gap: 0.55rem; }
    .hero--landing .hero-buttons .btn { width: 100%; min-height: 50px; }
    .hero--landing .landing-badges { margin-top: 1rem; }
    .hero-form-wrap { scroll-margin-top: 4.5rem; }
}
@media (max-width: 600px) {
    .hero-overlay--landing { background: linear-gradient(180deg, rgba(26, 5, 54, 0.62) 0%, rgba(26, 5, 54, 0.78) 45%, rgba(26, 5, 54, 0.92) 100%); }
    .hero--landing .hero-img { object-position: 50% 20% !important; }
}
@media (max-width: 360px) {
    .header--minimal .logo-mark { height: 2.5rem; }
    .header--minimal .header-actions { gap: 0.35rem; }
    .header--minimal .header-actions .btn-primary { font-size: 0.7rem; padding-inline: 0.6rem; letter-spacing: 0.02em; }
    .header--minimal .header-phone { padding-inline: 0.55rem; }
}
@media (max-width: 480px) { .section-title .nw { white-space: normal; } }
@media (max-width: 768px) {
    .filter-bar { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--container-pad)); padding: 0.25rem var(--container-pad) 0.5rem; scroll-snap-type: x proximity; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn { flex: 0 0 auto; scroll-snap-align: start; }
    .filter-status { margin-bottom: 0.5rem; }
}
