/* ==========================================================================
   Webpulso — directory redesign
   Palette taken from the Webpulso heartbeat logo (cyan → royal blue → deep blue)
   Layout rhythm inspired by the Winrate reference: white/mist bands, pastel panels,
   tight geometric headlines, pill buttons.
   ========================================================================== */

:root {
  --ink: #0A1633;
  --ink-2: #47536F;
  --ink-3: #7A859E;
  --line: #E2E8F2;
  --mist: #F2F5FA;
  --white: #FFFFFF;
  --blue: #0A5CFF;
  --blue-700: #0838B8;
  --cyan: #00C2FF;
  --navy: #061A4A;
  --t-sky: #E2EDFF;
  --t-cyan: #DCF5FF;
  --t-rose: #FFE3E8;
  --t-sun: #FFF1C2;
  --t-mint: #DCF2E5;
  --ok: #12945A;
  --warn: #C98A00;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --wrap: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(6, 26, 74, .06), 0 12px 32px -12px rgba(6, 26, 74, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 999; }
.skip:focus { left: 16px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.06; letter-spacing: -.04em; font-weight: 500; font-family: var(--display); }
h3, h4 { font-weight: 600; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.band { padding: clamp(72px, 9vw, 120px) 0; }
.band--mist { background: var(--mist); }
.band--tight { padding: 56px 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head--row > div { max-width: 640px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -10px rgba(10, 92, 255, .8); }
.btn--primary:hover { background: var(--blue-700); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue-700); }
.btn--ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--glow { background: var(--cyan); color: var(--navy); }
.btn--glow:hover { background: #fff; }
.btn--line-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--line-light:hover { border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.link { color: var(--blue); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link:hover { border-color: currentColor; }

/* ---------- scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), var(--blue)); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-stuck { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 42px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button.drop-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink-2); background: none; border: 0; cursor: pointer;
  transition: color .2s, background .2s;
}
.menu a:hover, .menu button.drop-toggle:hover, .menu a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.drop-toggle svg { transition: transform .25s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease);
}
.dropdown a { display: flex; width: 100%; border-radius: 10px; }
.has-drop:hover .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .drop-toggle svg, .has-drop.open .drop-toggle svg { transform: rotate(180deg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
.nav-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: 72px 0 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 11ch; }
.hero .lede { margin-bottom: 28px; }
.search-box {
  display: grid; grid-template-columns: minmax(0,1fr) 190px auto; gap: 6px; padding: 6px; max-width: 640px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.search-box input, .search-box select {
  border: 0; background: transparent; padding: 12px 18px; min-width: 0; border-radius: 999px; outline: none;
}
.search-box select { border-left: 1px solid var(--line); border-radius: 0; color: var(--ink-2); cursor: pointer; }
.search-box input:focus-visible, .search-box select:focus-visible { box-shadow: inset 0 0 0 2px var(--cyan); border-radius: 999px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: .9rem; color: var(--ink-3); align-items: center; }
.hero-tags a { padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--ink-2); transition: background .2s, color .2s; }
.hero-tags a:hover { background: var(--t-sky); color: var(--blue-700); }

/* hero visual: stacked listing cards + pulse */
.hero-visual { position: relative; height: 520px; }
.hv-card {
  position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden; width: 300px;
}
.hv-card .hv-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: .85rem; }
.hv-card .hv-top img { width: 32px; height: 32px; border-radius: 9px; }
.hv-card .hv-top b { display: block; font-size: .9rem; }
.hv-card .hv-top small { color: var(--ink-3); }
.hv-card .hv-img { aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.hv-card .hv-foot { padding: 12px 14px; font-size: .85rem; display: flex; justify-content: space-between; align-items: center; background: var(--t-sky); }
.hv-a { left: 0; top: 40px; border: 2px solid var(--cyan); z-index: 2; }
.hv-b { right: 0; top: 150px; width: 260px; z-index: 1; }
.hv-b .hv-foot { background: var(--t-sun); }
.hv-chip {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px;
  border: 1px solid var(--line); font-size: .82rem; min-width: 170px;
}
.hv-chip strong { display: block; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.1; }
.hv-chip-1 { right: 24px; top: 0; z-index: 3; }
.hv-chip-2 { right: 10px; bottom: 0; min-width: 140px; z-index: 3; }
.hv-chip-3 { left: 20px; bottom: 20px; z-index: 3; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ok); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18,148,90,.5); } 80%,100% { box-shadow: 0 0 0 9px rgba(18,148,90,0); } }
.bars { display: flex; gap: 4px; align-items: end; height: 26px; margin-top: 8px; }
.bars i { flex: 1; background: var(--t-sky); border-radius: 3px; height: var(--h); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.bars i:last-child { background: var(--blue); }
@keyframes grow { from { transform: scaleY(0); } }
.float { animation: float 6s ease-in-out infinite; }
.float.d2 { animation-delay: -2s; } .float.d3 { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* the heartbeat line — signature element */
.ecg { position: absolute; left: 0; right: 0; width: 100%; height: 160px; pointer-events: none; }
.ecg path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ecg .ecg-base { stroke: var(--t-sky); }
.ecg .ecg-run { stroke: url(#ecgGrad); stroke-dasharray: 260 2400; animation: ecgRun 3.6s linear infinite; filter: drop-shadow(0 0 6px rgba(0,194,255,.6)); }
@keyframes ecgRun { from { stroke-dashoffset: 2660; } to { stroke-dashoffset: 0; } }
.hero .ecg { bottom: 0; height: 110px; }

/* ---------- strip / marquee ---------- */
.strip { padding: 28px 0 64px; text-align: center; }
.strip p { color: var(--ink-2); font-size: .95rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 60s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pill-cat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .92rem; color: var(--ink-2); white-space: nowrap; transition: border-color .2s, color .2s; }
.pill-cat:hover { border-color: var(--blue); color: var(--blue); }
.pill-cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); background: #fff; border-radius: 999px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s; }
.tabs button.active { background: var(--mist); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- listing cards ---------- */
.grid { display: grid; gap: 20px; }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.l-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, opacity .35s;
}
.l-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.l-card.is-hidden { display: none; }
.l-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; font-size: .8rem; color: var(--ink-3); }
.l-head .who { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .84rem; }
.l-head .who i { width: 22px; height: 22px; border-radius: 50%; background: var(--t-sky); display: inline-block; }
.l-media { aspect-ratio: 1/1; background: var(--mist); display: grid; place-items: center; overflow: hidden; position: relative; }
.l-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); grid-area: 1 / 1; }
.l-media .ph-initials { grid-area: 1 / 1; display: none; font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; color: var(--blue-700); }
.l-media.is-empty .ph-initials, .l-media:not(:has(img)) .ph-initials { display: grid; place-items: center; width: 100%; height: 100%; }
.l-card:hover .l-media img { transform: scale(1.05); }
.l-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.l-body h3 { font-size: 1.02rem; margin: 0; }
.l-body h3 a:hover { color: var(--blue); }
.l-body p { font-size: .9rem; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--t-sky); color: var(--blue-700); width: fit-content; }
.chip--mint { background: var(--t-mint); color: var(--ok); }
.chip--sun { background: var(--t-sun); color: #8A5D00; }
.chip--rose { background: var(--t-rose); color: #B4233F; }
.stars { color: #F2A900; letter-spacing: 1px; }
.rate-new { color: var(--ink-3); font-size: .82rem; }

/* list (horizontal) variant used on category/search pages */
.l-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 22px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .3s var(--ease), box-shadow .3s; }
.l-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.l-row img { width: 150px; height: 120px; object-fit: cover; border-radius: var(--r-sm); background: var(--mist); }
.l-row h3 { margin: 6px 0 6px; font-size: 1.12rem; }
.l-row p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.l-row .side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

/* ---------- steps (pastel panels) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.step:nth-child(1) { background: var(--t-sky); } .step:nth-child(2) { background: var(--t-rose); }
.step:nth-child(3) { background: var(--t-sun); } .step:nth-child(4) { background: var(--t-mint); }
.step-top { display: flex; justify-content: space-between; align-items: baseline; }
.step-top h3 { margin: 0; font-size: 1.35rem; }
.step-top span { font-size: .82rem; color: var(--ink-2); }
.step-card { background: #fff; border-radius: 14px; padding: 14px; font-size: .85rem; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.step-card .kv { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.step-card .kv b { color: var(--ink); font-weight: 600; }
.step-card .meter { height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.step-card .meter i { display: block; height: 100%; width: var(--w); background: var(--blue); border-radius: 6px; transition: width 1.4s var(--ease); }
.step p { font-size: .9rem; margin: 0; color: var(--ink-2); }

/* ---------- split (about / why) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--t-sky); padding: 28px; }
.split-media img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .badge-float { position: absolute; right: 44px; bottom: 44px; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); font-size: .85rem; }
.split-media .badge-float strong { display: block; font-size: 1.4rem; letter-spacing: -.03em; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--t-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%2312945A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* ---------- category image cards ---------- */
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { display: block; }
.cat-card .frame { border-radius: var(--r-lg); padding: 32px; background: var(--t-sky); transition: background .35s; }
.cat-card:nth-child(2) .frame { background: var(--t-rose); }
.cat-card:nth-child(3) .frame { background: var(--t-cyan); }
.cat-card .frame img { border-radius: var(--r-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; transition: transform .6s var(--ease); box-shadow: var(--shadow); }
.cat-card:hover .frame img { transform: scale(1.03) rotate(-1deg); }
.cat-card .cap { display: flex; justify-content: space-between; padding: 14px 4px; font-size: .95rem; }
.cat-card .cap b { font-weight: 600; }

/* ---------- bento stats ---------- */
.bento { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.bento-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; grid-column: 1 / -1; }
.tile { border-radius: var(--r-lg); padding: 28px 30px; min-height: 210px; display: flex; flex-direction: column; }
.tile .num { font-family: var(--display); font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; margin-bottom: 8px; }
.tile p { color: var(--ink-2); max-width: 30ch; margin: 0; }
.tile--mint { background: var(--t-mint); } .tile--sky { background: var(--t-sky); }
.tile--sun { background: var(--t-sun); } .tile--rose { background: var(--t-rose); }
.tile .tile-foot { margin-top: auto; padding-top: 22px; }
.ring-wrap { display: flex; align-items: center; gap: 28px; }
.ring { width: 140px; height: 140px; flex: none; }
.ring circle { fill: none; stroke-width: 22; }
.ring .bg { stroke: rgba(255,255,255,.75); }
.ring .fg { stroke: var(--blue); stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 0 999; transition: stroke-dasharray 1.8s var(--ease); }
.mini-logos { display: flex; gap: 8px; }
.mini-logos img { width: 46px; height: 46px; border-radius: 12px; border: 2px solid #fff; object-fit: cover; }

/* ---------- RSS feed ---------- */
.feed-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.feed-meta { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--ink-2); }
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feed-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.feed-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feed-item .fi-img { aspect-ratio: 16/9; background: var(--t-cyan); overflow: hidden; }
.feed-item .fi-img img { width: 100%; height: 100%; object-fit: cover; }
.feed-item .fi-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.feed-item h3 { font-size: 1.05rem; margin: 0; }
.feed-item p { font-size: .9rem; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feed-item .fi-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }
.feed-item:first-child { grid-column: span 2; grid-row: span 2; }
.feed-item:first-child h3 { font-size: 1.5rem; }
.feed-item:first-child .fi-img { aspect-ratio: 16/8; }
.skel { background: linear-gradient(90deg, var(--mist) 25%, #e8eef8 50%, var(--mist) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.feed-error { grid-column: 1 / -1; padding: 28px; border-radius: var(--r-md); background: var(--t-sun); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-grid; place-items: center; transition: transform .4s var(--ease), border-color .2s; }
.icon-btn:hover { border-color: var(--blue); }
.icon-btn.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- testimonials (comment-thread style) ---------- */
.voices { background: var(--t-sun); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 340px 1fr; gap: 36px; }
.post { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); align-self: start; }
.post-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: .85rem; }
.post-top img { width: 32px; height: 32px; border-radius: 50%; }
.post-media { aspect-ratio: 1; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: grid; place-items: center; position: relative; overflow: hidden; }
.post-media img { width: 46%; border-radius: 50%; border: 6px solid rgba(255,255,255,.6); transition: transform .5s var(--ease), opacity .3s; }
.post-foot { padding: 12px 14px; font-size: .85rem; }
.thread { display: flex; flex-direction: column; }
.thread-head { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: .9rem; }
.thread-head b { font-size: 1.1rem; }
.comment { background: #fff; border-radius: var(--r-md); padding: 22px; transition: opacity .3s, transform .3s var(--ease); }
.comment.swap { opacity: 0; transform: translateY(8px); }
.comment .who { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.comment .who img { width: 40px; height: 40px; border-radius: 50%; }
.comment .who small { color: var(--ink-3); display: block; }
.comment blockquote { margin: 0 0 12px; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.4; letter-spacing: -.015em; }
.more-voices { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(10,22,51,.1); font-size: .85rem; flex-wrap: wrap; }
.more-voices button { width: 48px; height: 48px; border-radius: 12px; border: 2px solid transparent; padding: 0; cursor: pointer; overflow: hidden; background: none; transition: transform .25s var(--ease), border-color .25s; }
.more-voices button img { width: 100%; height: 100%; object-fit: cover; }
.more-voices button:hover { transform: translateY(-3px); }
.more-voices button.active { border-color: var(--blue); }

/* ---------- big CTA (list your business) ---------- */
.cta-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-dark .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.cta-dark h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 14ch; }
.cta-dark p { color: #B9C6E4; max-width: 34em; font-size: 1.1rem; }
.cta-dark .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-perks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: .9rem; color: #B9C6E4; }
.cta-perks span::before { content: "✓"; color: var(--cyan); margin-right: 8px; font-weight: 700; }
.pulse-orb { position: relative; aspect-ratio: 1; width: min(100%, 420px); justify-self: center; display: grid; place-items: center; }
.pulse-orb .ring-anim { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(0,194,255,.5); animation: orb 4s var(--ease) infinite; }
.pulse-orb .ring-anim:nth-child(2) { animation-delay: 1.33s; } .pulse-orb .ring-anim:nth-child(3) { animation-delay: 2.66s; }
@keyframes orb { 0% { transform: scale(.35); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.pulse-orb .core { width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--cyan), var(--blue) 55%, var(--blue-700)); display: grid; place-items: center; box-shadow: 0 0 80px rgba(0,194,255,.45); animation: beat 1.6s ease-in-out infinite; }
.pulse-orb .core svg { width: 70%; }
.pulse-orb .core path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.06); } 28% { transform: scale(.98); } 42% { transform: scale(1.04); } }
@keyframes draw { 0% { stroke-dashoffset: 220; } 60%, 100% { stroke-dashoffset: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.acc { display: grid; gap: 10px; }
.band--mist .acc-item { background: #fff; }
.acc-item { background: var(--mist); border-radius: var(--r-sm); border: 1px solid var(--line); }
.acc-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 1.02rem; }
.acc-item button i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); position: relative; }
.acc-item button i::before, .acc-item button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.acc-item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.open button i::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--mist); padding: 64px 0 72px; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 18ch; }
.page-hero .lede { margin: 0; }
.page-hero .ecg { bottom: -30px; opacity: .9; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .88rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a:hover { color: var(--blue); }

/* ---------- layout with sidebar ---------- */
.with-side { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.with-side--left { grid-template-columns: 280px 1fr; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 18px; }
.side-box h4 { margin-bottom: 14px; }
.sticky { position: sticky; top: 96px; }
.filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 340px; overflow: auto; }
.filter-list label { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.filter-list input { accent-color: var(--blue); width: 16px; height: 16px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar select { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.stack { display: grid; gap: 16px; }
.empty { padding: 48px; text-align: center; background: var(--mist); border-radius: var(--r-md); }

/* category directory grid */
.cat-search { max-width: 520px; display: flex; gap: 8px; margin-top: 28px; }
.field { width: 100%; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,92,255,.12); }
textarea.field { border-radius: var(--r-sm); min-height: 140px; resize: vertical; }
select.field { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2347536F' stroke-width='1.6'/%3E%3C/svg%3E") right 18px center no-repeat; padding-right: 40px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-tile { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--blue); background: var(--t-sky); }
.cat-tile .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--blue-700); background: var(--t-sky); font-size: .95rem; }
.cat-tile:nth-child(4n+2) .ico { background: var(--t-rose); color: #B4233F; }
.cat-tile:nth-child(4n+3) .ico { background: var(--t-sun); color: #8A5D00; }
.cat-tile:nth-child(4n+4) .ico { background: var(--t-mint); color: var(--ok); }
.cat-tile b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.cat-tile small { color: var(--ink-3); }
.cat-tile.is-hidden { display: none; }
.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.alpha button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .85rem; transition: .2s; }
.alpha button:hover, .alpha button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- single listing ---------- */
.sl-cover { position: relative; height: 300px; overflow: hidden; }
.sl-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: zoomOut 1.6s var(--ease) forwards; }
@keyframes zoomOut { to { transform: scale(1); } }
.sl-head { position: relative; margin-top: -90px; z-index: 2; }
.sl-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px; display: grid; grid-template-columns: 140px 1fr auto; gap: 28px; align-items: center; }
.sl-logo { width: 140px; height: 140px; border-radius: var(--r-md); border: 1px solid var(--line); object-fit: cover; background: #fff; }
.sl-card h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 8px 0; }
.sl-rating { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .92rem; color: var(--ink-2); }
.sl-rating b { font-size: 1.1rem; color: var(--ink); }
.sl-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 260px; }
.sl-tabs { position: sticky; top: 76px; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: 32px; }
.sl-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sl-tabs a { padding: 16px 14px; font-size: .92rem; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.sl-tabs a.active, .sl-tabs a:hover { color: var(--ink); border-color: var(--blue); }
.sl-sec { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.sl-sec:last-child { border-bottom: 0; }
.sl-sec h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.sl-kicker { font-size: .85rem; color: var(--blue); font-weight: 600; margin-bottom: 6px; display: block; }
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc { padding: 18px; border-radius: var(--r-sm); background: var(--mist); }
.svc small { color: var(--ink-3); display: block; }
.svc b { font-weight: 600; }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hl { padding: 18px; border-radius: var(--r-md); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; }
.hl:nth-child(1) { background: var(--t-sky); } .hl:nth-child(2) { background: var(--t-mint); }
.hl:nth-child(3) { background: var(--t-sun); } .hl:nth-child(4) { background: var(--t-rose); }
.hl svg { width: 34px; height: 34px; }
.kv-table { width: 100%; border-collapse: collapse; }
.kv-table td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv-table td:first-child { color: var(--ink-2); width: 45%; }
.kv-table td:last-child { font-weight: 600; text-align: right; }
.kv-table tr.today td { color: var(--blue); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); }
.fact .num { font-size: 2.2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.fact small { color: var(--ink-2); }
.trust { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: center; }
.premium-badge { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--blue), var(--blue-700), var(--cyan)); color: #fff; text-align: center; font-weight: 700; font-size: .8rem; line-height: 1.2; animation: spin 14s linear infinite; }
.premium-badge span { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--navy); animation: spin 14s linear infinite reverse; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amen div { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-sm); background: var(--mist); font-weight: 500; font-size: .95rem; }
.amen svg { flex: none; width: 28px; height: 28px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
.gallery a { border-radius: var(--r-sm); overflow: hidden; position: relative; }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }
.gallery--even { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; }
.gallery--even a:first-child { grid-row: auto; }
.video { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; background: var(--navy); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: playPing 2s infinite; }
@keyframes playPing { 70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.rev-sum { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; padding: 24px; border-radius: var(--r-md); background: var(--mist); margin-bottom: 20px; }
.rev-sum .big { font-size: 3.6rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.rev-bar { display: grid; grid-template-columns: 54px 1fr 40px; gap: 12px; align-items: center; font-size: .88rem; margin: 6px 0; }
.rev-bar span:not(.muted) { height: 8px; border-radius: 8px; background: #fff; overflow: hidden; }
.rev-bar span i { display: block; height: 100%; width: 0; background: #F2A900; border-radius: 8px; transition: width 1.4s var(--ease); }
.review { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review .r-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.review .r-top b { font-weight: 600; }
.review time { color: var(--ink-3); font-size: .85rem; }
.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; }
.open-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.open-state.is-open { color: var(--ok); } .open-state.is-closed { color: #B4233F; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: .93rem; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; }
.contact-lines svg { flex: none; width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.contact-lines small { display: block; color: var(--ink-3); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); background: #fff; }
.socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* lightbox + modal */
.lightbox, .modal { position: fixed; inset: 0; z-index: 300; background: rgba(6,26,74,.86); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.open, .modal.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; border-radius: var(--r-md); transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; font-size: 1.3rem; display: grid; place-items: center; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.modal-card { background: #fff; border-radius: var(--r-lg); padding: 32px; width: min(100%, 520px); transform: translateY(16px); transition: transform .4s var(--ease); position: relative; }
.modal.open .modal-card { transform: none; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; font-size: 2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: var(--line); transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F2A900; }
.star-input input:focus-visible + label { outline: 2px solid var(--cyan); border-radius: 4px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label.lab { font-size: .9rem; font-weight: 600; display: block; margin-bottom: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; }
.seg label { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; transition: .2s; }
.seg input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.err { color: #B4233F; font-size: .82rem; margin-top: 4px; display: none; }
.invalid .err { display: block; }
.invalid .field { border-color: #B4233F; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: 999px; z-index: 400; font-size: .92rem; transition: transform .4s var(--ease); box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; }
.toast.show { transform: translate(-50%, 0); }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.info-cards { display: grid; gap: 14px; }
.info-card { padding: 22px; border-radius: var(--r-md); display: flex; gap: 14px; }
.info-card:nth-child(1) { background: var(--t-sky); } .info-card:nth-child(2) { background: var(--t-mint); } .info-card:nth-child(3) { background: var(--t-sun); }
.info-card svg { flex: none; width: 24px; height: 24px; color: var(--blue-700); }
.info-card b { display: block; }

/* ---------- plans (services) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border-radius: var(--r-lg); padding: 30px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan .price { font-family: var(--display); font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan .price small { font-size: .9rem; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.plan .checks { margin: 0; }
.plan .btn { margin-top: auto; }
.plan--hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan--hot .muted, .plan--hot .checks li, .plan--hot .price small { color: #B9C6E4; }
.plan-top { display: flex; justify-content: space-between; align-items: center; }
.plan-top h3 { margin: 0; }
.plan--hot .plan-top span { color: var(--cyan); font-size: .85rem; font-weight: 600; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--t-sky); margin-bottom: 16px; color: var(--blue-700); }
.feature:nth-child(3n+2) .ico { background: var(--t-mint); color: var(--ok); }
.feature:nth-child(3n+3) .ico { background: var(--t-sun); color: #8A5D00; }
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- blog ---------- */
.b-card { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.b-card .b-img { aspect-ratio: 3/2; overflow: hidden; }
.b-card .b-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.b-card:hover .b-img img { transform: scale(1.05); }
.b-card .b-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.b-card h3 { margin: 0; font-size: 1.15rem; }
.b-card p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.b-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--ink-3); margin-top: auto; padding-top: 10px; }
.b-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--t-sky); margin-bottom: 40px; }
.b-feature .b-img { overflow: hidden; } .b-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; transition: transform .8s var(--ease); }
.b-feature:hover img { transform: scale(1.04); }
.b-feature .b-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.b-feature h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0; }
.cat-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.cat-links a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); transition: background .2s, color .2s; }
.cat-links a:hover, .cat-links a[aria-current="page"] { background: var(--t-sky); color: var(--blue-700); }
.recent { display: grid; gap: 14px; }
.recent a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.recent a:hover { color: var(--blue); }
.recent img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; }
.recent small { display: block; font-weight: 400; color: var(--ink-3); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: .92rem; }
.pager .cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.article { max-width: 720px; }
.article p, .article li { font-size: 1.08rem; line-height: 1.75; color: #24304D; }
.article h2 { font-size: 1.8rem; margin-top: 1.6em; scroll-margin-top: 100px; }
.article h3 { margin-top: 1.4em; }
.article blockquote { margin: 1.6em 0; padding: 24px 28px; border-radius: var(--r-md); background: var(--t-sun); font-size: 1.25rem; line-height: 1.45; letter-spacing: -.01em; }
.article figure { margin: 2em 0; } .article figure img { border-radius: var(--r-md); }
.article figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 8px; }
.art-hero h1 { max-width: 20ch; }
.art-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: .92rem; color: var(--ink-2); margin-top: 18px; }
.art-meta img { width: 40px; height: 40px; border-radius: 50%; }
.art-cover { border-radius: var(--r-lg); overflow: hidden; margin: -40px auto 0; position: relative; z-index: 2; aspect-ratio: 21/9; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 14px; font-size: .9rem; color: var(--ink-2); border-left: 2px solid transparent; margin-left: -2px; transition: color .2s, border-color .2s; }
.toc a.active, .toc a:hover { color: var(--blue); border-color: var(--blue); }
.author-box { display: flex; gap: 18px; padding: 24px; border-radius: var(--r-md); background: var(--mist); margin-top: 40px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-2); margin-top: 28px; }
.share a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.share a:hover { color: var(--blue); border-color: var(--blue); }
.share svg { width: 16px; height: 16px; display: block; }
.art-meta img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.side-box .share { margin-top: 0; }

/* ---------- sitemap / policy ---------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sm-col { padding: 26px; border-radius: var(--r-md); border: 1px solid var(--line); }
.sm-col h3 { display: flex; justify-content: space-between; align-items: baseline; }
.sm-col h3 small { font-size: .8rem; color: var(--ink-3); font-weight: 400; letter-spacing: 0; }
.sm-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sm-col a { color: var(--ink-2); font-size: .94rem; transition: color .2s, padding .2s; }
.sm-col a:hover { color: var(--blue); padding-left: 4px; }
.sm-col--wide { grid-column: 1 / -1; }
.sm-col--wide ul { grid-template-columns: repeat(4, 1fr); }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - 76px); display: grid; place-items: center; text-align: center; padding: 60px 0; position: relative; overflow: hidden; }
.nf h1 { font-size: clamp(6rem, 20vw, 13rem); letter-spacing: -.07em; line-height: .9; margin: 0; background: linear-gradient(135deg, var(--cyan), var(--blue) 50%, var(--blue-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .ecg { position: relative; height: 120px; margin: 10px 0 20px; }
.nf .ecg .flat { stroke: var(--blue); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: flatline 4s var(--ease) infinite; }
@keyframes flatline { 0% { stroke-dashoffset: 1400; } 50%, 100% { stroke-dashoffset: 0; } }
.nf .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { background: var(--mist); padding: 72px 0 24px; overflow: hidden; }
.f-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.f-brand img { height: 44px; width: auto; margin-bottom: 16px; }
.f-brand p { color: var(--ink-2); font-size: .95rem; max-width: 30ch; }
.copy-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.copy-pill button { border: 0; background: var(--mist); padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: .82rem; }
.f-col h4 { font-size: .85rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-col a { font-size: .95rem; transition: color .2s; }
.f-col a:hover { color: var(--blue); }
.f-mark { position: relative; margin: 56px 0 20px; padding-bottom: .2em; user-select: none; overflow: hidden; }
.f-mark { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.f-mark .f-icon { width: clamp(64px, 13vw, 190px); height: auto; flex: none; border-radius: 22%; }
.f-mark span { display: block; font-family: var(--display); font-size: clamp(3.4rem, 13.5vw, 12.5rem); font-weight: 600; letter-spacing: -.06em; line-height: .85; color: #DCE3EF; white-space: nowrap; }
.f-mark svg { position: absolute; left: 0; right: 0; top: 38%; width: 100%; height: 90px; }
.f-mark svg path { fill: none; stroke: url(#footGrad); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1700; stroke-dashoffset: 1700; }
.f-mark.in svg path { animation: draw2 2.4s var(--ease) forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-2); }
.f-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.f-bottom a:hover { color: var(--blue); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: .35s var(--ease); }
.to-top.show { opacity: 1; transform: none; }

/* ---------- motion system ---------- */
.reveal { opacity: 0; transform: translateY(32px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: none; }
/* Tall blocks never reach the IO 15% threshold — keep them readable without .in */
.article.reveal,
.article { opacity: 1; transform: none; filter: none; }
.load-in { opacity: 0; transform: translateY(20px); filter: blur(6px); animation: loadIn .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes loadIn { to { opacity: 1; transform: none; filter: blur(0); } }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + .1s); }
@keyframes wordUp { to { transform: none; } }
.page-fade { animation: pageFade .5s ease both; }
@keyframes pageFade { from { opacity: 0; } }

/* ---------- image wall (rows of listings scrolling) ---------- */
.wall { display: grid; gap: 14px; overflow: hidden; padding: 6px 0; }
.wall-row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.wall-row:nth-child(2) { animation-direction: reverse; animation-duration: 80s; }
.wall-row:nth-child(3) { animation-duration: 90s; }
.wall-row:nth-child(4) { animation-direction: reverse; animation-duration: 75s; }
.wall:hover .wall-row { animation-play-state: paused; }
.w-tile { position: relative; width: 210px; height: 190px; border-radius: 14px; overflow: hidden; flex: none; background: #fff; box-shadow: 0 1px 2px rgba(6,26,74,.06); display: block; transition: transform .35s var(--ease); }
.w-tile:hover { transform: translateY(-4px); }
.w-tile img { width: 100%; height: 130px; object-fit: cover; background: #fff; }
.w-tile.logo img { object-fit: contain; padding: 18px; }
.w-tile .cap { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; padding: 8px 12px; font-size: .78rem; line-height: 1.3; background: var(--t-sky); }
.w-tile:nth-child(4n+2) .cap { background: var(--t-sun); } .w-tile:nth-child(4n+3) .cap { background: var(--t-mint); } .w-tile:nth-child(4n+4) .cap { background: var(--t-rose); }
.w-tile .cap small { display: block; color: var(--ink-3); font-size: .72rem; }
.w-tile .cap b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-tile .tag { position: absolute; left: 8px; top: 8px; background: #fff; border-radius: 6px; padding: 2px 8px; font-size: .72rem; font-weight: 600; }

/* ---------- case cards (businesses we list) ---------- */
.case-cap { padding: 16px 4px 0; }
.case-cap small { color: var(--ink-3); font-size: .85rem; }
.case-cap h3 { font-size: 1.15rem; margin: 6px 0 6px; }
.case-cap p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.case-cap p b { color: var(--ink); font-weight: 600; }

/* ---------- pricing banner ---------- */
.plan-banner { margin-top: 18px; border-radius: var(--r-lg); background: var(--t-mint); padding: 26px 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.plan-banner img { width: 84px; height: 84px; border-radius: 50%; }
.plan-banner h3 { margin: 0 0 6px; }
.plan-banner p { margin: 0 0 14px; color: var(--ink-2); max-width: 46ch; }
.plan-banner .mini { background: #fff; border-radius: 12px; padding: 14px 18px; font-size: .85rem; min-width: 220px; display: grid; gap: 8px; }
.plan-banner .mini div { display: flex; justify-content: space-between; gap: 16px; }
.plan-banner .mini span { color: var(--ink-3); }
@media (max-width: 920px) { .plan-banner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .wall-row { animation: none; }
  .reveal { filter: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale, .load-in { opacity: 1; transform: none; }
  .split-words .w > span { transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .g-4, .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .hl-grid, .facts { grid-template-columns: repeat(2, 1fr); }
  .sl-card { grid-template-columns: 110px 1fr; }
  .sl-logo { width: 110px; height: 110px; }
  .sl-actions { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 920px) {
  .menu, .nav-cta .btn--ghost { display: none; }
  .burger { display: block; }
  .nav-open .menu {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 76px); overflow: auto; animation: loadIn .35s var(--ease) both;
  }
  .nav-open .menu a, .nav-open .menu button.drop-toggle { width: 100%; padding: 14px; justify-content: space-between; font-size: 1.05rem; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-drop.open .dropdown { display: block; }
  .has-drop:hover .dropdown { display: none; } .has-drop.open:hover .dropdown { display: block; }
  .hero-grid, .split, .cta-dark .wrap, .faq, .with-side, .with-side--left, .voices, .b-feature { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .hero-visual { height: 460px; max-width: 520px; margin: 0 auto; width: 100%; }
  .cat-cards, .plans, .feature-grid, .feed-grid, .g-3, .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .feed-item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .bento, .bento-row { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .sm-col--wide ul { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g-4, .g-3, .g-2, .cat-grid, .cat-cards, .plans, .feature-grid, .feed-grid, .steps, .sitemap-grid, .svc-list, .amen, .form-row { grid-template-columns: 1fr; }
  .search-box { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .search-box select { border-left: 0; border-top: 1px solid var(--line); }
  .hv-card { width: 230px; } .hv-b { width: 210px; top: 150px; }
  .hv-chip-1 { right: 0; top: 0; } .hv-chip-2, .hv-chip-3 { display: none; }
  .hv-a { top: 30px; } .hv-b { top: 120px; }
  .hero-visual { height: 420px; }
  .l-row { grid-template-columns: 1fr; } .l-row img { width: 100%; height: 180px; } .l-row .side { align-items: flex-start; flex-direction: row; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .rev-sum { grid-template-columns: 1fr; }
  .gallery, .gallery--even { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery a:first-child { grid-column: 1 / -1; }
  .sl-card { grid-template-columns: 1fr; text-align: left; }
  .sl-actions { grid-template-columns: 1fr 1fr; min-width: 0; }
  .sm-col--wide ul { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .art-cover { aspect-ratio: 4/3; }
}

/* logos (transparent PNGs) sit inside the frame instead of being cropped */
.l-media img[data-fallback$=".png"], .l-row img[data-fallback$=".png"], .sl-logo[data-fallback$=".png"] { object-fit: contain; padding: 22px; background: #fff; }
.l-row img[data-fallback$=".png"] { padding: 14px; border: 1px solid var(--line); }
.fact .num, .rev-sum .big, .hv-chip strong { font-family: var(--display); font-weight: 500; }
.w-tile .tag { max-width: calc(100% - 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-tile .cap small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-mark .f-icon { position: relative; z-index: 2; }
.f-mark svg { z-index: 1; }
.f-mark span { position: relative; z-index: 0; }

/* ---------- single listing (redesign, no tab bar) ---------- */
.sh-hero { position: relative; background: var(--mist); padding: 56px 0 120px; overflow: hidden; }
.sh-hero .ecg { bottom: 0; height: 110px; }
.sh-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.sh-grid h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); margin-bottom: 14px; }
.sh-grid .lede { margin-bottom: 20px; }
.sh-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.sh-visual { position: relative; height: 470px; }
.sh-card { left: 70px; top: 0; width: 350px; }
.sh-card .hv-img { aspect-ratio: 4/3.3; }
.sh-chip-a { right: 10px; top: 60px; z-index: 3; }
.sh-chip-b { left: 0; top: 190px; z-index: 3; }
.sh-badge { position: absolute; right: 10px; bottom: 30px; z-index: 3; }
.sh-two { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sh-two--even { grid-template-columns: 1fr 1fr; align-items: stretch; }
.sv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sv-tile { border-radius: var(--r-md); padding: 20px; background: var(--t-sky); transition: transform .35s var(--ease); }
.sv-tile:nth-child(2) { background: var(--t-rose); } .sv-tile:nth-child(3) { background: var(--t-sun); } .sv-tile:nth-child(4) { background: var(--t-mint); }
.sv-tile:hover { transform: translateY(-4px); }
.sv-tile small { color: var(--ink-3); display: block; }
.sv-tile b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; margin: 4px 0 6px; }
.sv-tile p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.sh-contact { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 20px; }
.sh-contact-head { display: flex; gap: 14px; align-items: center; }
.sh-contact-head img { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); object-fit: cover; }
.sh-contact-head b { display: block; font-size: 1.05rem; }
.sh-contact-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.sh-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sh-bento .tile { min-height: 0; }
.sh-bento .tile h3 { margin-bottom: 16px; }
.sh-bento .kv-table td { border-color: rgba(10,22,51,.08); padding: 11px 0; }
.sh-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-chip { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; font-weight: 500; font-size: .92rem; }
.sh-chip svg { width: 22px; height: 22px; color: var(--blue-700); flex: none; }
.sh-cred { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sh-cred > div { background: #fff; border-radius: 14px; padding: 18px; }
.sh-cred .num { font-family: var(--display); font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.sh-cred p { margin: 6px 0 0; font-size: .9rem; }
.sh-web { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
.sh-web a:first-child { grid-row: auto; }
.sh-score { padding: 26px; }
.rev-big { font-family: var(--display); font-size: 4rem; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.sh-reviews { display: grid; gap: 12px; }
.sh-reviews blockquote { font-size: 1.1rem; margin: 0; }
.sh-reviews .who { margin-bottom: 8px; }
@media (max-width: 920px) {
  .sh-grid, .sh-two, .sh-two--even, .sh-bento { grid-template-columns: 1fr; }
  .sh-visual { height: 440px; max-width: 480px; width: 100%; margin: 0 auto; }
  .sh-contact { position: static; }
}
@media (max-width: 640px) {
  .sh-card { left: 0; width: 260px; }
  .sh-badge { display: none; }
  .sv-grid, .sh-chips, .sh-cred { grid-template-columns: 1fr; }
  .sh-actions .btn { flex: 1 1 45%; }
}

.btn-outline { display: flex; width: 100%; justify-content: center; box-sizing: border-box; }
nav.pagination { margin-top: 36px; }
nav.pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; justify-content: center; }
nav.pagination a.page-numbers,
nav.pagination span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
nav.pagination a.page-numbers:hover,
nav.pagination span.page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
.feat-grid svg { width: 22px; height: 22px; max-width: 22px; max-height: 22px; }
