/*
Theme Name: WordHerd Brand Theme
Theme URI: https://wordherd.io/
Description: Child theme for WordHerd brand site
Author: WordHerd
Template: wordherd-bare-bones
Version: 1.0.0
Text Domain: wordherd-brand-theme
*/

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
}
.is-layout-constrained > .alignwide {
    max-width: var(--wp--style--global--wide-size);
}

.wp-site-blocks {
  padding: 0 !important;
}

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2 {
    font-family: "Lora", serif;
    font-weight: 700;
}
h2 {
    line-height: 1.2;
}

/* ─── Design Tokens ────────────────────────────────────── */
:root {
  /* 2026 core palette */
  --ink:      #151b22;
  --muted:    #5f6b78;
  --bg:       #f2efe9;
  --surface:  #ffffff;
  --accent:   #0f7e78;
  --accent-2: #d16f3d;
  --accent-3: #0c6b66;
  --border:   #d7dce2;

  /* Compatibility aliases used across existing templates */
  --brand:    #006b92;
  --brand-dk: #004f6e;
  --black:    var(--ink);
  --white:    var(--surface);
  --grey-1:   var(--bg);
  --grey-2:   var(--border);
  --grey-3:   var(--muted);
  --radius:   10px;
  --radius-lg:20px;
  --shadow:   0 4px 24px rgba(18,27,34,.10);
  --shadow-lg:0 12px 48px rgba(18,27,34,.16);
}

/* ─── Utilities ────────────────────────────────────────── */
.container { max-width: 1160px; width: 100%; margin: 0 auto; padding: 0 24px; }
.text-brand  { color: var(--brand); }
.text-white  { color: var(--white); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 700; letter-spacing: .02em;
  cursor: pointer; transition: all .22s ease;
  border: 2px solid transparent;
}
.gform_button {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .22s ease;
    border: 2px solid transparent;
}
.btn-primary, .gform_button {
  background: var(--accent); color: var(--white);
}
.btn-primary:hover, .gform_button:hover {
  background: var(--accent-3); transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white); color: var(--brand); transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent; color: var(--brand); border-color: var(--brand);
}
.btn-outline-dark:hover {
  background: var(--brand); color: var(--white); transform: translateY(-2px);
}
.btn-white {
  background: var(--white); color: var(--brand);
}
.btn-white:hover { background: #f0f8fc; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
}
.section-label::before, .section-label::after {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--brand);
}

/* ─── Nav ──────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-2);
  transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.nav.scrolling {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(226, 232, 240, 0.8);
  * {
    filter: none !important;
  }
  .nav-cta a {
    display: inline-flex;
  }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links li {
    padding-top: 26px;
    height: 74px;
}
.nav-links a {
  font-size: .9rem; font-weight: 600; color: var(--black);
  transition: color .18s;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    justify-content: flex-end;
}
.nav .wb-button, 
.mobile-nav-cta .btn-primary {
  display: flex;
  gap: 6px;
  align-items: center;
  svg {
    fill: var(--white);
    height: 13px;
    width: auto;
  }
}

/* ─── Mega Menu (CSS-only) ─────────────────────────────── */
/*
  Technique: nav-items are position:static so .mega-menu's
  position:absolute is anchored to the sticky .nav element
  (the nearest positioned ancestor). This lets us center the
  wide panel on the viewport with left:50% + translateX(-50%).

  Hover gap is absorbed by:
    1. A transparent ::before bridge extending 20px above the panel
    2. A 0.22s visibility transition-delay on hide — any brief
       hover-loss while crossing the nav bottom border is invisible.

  Keyboard: :focus-within keeps menus open while tabbing through links.
*/
.nav-links > li { position: static; }

.has-mega > a {
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-links .has-mega li {
    padding-top: 0;
    height: auto;
}
.nav-caret {
  font-size: .58rem; display: inline-block;
  transition: transform .2s ease; margin-top: 1px;
}
.has-mega:hover .nav-caret,
.has-mega:focus-within .nav-caret { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius-lg);
  padding: 24px 28px 22px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  /* Show instantly; delay hide so hover gap is imperceptible */
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .22s;
  z-index: 200;
}
/* Invisible bridge: extends hit-area 20px above panel top */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px; left: 0; right: 0; height: 20px;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}

/* Compact dropdowns anchor to their own trigger item */
.nav-links > li.has-mega-compact { position: relative; }
.has-mega-compact .mega-menu {
  left: 0;
  transform: translateX(-15%) translateY(0);
}
.has-mega-compact:hover .mega-menu,
.has-mega-compact:focus-within .mega-menu {
  transform: translateX(-15%) translateY(0);
}

.nav-links > li.has-mega-compact .mega-menu.mega-platforms {
  left: 50%;
  transform: translateX(-40%) translateY(0);
}
/* .nav-links > li.has-mega-compact:hover .mega-menu.mega-platforms,
.nav-links > li.has-mega-compact:focus-within .mega-menu.mega-platforms {
  transform: translateX(-50%) translateY(0);
} */

/* ── Migration Services panel ──────────────────────────── */
.mega-services { width: min(940px, calc(100vw - 48px)); }

.mega-top-bar {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.mega-eyebrow {
  font-size: .67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--grey-3);
}
.mega-see-all {
  font-size: .78rem; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .15s;
}
.mega-see-all:hover { gap: 8px; }

.mega-dest-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.mega-dest-col {
  padding: 16px 15px 14px;
  border-right: 1px solid var(--grey-2);
  display: flex; flex-direction: column;
  transition: background .18s;
}
.mega-dest-col:last-child { border-right: none; }
.mega-dest-col:hover { background: var(--grey-1); }

.mega-dest-head {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 11px; margin-bottom: 11px;
  border-bottom: 1px solid var(--grey-2);
}
.mega-dest-ico {
    width: 30px; height: 30px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; flex-shrink: 0;
    padding: 4px;
    svg {
      fill: var(--white);
      /* filter: brightness(0) invert(1); */
    }
}
.mega-dest-info { line-height: 1.2; }
.mega-dest-info strong {
  font-size: .84rem; font-weight: 800; color: var(--black); display: block;
}
.mega-dest-info em {
  font-style: normal; font-size: .61rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--brand);
}

.mega-from-hd {
  font-size: .61rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--grey-3); margin-bottom: 6px;
}
.mega-from-links {
  list-style: none; display: flex; flex-direction: column;
  gap: 3px; flex: 1;
}
.mega-from-links a {
  font-size: .78rem; color: #555; transition: color .15s;
  display: flex; align-items: center; gap: 5px;
  padding: 2px 0;
}
.mega-from-links a::before {
  content: '\203A'; color: var(--grey-3); font-size: .9rem;
  line-height: 1; flex-shrink: 0; transition: color .15s;
}
.mega-from-links a:hover { color: var(--brand); }
.mega-from-links a:hover::before { color: var(--brand); }

.mega-dest-cta {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .72rem; font-weight: 700; color: var(--brand);
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--grey-2);
  transition: gap .15s;
}
.mega-dest-cta:hover { gap: 7px; }

/* ── Platforms panel ───────────────────────────────────── */
.mega-platforms { width: min(800px, calc(100vw - 48px)); }

.mega-plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 28px;
}
.mega-plat-group h5 {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--grey-3);
  margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px solid var(--grey-2);
}
.mega-plat-group ul { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.mega-plat-group ul a {
  font-size: .79rem; color: #444; transition: color .15s;
  display: flex; align-items: center; gap: 6px; padding: 2px 0;
}
.mega-plat-group ul a::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--grey-3); flex-shrink: 0; transition: background .15s;
}
.mega-plat-group ul a:hover { color: var(--brand); }
.mega-plat-group ul a:hover::before { background: var(--brand); }

.mega-plat-footer {
  margin-top: 16px; padding-top: 13px;
  border-top: 1px solid var(--grey-2);
  display: flex; align-items: center; justify-content: space-between;
}
.mega-plat-footer p { font-size: .78rem; color: #999; }
.mega-plat-footer a {
  font-size: .78rem; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .15s;
}
.mega-plat-footer a:hover { gap: 8px; }

/* ── Managed WordPress panel ───────────────────────────── */
.mega-managed {
  width: min(320px, calc(100vw - 48px));
  padding: 18px 20px 16px;
}
.mega-managed .mega-top-bar {
  margin-bottom: 10px;
}
.mega-managed-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-managed-links a {
  font-size: .84rem;
  color: #444;
  transition: color .15s;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
}
.mega-managed-links a::before {
  content: '\203A';
  color: var(--grey-3);
  font-size: .95rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color .15s;
}
.mega-from-links a:hover, 
.mega-plat-group ul a:hover, 
.mega-managed-links a:hover {
    background: var(--brand);
    border-radius: 5px;
    color: var(--white);
}
.mega-managed-links a:hover::before {
  color: var(--brand);
}

/* ─── Mobile Nav ───────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--black);
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius); transition: background .18s;
}
.nav-toggle:hover { background: var(--grey-1); }
.nav-toggle-bar {
  display: block; width: 22px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .25s, width .25s;
}
.nav-is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-is-open .nav-toggle-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

.mobile-nav-list {
  list-style: none; padding: 0;
  border-bottom: 1px solid var(--grey-2);
}
.mobile-nav-list > li { border-bottom: 1px solid var(--grey-2); }
.mobile-nav-list > li:last-child { border-bottom: none; }
.mobile-nav-list > li > a,
.mobile-nav-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  font-size: .95rem; font-weight: 600; color: var(--black);
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit;
  transition: background .15s, color .15s;
}
.mobile-nav-list > li > a:hover,
.mobile-nav-btn:hover { background: var(--grey-1); color: var(--brand); }
.mobile-nav-btn[aria-expanded="true"] { color: var(--brand); background: var(--grey-1); }
.mobile-caret {
  font-size: .55rem; flex-shrink: 0; margin-left: 4px; color: var(--grey-3);
  transition: transform .22s;
}
.mobile-nav-btn[aria-expanded="true"] .mobile-caret { transform: rotate(180deg); color: var(--brand); }
.mobile-sub {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: var(--grey-1);
}

/* Override defaults */
.wb-row, .wb-row__inner {
  max-width: 100%;
}

/* Breadcrumbs */
.breadcrumb.wb-row {
  background: #eee;
  border-bottom: 1px solid var(--grey-2);
  padding: 10px 0;
}

.breadcrumb-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: #888;
}

.breadcrumb-inner a {
  color: var(--brand);
  font-weight: 600;
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #ccc;
}

/* Migration Services accordion panel */
.mobile-sub-dest {
  padding: 12px 16px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-dest-item {
  background: var(--white); border: 1px solid var(--grey-2);
  border-radius: var(--radius); padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-dest-item-label { display: flex; align-items: center; gap: 8px; }
.mobile-dest-ico {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}
.mobile-dest-ico svg {
  fill: var(--white);
}
.mobile-dest-name { font-size: .88rem; font-weight: 800; color: var(--black); }
.mobile-dest-sub-links {
  list-style: none; display: flex; flex-direction: column;
  gap: 0; margin-top: 5px; padding-left: 34px;
}
.mobile-dest-sub-links a {
  font-size: .8rem; color: #555; transition: color .15s;
  display: flex; align-items: center; gap: 4px; padding: 3px 0;
}
.mobile-dest-sub-links a::before {
  content: '\203A'; color: var(--grey-3); font-size: .9rem;
  flex-shrink: 0; transition: color .15s;
}
.mobile-dest-sub-links a:hover { color: var(--brand); }
.mobile-dest-sub-links a:hover::before { color: var(--brand); }
.mobile-dest-see-all {
  font-size: .72rem; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 2px;
  white-space: nowrap; flex-shrink: 0; margin-left: 8px;
  transition: gap .15s;
}
.mobile-dest-see-all:hover { gap: 6px; }
.mobile-sub-dest-footer {
  font-size: .78rem; font-weight: 700; color: var(--brand);
  display: flex; align-items: center; gap: 4px;
  padding: 4px 0 2px; transition: gap .15s;
}
.mobile-sub-dest-footer:hover { gap: 8px; }

/* Platforms accordion panel */
.mobile-sub-platforms {
  padding: 14px 16px 16px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
}
.mobile-plat-group h5 {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--grey-3);
  margin-bottom: 6px; padding-bottom: 4px;
  border-bottom: 1px solid var(--grey-2);
}
.mobile-plat-group ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mobile-plat-group ul a {
  font-size: .78rem; color: #444; transition: color .15s;
  display: flex; align-items: center; gap: 5px; padding: 2px 0;
}
.mobile-plat-group ul a::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--grey-3); flex-shrink: 0; transition: background .15s;
}
.mobile-plat-group ul a:hover { color: var(--brand); }
.mobile-plat-group ul a:hover::before { background: var(--brand); }

/* Simple accordion panels (Resources, Managed WP) */
.mobile-sub-simple { padding: 6px 0; }
.mobile-sub-simple a {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 20px 10px 32px;
  font-size: .9rem; color: #444;
  transition: color .15s, background .15s;
}
.mobile-sub-simple a::before {
  content: '\203A'; color: var(--grey-3); font-size: 1rem;
  flex-shrink: 0; transition: color .15s;
}
.mobile-sub-simple a:hover { color: var(--brand); background: rgba(0,107,146,.04); }
.mobile-sub-simple a:hover::before { color: var(--brand); }

main {
  margin-top: 0px;
}

/* CTA row at bottom of drawer */
.mobile-nav-cta {
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.mobile-nav-cta .btn { justify-content: center; width: 100%; }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #000 0%, #00304a 60%, var(--brand) 100%);
  position: relative; overflow: hidden;
}
/* .hero::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006b92' fill-opacity='0.08'%3E%3Cpath d='M34 34l6 6-6 6-2-2 4-4-4-4zM34 4l6 6-6 6-2-2 4-4-4-4zM4 34l6 6-6 6-2-2 4-4-4-4zM4 4l6 6-6 6-2-2 4-4-4-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
} */
.hero .wb-row__inner {
  position: relative; z-index: 1;
}
.wb-heading.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900; line-height: 1.1; color: var(--white);
  margin-bottom: 24px; letter-spacing: -.02em;
}
.wb-heading.hero-title .highlight,
.hero-title .highlight {
  color: #7dd3f0;
}
.wb-paragraph.hero-sub {
  font-size: 1.1rem; color: #a8cfe0; padding: 0; margin-bottom: 40px; max-width: 520px;
  width: 100%;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stat-row {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat strong {
  display: block; font-size: 2rem; font-weight: 900; color: var(--white);
}
.hero-stat span { font-size: .82rem; color: #7dd3f0; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 1000px) {
  .hero > .wb-row__inner > .wb-row__columns {
    grid-template-columns: 1fr;
  }
}

/* Hero right – destination cards */
.hero-destinations {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.dest-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  backdrop-filter: blur(8px);
  transition: all .25s;
  cursor: default;
  .dest-platform {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}
.dest-card:hover {
  background: rgba(0,107,146,.25);
  border-color: rgba(0,107,146,.5);
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.dest-card-icon {
    background: rgba(0,0,0,.25);
    padding: 5px;
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.4rem;
}
.dest-card-icon svg {
    filter: brightness(0) invert(1);
}
.dest-card-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: .62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white);
  background: var(--brand); padding: 3px 10px; border-radius: 100px;
}
.dest-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.dest-card p { font-size: .82rem; color: #9ac5d8; line-height: 1.5; padding: 0; }
.dest-card .dest-tag {
  display: inline-block; margin-top: 12px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #7dd3f0; background: rgba(0,107,146,.3);
  padding: 3px 10px; border-radius: 100px;
}

/* ─── Trust Bar ────────────────────────────────────────── */
.wb-row.trust-bar {
  background: var(--grey-1); border-bottom: 1px solid var(--grey-2);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: #555;
}
.trust-item svg { color: var(--brand); }
.trust-divider { width: 1px; height: 20px; background: var(--grey-2); }

/* ─── Logo Scroller ────────────────────────────────────── */
.logo-scroller-section {
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--grey-2);
  overflow: hidden;
}
.logo-scroller-section .logo-scroller-label {
  text-align: center;
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .13em; color: var(--grey-3);
}
.logo-track-wrap {
  position: relative;
  overflow: hidden;
  /* Soft fade on both edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
/* Two identical sets of logos — second set makes the seam invisible */
.logo-track {
  display: flex; align-items: center;
  width: max-content;
  animation: logo-scroll 36s linear infinite;
}
.logo-track:hover { animation-play-state: paused; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 36px; height: 48px; flex-shrink: 0;
  opacity: .5; filter: grayscale(1);
  transition: opacity .22s, filter .22s;
  cursor: default;
}
.logo-item:hover { opacity: 1; filter: grayscale(0); }
.logo-item object,
.logo-item img {
  height: 26px; width: auto; max-width: 110px;
  object-fit: contain; display: block;
}
.logo-item svg {
    height: 24px;
    filter: brightness(0) invert(0);
}
/* Text-based logos (used when no image is available) */
.logo-text {
  font-size: .78rem; font-weight: 900; letter-spacing: -.02em;
  color: #555; white-space: nowrap; font-family: 'Inter', sans-serif;
  line-height: 1;
}
.logo-text .logo-tld { font-weight: 400; opacity: .6; }
.logo-sep {
  width: 1px; height: 24px; background: var(--grey-2); flex-shrink: 0;
}

/* ─── Migration Flow Section ───────────────────────────── */
.flow-section { padding: 96px 0; background: var(--white); }
.flow-section .section-head {
    max-width: 680px; 
    margin: 0 auto;
    text-align: center;
}
/* .flow-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--black); margin: 12px 0 16px;
  letter-spacing: -.02em;
} */
.flow-section .sub { font-size: 1.05rem; color: #555; }

.flow-diagram {
  display: flex; align-items: flex-start; gap: 0; position: relative;
}
.flow-col { flex: 1; }
.flow-arrow {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--grey-3);
    flex-shrink: 0; width: 60px;
    flex-basis: 35%;
}
.flow-col-label {
  text-align: center; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey-3); margin-bottom: 16px;
}

/* ─── What We Migrate ───────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--black);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
.assets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.asset-item {
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.asset-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}
.asset-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.asset-item:hover::before { transform: scaleY(1); }
.asset-item-icon svg {
    width: 30px;
    height: auto;
    fill: var(--brand);
}
.asset-item-icon { font-size: 1.4rem; margin-bottom: 10px; }
.asset-item h4 { font-size: .88rem; font-weight: 800; margin-bottom: 6px; color: var(--black); }
.asset-item p { font-size: .8rem; color: #666; line-height: 1.6; }

/* ── 4-phase process layout ───────────────────────────── */
.mig-phases {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  gap: 0;
  align-items: start;
  margin-top: 56px;
}
.mig-phase {
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 22px 24px;
}
.mig-phase-num {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.mig-phase h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black, #111);
  margin: 0 0 10px;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.mig-phase p {
  font-size: .84rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 16px;
}
.mig-phase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mig-phase-tags span {
  font-size: .71rem;
  font-weight: 600;
  background: var(--brand);
  color: var(--white);
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}
.mig-connector {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 38px;
}
.mig-connector svg {
  stroke: var(--brand-dk);
}
/* ── Compat bar ───────────────────────────────────────── */
.mig-compat {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mig-compat-col {
  flex: 1;
  padding: 20px 24px;
}
.mig-compat-divider {
  width: 1px;
  align-self: stretch;
  background: #e5e7eb;
  flex-shrink: 0;
}
.mig-compat-center {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 20px 32px;
}
.mig-compat-center img {
  height: 22px;
  width: auto;
}
.mig-compat-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
}
.mig-compat-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}
.mig-compat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mig-compat-pills .platform-pill,
.mig-compat-pills .dest-pill {
  font-size: .75rem;
  padding: 4px 10px;
}
.mig-compat-pills .dest-pill svg {
  width: 13px;
  height: 13px;
}
@media (max-width: 900px) {
  .mig-phases {
    grid-template-columns: 1fr;
  }
  .mig-connector {
    transform: rotate(90deg);
    padding: 10px 0;
    justify-content: center;
    align-items: center;
  }
  .mig-compat {
    flex-direction: column;
    align-items: stretch;
  }
  .mig-compat-divider {
    width: auto;
    height: 1px;
  }
}

.platform-grid {
  display: grid; gap: 8px;
}
.platform-pill {
  background: var(--grey-1); border: 1px solid var(--grey-2);
  border-radius: var(--radius); padding: 10px 14px;
  font-size: .85rem; font-weight: 600; color: #333;
  display: flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.platform-pill:hover {
  border-color: var(--brand); color: var(--brand);
  background: #f0f8fc;
}
.platform-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--grey-3);
}
.platform-pill:hover .dot { background: var(--brand); }
.platform-pill.more {
  font-size: .78rem; color: var(--grey-3); justify-content: center;
  border-style: dashed;
}

/* Destination cards in flow */
.dest-grid { display: grid; gap: 12px; }
.dest-pill {
  background: var(--brand); color: var(--white);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: .92rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,107,146,.25);
  svg {
    width: 24px;
    fill: var(--white);
    filter: brightness(0) invert(1);
  }
}
.dest-pill.secondary {
  background: var(--black); box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* WordHerd middle node */
.wh-node {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; padding: 28px 16px;
    background: linear-gradient(135deg, var(--black), var(--brand));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); flex-shrink: 0;
    width: 160px;
    min-width: 160px;
    flex-basis: 15%;
}
.wh-node img { width: 100px; filter: brightness(0) invert(1); }
.wh-node-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}

/* Center the flow */
.flow-center {
    display: flex; align-items: center; gap: 0;
}
.flow-center .flow-side { flex-basis: 20%; }

/* ─── Services Section ─────────────────────────────────── */
.wb-row.services-section { padding: 96px 0; background: var(--grey-1); }
.wb-row.services-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; border: 1px solid var(--grey-2);
  transition: all .25s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--brand); transform: scaleX(0);
  transform-origin: left; transition: transform .3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #0090c4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0,107,146,.25);
  padding: 8px;
  svg {
    filter: brightness(0) invert(1);
  }
}
.service-card h3 {
  font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; color: var(--black);
}
.service-card p { font-size: .88rem; color: #666; line-height: 1.6; margin-bottom: 20px; }
.service-card .service-platforms {
  display: flex; flex-wrap: wrap; gap: 6px;
  display: none;
}
.service-card .tag {
  font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  background: var(--grey-1); color: var(--brand); border: 1px solid var(--grey-2);
}
.service-card .learn-link {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 20px;
  font-size: .85rem; font-weight: 700; color: var(--brand);
  transition: gap .2s;
}
.service-card .learn-link:hover { gap: 8px; }

/* ─── How It Works ─────────────────────────────────────── */
.wb-row.how-section { background: var(--white); }
.wb-row.how-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.steps-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px; position: relative;
}
.steps-row::before {
  content: ''; position: absolute;
  top: 36px; left: calc(12.5% + 36px); right: calc(12.5% + 36px);
  height: 2px; background: var(--grey-2); z-index: 0;
}
.step-card {
  text-align: center; position: relative; z-index: 1;
}
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--grey-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: var(--brand);
  margin: 0 auto 20px; box-shadow: var(--shadow);
  transition: all .25s;
}
.step-card:hover .step-num {
  background: var(--brand); color: var(--white);
  border-color: var(--brand); box-shadow: var(--shadow-lg);
}
.step-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.step-card p { font-size: .86rem; color: #666; line-height: 1.6; }

/* ─── Why WordHerd ─────────────────────────────────────── */
.wb-row.why-section {
  background: linear-gradient(135deg, #000 0%, #00304a 60%, var(--brand) 100%);
}
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.wb-row.why-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--white); margin: 12px 0 24px;
  letter-spacing: -.02em;
}
.wb-row.why-section p { color: #a8cfe0; font-size: 1rem; line-height: 1.7; margin-bottom: 36px; padding: 0; }
.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point {
  display: flex; gap: 16px; align-items: flex-start;
}
.why-point-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0,107,146,.3); border: 1px solid rgba(0,107,146,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  padding: 8px;
  svg {
    fill: #fff;
  }
}
.why-point-text strong {
  display: block; font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.why-point-text span { font-size: .85rem; color: #9ac5d8; }

.why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.why-stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: center; backdrop-filter: blur(6px);
  transition: all .25s;
}
.why-stat-card:hover {
  background: rgba(0,107,146,.2); border-color: rgba(0,107,146,.4);
  transform: translateY(-4px);
}
.why-stat-card strong {
  display: block; font-size: 2.4rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.wb-row.why-section .why-stat-card .unit { color: #7dd3f0; }
.wb-row.why-section .why-stat-card span { font-size: .78rem; color: #9ac5d8; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.wb-row.why-section .why-stat-card p { font-size: .82rem; color: #7dd3f0; margin-bottom: 0px; }

/* ─── Platforms Grid ───────────────────────────────────── */
.wb-row.platforms-section { background: var(--grey-1); }
.wb-row.platforms-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--black); margin: 12px 0 16px;
  letter-spacing: -.02em;
}
.wb-row.platforms-section .sub { font-size: 1.05rem; color: #555; max-width: 640px; }
.wb-row.platforms-section .platforms-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }

.wb-row.platforms-section .platforms-filter {
  margin-bottom: 16px;
}

.platforms-filter {
  margin-bottom: 16px;
}

.wb-row.platforms-section .platforms-search-input {
  width: min(460px, 100%);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  padding: 12px 14px;
  font-size: .95rem;
}

.platforms-search-input {
  width: min(460px, 100%);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  padding: 12px 14px;
  font-size: .95rem;
}

.wb-row.platforms-section .platforms-search-input:focus {
  outline: 2px solid rgba(0, 107, 146, .25);
  border-color: var(--brand);
}

.platforms-search-input:focus {
  outline: 2px solid rgba(0, 107, 146, .25);
  border-color: var(--brand);
}

.wb-row.platforms-section .platforms-no-results {
  margin-top: 12px;
  font-size: .9rem;
  color: #555;
}

.platforms-no-results {
  margin-top: 12px;
  font-size: .9rem;
  color: #555;
}

.platforms-grid-shell {
  position: relative;
}

.platforms-grid-shell.is-collapsible.is-collapsed .platforms-grid {
  max-height: var(--platforms-collapse-height, 340px);
  overflow: hidden;
}

.platforms-expand-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -60px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 12px;
  background: linear-gradient(to bottom, rgba(242, 239, 233, 0), rgba(242, 239, 233, .9) 58%, rgba(242, 239, 233, 1) 100%);
  pointer-events: auto;
  cursor: pointer;
}

.platforms-grid-shell.is-expanded .platforms-expand-overlay {
  display: none !important;
}

.platforms-grid-shell.is-searching .platforms-expand-overlay {
  display: none !important;
}

.platforms-expand-toggle {
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

.platforms-expand-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.platforms-expand-toggle .platforms-expand-arrow {
  transition: transform .2s ease;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
}

.platforms-expand-toggle.is-expanded .platforms-expand-arrow {
  transform: rotate(180deg);
}

/* .wb-row.platforms-section .platforms-grid .wp-block-wordblocks-column {
  display: grid; 
  grid-template-columns: repeat(6, 1fr); 
  gap: 12px;
  grid-auto-rows: 1fr;
} */
 .platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    padding-top: 4px;
 }
.plat-item {
  cursor: pointer;
}
.plat-item a {
  display: flex;
  align-items: center;
  text-align: left;
  height: 100%;
  background: var(--white); border: 1px solid var(--grey-2);
  border-radius: var(--radius); padding: 16px 12px;
  font-size: .9rem; font-weight: 600; color: #444;
  transition: all .2s; cursor: pointer;
}
.plat-item a:hover {
  border-color: var(--brand); color: var(--brand); background: #f0f8fc;
  transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,107,146,.1);
}
.plat-item .plat-label {
  display: block;
  flex-basis: 80%;
}
.plat-item .plat-icon {
  width: 20px; 
  height: 20px; 
  /* border-radius: 50%; */
  fill: var(--grey-3); 
  margin: 0 auto 8px; 
  transition: background .2s;
}
.plat-item:hover .plat-icon { fill: var(--brand); }

.plat-item.plat-item-more {
  font-size:.75rem; color:var(--brand); font-weight:700;
}

/* ─── Testimonials ─────────────────────────────────────── */
.wb-row.testimonials-section { padding: 96px 0; background: var(--white); }
.wb-row.testimonials-section h2 {
  font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:900; color:var(--black); margin-bottom:16px; letter-spacing:-.02em;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: var(--grey-1); border-radius: var(--radius-lg);
  padding: 36px 32px; border: 1px solid var(--grey-2);
  transition: all .25s; position: relative;
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testi-card::before {
  content: '\201C'; font-size: 5rem; line-height: .6;
  color: var(--brand); opacity: .2; position: absolute; top: 24px; left: 28px;
  font-family: Georgia, serif;
}
.testi-quote {
  font-size: .92rem; color: #333; line-height: 1.75;
  margin-bottom: 28px; position: relative; z-index: 1; padding-top: 16px;
}
.testi-meta { display: flex; flex-direction: column; gap: 4px; }
.testi-name { font-size: .85rem; font-weight: 700; color: var(--black); }
.testi-role { font-size: .78rem; color: #888; }
.testi-badge {
  display: inline-flex; margin-top: 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-section {
  padding: 96px 0;
  background: var(--white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 48px;
}
.faq-item {
  border: 1px solid var(--grey-2);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: all .2s;
}
.faq-item:hover {
  border-color: var(--brand);
  background: #f9fcfe;
}
.faq-item h4 {
  font-size: .9rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.faq-item h4::before {
  content: 'Q';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-size: .6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.faq-item p {
  font-size: .83rem;
  color: #555;
  line-height: 1.7;
  padding: 0 0 0 30px;
  margin: 0;
}

/* ─── CTA Band ─────────────────────────────────────────── */
.wb-row.cta-section {
  background: var(--brand);
}
.cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 48px;
  align-items: center;
}
.wb-row.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--white); letter-spacing: -.02em;
}
.wb-row.cta-section p { color: rgba(255,255,255,.75); margin-top: 12px; font-size: 1.05rem; }
.wb-row.cta-section .cta-actions { display: flex; gap: 16px; flex-shrink: 0; }

/* ─── Footer ───────────────────────────────────────────── */
footer {
  background: var(--black); color: #aaa;
  padding: 64px 0 32px;
  margin-top: 0;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 3fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid #222;
}
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: .86rem; line-height: 1.7; color: #888; max-width: 300px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .86rem; color: #888; transition: color .18s; }
.footer-col ul a:hover { color: #7dd3f0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding-top: 32px;
}
.footer-bottom p { font-size: .8rem; color: #555; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: #1a1a1a; border: 1px solid #333;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: #888; font-weight: 700;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 1124px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav {
    display: block;
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white); overflow-y: auto;
    z-index: 99;
    transform: translateX(-100%); transition: transform .28s ease;
  }
  .nav.nav-is-open ~ .mobile-nav { transform: translateX(0); }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row::before { display: none; }
  .platforms-grid { grid-template-columns: repeat(4, 1fr); }
  .wb-row.platforms-section .platforms-grid .wp-block-wordblocks-column { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .wb-row.platforms-section .platforms-grid .wp-block-wordblocks-column { grid-template-columns: repeat(3, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-destinations { display: none; }
  .hero-stat-row { gap: 24px; }
  .flow-diagram { flex-direction: column; /* align-items: stretch; */ }
  .flow-center { flex-direction: column; gap: 30px; }
  .wh-node { width: 100%; }
  .flow-arrow { transform: rotate(90deg); padding-top: 0; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .single-industry .nav-toggle,
  .single-hubspot-migration .nav-toggle,
  .single-drupal-migration .nav-toggle,
  .single-website-migration .nav-toggle,
  .page-id-11275 .nav-toggle,
  .page-id-12039 .nav-toggle,
  .page-id-12001 .nav-toggle,
  .page-id-12900 .nav-toggle,
  .page-id-12912 .nav-toggle,
  .page-id-12023 .nav-toggle,
  .single-industry .nav-toggle,
  .single-migrate-to-gutenberg .nav-toggle,
  .single-migrate-to-divi .nav-toggle,
  .single-migrate-to-elementor .nav-toggle,
  .single-crm-migration .nav-toggle,
  .single-ecommerce-migration .nav-toggle,
  .single-migration .nav-toggle {
    color: var(--white);
  }

  .single-industry .nav.scrolling .nav-toggle,
  .single-ecommerce-migration .nav.scrolling .nav-toggle,
  .single-hubspot-migration .nav.scrolling .nav-toggle,
  .single-drupal-migration .nav.scrolling .nav-toggle,
  .single-website-migration .nav.scrolling .nav-toggle,
  .page-id-11275 .nav.scrolling .nav-toggle,
  .page-id-12039 .nav.scrolling .nav-toggle,
  .page-id-12001 .nav.scrolling .nav-toggle,
  .page-id-12900 .nav.scrolling .nav-toggle,
  .page-id-12912 .nav.scrolling .nav-toggle,
  .page-id-12023 .nav.scrolling .nav-toggle,
  .single-industry .nav.scrolling .nav-toggle,
  .single-migrate-to-gutenberg .nav.scrolling .nav-toggle,
  .single-migrate-to-divi .nav.scrolling .nav-toggle,
  .single-migrate-to-elementor .nav.scrolling .nav-toggle,
  .single-crm-migration .nav.scrolling .nav-toggle,
  .single-ecommerce-migration .nav.scrolling .nav-toggle,
  .single-migration .nav.scrolling .nav-toggle {
    color: var(--black);
    background: var(--grey-1) !important;
  }

  .nav-toggle:hover {
    background: transparent !important;
  }

  .assets-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .wb-row.platforms-section .platforms-grid .wp-block-wordblocks-column {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card p { display: none; }
  .wb-button-group.wb-button-group-a73be974-c02 {
    justify-content: flex-start;
  }

  .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  /* .footer-brand {
    text-align: center;
  }
  .footer-brand img {
    margin: 0 auto 16px;
  }
  .footer-brand p {
    margin: 0 auto;
  } */
}

/* ─── Website Migration Single (migrated CPT template) ────── */
.website-migration-single .section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.website-migration-single .migration-section {
  padding: 72px 0;
  background: var(--grey-1);
}

.website-migration-single .migration-section .section-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
}

.website-migration-single .migration-features h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.website-migration-single .migration-features h1 span {
  display: block;
  font-weight: 400;
}

.website-migration-single .migration-features h1 strong {
  color: var(--brand);
}

.website-migration-single .migration-features > p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 16px;
}

.website-migration-single .migration-features ul {
  list-style: none;
  display: grid;
  gap: 9px;
  padding: 0;
}

.website-migration-single .migration-features li {
  position: relative;
  padding-left: 18px;
  color: #222;
}

.website-migration-single .migration-features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: 10px;
}

.website-migration-single .migration-form {
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.website-migration-single .page-overview {
  background: var(--white);
  .wb-row {
    padding: 0;
  }
}

.website-migration-single .stats-section {
  padding: 72px 0;
  background: var(--grey-1);
}

.website-migration-single .stats-copy {
  margin-bottom: 28px;
}

.website-migration-single .stats-copy h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.25;
}

.website-migration-single .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.website-migration-single .stats-col-destination,
.website-migration-single .stats-col-source {
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  padding: 20px;
}

.website-migration-single .stats-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.website-migration-single .stats-grid h5 {
  color: var(--brand);
  margin-bottom: 12px;
}

.website-migration-single .full-width-outlined {
  margin-top: 14px;
}

.website-migration-single .full-width-outlined .wp-block-button__link {
  width: 100%;
  text-align: center;
}

@media (max-width: 960px) {
  .website-migration-single .migration-section .section-inner {
    grid-template-columns: 1fr;
  }

  .website-migration-single .stats-grid {
    grid-template-columns: 1fr;
  }
}


.lead-form-note {
    font-size: .72rem; color: #999; text-align: center; margin-top: 6px; padding-bottom: 0px;
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.lead-form-note svg { color: var(--grey-3); }

/* Gravity Forms */
.gform_required_legend {
    display: none;
}
.gform_wrapper.gravity-theme .gform_footer {
    padding-bottom: 0px;
}
.gform_wrapper.gravity-theme .gform_footer, 
.gform_wrapper.gravity-theme .gform_page_footer {
  padding: 0px;
}
#migration-form input[type="text"], 
#migration-form input[type="email"], 
#migration-form input[type="tel"], 
#migration-form input[type="url"], 
#migration-form textarea, 
#migration-form select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--grey-2);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .88rem;
    color: var(--black);
    outline: none;
    transition: border-color .18s;
    background: var(--white);
}
#migration-form input[type="submit"] {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .22s ease;
    border: 2px solid transparent;
    background: var(--accent); 
    color: var(--white);
}

#migration-form .gfield_checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#migration-form .gform_wrapper.gravity-theme .gfield-choice-input+label {
  font-size: 14px;
}

p {
    padding: 0 0 1.618rem 0;
}

.policy-page {
      background: radial-gradient(900px 420px at 7% 0%, rgba(15, 126, 120, 0.15), transparent 66%), radial-gradient(800px 420px at 95% 3%, rgba(209, 111, 61, 0.14), transparent 70%), linear-gradient(180deg, #e8ecef 0%, #f2efe9 34%, #f7f5f2 100%);
}

.single-intranet-migration .testimonials-section,
.single-migrate-to-gutenberg .testimonials-section,
.single-migrate-to-divi .testimonials-section,
.single-migrate-to-elementor .testimonials-section,
.single-migration .testimonials-section,
.single-crm-migration .faq-section,
.single-ecommerce-migration .faq-section,
.single-drupal-migration .faq-section,
.single-hubspot-migration .faq-section {
  background: var(--grey-1);
}