/* WP Fix Doctor — Design System & Shared Styles */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --navy: #0F1C2A;
  --navy-2: #162536;
  --teal: #0A7F78;
  --teal-hover: #066A65;
  --teal-bright: #5EEAD4;
  --text: #152333;
  --muted: #5F6F7E;
  --bg: #F3F6F8;
  --bg-2: #EBF0F3;
  --white: #FFFFFF;
  --border: #DDE4EA;
  --border-soft: rgba(15, 28, 42, 0.06);
  --teal-soft: #E6F4F3;
  --danger-soft: #F8EEEE;
  --shadow: 0 10px 28px rgba(15, 28, 42, 0.07);
  --shadow-md: 0 16px 40px rgba(15, 28, 42, 0.1);
  --shadow-lg: 0 28px 64px rgba(15, 28, 42, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-btn: 10px;
  --max: 1160px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Manrope", "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.62;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--teal-hover); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--muted); }
ul { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--muted); }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4.75rem 0;
}

.section--dark {
  background:
    radial-gradient(ellipse 70% 60% at 10% 0%, rgba(10, 127, 120, 0.16), transparent 55%),
    var(--navy);
  color: #D5DEE8;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p,
.section--dark li { color: #A7B4C2; }
.section--dark .lede { color: #B7C4D1; }

.section--muted {
  background:
    linear-gradient(180deg, var(--bg) 0%, #EEF2F5 100%);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 0.25rem;
}
.section-head .lede { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.kicker::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.85;
}

.lede {
  font-size: 1.1rem;
  max-width: 38rem;
  line-height: 1.55;
}

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.25rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--teal);
  color: var(--white) !important;
  box-shadow: 0 8px 20px rgba(10, 127, 120, 0.26);
}
.btn--primary:hover { background: var(--teal-hover); color: var(--white) !important; }
.btn--secondary {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(15, 28, 42, 0.03);
}
.btn--secondary:hover { border-color: #B8C5D0; color: var(--navy) !important; }
.btn--ghost-light {
  background: rgba(255,255,255,0.04);
  color: var(--white) !important;
  border-color: rgba(255,255,255,0.22);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
  color: #fff !important;
}
.btn--danger {
  background: #B42318;
  color: #fff !important;
}
.btn--sm { padding: 0.52rem 0.9rem; font-size: 0.88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.94);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 10px 30px rgba(15,28,42,0.06);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header .nav {
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
}
.logo img { height: 34px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list > li > a,
.nav__toggle-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.72rem;
  color: var(--text) !important;
  text-decoration: none !important;
  font-weight: 550;
  font-size: 0.94rem;
  border-radius: 8px;
}
.nav__list > li > a:hover,
.nav__list > li > a[aria-current="page"] {
  color: var(--teal) !important;
  background: var(--teal-soft);
}

.nav__item--has-sub { position: relative; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 300px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 0.55rem;
  margin: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__item--has-sub:hover > .nav__submenu,
.nav__item--has-sub:focus-within > .nav__submenu,
.nav__item--has-sub.is-open > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__submenu a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--text) !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 550;
}
.nav__submenu a:hover { background: var(--bg); color: var(--teal) !important; }
.nav__submenu-label {
  margin: 0.45rem 0.35rem 0.15rem;
  padding: 0.55rem 0.5rem 0.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.header-ctas { display: flex; align-items: center; gap: 0.5rem; }
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--navy) !important;
  text-decoration: none !important;
  border: 1px solid var(--border);
  background: var(--white);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.social-icon-link:hover {
  color: var(--teal) !important;
  border-color: rgba(10, 127, 120, 0.35);
  background: var(--teal-soft);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 55% 45% at 88% 12%, rgba(10,127,120,0.22), transparent 58%),
    radial-gradient(ellipse 40% 35% at 8% 90%, rgba(94,234,212,0.08), transparent 50%),
    linear-gradient(155deg, #0C1724 0%, #152536 52%, #0B1520 100%);
  color: #fff;
  padding: 5.25rem 0 5.75rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 78% 30%, #000 12%, transparent 68%);
  animation: wfd-hero-drift 32s linear infinite;
}
@keyframes wfd-hero-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 13ch; letter-spacing: -0.03em; }
.hero .lede { color: #B7C4D1; font-size: 1.12rem; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: center;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.65rem;
  font-size: 0.92rem;
  color: #A7B6C4;
}
.hero__trust::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.18);
  flex-shrink: 0;
}
.hero__visual {
  position: relative;
  border-radius: 18px;
  max-width: 100%;
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -10% 18%;
  height: 40%;
  background: radial-gradient(ellipse at center, rgba(10,127,120,0.35), transparent 70%);
  z-index: -1;
  filter: blur(8px);
}
.hero__visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}

/* Quick path — overlaps hero for tighter first-screen flow */
.path-strip {
  position: relative;
  z-index: 2;
  margin-top: -2.75rem;
  padding-bottom: 1.25rem;
}
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.45rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--white);
  box-shadow: var(--shadow-md);
  text-decoration: none !important;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10,127,120,0.28);
}
.quick-card--urgent {
  background: linear-gradient(165deg, #fff 0%, #FBF7F7 100%);
  border-color: rgba(180, 35, 24, 0.12);
}
.quick-card h3 {
  margin-bottom: 0.15rem;
  font-size: 1.12rem;
}
.quick-card p { margin: 0; flex: 1; font-size: 0.96rem; }
.quick-card__cta {
  margin-top: 0.35rem;
  font-weight: 650;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.quick-card__cta svg {
  transition: transform 0.22s var(--ease);
}
.quick-card:hover .quick-card__cta svg {
  transform: translateX(3px);
}
.quick-card--urgent .quick-card__cta { color: #B42318; }

/* Service cards — 6-col desktop so 5 cards have no empty hole */
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}
.service-grid > .service-card {
  grid-column: span 2;
}
.service-grid > .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}
.service-grid > .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}
.service-grid--four {
  grid-template-columns: repeat(4, 1fr);
}
.service-grid--four > .service-card,
.service-grid--four > .service-card:nth-child(4),
.service-grid--four > .service-card:nth-child(5) {
  grid-column: auto;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(15, 28, 42, 0.04);
  text-decoration: none !important;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  z-index: 2;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,127,120,0.22);
}
.service-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.service-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: none;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(10,127,120,0.22), transparent 55%),
    var(--navy-2);
  overflow: hidden;
  line-height: 0;
}
.service-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(15, 28, 42, 0.28));
  pointer-events: none;
  z-index: 1;
}
.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s var(--ease);
}
.service-card:hover .service-card__media img {
  transform: scale(1.03);
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.3rem 1.35rem;
}
.service-card__icon { display: none; }
.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.service-card p {
  flex: 1;
  margin-bottom: 0.95rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted);
}
.service-card__link {
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.22s var(--ease);
}
.service-card:hover .service-card__link svg {
  transform: translateX(3px);
}
/* Related-service text cards (no media) keep readable padding */
.related-grid .service-card {
  padding: 1.25rem 1.3rem;
}
.related-grid .service-card::before { display: none; }
.related-grid .service-card__body {
  padding: 0;
}
.related-grid .service-card__media { display: none; }

/* Benefits */
.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.75rem;
  align-items: start;
}
.benefit-list > div:first-child {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}
.benefit-items { display: grid; gap: 0.75rem; }
.benefit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.benefit-item:hover {
  background: var(--white);
  border-color: var(--border-soft);
  box-shadow: var(--shadow);
}
.benefit-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--white);
  color: var(--teal);
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
}
.benefit-item__icon svg { width: 20px; height: 20px; }
.benefit-item h3 { margin: 0 0 0.2rem; font-size: 1.02rem; }
.benefit-item p { margin: 0; font-size: 0.93rem; }

/* Process — high-contrast steps + desktop timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(94,234,212,0.15), rgba(94,234,212,0.55), rgba(94,234,212,0.15));
  z-index: 0;
  pointer-events: none;
}
.process-step {
  position: relative;
  z-index: 1;
  padding: 1.4rem;
  background: #1A2B3D;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.45rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #087F78;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}
.process-step h3 { color: #fff; font-size: 1.05rem; }
.process-step p { color: #C5D0DB; }
.process-ribbon {
  margin-top: 1.75rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(8,127,120,0.14);
  border: 1px solid rgba(94,234,212,0.18);
  color: #B7E4E0;
  font-weight: 600;
  font-size: 0.92rem;
}

.process-visual {
  margin-top: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.process-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.about-visual {
  margin-top: 0.5rem;
}
.about-visual img {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  border-radius: 16px;
  margin-inline: auto;
}

/* Quote tiles */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2rem;
}
.quote-card {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}
.quote-card h3 { margin-bottom: 0.5rem; }
.quote-card p { margin-bottom: 1.15rem; }

/* Blog cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 28, 42, 0.04);
  text-decoration: none !important;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,127,120,0.22);
}
.article-card__media {
  aspect-ratio: 16/10;
  background: var(--navy-2);
  overflow: hidden;
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-card__cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.45rem;
}
.article-card h3 { font-size: 1.1rem; margin-bottom: 0.45rem; color: var(--navy); }
.article-card p { flex: 1; font-size: 0.95rem; margin-bottom: 0.85rem; }
.article-card__meta { font-size: 0.85rem; color: #8A97A5; }

/* FAQ */
.faq-list { margin-top: 1.5rem; border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
}
.faq-item__btn span:last-child {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--teal);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.faq-item.is-open .faq-item__btn span:last-child {
  transform: rotate(45deg);
  background: var(--teal-soft);
}
.faq-item__panel {
  display: none;
  padding: 0 0 1.15rem;
  max-width: 46rem;
}
.faq-item.is-open .faq-item__panel { display: block; }
.faq-item__panel p { margin: 0; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(ellipse 55% 70% at 50% -10%, rgba(10,127,120,0.3), transparent 55%),
    linear-gradient(180deg, #122233 0%, #0B1520 100%);
  text-align: center;
  padding: 4.75rem 0;
}
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #A7B4C2; max-width: 34rem; margin-inline: auto; margin-bottom: 1.5rem; }

/* Footer */
.site-footer {
  background: #09131C;
  color: #A7B4C2;
  padding: 3.75rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1.1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer p { color: #8FA0B0; font-size: 0.95rem; }
.site-footer a { color: #C5D0DB !important; text-decoration: none !important; }
.site-footer a:hover { color: #fff !important; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #7E8D9C;
}
.footer-bottom__links {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}
.footer-profiles {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin: 1.1rem 0 0;
}
.footer-profile--primary {
  font-weight: 650;
  color: #E7F4F3 !important;
}
.footer-profile--primary:hover { color: #fff !important; }
.footer-profile--quiet {
  font-size: 0.9rem;
  color: #8FA0B0 !important;
}
.footer-profile--quiet:hover { color: #C5D0DB !important; }
.footer-profiles__sep {
  color: #5F7385;
  opacity: 0.8;
}
.profile-quiet {
  font-size: 0.95rem;
  color: var(--muted);
}
.profile-quiet a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.profile-quiet a:hover { color: var(--teal); }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.breadcrumbs a { color: var(--muted) !important; text-decoration: none !important; }
.breadcrumbs a:hover { color: var(--teal) !important; }
.breadcrumbs span[aria-hidden="true"] { opacity: 0.5; }

/* Page hero (inner) */
.page-hero {
  padding: 3.25rem 0 2.5rem;
  background:
    linear-gradient(180deg, var(--bg) 0%, #EEF2F5 100%);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero--dark {
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(10,127,120,0.2), transparent 55%),
    linear-gradient(155deg, #0F1C2A, #172636);
  border-bottom: 0;
  padding: 3.5rem 0 3rem;
}
.page-hero--dark h1 { color: #fff; max-width: 18ch; }
.page-hero--dark .lede,
.page-hero--dark .breadcrumbs,
.page-hero--dark .breadcrumbs a { color: #A7B4C2 !important; }
.page-hero--dark .kicker { color: #7DD3CE; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 1rem;
  height: 1rem;
  background: var(--teal-soft);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--teal);
}

.callout {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  margin: 1.5rem 0;
}
.callout--warn {
  background: #FFF8F0;
  border-color: #F0DFC8;
}
.callout strong { color: var(--navy); display: block; margin-bottom: 0.25rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Blog */
.blog-hero { padding: 3.75rem 0 2rem; }
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  margin: 2rem 0 2.5rem;
  text-decoration: none !important;
  transition: box-shadow 0.25s var(--ease);
}
.featured-article:hover { box-shadow: var(--shadow); }
.featured-article__media {
  min-height: 280px;
  background: var(--navy-2);
  overflow: hidden;
}
.featured-article__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.featured-article__body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.cat-nav a,
.cat-nav button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--muted) !important;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.2;
}
.cat-nav a.is-active,
.cat-nav a:hover,
.cat-nav button.is-active,
.cat-nav button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.pagination a,
.pagination span,
.pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none !important;
  color: var(--text) !important;
  font-weight: 550;
  padding: 0 0.55rem;
  box-sizing: border-box;
}
.pagination .is-current,
.pagination .current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff !important;
}
.pagination .dots {
  border-color: transparent;
}

/* Article layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0 4rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1rem 0 1.5rem;
}
.article-figure {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 2rem;
  background: var(--navy-2);
  min-height: 260px;
}
.article-figure img {
  width: 100%;
  height: auto;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.85rem; }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc a { color: var(--muted) !important; text-decoration: none !important; font-size: 0.92rem; }
.toc a:hover { color: var(--teal) !important; }
.toc li + li { margin-top: 0.45rem; }
.sidebar-card {
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.sidebar-card h2 { font-size: 1rem; margin-bottom: 0.75rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.sidebar-card li + li { margin-top: 0.45rem; }
.code-block {
  background: var(--navy);
  color: #D5DEE8;
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 1.25rem 0;
}

.sample-note {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A5B12;
  background: #FFF4DF;
  border: 1px solid #F0DFC8;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

/* Back to top */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  cursor: pointer;
  z-index: 90;
}
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }
.reveal-delay-4 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none !important; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Contact + Contact Form 7 */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.wfd-cf7-card .wpcf7 {
  margin: 0;
}
.wfd-cf7-card .wpcf7 label {
  display: block;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
}
.wfd-cf7-card .wpcf7 input[type="text"],
.wfd-cf7-card .wpcf7 input[type="email"],
.wfd-cf7-card .wpcf7 input[type="url"],
.wfd-cf7-card .wpcf7 select,
.wfd-cf7-card .wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.wfd-cf7-card .wpcf7 textarea {
  resize: vertical;
  min-height: 8rem;
}
.wfd-cf7-card .wpcf7 .wpcf7-submit {
  margin-top: 1rem;
}
.wfd-cf7-card .wpcf7-not-valid-tip {
  font-size: 0.875rem;
  font-weight: 500;
  color: #b42318;
}
.wfd-cf7-card .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.wfd-cf7-card .wpcf7 form-sent-ok .wpcf7-response-output,
.wfd-cf7-card .wpcf7-mail-sent-ok {
  border-color: #0e7c82;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
