/* =========================================================
   PENARC SERVICES — Design System
   Primary: Deep signal navy (lifted from brand mark)
   Secondary: Signal blue, spark yellow, ink black, paper white
   Typeface: Rubik (single family, role carried by weight/case)
   ========================================================= */

:root {
  --navy: #001b48;
  --navy-2: #002b6b;
  --navy-soft: #0b2a5b;
  --signal: #2f6fed;
  --signal-dim: #3b5fa0;
  --yellow: #ffc72c;
  --yellow-deep: #e6a800;
  --ink: #0b0d12;
  --white: #ffffff;
  --paper: #f5f8fc;
  --paper-2: #ecf1f9;
  --line: #e1e7f2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #5a6a88;

  --font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;

  --shadow-sm: 0 2px 10px rgba(0, 20, 60, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 20, 60, 0.1);
  --shadow-lg: 0 24px 60px rgba(0, 20, 60, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea,
select {
  font-family: inherit;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 900;
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
p {
  margin: 0 0 1em;
  color: var(--ink);
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--yellow);
  display: inline-block;
}
.eyebrow.on-dark {
  color: var(--yellow);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--yellow-deep);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 27, 72, 0.22);
  color: var(--navy);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(0, 27, 72, 0.04);
  transform: translateY(-2px);
}

.btn-outline.on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline.on-dark:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  padding: 12px 4px;
  color: var(--navy);
  font-weight: 600;
  border-radius: 0;
  /* border-bottom: 2px solid var(--yellow); */
}
.btn-ghost:hover {
  gap: 12px;
  color: var(--signal);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.86rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 100px;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.main-nav a:hover {
  background: var(--paper-2);
}
.main-nav a.active {
  color: var(--signal);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions .btn {
  padding: 12px 22px;
  font-size: 0.9rem;
}
.header-actions .call-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: all 0.25s var(--ease);
}

/* ---------- Mega services dropdown ---------- */
.has-drop {
  position: relative;
}
.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease),
    visibility 0.22s;
}
.has-drop:hover .drop-panel,
.has-drop:focus-within .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.drop-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.88rem;
}
.drop-panel a span {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
}
.drop-panel a:hover {
  background: var(--paper);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 90px;
  background:
    radial-gradient(
      880px 480px at 82% -10%,
      rgba(47, 111, 237, 0.1),
      transparent 60%
    ),
    var(--white);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 22px;
}
.hero .lead {
  max-width: 480px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-note b {
  color: var(--navy);
}

/* Orbit signature graphic */
.orbit-wrap {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 500px;
  margin: 0 auto;
}
.orbit-wrap svg {
  width: 100%;
  height: 100%;
}
.orbit-pulse {
  animation: orbitPulse 2.6s ease-in-out infinite;
  transform-origin: center;
}
.orbit-pulse.d2 {
  animation-delay: 0.4s;
}
.orbit-pulse.d3 {
  animation-delay: 0.8s;
}
.orbit-pulse.d4 {
  animation-delay: 1.2s;
}
.orbit-pulse.d5 {
  animation-delay: 1.6s;
}
.orbit-pulse.d6 {
  animation-delay: 2s;
}
@keyframes orbitPulse {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(2.6);
  }
}
.orbit-ring {
  animation: spin 90s linear infinite;
  transform-origin: center;
}
.orbit-ring.rev {
  animation-direction: reverse;
  animation-duration: 130s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.orbit-label {
  font-family: var(--font);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  fill: var(--navy);
}
.orbit-label.hq {
  fill: var(--white);
  font-weight: 700;
}

/* ---------- Logo / client strip ---------- */
.strip {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strip .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.client-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
}
.client-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-2);
  opacity: 0.62;
  transition: opacity 0.2s var(--ease);
  letter-spacing: -0.01em;
}
.client-name:hover {
  opacity: 1;
}

/* ---------- Cards / Services grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
}
.svc-icon svg {
  width: 24px;
  height: 24px;
}
.svc-card h3 {
  margin-bottom: 2px;
}
.svc-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
  flex: 1;
}
.svc-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}
.svc-card:hover .svc-link svg {
  transform: translateX(4px);
}

.section {
  padding: 96px 0;
}
.section.tight {
  padding: 64px 0;
}
.section.paper {
  background: var(--paper);
}
.section.navy {
  background: var(--navy);
  color: var(--white);
}
.section.navy h2,
.section.navy h3 {
  color: var(--white);
}
.section.navy p {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-item {
  position: relative;
  padding-top: 8px;
}
.process-num {
  font-family: var(--font);
  font-weight: 900;
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(0, 27, 72, 0.22);
  margin-bottom: 10px;
  display: block;
}
.section.navy .process-num {
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.32);
}
.process-item h3 {
  margin-bottom: 8px;
}
.process-item p {
  font-size: 0.92rem;
  color: var(--muted);
}
.section.navy .process-item p {
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat b {
  display: block;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 500;
}

/* ---------- Testimonial / brand blurbs ---------- */
.brand-blurbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blurb-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.blurb-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
  background: rgba(47, 111, 237, 0.09);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.blurb-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 700;
}
.blurb-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- CTA banner ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-l);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 199, 44, 0.22),
    transparent 70%
  );
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  max-width: 440px;
}
.cta-band .actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img {
  height: 34px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
}
.foot-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
}
.foot-social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy);
}
.foot-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 11px;
}
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--yellow);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  align-items: flex-start;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--yellow);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--signal);
  font-weight: 500;
}
.page-hero h1 {
  max-width: 760px;
}
.page-hero .lead {
  max-width: 640px;
}

/* ---------- Service detail page ---------- */
.svc-hero {
  padding: 60px 0 70px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.svc-hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.svc-hero h1 {
  color: var(--white);
}
.svc-hero .lead {
  color: rgba(255, 255, 255, 0.7);
}
.svc-visual {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-l);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.svc-visual svg {
  width: 100%;
  height: 100%;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--white);
}
.feature-item svg {
  width: 20px;
  height: 20px;
  color: var(--signal);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 700;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.rev {
  direction: rtl;
}
.split.rev > * {
  direction: ltr;
}

.tick-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.96rem;
  align-items: flex-start;
}
.tick-list svg {
  width: 19px;
  height: 19px;
  color: var(--yellow-deep);
  flex-shrink: 0;
  margin-top: 3px;
  background: var(--navy);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- About ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value-card {
  padding: 26px;
  border-radius: var(--radius-m);
  background: var(--paper);
  border: 1px solid var(--line);
}
.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.team-note {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 30px;
  border-radius: var(--radius-m);
  background: var(--navy);
  color: var(--white);
}
.team-note svg {
  width: 34px;
  height: 34px;
  color: var(--yellow);
  flex-shrink: 0;
}

.map-block {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/8;
}
.map-block iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}
.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 38px 32px;
}
.contact-card h3 {
  color: var(--white);
  font-size: 1.2rem;
}
.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-method:last-of-type {
  border-bottom: none;
}
.contact-method svg {
  width: 20px;
  height: 20px;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-method b {
  display: block;
  font-size: 0.94rem;
  margin-bottom: 2px;
}
.contact-method span,
.contact-method a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}
.contact-method a:hover {
  color: var(--yellow);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--paper);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--signal);
  background: var(--white);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(47, 111, 237, 0.08);
  color: var(--navy);
  padding: 14px 18px;
  border-radius: var(--radius-s);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.form-success.show {
  display: flex;
}
.form-success svg {
  width: 18px;
  height: 18px;
  color: var(--signal);
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
}
.faq-q svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease);
  color: var(--signal);
}
.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease);
}
.faq-a p {
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 640px;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.post-thumb {
  aspect-ratio: 16/10;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-thumb svg {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}
.post-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.post-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.post-body h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.post-body p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}
.post-body .svc-link {
  margin-top: 6px;
}

.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  margin-bottom: 48px;
}
.featured-post .post-thumb {
  aspect-ratio: auto;
  height: 100%;
}
.featured-body {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-band {
  background: var(--paper-2);
  border-radius: var(--radius-l);
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 420px;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--signal);
}

/* ---------- Utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 100px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 400;
  border: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: var(--signal);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--white);
  z-index: 600;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  visibility: hidden;
}
.mobile-panel.open {
  transform: none;
  visibility: visible;
}
.mobile-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-panel nav a {
  padding: 15px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn {
  margin-top: 24px;
}
.mp-close {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .orbit-wrap {
    max-width: 380px;
    order: -1;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .svc-hero .wrap {
    grid-template-columns: 1fr;
  }
  .svc-visual {
    max-width: 420px;
    margin: 0 auto;
    order: -1;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split.rev {
    direction: ltr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .featured-post {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-blurbs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .main-nav,
  .header-actions .btn,
  .header-actions .call-link {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header .wrap {
    height: 72px;
  }
  .hero {
    padding: 46px 0 60px;
  }
  .section {
    padding: 64px 0;
  }
  .grid-3,
  .grid-2,
  .value-grid,
  .feature-list,
  .form-row,
  .related-services,
  .blog-grid,
  .brand-blurbs {
    grid-template-columns: 1fr;
  }
  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 42px 26px;
  }
  .cta-band .actions {
    justify-content: center;
  }
  .contact-card {
    padding: 28px 22px;
  }
  .form-card {
    padding: 26px;
  }
  .newsletter-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form {
    max-width: none;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
