/**
 * 66sites — Main stylesheet
 * Brand: cyan → blue gradient, navy, light surfaces
 */
:root {
  --navy: #071a2e;
  --navy-2: #0c2744;
  --navy-3: #123456;
  --blue: #1a7cff;
  --blue-hover: #0d6aef;
  --cyan: #4ec5ff;
  --cyan-soft: #e8f6ff;
  --ink: #0f1c2e;
  --ink-soft: #3d4f66;
  --muted: #5a6d85;
  --line: #d9e3ef;
  --line-soft: #eef3f9;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-tint: #eef6ff;
  --success: #0f8a5f;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(7, 26, 46, 0.08);
  --shadow-sm: 0 4px 16px rgba(7, 26, 46, 0.06);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --container: 1160px;
  --header-topbar-h: 36px;
  --header-nav-h: 72px;
  --header-h: calc(var(--header-topbar-h) + var(--header-nav-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul, ol { margin: 0 0 1.25em; padding-left: 1.2em; color: var(--ink-soft); }
li + li { margin-top: 0.35em; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--blue); color: #fff; padding: 0.75rem 1rem;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font); font-weight: 650; font-size: 0.98rem;
  cursor: pointer; text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--cyan-soft); color: var(--blue); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0.85rem 1.6rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
}
.header-topbar {
  background: #003A7A;
  color: #fff;
  text-align: center;
  min-height: var(--header-topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
}
.header-topbar__text {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #fff;
}
.header-main {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-nav-h);
}
.logo img {
  width: 148px; height: auto;

  border-radius: 8px;
  padding: 6px 10px;
}
.logo--footer img {
  width: 150px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.primary-nav { margin-left: auto; }
.nav-list {
  display: flex; align-items: center; gap: 0.15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  border-radius: 8px; text-decoration: none !important;
}
.nav-link:hover, .nav-link.is-active { color: var(--blue); background: var(--cyan-soft); }
.nav-link:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.has-mega .mega-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  min-width: 640px; padding: 1.25rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  z-index: 50;
}
.mega-menu--sm { min-width: 420px; }
.mega-menu__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.mega-menu__grid--4 { grid-template-columns: repeat(2, 1fr); }
.mega-menu a {
  display: block; padding: 0.4rem 0.5rem; color: var(--ink-soft);
  border-radius: 6px; font-weight: 500; text-decoration: none !important;
}
.mega-menu a:hover { background: var(--bg-alt); color: var(--blue); }
.mega-label {
  margin: 0 0 0.4rem; padding: 0 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.mega-cta {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius-sm); padding: 1rem;
}
.mega-cta p { color: rgba(255,255,255,.85); font-size: 0.9rem; margin-bottom: 0.85rem; }
.mega-all { color: var(--cyan) !important; margin-top: 0.75rem; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.75rem; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
}

/* Breadcrumbs */
.breadcrumbs { padding: 1rem 0 0; font-size: 0.875rem; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none;
  margin: 0; padding: 0; color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/"; margin-left: 0.35rem; color: var(--line);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }

/* Hero — full-bleed right image (reference split layout) */
.hero {
  position: relative;
  padding: 0;
  background: #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: min(78vh, 720px);
  width: 100%;
  max-width: none;
}
.hero__copy {
  display: flex;
  align-items: center;
  background: #fff;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 3vw, 2.5rem);
  padding-left: max(1rem, calc((100vw - var(--container)) / 2));
}
.hero__copy-inner {
  width: 100%;
  max-width: 34rem;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0 0 1rem; padding: 0.35rem 0.75rem;
  background: var(--cyan-soft); color: var(--blue);
  border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 { margin-bottom: 0.85rem; max-width: 14ch; }
.hero__lead {
  font-size: 1.125rem; max-width: 36ch; margin-bottom: 1.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero__note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.hero__media {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--bg-alt);
  min-height: 0;
  align-self: stretch;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__media-inner {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 2rem;
  color: #fff; text-align: center;
}
.hero__media-card {
  width: min(100%, 340px);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 1.25rem; text-align: left;
  backdrop-filter: blur(8px);
}
.hero__media-card strong { display: block; color: #fff; margin-bottom: 0.35rem; }
.hero__media-card span { color: rgba(255,255,255,.75); font-size: 0.9rem; }
.hero__orb { display: none; }

/* Stats */
.stats-bar {
  background: linear-gradient(90deg, var(--blue), #0f6ae0 55%, #1590ff);
  color: #fff; padding: 1.75rem 0;
}
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.stat-item strong {
  display: block; font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; color: #fff;
}
.stat-item span { font-size: 0.92rem; color: rgba(255,255,255,.88); }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--bg-tint); }
.section--navy {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p, .section--navy li { color: rgba(255,255,255,.84); }
.section-header { max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }
.section-header--left { margin-left: 0; text-align: left; }
.section-title { margin-bottom: 0.5rem; }
.section-lead { font-size: 1.1rem; margin: 0; }

/* Value grid (why choose) */
.value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.value-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem;
  padding: 0.5rem 0;
}
.value-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(78, 197, 255, 0.15); color: var(--cyan);
  font-weight: 800; font-family: var(--display);
}
.section--navy .value-icon { background: rgba(255,255,255,.1); color: var(--cyan); }

/* Feature / Z-pattern */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-copy { order: 2; }
.feature-row--reverse .feature-media { order: 1; }
.feature-media {
  border-radius: 18px; overflow: hidden; min-height: 280px;
  background: linear-gradient(145deg, var(--bg-tint), #dcecff);
  border: 1px solid var(--line);
  display: grid; place-items: center; padding: 2rem;
}
.feature-media--photo {
  padding: 0;
  display: block;
  min-height: 340px;
  border: 0;
  background: var(--bg-alt);
}
.feature-media--photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  max-width: none;
}
.feature-media__panel {
  width: 100%; max-width: 360px;
  background: #fff; border-radius: 14px; padding: 1.25rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
}
.feature-kicker {
  color: var(--blue); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem;
}
.feature-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 700; color: var(--blue); text-decoration: none !important;
}
.feature-link:hover { gap: 0.55rem; }

/* Cards / grids */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: #b7d4f5; box-shadow: var(--shadow-sm); transform: translateY(-2px);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 0.9rem;
  display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--blue); font-weight: 800;
}
.card h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.card p { margin: 0; font-size: 0.98rem; }
.card a.stretched {
  color: inherit; text-decoration: none !important;
}
.card a.stretched::after {
  content: ""; position: absolute; inset: 0;
}
.card { position: relative; }

.industry-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem;
}
.industry-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem;
  padding: 1.1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink); text-decoration: none !important;
  font-weight: 650; min-height: 110px;
}
.industry-tile:hover { border-color: var(--blue); color: var(--blue); }
.industry-tile span {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-alt); display: grid; place-items: center;
  color: var(--blue); font-size: 0.85rem;
}

.platform-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.75rem;
  align-items: center;
}
.platform-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 650; text-decoration: none !important;
}
.platform-pill:hover { border-color: var(--blue); color: var(--blue); }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; align-items: stretch;
}
.pricing-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.5rem 1.25rem; overflow: hidden;
}
.pricing-card--popular {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
  background: linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, var(--cyan), var(--blue)) border-box;
  border: 2px solid transparent;
}
.pricing-card__badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--blue); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.3rem 0.55rem; border-radius: 999px;
}
.pricing-card__header h3 { margin-bottom: 0.35rem; }
.pricing-card__price {
  display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.5rem;
}
.pricing-card__price .amount {
  font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--ink);
}
.pricing-card__price .period { color: var(--muted); font-size: 0.95rem; }
.pricing-card__header p { font-size: 0.92rem; margin-bottom: 1rem; }
.pricing-card__features {
  list-style: none; margin: 0 0 1.25rem; padding: 0; flex: 1;
}
.pricing-card__features li {
  position: relative; padding-left: 1.5rem; margin: 0 0 0.55rem;
  color: var(--ink-soft); font-size: 0.95rem;
}
.pricing-card__features li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--blue);
}
.pricing-card .btn { width: 100%; margin-top: auto; }

/* Process */
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step;
}
.process-step {
  position: relative; padding: 1.25rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.process-step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800;
  font-size: 0.85rem; margin-bottom: 0.75rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.process-step p { margin: 0; font-size: 0.92rem; }

/* FAQ */
.faq-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.5rem; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.15rem;
  font-weight: 650; color: var(--ink); position: relative; padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cyan-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 1.15rem 1.15rem; color: var(--ink-soft); }
.faq-answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #0a3a6e 50%, var(--navy-2) 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0; color: #fff;
}
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.35rem; }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 42ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Related */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.related-card {
  display: block; padding: 1.2rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none !important; color: inherit;
}
.related-card:hover { border-color: var(--blue); }
.related-card__title { display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.related-card__desc { display: block; color: var(--muted); font-size: 0.92rem; }
.related-card__arrow { display: inline-block; margin-top: 0.65rem; color: var(--blue); font-weight: 700; }

/* Page hero — full-bleed right image (same split as homepage) */
.page-hero {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: min(68vh, 640px);
  width: 100%;
  max-width: none;
}
.page-hero__copy {
  display: flex;
  align-items: center;
  background: #fff;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.25rem, 3vw, 2.5rem);
  padding-left: max(1rem, calc((100vw - var(--container)) / 2));
}
.page-hero__copy-inner {
  width: 100%;
  max-width: 34rem;
}
.page-hero__copy h1 {
  max-width: 16ch;
  margin-bottom: 0.85rem;
}
.page-hero .lead,
.page-hero__copy .lead {
  max-width: 38ch;
  font-size: 1.08rem;
  margin-bottom: 1.35rem;
  color: var(--ink-soft);
}
.page-hero__copy .lead-block {
  max-width: 40ch;
  margin-bottom: 1.35rem;
}
.page-hero__copy .lead-block p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.page-hero__copy .lead-block p:last-child { margin-bottom: 0; }
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.page-hero__media {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-alt);
  min-height: 0;
  align-self: stretch;
  box-shadow: none;
}
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.lead-block { max-width: 62ch; margin-bottom: 1.25rem; }
.lead-block p { font-size: 1.1rem; color: var(--ink-soft); }
.lead-block p:last-child { margin-bottom: 0; }
.inline-cta { margin: 1.5rem 0 2rem; }
.prose .callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* Prose content */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
}
.prose th, .prose td {
  border: 1px solid var(--line); padding: 0.7rem 0.85rem; text-align: left;
}
.prose th { background: var(--bg-alt); color: var(--ink); }
.content-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start;
}
.sidebar-card {
  position: sticky; top: calc(var(--header-h) + 1rem);
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
}
.sidebar-card h3 { font-size: 1.05rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.sidebar-card li { margin: 0 0 0.45rem; }
.sidebar-card a { color: var(--ink-soft); font-weight: 550; text-decoration: none; }
.sidebar-card a:hover { color: var(--blue); }

/* Forms */
.form {
  display: grid; gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-weight: 650; font-size: 0.92rem; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(26, 124, 255, 0.25); border-color: var(--blue);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.alert {
  padding: 0.9rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem;
}
.alert--success { background: #e8f8f1; color: #0b5c3f; border: 1px solid #b6e5d0; }
.alert--error { background: #fef0f0; color: #8a1f1f; border: 1px solid #f0c4c4; }

/* Compare table */
.compare-table { overflow-x: auto; }
.compare-table table { min-width: 640px; }

/* Blog */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none !important; color: inherit; display: flex; flex-direction: column;
}
.blog-card__media {
  aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy-2), var(--blue));
}
.blog-card__body { padding: 1.15rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__tag {
  display: inline-block; color: var(--blue); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.45rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.blog-card p { font-size: 0.95rem; margin: 0; flex: 1; }

/* Footer */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.78); padding-top: 3.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr) 1.1fr;
  gap: 1.75rem; padding-bottom: 2.5rem;
}
.footer-brand p { color: rgba(255,255,255,.72); font-size: 0.95rem; max-width: 32ch; }
.footer-col h3 {
  color: #fff; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  color: rgba(255,255,255,.72); text-decoration: none; font-size: 0.95rem;
}
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; font-size: 0.75rem; font-weight: 700;
  text-decoration: none;
}
.footer-social a:hover { background: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0;
}
.footer-bottom__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  align-items: center; font-size: 0.88rem;
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.55); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Mobile sticky CTA */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 26, 46, 0.96); gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-cta .btn { flex: 1; min-height: 44px; }

/* Hub lists */
.hub-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
.hub-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.95rem 1.1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink); font-weight: 650;
  text-decoration: none !important;
}
.hub-list a:hover { border-color: var(--blue); color: var(--blue); }
.hub-list a span { color: var(--blue); }

.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800;
}

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}

.author-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem; color: var(--muted); margin: 1rem 0 1.5rem;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Landing pages (services / industries) — ebitas-style section rhythm */
.page-landing .landing-crumbs {
  padding-top: 0.35rem;
}
.page-landing .landing-crumbs .breadcrumbs {
  padding: 0.75rem 0;
}
.page-landing .page-hero {
  border-bottom: 0;
  background: var(--bg-alt);
}
.page-landing .page-hero__copy {
  background: var(--bg-alt);
}
.landing-intro__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.landing-intro__inner h2 {
  margin-bottom: 1rem;
}
.landing-intro__body {
  max-width: none;
  text-align: left;
  margin: 0 auto 1.75rem;
}
.landing-intro__body p:last-child { margin-bottom: 0; }
.landing-intro__cta {
  margin: 0;
  text-align: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}
.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  display: block;
}
.offer-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}
.offer-card__body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}
.offer-card__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}
.offer-card__body .feature-link {
  margin-top: 0.25rem;
}

.landing-depth__prose {
  max-width: 760px;
  margin: 0 auto;
}
.landing-depth__block + .landing-depth__block {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line-soft);
}
.landing-depth__block h2:first-child {
  margin-top: 0;
}
.landing-pricing-note {
  max-width: 680px;
  margin: 2rem auto 0;
  text-align: center;
}
.landing-pricing-note p { color: var(--ink-soft); }
.landing-process,
.landing-why__body {
  max-width: 760px;
  margin: 0 auto;
}
.landing-why__body {
  text-align: left;
}
.faq-layout__intro p {
  color: var(--ink-soft);
  max-width: 36ch;
}

/* Portfolio carousel */
.portfolio-carousel__shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.portfolio-carousel__viewport {
  overflow: hidden;
  min-width: 0;
}
.portfolio-carousel__track {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.portfolio-carousel__track::-webkit-scrollbar { display: none; }
.portfolio-slide {
  flex: 0 0 calc((100% - 1.25rem) / 2);
  scroll-snap-align: start;
  min-width: 0;
}
.portfolio-slide__link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}
.portfolio-slide__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10.5;
  box-shadow: var(--shadow-sm);
}
.portfolio-slide__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  max-width: none;
  transition: transform .35s ease;
}
.portfolio-slide__link:hover .portfolio-slide__figure img {
  transform: scale(1.03);
}
.portfolio-slide__title {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.portfolio-carousel__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.portfolio-carousel__nav:hover {
  border-color: var(--blue);
  background: var(--cyan-soft);
}
.portfolio-carousel__nav:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.portfolio-carousel__more {
  margin: 1.5rem 0 0;
}
.page-landing .cta-band {
  background: linear-gradient(90deg, var(--blue), #0f6ae0 55%, #1590ff);
}
.page-landing .cta-band .btn--primary {
  background: #fff;
  color: var(--blue);
}
.page-landing .cta-band .btn--primary:hover {
  background: var(--cyan-soft);
  color: var(--blue);
}
.page-landing .feature-copy {
  max-width: 36rem;
}
.page-landing .feature-copy .prose {
  max-width: none;
}
.page-landing .feature-copy h2 {
  margin-bottom: 0.85rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--popular { transform: none; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-topbar__text {
    font-size: 0.72rem;
  }
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem; max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .has-mega .mega-menu {
    position: static; min-width: 0; box-shadow: none; border: 0;
    padding: 0.35rem 0 0.75rem 0.5rem; background: transparent;
  }
  .mega-menu__grid, .mega-menu__grid--4 { grid-template-columns: 1fr; }
  .header-actions { display: none; }
  .hero__grid, .page-hero__grid, .feature-row, .feature-row--reverse .feature-copy,
  .feature-row--reverse .feature-media,
  .faq-layout, .content-layout, .two-col {
    grid-template-columns: 1fr;
  }
  .hero__grid,
  .page-hero__grid {
    min-height: 0;
  }
  .hero__copy,
  .page-hero__copy {
    padding: 2rem 1rem 1.5rem;
    padding-left: 1rem;
  }
  .hero__copy-inner,
  .page-hero__copy-inner {
    max-width: none;
  }
  .hero__media,
  .page-hero__media {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }
  .feature-row--reverse .feature-copy,
  .feature-row--reverse .feature-media { order: initial; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .value-grid, .card-grid, .blog-grid, .related-grid, .hub-list {
    grid-template-columns: 1fr;
  }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .portfolio-slide { flex-basis: calc(100% - 0.5rem); }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  body { padding-bottom: 72px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .industry-grid, .process-steps, .stats-bar__grid, .footer-top {
    grid-template-columns: 1fr;
  }
  .portfolio-slide { flex-basis: 85%; }
  .portfolio-carousel__shell { gap: 0.35rem; }
  .portfolio-carousel__nav { width: 38px; height: 38px; font-size: 1.25rem; }
}
