/* =====================================================================
   Shared styles for hub + service subpages (builds on the v2 system).
   ===================================================================== */
/* Both imported here at the same level (not nested) so the browser fetches
   them in parallel instead of discovering one only after parsing the other. */
@import url('styles.css');
@import url('styles-v2.css');

/* Breadcrumb */
.breadcrumb { padding-top: 96px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 18px 0 0; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.breadcrumb li { display: flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: var(--muted-light); }
.breadcrumb a:hover { color: var(--accent-600); }
.breadcrumb [aria-current] { color: var(--ink); }

/* Service / hub hero */
.service-hero { padding: 30px 0 24px; }
.service-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.service-hero-grid .hero-visual { display: flex; justify-content: center; }
.service-hero h1 { margin-bottom: 18px; }

/* "What's included" checklist on light */
.incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.incl-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); }
.incl-list .mk { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: #1a1205; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: block; padding: 20px 22px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform 0.18s var(--ease), border-color 0.18s var(--ease); }
.related-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.related-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.related-card p { margin: 0 0 10px; font-size: 0.9rem; color: var(--ink-2); }
.related-card .go { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-600); }

@media (max-width: 960px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-hero-grid .hero-visual { order: 2; }
}
@media (max-width: 760px) {
  .incl-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Reel showcase carousel (manual slide + scroll-snap, no auto-animation)
   ===================================================================== */
.service-hero-img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }

/* Carousel reels: real video + white translucent play button (matches homepage) */
.reel-phone-frame .reel-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-phone-frame.reel-player::after { content: none; }
.reel-phone-frame .reel-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.reel-phone .reel-play .play-btn { width: 50px; height: 50px; background: rgba(20,20,24,0.42); box-shadow: none; }
.reel-phone .reel-play .play-btn::before { border-left-color: rgba(255,255,255,0.92); }
.reel-phone-frame:hover .reel-play .play-btn { background: rgba(245,162,0,0.85); }
.reel-phone-frame:hover .reel-play .play-btn::before { border-left-color: #1a1205; }

.reel-carousel { position: relative; margin-top: 8px; }
.carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; padding: 6px 0; }
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; margin: 0; padding: 0 2px; list-style: none; }
.reel-phone { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.reel-phone-frame {
  position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 26px;
  background: linear-gradient(160deg, #2c333f 0%, #3a2f22 100%);
  border: 7px solid #10141b; box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  display: grid; place-items: center; cursor: pointer; padding: 0; overflow: hidden;
  transition: transform 0.15s var(--ease);
}
.reel-phone-frame:hover { transform: translateY(-4px); }
.reel-phone-frame::after { content: attr(data-label); position: absolute; left: 12px; right: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }
.reel-phone .play-btn { width: 48px; height: 48px; box-shadow: 0 0 0 7px rgba(245,162,0,0.2); }
.reel-phone .play-btn::before { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
.reel-phone .cap { display: block; margin-top: 12px; font-size: 0.92rem; color: var(--ink-2); text-align: center; }
.section--dark .reel-phone .cap { color: var(--on-dark-muted); }

.carousel-arrow { position: absolute; top: 38%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--bg-white); border: 1px solid var(--border-strong); color: var(--ink); font-size: 22px; line-height: 1; display: grid; place-items: center; box-shadow: var(--shadow-float); z-index: 2; }
.carousel-arrow:hover { border-color: var(--ink); }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }

@media (max-width: 900px) { .reel-phone { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .reel-phone { flex-basis: 80%; } .carousel-arrow { display: none; } }

/* =====================================================================
   Hero flow infographic (reel -> reach -> enquiries)
   ===================================================================== */
.flow-graphic { width: 100%; max-width: 380px; margin: 0 auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 26px 24px; }
.flow-node { display: flex; gap: 14px; align-items: center; }
.flow-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-600); display: grid; place-items: center; }
.flow-ico svg { width: 22px; height: 22px; }
.flow-text strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); line-height: 1.2; }
.flow-text small { color: var(--muted); font-size: 0.85rem; }
.flow-connect { width: 2px; height: 26px; margin: 8px 0 8px 22px; background: linear-gradient(var(--accent), rgba(245, 162, 0, 0.25)); }
.flow-node--accent .flow-ico { background: var(--accent); color: #1a1205; }
.flow-chip { margin-left: auto; align-self: flex-start; }

/* Single-column tick list (useful info beside video) */
.tick-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); }
.tick-list .mk { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: #1a1205; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }

/* Results screenshots gallery */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); margin: 0; height: 100%; display: flex; flex-direction: column; }
.shot-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef0f3, #e3e6ea); display: grid; place-items: center; border-bottom: 1px solid var(--border); overflow: hidden; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% top; display: block; }
.shot-cap strong { color: var(--ink); font-weight: 700; }
.shot-cap { padding: 14px 16px; font-size: 0.9rem; color: var(--ink-2); }

/* Clickable screenshot (opens the lightbox) */
.shot-open { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; position: relative; font: inherit; color: inherit; text-align: left; }
.shot-open .shot-img { transition: transform 0.25s ease; }
.shot-open:hover .shot-img img { transform: scale(1.03); }
.shot-zoom { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 8px; background: rgba(20,20,24,0.55); color: #fff; display: grid; place-items: center; font-size: 15px; opacity: 0; transition: opacity 0.2s ease; }
.shot-open:hover .shot-zoom, .shot-open:focus-visible .shot-zoom { opacity: 1; }

/* Carousel variant of the results gallery (5 cards, 3 visible, slide left-right) */
.proof-carousel .carousel-track { align-items: stretch; }
.proof-card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.proof-carousel .carousel-arrow { top: 32%; }
/* Local ranking maps: keep the left rank/visibility panel in view (it is the proof). */
.proof-carousel--seo .shot-img img { object-position: left center; }
/* Facebook Ads Manager tables: crop to the top rows (the results), trim the empty white below. */
.proof-carousel--face .shot-img { aspect-ratio: 22 / 10; }
.proof-carousel--face .shot-img img { object-position: left top; }
/* Highlighted result card (e.g. us vs the previous agency) */
.proof-card--feature .shot { border: 2px solid var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-card); }
.shot-badge { display: inline-block; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-600); background: var(--accent-soft); border: 1px solid rgba(245,162,0,0.35); border-radius: 999px; padding: 3px 10px; margin-bottom: 9px; }

/* Results lightbox: enlarged dashboard (~3/4 of the screen) with result text below */
.proof-lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 4vh 4vw; background: rgba(15,16,20,0.82); backdrop-filter: blur(2px); }
.proof-lightbox.is-open { display: grid; }
.plb-figure { margin: 0; width: 75vw; max-width: 1100px; background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,0.5); max-height: 92vh; display: flex; flex-direction: column; }
.plb-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; background: #f3f4f6; }
.plb-cap { padding: 18px 22px; font-size: 1.02rem; color: var(--ink-2); line-height: 1.5; border-top: 1px solid var(--border); }
.plb-cap strong { display: block; font-size: 1.18rem; color: var(--ink); font-weight: 700; margin-bottom: 4px; }
.plb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.plb-close:hover { background: rgba(255,255,255,0.28); }

@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; } .proof-card { flex-basis: calc((100% - 20px) / 2); } .plb-figure { width: 92vw; } }
@media (max-width: 600px) { .proof-grid { grid-template-columns: 1fr; } .proof-card { flex-basis: 82%; } }

/* Stats band (animated count-up numbers on the Results page) */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: var(--ink); border-radius: var(--radius-lg); padding: 46px 34px; box-shadow: var(--shadow-float); }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.3rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 12px; font-size: 0.92rem; line-height: 1.4; color: rgba(255,255,255,0.72); }
@media (max-width: 760px) { .stats-band { grid-template-columns: 1fr 1fr; gap: 30px 16px; padding: 34px 22px; } }
@media (max-width: 400px) { .stats-band { grid-template-columns: 1fr; } }

/* Website examples gallery (2x2 showcase of designs by industry) */
.web-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.web-example { margin: 0; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.web-example:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
.web-shot { background: #f4f5f7; border-bottom: 1px solid var(--border); }
.web-shot img { display: block; width: 100%; height: auto; }
.web-example figcaption { padding: 18px 22px 22px; font-size: 0.96rem; color: var(--ink-2); line-height: 1.5; }
.web-example figcaption strong { display: block; font-size: 1.1rem; color: var(--ink); font-weight: 700; margin-bottom: 5px; }
@media (max-width: 760px) { .web-gallery { grid-template-columns: 1fr; gap: 20px; } }

/* Coming soon overlay (shown on load for products not live yet) */
.coming-soon { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(15,16,20,0.86); backdrop-filter: blur(3px); }
.coming-soon:not(.is-open) { display: none; }
.cs-card { position: relative; width: 100%; max-width: 520px; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(0,0,0,0.5); padding: 44px 40px 40px; text-align: center; }
.cs-badge { display: inline-block; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); background: rgba(245,162,0,0.12); border: 1px solid rgba(245,162,0,0.35); border-radius: 999px; padding: 6px 14px; margin: 0 0 16px; }
.cs-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.1; color: var(--ink); margin: 0 0 12px; }
.cs-text { font-size: 1.02rem; color: var(--ink-2); line-height: 1.55; margin: 0 auto 26px; max-width: 40ch; }
.cs-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cs-actions .btn { width: 100%; }
.cs-link { border: 0; background: none; color: var(--muted); font-size: 0.92rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.cs-link:hover { color: var(--ink); }
.cs-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.cs-close:hover { background: var(--bg-subtle, #f1f2f4); color: var(--ink); }

/* Rank-list infographic (Local SEO hero) */
.rank-graphic { width: 100%; max-width: 380px; margin: 0 auto; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 24px; }
.rank-head { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 10px; }
.rank-row .pos { font-family: var(--font-display); font-weight: 800; color: var(--muted-light); width: 20px; }
.rank-row .bar { flex: 1; height: 10px; border-radius: 5px; background: #e6e8ec; }
.rank-row--you { border-color: var(--accent); background: var(--accent-soft); }
.rank-row--you .pos { color: var(--accent-600); }
.rank-row--you .bar { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.rank-row .tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: #1a1205; background: var(--accent); padding: 2px 8px; border-radius: 5px; }

/* =====================================================================
   Vertical explainer video (all site video is 9:16)
   ===================================================================== */
.video-vertical { width: 100%; max-width: 258px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 26px; background: linear-gradient(160deg, #2c333f 0%, #3a2f22 100%); border: 7px solid #10141b; box-shadow: 0 24px 50px rgba(16, 24, 40, 0.28); display: grid; place-items: center; position: relative; overflow: hidden; }
.video-vertical .cap { position: absolute; left: 12px; right: 12px; bottom: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); text-align: center; }

/* =====================================================================
   Client logos band + Google Business Profile card
   ===================================================================== */
.logo-band { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; margin-top: 4px; }
.logo-band--center { justify-content: center; }

.gbp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.gbp-grid > * { min-width: 0; }
.gbp-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 30px; text-align: center; }
.gbp-label { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.gbp-score { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1; }
.gbp-card .gbp-stars { display: block; color: var(--accent); font-size: 1.35rem; letter-spacing: 3px; margin: 10px 0 6px; }
.gbp-count { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) { .gbp-grid { grid-template-columns: 1fr; gap: 28px; } }

/* =====================================================================
   Team grid (round photo + person description)
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.team-card { display: flex; gap: 20px; align-items: center; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-card); }
.team-card--lead { grid-column: 1 / -1; border-color: rgba(245, 162, 0, 0.45); }
.team-photo { flex: none; width: 92px; height: 92px; border-radius: 50%; background: var(--accent-soft); border: 2px dashed rgba(245, 162, 0, 0.5); display: grid; place-items: center; overflow: hidden; }
.team-card--lead .team-photo { width: 108px; height: 108px; }
.team-photo span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; color: var(--muted); text-align: center; }
.team-info .role { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-600); display: block; margin-bottom: 5px; }
.team-info h3 { font-size: 1.15rem; margin-bottom: 6px; }
.team-info p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Results hub: channel filter + result cards
   ===================================================================== */
.result-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.result-filter button { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.85rem; font-weight: 600; padding: 9px 18px; border-radius: 50px; border: 1px solid var(--border-strong); background: var(--bg-white); color: var(--ink-2); cursor: pointer; transition: 0.15s var(--ease); }
.result-filter button:hover { border-color: var(--ink); }
.result-filter button.is-active { background: var(--accent); border-color: var(--accent); color: #1a1205; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform 0.18s var(--ease); }
.result-card:hover { transform: translateY(-4px); }
.result-card.is-hidden { display: none; }
.result-shot { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef0f3, #e3e6ea); display: grid; place-items: center; border-bottom: 1px solid var(--border); position: relative; }
.result-shot > span:not(.result-tag) { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted); text-align: center; padding: 0 14px; }
.result-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.result-card[data-channel="google-ads"] .result-shot img { object-position: 62% top; }
.result-card[data-channel="local-seo"] .result-shot img { object-position: left center; }
.result-card[data-channel="meta"] .result-shot img { object-position: left top; }
.result-tag { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--bg-dark); padding: 3px 9px; border-radius: 5px; }
.result-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.result-metric { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--accent-600); line-height: 1; }
.result-metric-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.result-meta { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); margin: 10px 0 0; }
.result-body > p:last-child { margin: 6px 0 0; color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 900px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .results-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Contact page: methods list + form extras
   ===================================================================== */
.contact-methods { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 26px; }
.cm-label { display: block; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-600); margin-bottom: 4px; }
.cm-value { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
a.cm-value:hover { color: var(--accent-600); }

.field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink); background: #fbfbfc; resize: vertical; min-height: 120px; }
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-success { display: none; margin-top: 14px; padding: 16px 18px; background: var(--accent-soft); border: 1px solid rgba(245, 162, 0, 0.4); border-radius: var(--radius-sm); color: var(--ink); font-size: 0.95rem; }
.form-success.show { display: block; }

/* =====================================================================
   Legal documents (privacy, terms, cookies)
   ===================================================================== */
/* Preview renderer chokes on smooth scroll - force auto (overrides base) */
html { scroll-behavior: auto !important; }

/* Reviews widget (rating + rotating quotes) */
.reviews-widget { max-width: 460px; }
.reviews-summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reviews-stars { color: var(--accent); letter-spacing: 3px; font-size: 1.2rem; line-height: 1; }
.reviews-score { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); line-height: 1; }
.reviews-count { color: var(--muted); font-size: 0.9rem; }
.reviews-slides { position: relative; margin-top: 12px; min-height: 110px; }
.review-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease; margin: 0; }
.review-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.review-text { font-style: italic; color: var(--ink-2); margin: 0; line-height: 1.5; }
.review-author { margin-top: 8px; font-weight: 600; color: var(--ink); font-size: 0.9rem; font-style: normal; }
/* reviews widget on dark sections */
.section--dark .reviews-widget { margin: 0 auto; }
.section--dark .reviews-score { color: #fff; }
.section--dark .reviews-count { color: rgba(255,255,255,0.6); }
.section--dark .review-text { color: rgba(255,255,255,0.88); }
.section--dark .review-author { color: #fff; }

/* filled logo band (static rows on service pages) */
.logo-band .logo-slot { width: auto; height: auto; border: none; padding: 0; background: transparent; }
.logo-band .logo-slot img { height: 46px; width: auto; max-width: 140px; object-fit: contain; display: block; mix-blend-mode: multiply; }

/* Client logo marquee (same design as home page). --right variant: no fade
   on the left (logos start flush), gradient fade on the right only. */
.logo-marquee {
  overflow: hidden; margin-top: 28px; position: relative;
  background: #eeeef0; border-radius: 16px; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, #000, #000 94%, transparent);
  mask-image: linear-gradient(90deg, #000, #000 94%, transparent);
}
.logo-marquee--right {
  /* Break out of the left grid column and extend right so the fade lands
     around the end of the "Google reviews" line (about 3.5 logos visible). */
  width: calc(200% - 96px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 86%, transparent 100%);
}
@media (max-width: 760px) { .logo-marquee--right { width: auto; } }
.logo-marquee .logo-track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 44s linear infinite; animation-play-state: paused; }
.logo-marquee .logo-slot { width: auto; height: auto; border: none; padding: 0; background: transparent; }
.logo-marquee .logo-slot img { height: 180px; width: auto; max-width: 300px; object-fit: contain; display: block; }
.logo-marquee.in-view .logo-track { animation-play-state: running; }
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track,
html.is-scrolling .logo-marquee .logo-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Blog thumbnail image (index cards) */
.blog-thumb { overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Blog article (post) */
.post { max-width: 720px; margin: 0 auto; }
.post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: var(--radius); margin: 0 0 22px; }
.post .post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.post .lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); margin: 8px 0 8px; }
.post h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.post h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.post p { margin: 0 0 16px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.72; }
.post ul { margin: 0 0 18px; padding-left: 22px; color: var(--ink-2); }
.post li { margin-bottom: 8px; line-height: 1.6; }
.post strong { color: var(--ink); }
.post a { color: var(--accent-600); text-decoration: underline; }
.post-cta { margin-top: 44px; padding: 30px 28px; background: var(--accent-soft); border: 1px solid rgba(245, 162, 0, 0.35); border-radius: var(--radius); text-align: center; }
.post-cta .post-cta-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-600); margin: 0 0 6px; }
.post-cta p { color: var(--ink-2); }
.post-cta .btn { margin-top: 6px; }

.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc .updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 24px; }
.legal-doc h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal-doc h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal-doc p { margin: 0 0 14px; color: var(--ink-2); }
.legal-doc ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink-2); }
.legal-doc li { margin-bottom: 6px; }
.legal-doc a { color: var(--accent-600); text-decoration: underline; }
.legal-note { background: var(--accent-soft); border: 1px dashed rgba(245, 162, 0, 0.5); border-radius: var(--radius); padding: 16px 18px; margin: 0 0 28px; font-size: 0.9rem; color: var(--ink-2); }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 0.92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; color: var(--ink-2); }
.legal-table th { background: #f0f1f4; font-family: 'Space Grotesk', system-ui, sans-serif; color: var(--ink); }
