/* ============================================================
   Media Whiz - shared stylesheet (site.css)
   Owned by orchestrator. Page agents append below under a
   banner comment reading  page: <slug>  only.
   ============================================================ */

:root {
  --navy: #0b2a4d;
  --navy-deep: #082038;
  --navy-band: #0c2e57;
  --brand: #2f6bff;
  --accent: #7bb0cd;
  --accent-dark: #5a97ba;
  --band-blue: #57a6d6;
  --band-blue-2: #7cc0e6;
  --text: #16273d;
  --muted: #5b6b7d;
  --bg-soft: #ecf4f8;
  --white: #ffffff;
  --line: #e3ebf1;
  --radius: 10px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(11, 42, 77, 0.08);
  --shadow-card: 0 6px 22px rgba(11, 42, 77, 0.10);
  --maxw: 1180px;
  --head: "Poppins", "Segoe UI", Arial, sans-serif;
  --body: "Mulish", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--head);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

.btn-outline-navy {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-outline-navy:hover { background: #f4f8fb; }

.btn-call {
  background: var(--navy);
  color: #fff;
  padding: 11px 20px;
  border-radius: var(--radius);
}
.btn-call:hover { background: var(--navy-deep); }

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: transform .2s ease, background-color .2s ease;
}
.learn-more:hover { background: var(--accent-dark); transform: translateY(-2px); }
.learn-more::after { content: "\2192"; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(227, 235, 241, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 46px; height: auto; }
.brand-word { width: 190px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--head);
  font-weight: 400;
  font-size: 16px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--accent-dark); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}
.header-cta { margin-left: 34px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Generic section ---------- */
.section { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.eyebrow {
  font-family: var(--head);
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section-index {
  font-family: var(--head);
  letter-spacing: .5em;
  color: var(--accent);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  justify-content: center;
}
.section-index::before, .section-index::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.text-center { text-align: center; }
.lead { color: var(--muted); font-size: 17px; }

/* ---------- Sub-page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 60px;
  background: #fff;
}
.page-hero .bg-pattern {
  position: absolute;
  top: 0; right: 0;
  width: 640px;
  max-width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--accent);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
}
.breadcrumb { color: var(--muted); font-size: 15px; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* ---------- Service cards row ---------- */
.cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}
.svc-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(11,42,77,.14); }
.svc-card .thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.svc-card .icon-badge {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  margin: -27px auto 12px;
  position: relative;
}
.svc-card .icon-badge img { width: 28px; height: 28px; }
.svc-card h3 { font-size: 19px; margin: 6px 16px 8px; }
.svc-card p { font-size: 14px; color: var(--muted); margin: 0 20px 18px; flex: 1; }

/* ---------- Alternating feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin: 64px 0;
}
.feature.reverse .feature-media { order: 2; }
.feature-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0 60px 0 60px;
  box-shadow: var(--shadow);
}
.feature h2 { font-size: 30px; }
.feature p { color: var(--muted); }

/* ---------- Bottom CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 70px 0;
  background: linear-gradient(120deg, var(--band-blue), var(--band-blue-2));
}
.cta-band .bg-abstract {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  z-index: 0;
}
.cta-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Gallery / Swiper band ---------- */
.gallery-title { text-align: center; color: var(--accent); font-size: 30px; margin-bottom: 34px; }
.gallery-swiper { padding: 0 0 10px; }
.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: var(--accent);
  background: #eaf4fa;
  width: 40px; height: 40px;
  border-radius: 8px;
}
.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after { font-size: 18px; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cdd8e4;
  padding: 62px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand img.flogo { width: 150px; height: auto; }
.footer-brand .follow { color: #cdd8e4; font-weight: 700; margin: 22px 0 12px; font-size: 14px; }
.socials { display: flex; gap: 16px; }
.socials img { width: 22px; height: 22px; }
.socials a { transition: transform .2s ease; }
.socials a:hover { transform: translateY(-3px); }
.footer-col h3 { color: var(--accent); font-size: 24px; margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; color: #c6d2df; padding: 6px 0; font-size: 15px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.contact-info .ci-item { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-info .ci-icon {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
}
.contact-info .ci-label { color: #9fb2c6; font-size: 13px; }
.contact-info .ci-value { color: #eaf1f8; font-size: 15px; }
.footer-bottom {
  margin-top: 54px;
  background: var(--navy-deep);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom span { font-size: 13px; color: #9fb2c6; }
.footer-bottom img { height: 24px; width: auto; }

/* ---------- Motion (shared, plain CSS) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
/* on-load animations always finish visible (fill-mode both) */
.anim-up   { animation: fadeUp .8s ease both; }
.anim-in   { animation: fadeIn 1s ease both; }
.anim-up.d1 { animation-delay: .12s; }
.anim-up.d2 { animation-delay: .24s; }
.anim-up.d3 { animation-delay: .36s; }
.anim-up.d4 { animation-delay: .48s; }
.float { animation: floatY 6s ease-in-out infinite; }

/* Scroll reveal: element stays VISIBLE in CSS.
   The shared script sets the hidden state at runtime only after
   its IntersectionObserver has attached, then reveals on scroll. */
.reveal.is-armed { opacity: 0; transform: translateY(28px); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-armed { opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-row { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 28px; margin: 44px 0; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media img { height: 300px; }
  .cta-band .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta {
    display: none;
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
  }
  .site-header.open .main-nav,
  .site-header.open .header-cta {
    display: flex;
    align-items: flex-start;
  }
  .site-header.open .header-cta { top: auto; position: static; box-shadow: none; padding: 0 24px 18px; }
  .nav-toggle { display: block; }
  .section { padding: 48px 0; }
  .cards-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ============================================================
   page: home
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 60px 0 40px; }
.hero .bg-pattern {
  position: absolute; top: 0; right: 0;
  width: 620px; max-width: 52%; height: 100%;
  object-fit: cover; object-position: right center;
  opacity: .4; z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 500; margin-bottom: 18px; }
.hero-copy p { color: var(--muted); font-size: 17px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-media img { width: 100%; height: auto; }

.split-navy { padding: 66px 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-grid .chart-img { width: 100%; height: auto; }
.split-copy h2 { color: var(--accent); font-size: 30px; }
.split-copy p { color: #d3ddea; }
.idx-num { font-family: var(--head); letter-spacing: .4em; color: var(--accent); font-size: 14px; margin-bottom: 8px; }

.clients { padding: 74px 0; }
.testimonial { max-width: 720px; margin: 30px auto 0; text-align: center; }
.testimonial .quote-icon { width: 60px; height: 60px; margin: 0 auto 18px; opacity: .8; }
.testimonial p { font-size: 18px; color: var(--muted); }
.testimonial h3 { font-size: 22px; margin-top: 14px; }
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.testimonial-dots span { width: 9px; height: 9px; border-radius: 50%; background: #cfe0ea; }
.testimonial-dots span.active { background: var(--accent); }

.faq { max-width: 860px; margin: 60px auto 0; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.faq-head h2 { font-size: 26px; margin: 0; }
.faq-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 6px 4px; color: var(--muted); }
.faq-search input { border: none; outline: none; font-family: var(--body); font-size: 14px; background: transparent; color: var(--text); }
.faq-cats { display: flex; flex-wrap: wrap; gap: 26px; border-bottom: 1px solid var(--line); margin: 22px 0 10px; }
.faq-cats button {
  background: none; border: none; cursor: pointer; font-family: var(--body);
  font-size: 15px; color: var(--muted); padding: 10px 0; position: relative;
}
.faq-cats button.active { color: var(--navy); font-weight: 700; }
.faq-cats button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--navy); }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 18px; margin: 0 0 10px; cursor: pointer; }
.faq-item p { color: var(--muted); margin: 0; }
.share-row { display: flex; gap: 16px; margin-top: 24px; }
.share-row img { width: 20px; height: 20px; opacity: .55; }

@media (max-width: 960px) {
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   page: services
   ============================================================ */
.svc-detail-cards .svc-card { padding-bottom: 22px; }

/* ============================================================
   page: plans
   ============================================================ */
.plans-intro { padding: 56px 0; text-align: center; }
.plans-intro h2 { color: #fff; font-size: clamp(26px,3.4vw,38px); }
.plans-pill {
  display: inline-block; border: 1px solid rgba(255,255,255,.5);
  border-radius: 40px; padding: 9px 22px; color: #fff; font-size: 15px; margin-top: 8px;
}
.plan-toggle { display: flex; justify-content: center; margin: 46px 0 8px; }
.plan-toggle .seg { display: inline-flex; }
.plan-toggle button {
  font-family: var(--body); font-size: 16px; cursor: pointer;
  padding: 14px 60px; border: none; background: #eef4f8; color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.plan-toggle button.active { background: var(--navy); color: #fff; }
.plans-wrap { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 34px; }
.plans-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.plan-card h3 { font-size: 20px; color: var(--text); font-weight: 500; }
.plan-price { display: flex; align-items: flex-start; justify-content: center; gap: 4px; margin: 6px 0 2px; }
.plan-price .cur { font-size: 15px; color: var(--navy); margin-top: 8px; }
.plan-price .amt { font-size: 40px; font-weight: 600; color: var(--navy); font-family: var(--head); line-height: 1; }
.plan-per { font-size: 13px; color: var(--muted); }
.plan-tag { color: var(--muted); font-size: 14px; margin: 14px 0 20px; }
.plan-card .btn-navy { width: 100%; justify-content: center; margin-bottom: 20px; }
.plan-feats { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); }
.plan-feats li { font-size: 14px; color: var(--text); padding: 8px 0; }
.core-feats { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; }
.core-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 28px; text-align: center;
}
.core-card img { width: 74px; height: 74px; margin: 0 auto 18px; }
.core-card h3 { font-size: 20px; }
.core-card p { color: var(--muted); font-size: 15px; margin: 0; }

@media (max-width: 960px) {
  .plans-grid { grid-template-columns: repeat(2,1fr); }
  .core-feats { grid-template-columns: 1fr; }
  .plan-toggle button { padding: 12px 34px; }
}
@media (max-width: 620px) {
  .plans-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   page: contact
   ============================================================ */
.contact-band { background: var(--navy); color: #fff; padding: 70px 0; }
.contact-band .cband-grid { display: flex; gap: 90px; justify-content: center; flex-wrap: wrap; }
.cband-item { text-align: center; }
.cband-icon {
  width: 76px; height: 76px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: 30px; margin: 0 auto 18px;
}
.cband-item .lbl { color: #dbe6f1; font-size: 17px; }
.cband-item .val { color: #fff; font-size: 17px; }
.cband-item .val a:hover { color: var(--accent); }

.contact-main { position: relative; overflow: hidden; padding: 80px 0; }
.contact-main .bg-pattern {
  position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  object-fit: cover; opacity: .35; z-index: 0; pointer-events: none;
}
.contact-main .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.mw-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mw-form label { display: block; font-size: 14px; color: var(--text); margin: 0 0 6px; }
.mw-form .field { margin-bottom: 22px; }
.mw-form input, .mw-form textarea {
  width: 100%; font-family: var(--body); font-size: 15px;
  padding: 12px 14px; border: 1px solid var(--accent);
  border-radius: 8px; background: #f6fafc; color: var(--text);
}
.mw-form textarea { min-height: 120px; resize: vertical; }
.mw-form input:focus, .mw-form textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 3px rgba(123,176,205,.25); }
.mw-form .btn-submit {
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 14px 40px; border-radius: 8px; transition: background .2s ease, transform .2s ease;
}
.mw-form .btn-submit:hover { background: var(--accent-dark); transform: translateY(-2px); }
.hire-copy h2:first-child { color: var(--accent); font-size: 40px; margin-bottom: 22px; }
.hire-copy .big { font-size: clamp(26px,3vw,34px); color: var(--navy); font-weight: 500; line-height: 1.3; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-band .cband-grid { gap: 40px; }
}

/* ============================================================
   page: blog
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding: 20px 0 10px; }
.blog-card {
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(11,42,77,.14); }
.blog-card .b-img { width: 100%; height: 200px; object-fit: cover; object-position: center; background: #eef4f8; }
.blog-card .b-body { padding: 22px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .b-date { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.blog-card h3 { font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.blog-card h3 a:hover { color: var(--accent-dark); }
.blog-card .b-excerpt { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   page: post  — blog post detail pages (post/<slug>.html)
   ============================================================ */
.post { max-width: 820px; margin: 0 auto; }
.post-hero {
  /* Native aspect ratio: the source images are 2:1 and ~1.91:1, so forcing one
     ratio would crop or letterbox half of them. width/height attributes on the
     tag reserve the right space, so this still costs no layout shift. */
  width: 100%; height: auto;
  border-radius: var(--radius-lg); background: #eef4f8;
  box-shadow: var(--shadow-card); margin-bottom: 28px;
}
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  color: var(--muted); font-size: 14px;
  padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.post-meta .pm-by { font-weight: 700; color: var(--navy); }
.post-meta .pm-upd { font-style: italic; }
.post h2 { font-size: 24px; line-height: 1.3; margin: 34px 0 12px; }
.post h3 { font-size: 20px; line-height: 1.35; margin: 28px 0 10px; }
.post p { color: var(--muted); margin: 0 0 18px; }
.post strong { color: var(--text); }
.post ul { color: var(--muted); margin: 0 0 18px; padding-left: 22px; }
.post ul li { margin-bottom: 8px; }
.post-credit { font-size: 13px; color: var(--muted); opacity: .85; }
.post-more { margin: 30px 0 0; }

.post-pager {
  max-width: 820px; margin: 46px auto 0; padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.post-pager a {
  display: block; font-family: var(--head); font-size: 15px; line-height: 1.4;
  color: var(--navy); font-weight: 600;
}
.post-pager a:hover { color: var(--accent-dark); }
.post-pager span {
  display: block; font-family: var(--body); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.post-pager .pp-next { text-align: right; }
.post-back { max-width: 820px; margin: 30px auto 0; }

@media (max-width: 760px) {
  .post-pager { grid-template-columns: 1fr; }
  .post-pager .pp-next { text-align: left; }
}

/* ============================================================
   page: index  — testimonial carousel + FAQ category panels
   ============================================================ */
.testimonial-carousel { position: relative; padding: 0 52px; }
.tcar-viewport { overflow: hidden; }
.tcar-track {
  display: flex; align-items: flex-start;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.tcar-slide { flex: 0 0 100%; min-width: 100%; }
.tcar-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: transparent; color: var(--accent-dark);
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.tcar-arrow:hover { color: var(--navy); background: var(--bg-soft); }
.tcar-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tcar-prev { left: 0; }
.tcar-next { right: 0; }
.testimonial-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: #cfe0ea; cursor: pointer; transition: background .2s ease;
}
.testimonial-dots button:hover { background: var(--accent-dark); }
.testimonial-dots button.active { background: var(--accent); }
.testimonial-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* A single testimonial is not a carousel — hide the controls entirely. */
.testimonial-carousel[data-single] { padding: 0; }
.testimonial-carousel[data-single] .tcar-arrow,
.testimonial-carousel[data-single] .testimonial-dots { display: none; }

.faq-empty { padding: 26px 0; color: var(--muted); margin: 0; }

@media (max-width: 620px) {
  .testimonial-carousel { padding: 0 36px; }
  .tcar-arrow { width: 32px; height: 32px; font-size: 20px; }
}
