/* ============================================================
   SEO Company Karachi — Global brand stylesheet (header/footer/
   buttons/base, loaded on every page). No gradients anywhere.
   Lexend headings, Carlito body (metric-compatible Calibri).
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --surface: #F6F7FA;
  --surface-2: #ECEEF2;
  --ink: #16121F;
  --ink-soft: #4B5568;
  --muted: #4B5568;
  --on-dark-soft: #a9c7db;
  --line: #E4E7EE;
  --white: #FFFFFF;

  --purple-100: #dceef7;
  --purple-300: #5fa8cb;
  --purple-500: #146b9c;
  --purple-600: #0e4c75;
  --purple-800: #123b5c;
  --purple-900: #0b3b60;
  --purple-950: #082a44;

  --gold-100: #ffe4dc;
  --gold-400: #ff6b4a;
  --gold-600: #d9502f;

  --success: #1FAA59;

  --font-head: "Lexend", "Segoe UI", Arial, sans-serif;
  --font-body: "Carlito", Calibri, Candara, "Segoe UI", Optima, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(16,24,40,0.05);
  --shadow: 0 10px 30px rgba(16,24,40,0.08);
  --shadow-lg: 0 20px 50px rgba(16,24,40,0.14);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17.5px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container, .wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
section.alt { background: var(--surface); }
section.dark { background: var(--purple-900); color: var(--white); }
section.dark h2, section.dark h3, section.dark h4 { color: var(--white); }
section.dark p { color: var(--on-dark-soft); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: "\2192"; display: inline-block; width: 0; opacity: 0; overflow: hidden;
  transition: width 0.25s ease, opacity 0.2s ease, margin-left 0.25s ease;
}
.btn:hover::after { width: 1em; opacity: 1; margin-left: 2px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.97); }

.btn-primary { background: var(--gold-400); color: var(--purple-900); box-shadow: 0 10px 24px rgba(255,107,74,0.32); animation: pulseRing 2.6s ease-in-out infinite; }
.btn-primary:hover { background: var(--gold-600); box-shadow: 0 14px 30px rgba(255,107,74,0.4); animation: none; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--purple-500); color: var(--purple-600); box-shadow: 0 12px 26px rgba(20,107,156,0.18); }

/* ============ HEADER ============ */
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--white); letter-spacing: -0.01em; }
.logo-text span { color: var(--gold-400); }
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo { display: block; height: 104px; width: auto; }
.footer-logo { height: 112px; }
header.slc-site { background: var(--purple-900); border-bottom: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: rgba(255,255,255,0.8); transition: color 0.15s ease; }
.nav-links > a:hover { color: var(--gold-400); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-cta .btn { padding: 10px 18px; font-size: 13.5px; }
.nav-phone { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--white); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--white); }

.nav-dropdown { position: relative; }
.nav-dropdown > .drop-trigger {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: rgba(255,255,255,0.8); transition: color 0.15s ease;
}
.nav-dropdown > .drop-trigger:hover { color: var(--gold-400); }
.nav-dropdown .caret { width: 11px; height: 11px; transition: transform 0.2s ease; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 230px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); transition: background 0.15s ease, color 0.15s ease; }
.dropdown-menu a:hover { background: var(--surface); color: var(--purple-600); }
.dropdown-menu .drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--purple-600); }

/* ============ FOOTER ============ */
footer.slc-site-footer { background: var(--purple-900); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand p { font-size: 15px; margin: 16px 0 20px; color: rgba(255,255,255,0.55); }
.footer-col h5 { font-family: var(--font-head); color: var(--white); font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.6); }
.footer-contact { gap: 14px !important; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact li span, .footer-contact li a { padding-top: 1px; }
.footer-contact .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--gold-400); fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-view-all { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-400) !important; font-weight: 600; margin-top: 4px; }
.footer-view-all .icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform 0.15s ease; }
.footer-view-all:hover .icon { transform: translateX(3px); }

.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 14px; flex-wrap: wrap; gap: 10px; }
.footer-bottom .tags { color: rgba(255,255,255,0.35); }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.social-row a:hover { background: var(--purple-100); }
.social-row .icon { width: 16px; height: 16px; color: var(--purple-600); }
footer.slc-site-footer .social-row a { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
footer.slc-site-footer .social-row .icon { color: var(--white); }

.slc-success-bar { background: var(--gold-100); color: var(--purple-900); border-radius: var(--radius-sm); padding: 20px; font-weight: 600; text-align: center; }

/* ============ REVEAL BASE STATE ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============ KEYFRAMES ============ */
@keyframes hdDashFade { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }
@keyframes growBar { 0% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }
@keyframes drawLine { 100% { stroke-dashoffset: 0; } }
@keyframes pinPulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pulseRing {
  0%, 100% { box-shadow: 0 12px 28px rgba(255,107,74,0.35); }
  50% { box-shadow: 0 12px 28px rgba(255,107,74,0.35), 0 0 0 10px rgba(255,107,74,0.14); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes driftBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 16px) scale(1.05); }
}

.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.16; pointer-events: none; animation: driftBlob 10s ease-in-out infinite; z-index: 0; }
.blob-purple { background: var(--purple-500); }
.blob-gold { background: var(--gold-400); }

@media (prefers-reduced-motion: reduce) {
  .hd-dash, .map-pin::after, .btn-primary, .blob { animation: none !important; }
  .map-pin::after { display: none; }
}

/* ============ RESPONSIVE (header/footer/global) ============ */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 20px; }
}

@media (max-width: 860px) {
  .site-logo { height: 80px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--purple-900);
    padding: 10px 24px 22px; box-shadow: var(--shadow-lg); border-bottom: 1px solid rgba(255,255,255,0.12);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-links.is-open > a, .nav-links.is-open .drop-trigger { width: 100%; padding: 12px 0; font-size: 16px; }
  .nav-links.is-open .nav-dropdown { width: 100%; }
  .nav-links.is-open .drop-trigger { justify-content: space-between; }
  .nav-links.is-open .caret { display: none; }
  .nav-links.is-open .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    background: rgba(255,255,255,0.05); display: grid; min-width: 0; margin-bottom: 8px; padding: 8px;
  }
  .nav-links.is-open .dropdown-menu a { color: rgba(255,255,255,0.75); }
  .nav-links.is-open .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--gold-400); }
}

@media (max-width: 720px) {
  html { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ============================================================
   MOBILE FIX — forces responsive grid columns everywhere,
   overriding inline grid-template-columns set in PHP templates
   (inline styles otherwise beat the responsive rules in
   custom.css / home.css on small screens).
   ============================================================ */
@media (max-width: 900px) {
  .card-grid-4, .feat-grid, .point-grid, .diff-strip, .process-grid,
  .ind-grid, .stat-row, .review-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hero-grid, .about-grid, .content-row, .blog-layout,
  .where-grid, .faq-split, .contact-split {
    grid-template-columns: 1fr !important;
  }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 620px) {
  .card-grid-4, .feat-grid, .point-grid, .diff-strip, .process-grid,
  .ind-grid, .stat-row, .review-grid, .form-row {
    grid-template-columns: 1fr !important;
  }
  .wrap, .container { padding: 0 18px !important; }
  section { padding: 48px 0 !important; }
  h1 { font-size: clamp(26px, 8vw, 34px) !important; line-height: 1.25 !important; }
  h2 { font-size: clamp(22px, 6vw, 28px) !important; }
  .hero-actions, .btn-row, .cta-banner .btn-row, .about-actions {
    flex-direction: column !important; align-items: stretch !important;
  }
  .hero-actions .btn, .btn-row .btn, .about-actions .btn { width: 100% !important; }

  /* THE root cause of the sitewide "text runs off the right edge" bug:
     a grid/flex item's default min-width is `auto`, which lets unshrinkable
     content (two side-by-side nowrap buttons, in this case) force the
     whole grid track wider than the viewport instead of wrapping. Setting
     min-width:0 on every 2-column row's items is the standard fix and
     protects against the same thing happening with any other content. */
  .content-copy, .content-visual, .about-copy, .about-art,
  .hero-copy, .hero-art { min-width: 0 !important; }
  .cta-banner { flex-direction: column !important; text-align: center !important; gap: 20px !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  table { display: block !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .currency-toggle { margin: 0 auto !important; }

  /* Hero badge was wrapping into a bulky 2-line pill on phones, and the
     decorative dash marks (positioned by viewport %) landed on top of the
     text once the hero copy took the full width. */
  .hero-badge { font-size: 11.5px !important; padding: 7px 12px !important; gap: 6px !important; line-height: 1.35 !important; }
  .hero-dots { display: none !important; }

  /* Image+text rows (About, Why It Matters, Why Choose Us — used sitewide
     on the home page and every service/industry page): stop the image
     card's soft shadow from visually bleeding into the stacked text below
     it, force every image/visual box to respect the viewport width no
     matter what inline height/width styles the PHP template set, and
     tighten the row gap and paragraph size so long paragraphs read less
     sprawling on a phone screen. */
  .about-art { box-shadow: 0 6px 16px rgba(16,24,40,0.10) !important; }
  .about-grid, .content-row { row-gap: 24px !important; }
  .about-art, .about-illustration, .content-visual, .content-illustration {
    max-width: 100% !important; width: 100% !important; height: auto !important; min-height: 0 !important;
  }
  .about-illustration img, .content-illustration img {
    max-width: 100% !important; width: 100% !important; height: auto !important;
  }
  .about-copy p, .content-copy p, .section-head p, .faq-intro {
    font-size: 15.5px !important; line-height: 1.6 !important;
  }
  html { font-size: 15.5px !important; }
}

@media (max-width: 400px) {
  html { font-size: 15px; }
  .svc-card, .point-card, .ind-card { padding: 20px !important; }
  .site-logo { height: 64px; }
  .footer-logo { height: 80px; }
}
/* ============ WHATSAPP FLOATING BUTTON ============ */
.slc-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slc-whatsapp-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 28px rgba(37,211,102,0.55); }
.slc-whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  animation: slcWaPulse 2.2s ease-out infinite; z-index: -1;
}
@keyframes slcWaPulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slc-whatsapp-float::before { animation: none; } }
@media (max-width: 620px) {
  .slc-whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .slc-whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============ GOOGLE SEARCH DEMO ============ */
.gdemo-wrap { max-width: 560px; margin: 8px auto 0; }
.gdemo-results { min-height: 92px; transition: opacity 0.3s ease; }
.gdemo-results .serp-result { display: flex; flex-direction: column; gap: 3px; font-family: arial, sans-serif; }
.gdemo-results .serp-favline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #202124; }
.gdemo-results .serp-favline .brc { color: #70757a; margin: 0 2px; }
.gdemo-results .serp-favicon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #146b9c; color: #fff; font-size: 8.5px; font-weight: 700; flex-shrink: 0; }
.gdemo-results .serp-title { font-family: arial, sans-serif; font-size: 18px; line-height: 1.3; color: #1a0dab; font-weight: 400; }
.gdemo-results .serp-desc { font-family: arial, sans-serif; font-size: 13.5px; line-height: 1.44; color: #4d5156; }
.g-search-bar .g-cursor { display: inline-block; }

/* ============ SEO PROCESS TIMELINE ============ */
.seo-process-track { display: flex; justify-content: space-between; gap: 12px; position: relative; margin-top: 12px; }
.seo-process-track::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--line); z-index: 0; }
.seo-process-step { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 10px; }
.seo-process-num { width: 48px; height: 48px; border-radius: 50%; background: var(--purple-500); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; margin: 0 auto 16px; box-shadow: 0 8px 18px rgba(20,107,156,0.3); }
.seo-process-step:nth-child(even) .seo-process-num { background: var(--gold-400); color: var(--purple-900); box-shadow: 0 8px 18px rgba(255,107,74,0.3); }
.seo-process-step h3 { font-size: 16px; margin-bottom: 8px; }
.seo-process-step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 820px) {
  .seo-process-track { flex-direction: column; gap: 28px; text-align: left; }
  .seo-process-track::before { display: none; }
  .seo-process-step { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 0; }
  .seo-process-num { margin: 0; flex-shrink: 0; }
}

/* ============ PLATFORM CHIPS ============ */
.platform-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.platform-chip { display: inline-flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 12px 20px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); box-shadow: var(--shadow-sm); }
.platform-chip .icon { width: 17px; height: 17px; color: var(--purple-600); }

/* ============ SERVICE MARQUEE (left-to-right, light bg, full view) ============ */
.svc-marquee { overflow: hidden; position: relative; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.svc-marquee-track { display: flex; align-items: stretch; gap: 22px; width: max-content; animation: logoMarqueeLTR 40s linear infinite; padding: 6px 0; }
.svc-marquee:hover .svc-marquee-track { animation-play-state: paused; }
.svc-marquee .svc-card { width: 270px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .svc-marquee-track { animation: none; } }
@media (max-width: 620px) { .svc-marquee .svc-card { width: 230px; } }

/* ============ TOOL CHIPS (dark marquee, icon badge + name) ============ */
.tool-chip { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; white-space: nowrap; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-pill); padding: 10px 22px 10px 10px; }
.tool-chip .tool-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: 0.01em; }
.tool-chip .tool-name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fff; }
@media (max-width: 620px) {
  .tool-chip { padding: 8px 18px 8px 8px; gap: 10px; }
  .tool-chip .tool-ic { width: 30px; height: 30px; font-size: 11px; }
  .tool-chip .tool-name { font-size: 14px; }
}

/* ============ PRICING PAGE (missed inline styles from original) ============ */
.pricing-grid { grid-template-columns: repeat(3,1fr) !important; align-items: stretch; }
@media (max-width:900px) { .pricing-grid { grid-template-columns: 1fr !important; } }
.factor-grid { grid-template-columns: repeat(5,1fr) !important; }
@media (max-width:980px) { .factor-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width:620px) { .factor-grid { grid-template-columns: repeat(2,1fr) !important; } }
.included-grid { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 20px; }
@media (max-width:900px) { .included-grid { grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width:560px) { .included-grid { grid-template-columns: 1fr !important; } }
.proof-wrap { max-width: 620px; margin: 0 auto; }

/* ============ CURRENCY TOGGLE (Pricing page) ============ */
.currency-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px; gap: 4px; }
.curr-btn { border: none; background: transparent; padding: 8px 22px; border-radius: var(--radius-pill); font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-soft); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.curr-btn.active { background: var(--purple-900); color: var(--white); }
.curr-btn:hover:not(.active) { color: var(--ink); }

/* ============ BLOG REDESIGN ============ */
.blog-ph { display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#0d3a5c,#146b9c); color:#fff; }
.blog-ph .icon { width:44px; height:44px; opacity:.85; }
.blog-meta-line { display:block; font-size:13px; color:var(--muted); margin:0 0 12px; }
.blog-hero-card { display:grid; grid-template-columns:1.1fr 1fr; background:var(--white); border-radius:22px; overflow:hidden; box-shadow:var(--shadow-sm); text-decoration:none; color:inherit; transition:transform .25s ease, box-shadow .25s ease; }
.blog-hero-card:hover { transform:translateY(-5px); box-shadow:0 22px 44px rgba(18,59,92,.16); }
.bhc-media { min-width:0; min-height:280px; }
.bhc-media .blog-thumb { width:100%; height:100%; min-height:280px; aspect-ratio:auto; object-fit:cover; display:block; }
.bhc-body { min-width:0; padding:34px 34px 36px; display:flex; flex-direction:column; justify-content:center; }
.bhc-body h2 { font-size:27px; line-height:1.28; margin:10px 0 14px; }
.bhc-body p { color:var(--muted); font-size:16px; line-height:1.65; margin-bottom:14px; }
.bhc-body .btn { align-self:flex-start; margin-top:6px; }
.post-toc { background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:20px 24px; margin:0 0 32px; }
.post-toc strong { display:block; font-family:var(--font-head); margin-bottom:10px; }
.post-toc ol { margin:0; padding-left:20px; list-style:decimal; }
.post-toc li { margin-bottom:6px; }
.post-toc a { color:var(--purple-600); text-decoration:none; }
.post-toc a:hover { text-decoration:underline; }
.post-content h2 { scroll-margin-top:90px; }
.post-cta-box { margin:44px 0 28px; padding:32px 30px; border-radius:20px; background:linear-gradient(135deg,#0d3a5c,#146b9c); color:#fff; text-align:center; }
.post-cta-box h3 { color:#fff; font-size:24px; margin:0 0 10px; }
.post-cta-box p { color:#cfe3f0; margin:0 auto 20px; max-width:520px; }
.post-cta-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.post-cta-wa { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.55); }
.post-cta-wa:hover { background:rgba(255,255,255,.12); color:#fff; }
.post-author-box { display:flex; gap:16px; align-items:flex-start; padding:22px; border:1px solid var(--line); border-radius:16px; background:var(--white); }
.post-author-box p { margin:6px 0 0; color:var(--muted); font-size:15px; }
.post-author-avatar { flex:0 0 46px; width:46px; height:46px; border-radius:50%; background:#dceef7; color:#146b9c; display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700; }
.post-key-takeaways { background:var(--surface); border-left:4px solid var(--gold-400); border-radius:0 14px 14px 0; padding:18px 22px; margin:0 0 28px; }
.post-key-takeaways strong { font-family:var(--font-head); }
@media (max-width:820px){
  .blog-hero-card { grid-template-columns:1fr; }
  .bhc-media, .bhc-media .blog-thumb { min-height:0; aspect-ratio:16/10; }
  .bhc-body { padding:24px 22px 26px; }
  .bhc-body h2 { font-size:22px; }
  .post-cta-box { padding:26px 20px; }
  .post-cta-actions .btn { width:100%; }
}
/* ---- Blog 3-column grid ---- */
.blog-grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:30px; }
.blog-grid-3 .blog-card { height:100%; border-radius:22px; }
.blog-grid-3 .blog-thumb { aspect-ratio:16/10; }
.blog-grid-3 .blog-card-body { padding:26px 28px 30px; }
.blog-grid-3 .blog-card-body h3 { font-size:22px; line-height:1.3; margin:10px 0 12px; }
.blog-grid-3 .blog-card-body p { font-size:15.5px; line-height:1.65; }
.blog-pagination { text-align:center; margin-top:40px; }
.blog-pagination .page-numbers { display:inline-block; min-width:40px; padding:9px 14px; margin:0 3px; border-radius:10px; border:1px solid var(--line); color:var(--ink); text-decoration:none; }
.blog-pagination .page-numbers.current { background:#146b9c; border-color:#146b9c; color:#fff; }
@media (max-width:980px){ .blog-grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; } }
@media (max-width:620px){ .blog-grid-3 { grid-template-columns:1fr; } .blog-grid-3 .blog-card-body h3 { font-size:20px; } }
/* ---- Pricing comparison table ---- */
.price-compare { overflow-x:auto; background:var(--white); border-radius:18px; box-shadow:var(--shadow-sm); }
.price-compare table { width:100%; min-width:640px; border-collapse:collapse; }
.price-compare th, .price-compare td { padding:14px 18px; text-align:center; border-bottom:1px solid var(--line); font-size:15px; }
.price-compare th:first-child, .price-compare td:first-child { text-align:left; font-weight:600; color:var(--ink); }
.price-compare thead th { background:#0d3a5c; color:#fff; font-family:var(--font-head); border-bottom:0; }
.price-compare thead th small { font-weight:500; color:#a9c7db; }
.price-compare tbody tr:nth-child(even) { background:var(--surface); }
.pc-yes { color:#1a9d5c; font-weight:700; }
.pc-no { color:#9aa4b2; }
/* Footer bottom links: readable on the dark footer */
.footer-bottom .tags a { color: rgba(255,255,255,0.8) !important; }
.footer-bottom .tags a:hover { color: #ffffff !important; text-decoration: underline; }

/* Footer column alignment: links sit directly under their headings */
.slc-site-footer .footer-col ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.slc-site-footer .footer-col li { margin-left: 0 !important; padding-left: 0 !important; }
.slc-site-footer .footer-contact li span { font-size: 14.5px; font-family: inherit; }

.slc-site-footer .footer-brand p a.footer-inline-link { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.slc-site-footer .footer-brand p a.footer-inline-link:hover { color: #ff6b4a; }

/* ---- Client logos wall (static, distinct from moving tools marquee) ---- */
.client-logos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px 24px; align-items: center; justify-items: center; margin-top: 40px; }
.client-logo-item { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; }
.client-logo-item img { max-height: 56px; max-width: 140px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.25s ease, opacity 0.25s ease; }
.client-logo-item:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 820px) { .client-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; } }
@media (max-width: 480px) { .client-logos-grid { grid-template-columns: repeat(2, 1fr); } }