/*
Theme Name: Searchly Web
Theme URI: https://searchlyweb.co.za
Author: Searchly Web
Author URI: https://searchlyweb.co.za
Description: Bespoke lightweight block theme for Searchly Web, the web design and build arm of Searchly. Fast, conversion-built, fully editable. Black, white, and Searchly Blue, Roboto.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: searchly-web
*/

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
:where(a) { text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--wp--preset--color--blue); outline-offset: 2px; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Eyebrow / label */
.eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--wp--preset--color--blue); margin: 0 0 0.75rem;
}
.text-muted { color: var(--wp--preset--color--muted); }
.lead { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--ink); line-height: 1.55; }

/* ============================================================
   Buttons (extends core .wp-element-button)
   ============================================================ */
.is-style-ghost > .wp-block-button__link,
.wp-block-button.is-style-ghost .wp-block-button__link {
  background: transparent; color: var(--wp--preset--color--black);
  box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line);
}
.is-style-ghost > .wp-block-button__link:hover {
  box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--black);
  background: transparent; color: var(--wp--preset--color--black);
}
.wp-element-button, .wp-block-button__link { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.wp-element-button:hover { transform: translateY(-1px); }

/* On dark sections */
.section-dark { background: var(--wp--preset--color--black); color: #fff; }
.section-dark :where(h1,h2,h3,h4) { color: #fff; }
.section-dark .text-muted { color: #A6ABB4; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, #fff 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--wp--preset--color--line);
}
.brand-lockup { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.brand-lockup img { height: 26px; width: auto; }
.brand-lockup .brand-web {
  font-weight: 700; font-size: 1.05rem; color: var(--wp--preset--color--black); letter-spacing: -0.02em;
}
.brand-lockup .brand-web::before { content: ""; }

.nav-toggle { display: none; }

@media (max-width: 781px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-left: auto; border: 0; background: transparent; cursor: pointer; color: var(--wp--preset--color--black); }
  .nav-toggle svg { width: 26px; height: 26px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    box-sizing: border-box; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--wp--preset--color--line);
    box-shadow: 0 16px 30px rgba(14,14,16,.10); padding: 0.5rem 1.25rem 1.25rem; z-index: 60;
  }
  .main-nav.is-open { display: flex; }
}

/* ============================================================
   Sticky mobile contact bar (call + WhatsApp)
   ============================================================ */
.contact-bar { display: none; }
@media (max-width: 781px) {
  .contact-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 60; box-shadow: 0 -6px 24px rgba(0,0,0,.10);
  }
  .contact-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 0.95rem; font-weight: 600; text-decoration: none; font-size: 0.95rem; }
  .contact-bar .cb-call { background: var(--wp--preset--color--black); color: #fff; }
  .contact-bar .cb-wa { background: var(--wp--preset--color--blue); color: #fff; }
  .contact-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: 56px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero-speed-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem;
  border-radius: 999px; background: var(--wp--preset--color--grey);
  border: 1px solid var(--wp--preset--color--line);
  font-size: .8125rem; font-weight: 600; color: var(--wp--preset--color--black);
}
.hero-speed-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--blue);
  box-shadow: 0 0 0 0 rgba(46,101,251,.55); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,101,251,.5); }
  70% { box-shadow: 0 0 0 9px rgba(46,101,251,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,101,251,0); }
}

/* ============================================================
   Work / portfolio cards + signature scroll reveal
   ============================================================ */
.work-card {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: var(--wp--preset--color--grey); border: 1px solid var(--wp--preset--color--line);
  text-decoration: none; color: inherit;
}
.work-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--wp--preset--color--line); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { padding: 1.1rem 1.25rem 1.35rem; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .55rem; }
.work-card__tag { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--wp--preset--color--muted); background: #fff; border: 1px solid var(--wp--preset--color--line);
  padding: .2rem .55rem; border-radius: 999px; }
.work-card__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 .25rem; color: var(--wp--preset--color--black); }
.work-card__desc { font-size: .95rem; color: var(--wp--preset--color--muted); margin: 0; }

/* Signature moment: reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-speed-badge .dot { animation: none; }
  .work-card:hover .work-card__media img { transform: none; }
}

/* ============================================================
   Service / feature cards
   ============================================================ */
.feature-card { padding: 1.5rem; border-radius: 14px; border: 1px solid var(--wp--preset--color--line); background: #fff; height: 100%; }
.feature-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.feature-card p { color: var(--wp--preset--color--muted); margin: 0; font-size: .97rem; }
.feature-card .ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(46,101,251,.10); color: var(--wp--preset--color--blue); margin-bottom: .9rem; }

/* ============================================================
   Forms (brief / contact)
   ============================================================ */
.brief-form { display: grid; gap: 1rem; }
.brief-form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--wp--preset--color--black); }
.brief-form input, .brief-form select, .brief-form textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--wp--preset--color--line); border-radius: 9px;
  font: inherit; color: var(--wp--preset--color--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus {
  outline: none; border-color: var(--wp--preset--color--blue); box-shadow: 0 0 0 3px rgba(46,101,251,.15);
}
.brief-form .row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .brief-form .row-2 { grid-template-columns: 1fr; } }
.brief-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--wp--preset--color--muted); }
.form-success { padding: 1rem 1.25rem; border-radius: 10px; background: rgba(46,101,251,.08);
  border: 1px solid rgba(46,101,251,.25); color: var(--wp--preset--color--black); font-weight: 500; }

/* ============================================================
   Misc
   ============================================================ */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 2.5rem; opacity: .75; }
.logo-strip span { font-weight: 600; color: var(--wp--preset--color--muted); font-size: .95rem; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .6rem 1rem; z-index: 999; border-radius: 8px; }

/* ============================================================
   Header / footer layout
   ============================================================ */
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 1.25rem;
}
@media (min-width: 782px) { .main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; } }
.main-nav a { color: var(--wp--preset--color--black); text-decoration: none; font-weight: 500; font-size: 0.96rem; }
.main-nav a:hover { color: var(--wp--preset--color--blue); }
.main-nav .nav-cta {
  background: var(--wp--preset--color--blue); color: #fff; padding: 0.6rem 1.05rem; border-radius: 8px;
  font-weight: 600; transition: background-color .18s ease;
}
.main-nav .nav-cta:hover { background: var(--wp--preset--color--blue-dark); color: #fff; }
@media (max-width: 781px) {
  .main-nav a { padding: 0.95rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--wp--preset--color--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav .nav-cta { display: block; box-sizing: border-box; text-align: center;
    margin-top: 0.85rem; padding: 0.9rem 1rem; border-bottom: 0; }
}

.site-footer { margin-top: 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem 2.5rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1.1fr; gap: 2.5rem;
}
.footer-brand .brand-lockup img { height: 32px; }
.footer-brand p { margin: 1rem 0 0; max-width: 34ch; }
.footer-h { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a, .footer-contact a { color: #C9CDD4; text-decoration: none; font-size: .97rem; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact .footer-cta { background: var(--wp--preset--color--blue); color: #fff; padding: .7rem 1.1rem; border-radius: 8px; font-weight: 600; margin-top: .5rem; }
.footer-contact .footer-cta:hover { background: var(--wp--preset--color--blue-dark); color: #fff; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,.12); max-width: 1200px; margin: 0 auto;
  padding: 1.4rem 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: #8A909B;
}
.footer-base a { color: #8A909B; text-decoration: none; }
.footer-base a:hover { color: #fff; }
@media (max-width: 781px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 1.5rem; }
}

/* Section rhythm helpers */
.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.container { max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }

/* ============================================================
   Grids: services, work, process
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.process-steps .step__n { font-size: 1.05rem; font-weight: 700; color: var(--wp--preset--color--blue); letter-spacing: .02em; }
.process-steps .step h3 { font-size: 1.1rem; margin: .5rem 0 .4rem; }
.process-steps .step p { margin: 0; color: var(--wp--preset--color--muted); font-size: .95rem; }
.process-steps .step { padding-top: 1rem; border-top: 2px solid var(--wp--preset--color--line); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid, .work-grid, .process-steps { grid-template-columns: 1fr; }
}

/* Hero heading sizing on wide screens */
.hero h1 { max-width: 16ch; }

/* Ghost button on dark sections */
.section-dark .is-style-ghost .wp-block-button__link,
.section-dark .wp-block-button.is-style-ghost .wp-block-button__link {
  color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); background: transparent;
}
.section-dark .is-style-ghost .wp-block-button__link:hover {
  box-shadow: inset 0 0 0 1.5px #fff; color: #fff; background: rgba(255,255,255,.06);
}
.cta-band .lead { color: rgba(255,255,255,.88); }
/* Buttons on a blue section: primary becomes white, ghost becomes white-outline */
.section-blue .wp-element-button { background: #fff; color: var(--wp--preset--color--blue); }
.section-blue .wp-element-button:hover { background: #EAF0FF; color: var(--wp--preset--color--blue-dark); }
.section-blue .is-style-ghost .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.section-blue .is-style-ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); color: #fff; }

/* Work card hover reveal */
.work-card__media { position: relative; }
.work-card__media::after { content: "View site"; position: absolute; inset: auto 0 0 0; padding: .6rem 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(46,101,251,.92)); opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.work-card:hover .work-card__media::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .work-card__media::after { transition: none; } }

/* ============================================================
   Contact layout
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-intro h1 { margin: .5rem 0 1rem; }
.contact-points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-points li { padding-left: 1.4rem; position: relative; color: var(--wp--preset--color--ink); font-size: .98rem; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--blue); }
.contact-form-wrap { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 1.75rem; box-shadow: 0 12px 40px rgba(14,14,16,.06); }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   Brand mark in header
   ============================================================ */
.brand-mark { height: 34px; width: 34px; border-radius: 50%; }
.brand-word { font-weight: 600; font-size: 1.1rem; color: var(--wp--preset--color--black); letter-spacing: -0.01em; }
.brand-word strong { color: var(--wp--preset--color--blue); font-weight: 800; }

/* ============================================================
   Bold branded hero
   ============================================================ */
.section-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 1.8rem + 4vw, 5.5rem);
  background: radial-gradient(1100px 520px at 82% -12%, rgba(46,101,251,.12), transparent 60%), #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.04; margin: .5rem 0 0; max-width: 15ch; }
.hero-copy .accent { color: var(--wp--preset--color--blue); }
.hero-copy .lead { margin-top: 1.15rem; max-width: 46ch; }
.hero-cta { display: flex; gap: .75rem; margin-top: 1.6rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.55rem; border-radius: 9px; font-weight: 600; text-decoration: none; transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn-primary { background: var(--wp--preset--color--blue); color: #fff; }
.btn-primary:hover { background: var(--wp--preset--color--blue-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--wp--preset--color--black); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--black); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.1rem; }
.hero-stat .n { display: block; font-size: 1.9rem; font-weight: 800; color: var(--wp--preset--color--black); letter-spacing: -.02em; }
.hero-stat .l { color: var(--wp--preset--color--muted); font-size: .88rem; }

.hero-visual { position: relative; min-height: 400px; display: grid; place-items: center; }
.hero-blob { width: min(82%, 410px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #5681ff, #2E65FB 72%); display: grid; place-items: center; box-shadow: 0 30px 80px rgba(46,101,251,.34); }
.hero-blob img { width: 88%; height: auto; }
.hero-blob__label { color: #fff; font-weight: 800; letter-spacing: -.02em; text-align: center; padding: 1rem 1.25rem; font-size: clamp(1.5rem, 1rem + 2.4vw, 2.5rem); line-height: 1.1; }
.hero-chip { position: absolute; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: .5rem .9rem; box-shadow: 0 12px 32px rgba(14,14,16,.13); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--blue); }
.chip-1 { top: 4%; left: -2%; animation: float 5s ease-in-out infinite; }
.chip-2 { top: 24%; right: -1%; animation: float 6s ease-in-out infinite .4s; }
.chip-3 { bottom: 22%; right: 4%; animation: float 5.5s ease-in-out infinite .8s; }
.chip-4 { bottom: 4%; left: 4%; animation: float 6.5s ease-in-out infinite .2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-animate { animation: heroIn .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > .hero-animate:nth-child(2) { animation-delay: .07s; }
.hero-copy > .hero-animate:nth-child(3) { animation-delay: .14s; }
.hero-copy > .hero-animate:nth-child(4) { animation-delay: .21s; }
.hero-copy > .hero-animate:nth-child(5) { animation-delay: .28s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-copy h1 { max-width: none; }
  .hero-stats { gap: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-chip { animation: none; }
  .hero-animate { animation: none; }
}

/* ============================================================
   Marquee (client logos)
   ============================================================ */
.marquee { overflow: hidden; margin-top: 1.5rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: scrollx 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__logo { flex: 0 0 auto; padding: 0 2.4rem; }
.marquee__logo img { height: 38px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .2s ease, opacity .2s ease; }
.marquee__logo:hover img { filter: none; opacity: 1; }
@keyframes scrollx { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ============================================================
   Partners / accreditations
   ============================================================ */
.partner-row { display: flex; justify-content: center; align-items: center; gap: 2rem 3.25rem; flex-wrap: wrap; margin-top: 2.5rem; }
.partner-badge img { height: 56px; width: auto; }

/* ============================================================
   Comparison
   ============================================================ */
.compare { border: 1px solid var(--wp--preset--color--line); border-radius: 16px; overflow: hidden; margin-top: 2.5rem; box-shadow: 0 14px 44px rgba(14,14,16,.05); }
.compare__head { display: grid; grid-template-columns: 1fr 1fr; }
.compare__us, .compare__them { padding: 1rem 1.25rem; font-weight: 700; }
.compare__us { background: var(--wp--preset--color--blue); color: #fff; }
.compare__them { background: var(--wp--preset--color--black); color: #fff; }
.compare__k { display: none; }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--wp--preset--color--line); }
.compare__v { padding: 1rem 1.25rem; display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.compare__v svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.compare__v--us { background: #fff; color: var(--wp--preset--color--black); font-weight: 600; }
.compare__v--us svg { color: #16a34a; }
.compare__v--them { background: #FAFBFC; color: var(--wp--preset--color--muted); }
.compare__v--them svg { color: #CF2E2E; }
@media (max-width: 600px) { .compare__v { font-size: .9rem; padding: .8rem .9rem; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { border-top: 1px solid var(--wp--preset--color--line); }
.faq__item { border-bottom: 1px solid var(--wp--preset--color--line); }
.faq__q { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600; font-size: 1.06rem; color: var(--wp--preset--color--black); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 20px; height: 20px; flex: 0 0 20px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--wp--preset--color--blue); border-radius: 2px; transition: transform .2s ease; }
.faq__icon::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.faq__icon::after { left: 9px; top: 2px; bottom: 2px; width: 2px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__item[open] .faq__q { color: var(--wp--preset--color--blue); }
.faq__a { padding: 0 0 1.25rem; color: var(--wp--preset--color--muted); max-width: 66ch; }
.faq__a p { margin: 0; }

/* ============================================================
   Blue section + stats band
   ============================================================ */
.section-blue { background: linear-gradient(135deg, #2E65FB 0%, #1A4FD0 100%); color: #fff; }
.section-blue :where(h1,h2,h3,h4) { color: #fff; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-band__n { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; }
.stat-band__l { display: block; margin-top: .35rem; opacity: .9; font-size: .95rem; }
@media (max-width: 700px) { .stat-band { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ============================================================
   One funnel
   ============================================================ */
.funnel { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: stretch; margin-top: 2.5rem; }
.funnel__node { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 1.5rem; text-align: center; }
.funnel__node--win { background: linear-gradient(135deg, #2E65FB, #1A4FD0); color: #fff; border-color: transparent; }
.funnel__node--win h3 { color: #fff; }
.funnel__ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(46,101,251,.1); color: var(--wp--preset--color--blue); font-weight: 800; margin-bottom: .75rem; }
.funnel__node--win .funnel__ico { background: rgba(255,255,255,.2); color: #fff; }
.funnel__node h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.funnel__node p { margin: 0; color: var(--wp--preset--color--muted); font-size: .93rem; }
.funnel__node--win p { color: rgba(255,255,255,.88); }
.funnel__arrow { display: grid; place-items: center; color: var(--wp--preset--color--line); }
.funnel__arrow svg { width: 28px; height: 28px; }
@media (max-width: 780px) { .funnel { grid-template-columns: 1fr; } .funnel__arrow { transform: rotate(90deg); padding: .25rem 0; } }

/* ============================================================
   Platform tabs
   ============================================================ */
.platforms__tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.ptab { border: 1.5px solid var(--wp--preset--color--line); background: #fff; color: var(--wp--preset--color--black); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.ptab:hover { border-color: var(--wp--preset--color--blue); color: var(--wp--preset--color--blue); }
.ptab.is-active { background: var(--wp--preset--color--blue); border-color: var(--wp--preset--color--blue); color: #fff; }
.platforms__panels { margin-top: 1.5rem; }
.ppanel { display: none; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 2.25rem; text-align: center; box-shadow: 0 14px 44px rgba(14,14,16,.05); }
.ppanel.is-active { display: block; animation: fadeIn .3s ease; }
.ppanel h3 { font-size: 1.5rem; margin: 0 0 .5rem; }
.ppanel p { color: var(--wp--preset--color--muted); max-width: 52ch; margin: 0 auto 1.4rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
