/* ==========================================================================
   断点宪法 / Breakpoint Constitution
   全站唯一允许的断点取值，新增媒体查询必须从此选取，禁止自造数值：
   - 手机:        max-width: 767.98px   (配对 min-width: 768px)
   - 小屏微调:    max-width: 479.98px   (配对 min-width: 480px)
   - 平板:        max-width: 1023.98px  (配对 min-width: 1024px)
   - 宽桌面微调:  max-width: 1279.98px  (配对 min-width: 1280px)
   JS 轮播等脚本断点统一使用 767.98px，与 CSS 保持一致。
   ========================================================================== */
/* ==========================================================================
   Sanyang Medical Global Design System
   - Tokens
   - Base / Typography
   - Layout primitives
   - Shared components
   - Header / Footer
   - Responsive system
   ========================================================================== */

:root {
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Brand Colors */
  --color-primary: #1d66e2;
  --color-primary-strong: #1658c7;
  --color-primary-soft: #eaf2ff;
  --color-secondary: #5b5b64;
  --color-accent: #b88718;
  --color-accent-strong: #9f7410;

  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fe;
  --color-bg-muted: #eef4fb;
  --color-surface: #ffffff;
  --color-surface-dark: #1d66e2;
  --color-overlay: rgba(22, 88, 199, 0.54);

  --color-text: #2f3640;
  --color-text-primary: #16191f;
  --color-text-muted: #5b5b64;
  --color-text-secondary: #6a6f7d;
  --color-text-inverse: #ffffff;
  --color-heading: #16191f;

  --color-border: #dbe6f5;
  --color-border-strong: #c7d7f0;

  /* Refined Shadows & Glassmorphism */
  --shadow-card: 0 10px 30px rgba(17, 17, 20, 0.05);
  --shadow-card-hover: 0 18px 40px rgba(17, 17, 20, 0.1);
  --shadow-button-hover: 0 12px 24px rgba(215, 174, 67, 0.22);
  --shadow-focus: 0 0 0 3px rgba(29, 102, 226, 0.14);
  --shadow-glass: 0 8px 32px 0 rgba(17, 17, 20, 0.08);
  --shadow-lg: 0 20px 48px rgba(17, 17, 20, 0.12);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6rem;

  --container-sm: 760px;
  --container-md: 1080px;
  --container-lg: 1240px;
  --container-xl: 1320px;
  --container-gutter: 1rem;
  --container-gutter-mobile: 20px;
  --line-length-tight: 58ch;
  --line-length-body: 70ch;

  --section-space-mobile: 4rem;
  --section-space-mobile-sm: 2.5rem;

  /* Physics-based Easing (CSS Animation Creator) */
  --transition-fast: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layering scale (low -> high).
     Chain: sticky CTA bar (500) < sticky elements < header (900)
     < floating actions: WhatsApp widget (1085, styled elsewhere) < back-top (1100)
     < mobile nav drawer (1200) < generic modal (1300) < toast (1400)
     < footer inquiry modal (hardcoded 9999 below, intentionally topmost).
     Legacy variable names are kept and re-pointed to this scale so existing
     references keep working. */
  --z-base: 1;
  --z-sticky: 500;
  --z-header: 900;
  --z-fab: 1100;
  --z-drawer: 1200;
  --z-modal: 1300;
  --z-toast: 1400;
  /* Legacy alias (was 30); only used inside header stacking contexts. */
  --z-dropdown: 30;

  --button-font-size: 14px;
  --button-font-weight: 600;
  --button-letter-spacing: 0.04em;
  --button-padding-y: 12px;
  --button-padding-x: 24px;
  --button-radius: 7px;

  --button-mobile-font-size: 14px;
  --button-mobile-padding-y: 10px;
  --button-mobile-padding-x: 18px;
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

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

html {
  /* scroll-behavior: smooth removed — it conflicts with Lenis on desktop;
     mobile uses native jump scrolling. */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--color-text-inverse);
  background: var(--color-primary);
}

/* Anchor scroll offset: avoids anchor targets being hidden behind the sticky header */
[id] {
  scroll-margin-top: 90px;
}

/* Touch: subtle brand-tinted tap feedback instead of the default gray flash */
a,
button,
[role="button"],
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(29, 102, 226, 0.12);
}

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

a {
  color: var(--color-heading);
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-4);
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 5.2vw, 3.75rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h4 {
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
}

p,
ul,
ol {
  margin: 0 0 var(--space-5);
}

ul,
ol {
  padding-left: 1.2rem;
}

strong {
  color: var(--color-heading);
  font-weight: 700;
}

small {
  font-size: 0.8125rem;
}

/* ==========================================================================
   Layout Primitives
   ========================================================================== */

.container,
.container-lg,
.container-xl,
.container-sm {
  width: min(calc(100% - (var(--container-gutter) * 2)), var(--container-lg));
  margin-inline: auto;
}

.container-sm {
  width: min(calc(100% - (var(--container-gutter) * 2)), var(--container-sm));
}

.container-lg {
  width: min(calc(100% - (var(--container-gutter) * 2)), var(--container-lg));
}

.container-xl {
  width: min(calc(100% - (var(--container-gutter) * 2)), var(--container-xl));
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-sm {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section-soft {
  background: var(--color-bg-soft);
}

.section-muted {
  background: var(--color-bg-muted);
}

.section-dark {
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark strong {
  color: var(--color-text-inverse);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}



@media (max-width: 1023.98px) {
  .site-nav--desktop,
  .site-header__catalog {
    display: none;
  }

  .site-menu-toggle {
    display: grid;
  }

  .site-footer__top,
  .site-footer__menus,
  .site-footer-cta {
    grid-template-columns: 1fr;
  }

  .trust-strip__inner,
  .faq-layout,
  .page-hero__layout,
  .page-section__layout,
  .page-split {
    grid-template-columns: 1fr;
  }

  .site-footer-cta__actions {
    justify-content: flex-start;
  }

  .site-footer-modal__dialog {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .grid-4,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .site-nav__mega-footer {
    padding-inline: 2rem;
  }

  .topic-grid,
  .page-card-grid,
  .gallery-grid--4,
  .logo-grid,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-origin-intro,
  .about-origin-team,
  .about-origin-overview__media {
    grid-template-columns: 1fr;
  }

  .about-origin-stats,
  .about-origin-patents,
  .about-origin-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-origin-client-grid__item--feature {
    grid-column: span 2;
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .site-utility-bar {
    display: none;
  }

  .site-header__inner {
    min-height: 76px;
    gap: 0.75rem;
  }

  .site-branding__tagline {
    display: none;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding-block: var(--section-space-mobile);
  }

  .section-sm {
    padding-block: var(--section-space-mobile-sm);
  }

  .container,
  .container-lg,
  .container-xl,
  .container-sm {
    width: 100%;
    padding-inline: var(--container-gutter-mobile);
  }

  h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.12;
  }

  .section-heading p,
  .lead,
  .text-lead {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .section-heading h2,
  .section-intro h2,
  .section h2 {
    font-size: clamp(1.65rem, 7.6vw, 2.05rem);
    line-height: 1.18;
  }

  h3,
  .section h3 {
    font-size: clamp(1.2rem, 5vw, 1.4rem);
    line-height: 1.22;
  }

  .page-shell {
    padding-bottom: 5rem;
  }

  .page-title {
    max-width: 22ch;
    text-wrap: pretty;
  }

  .page-kicker {
    display: block;
    max-width: 100%;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
  }

  .page-kicker::before {
    display: none;
  }

  .page-summary {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-actions .btn {
    white-space: normal;
    line-height: 1.35;
    padding-inline: 1rem;
    text-wrap: pretty;
  }

  .faq-stack summary {
    padding: 0.95rem 2.4rem 0.95rem 1rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .faq-stack summary::after {
    top: 1rem;
    transform: none;
  }

  .page-hero__media,
  .page-media-card {
    min-height: 260px;
  }

  .inner-page-hero {
    min-height: min(76vh, 720px);
  }

  .inner-page-hero .page-title {
    max-width: 26ch;
  }

  .inner-page-hero__actions,
  .inner-page-hero .hero-actions {
    grid-template-columns: 1fr;
  }

  .inner-page-hero__actions .btn,
  .inner-page-hero .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .metric-strip,
  .metric-strip--3,
  .topic-grid,
  .page-card-grid,
  .media-stack--2,
  .media-stack--3,
  .gallery-grid,
  .gallery-grid--4,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .about-origin-stats,
  .about-origin-patents,
  .about-origin-client-grid,
  .about-origin-team__media {
    grid-template-columns: 1fr;
  }

  .about-origin-overview__primary,
  .about-origin-overview__secondary,
  .about-origin-team__media .gallery-grid__item,
  .about-origin-patent .gallery-grid__item,
  .about-origin-client-grid__item,
  .about-origin-client-grid__item--feature {
    min-height: 240px;
  }

  .about-origin-stats {
    gap: 0;
  }

  .about-origin-stat {
    padding-inline: 0.5rem;
  }

  .about-origin-stat + .about-origin-stat {
    border-left: 0;
    border-top: 1px solid rgba(191, 211, 230, 0.85);
  }

  .about-origin-client-grid__item--feature {
    grid-column: auto;
    grid-row: auto;
  }

  .metric-strip__item,
  .page-card {
    border-radius: 14px;
  }

  .logo-panel {
    min-height: 92px;
  }

  .hero-layout {
    padding-block: 3.75rem 2.5rem;
  }

  .hero-shell {
    min-height: calc(100svh - 76px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.72) 38%, rgba(15, 23, 42, 0.86) 100%);
  }

  .trust-strip {
    margin-top: -0.35rem;
  }

  .trust-strip__inner {
    padding: 0.9rem;
    border-radius: 16px;
  }

  .stat-band {
    gap: 0.7rem;
  }

  .stat-band--3 {
    grid-template-columns: 1fr;
  }

  .stat-band__item {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    text-align: left;
  }

  .stat-band__value {
    margin-bottom: 0.25rem;
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .stat-band__label {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .trust-strip__badges,
  .proof-line {
    grid-template-columns: 1fr;
  }

  .trust-badge {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .section-rail,
  .proof-grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .feature-grid,
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1rem;
    border-radius: 14px;
  }

  .btn,
  .button,
  button[type='submit'],
  input[type='submit'] {
    min-height: 44px;
    padding: var(--button-mobile-padding-y) var(--button-mobile-padding-x);
    font-size: var(--button-mobile-font-size);
    letter-spacing: 0.06em;
  }

  .btn-group,
  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 0.25rem;
  }

  .btn-group[data-mobile='split'],
  .hero-actions[data-mobile='split'] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .btn-group[data-mobile='stack'],
  .hero-actions[data-mobile='stack'] {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .btn-group[data-mobile='split'] .btn,
  .btn-group[data-mobile='stack'] .btn,
  .hero-actions[data-mobile='split'] .btn,
  .hero-actions[data-mobile='stack'] .btn {
    width: 100%;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .case-card {
    min-height: 360px;
    border-radius: 18px;
  }

  .case-card .case-body {
    padding: 1.25rem;
  }

  .case-card .case-meta {
    margin-bottom: 0.6rem;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .case-card h3 {
    font-size: 1.08rem;
    line-height: 1.18;
  }

  .case-card p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .faq-item summary {
    gap: 0.75rem;
    padding: 1rem 2.5rem 1rem 0.95rem;
  }

  .contact-panel {
    padding: 1.15rem;
  }

  .contact-panel__title {
    font-size: 1.15rem;
    line-height: 1.22;
  }

  .contact-panel__copy {
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .contact-panel__meta {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .tour-card {
    flex-basis: 272px;
    height: 220px;
  }

  .btn-mobile-link {
    justify-content: center;
    width: auto;
    min-height: auto;
    padding: 0 0 0.35rem;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: currentColor;
    border-radius: 0;
    background: transparent;
    color: var(--color-heading);
    box-shadow: none;
  }

  .btn-mobile-link:hover {
    background: transparent;
    color: var(--color-primary-strong);
    border-color: currentColor;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
  }

  .mobile-sticky-cta .btn {
    width: 100%;
    padding-inline: 0.75rem;
  }
}

/* ==========================================================================
   ALL-5-UI Creative & Awwwards Utilities
   ========================================================================== */

.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.reveal-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.reveal-text.is-visible .reveal-inner {
  transform: translateY(0);
}

.parallax-wrap {
  overflow: hidden;
  position: relative;
}

.parallax-inner {
  height: 120%;
  width: 100%;
  position: absolute;
  top: -10%;
  left: 0;
  object-fit: cover;
  will-change: transform;
}

.grain-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Scroll-reveal fallback: never leave cards invisible when motion is off */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Shared Component Styles
   Extracted from inline home.html CSS for cross-page reuse.
   ========================================================================== */

/* ========================================= */
/* === Section Headings & Lead Overrides === */
/* ========================================= */

.section-intro h2,
.section-heading h2,
.section-muted .section-intro h2 {
  margin-bottom: 20px;
  color: #16191f;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.section-intro .heading-emphasis,
.section-heading .heading-emphasis {
  color: #16191f !important;
}

/* ==========================================================================
   Unified Section Typography & Kicker (Excluding Banner)
   ========================================================================== */

/* 0. Section Intro & Heading Spacing */
.section-intro,
.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
  max-width: 800px;
}

.section-heading--center,
.about-section-heading--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* 1. Kicker (Blue background, white text) */
.section-kicker:not(.hero-copy .section-kicker),
.factory-story-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px !important;
  background: #1d66e2 !important;
  color: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-family: var(--font-ui) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  border: none !important;
  box-shadow: none !important;
}

.section-kicker:not(.hero-copy .section-kicker)::before,
.factory-story-kicker::before,
.page-kicker::before {
  display: none !important;
}

/* 2. Section H2 */
.section-intro h2,
.section-heading h2,
.brand-wall-section h2,
.section-muted .section-intro h2,
.factory-story-heading,
.faq-intro h2 {
  margin-bottom: 20px !important;
  color: #16191f !important;
  font-family: var(--font-heading) !important;
  font-size: 36px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
}

/* 3. Section Lead / Description */
.section-intro .lead,
.section-heading .lead,
.brand-wall-section .lead,
.section-muted .section-intro .lead,
.factory-story-copy,
.page-section__copy .lead,
.faq-intro .lead {
  max-width: none !important;
  margin-bottom: 0 !important;
  color: #5b5b64 !important;
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: -0.2px !important;
}

.section-intro .lead + .btn,
.section-intro .lead + .refit-btn-primary,
.section-heading .lead + .btn,
.section-heading .lead + .refit-btn-primary,
.brand-wall-section .lead + .btn,
.section-muted .section-intro .lead + .btn,
.factory-story-copy + .btn,
.page-section__copy .lead + .btn,
.faq-intro .lead + .btn,
.faq-intro .lead + .refit-btn-primary--faq {
  margin-top: 24px !important;
}

/* 3b. Section Body Copy */
.section-intro > p:not(.lead),
.section-heading > p:not(.lead),
.page-section__copy > p:not(.lead) {
  color: var(--color-text-secondary) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  letter-spacing: -0.1px !important;
}

.section-case-stories .case-story-title {
  font-size: 30px !important;
  font-weight: 500 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.6px !important;
}

/* 4. Responsive Typography */
@media (max-width: 1023.98px) {
  .section-intro h2,
  .section-heading h2,
  .brand-wall-section h2,
  .section-muted .section-intro h2,
  .factory-story-heading,
  .faq-intro h2 {
    font-size: 32px !important;
  }
  .section-intro .lead,
  .section-heading .lead,
  .brand-wall-section .lead,
  .section-muted .section-intro .lead,
  .factory-story-copy,
  .page-section__copy .lead,
  .faq-intro .lead {
    font-size: 16px !important;
  }

  .section-intro > p:not(.lead),
  .section-heading > p:not(.lead),
  .page-section__copy > p:not(.lead) {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .section-case-stories .case-story-title {
    font-size: 26px !important;
  }
}

@media (max-width: 767.98px) {
  .section-kicker:not(.hero-copy .section-kicker),
  .factory-story-kicker,
  .page-kicker {
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin-bottom: 12px !important;
  }
  .section-intro h2,
  .section-heading h2,
  .brand-wall-section h2,
  .section-muted .section-intro h2,
  .factory-story-heading,
  .faq-intro h2 {
    margin-bottom: 16px !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .section-case-stories .case-story-title {
    font-size: 22px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.4px !important;
  }
}

/* ========================================= */

/* === FAQ Component === */
/* ========================================= */

.section-faq {
  background: var(--color-bg);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.faq-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}

.faq-list-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: none;
  border-radius: 10px;
  background: #fafafa;
  box-shadow: none;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: 1.4rem 3.2rem 1.4rem 1.4rem;
  color: var(--color-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-heading);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-answer {
  padding: 0 1.4rem 1.4rem;
}

.faq-answer p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item .faq-role {
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-strong);
}

/* === FAQ Grid Desktop Layout (two-column: intro left, list right) === */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 6rem;
}

.faq-intro .lead {
  max-width: 32ch;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq-intro .btn,
.faq-intro .refit-btn-primary,
.faq-intro .refit-btn-primary--faq {
  margin-top: 32px !important;
}

.faq-list {
  display: grid;
  gap: 12px;
}

@media (max-width: 767.98px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-intro {
    position: static;
    top: auto;
  }

  .faq-intro .lead {
    max-width: none;
    margin-bottom: 0;
  }

  .faq-list {
    gap: 10px;
  }
}

/* ========================================= */
/* === Contact Panel (Shared Layout) === */
/* ========================================= */

.contact-panel {
  display: grid;
  background: linear-gradient(180deg, #0d0f14 0%, #090b10 100%);
  border: 1px solid rgba(12, 14, 18, 0.08);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 0.92fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
  align-items: start;
  max-width: 1520px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: clamp(2rem, 3vw, 3rem);
  padding: clamp(1.5rem, 2.4vw, 2rem);
}

@media (max-width: 1023.98px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767.98px) {
  .contact-panel {
    border-radius: 0;
    padding: 14px 12px;
  }

  .contact-info {
    padding: 1.15rem 1rem 0.35rem;
  }
}

/* ========================================= */
/* === Reveal Animation (Scroll) === */
/* ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Button System
   ========================================================================== */

.btn,
.button,
button[type='submit'],
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: var(--button-padding-y) var(--button-padding-x);
  font-family: var(--font-ui);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  letter-spacing: var(--button-letter-spacing);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn:hover,
.button:hover,
button[type='submit']:hover,
input[type='submit']:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-button-hover);
}

.btn:active,
.button:active,
button[type='submit']:active,
input[type='submit']:active {
  transform: translateY(0) scale(0.985);
}

.btn:focus-visible,
.button:focus-visible,
button[type='submit']:focus-visible,
input[type='submit']:focus-visible {
  box-shadow: var(--shadow-focus);
  outline: none;
}

.btn-primary,
input[type='submit'] {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-primary:hover,
input[type='submit']:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent-strong);
  color: #ffffff;
  border-color: var(--color-accent-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--color-heading);
  border-color: transparent;
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--color-bg-soft);
  color: var(--color-heading);
  border-color: var(--color-border);
}

.btn-group,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

/* btn-icon (extracted from home.html styles) */
.btn-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn-icon-size, 40px);
  height: var(--btn-icon-size, 40px);
  border-radius: 50%;
  color: #0e1117;
  overflow: hidden;
  flex: 0 0 var(--btn-icon-size, 40px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-icon::before,
.btn-icon::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12L12 4M6 4H12V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12L12 4M6 4H12V10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.btn-icon::before {
  transform: translate(0, 0);
  opacity: 1;
}

.btn-icon::after {
  transform: translate(-10px, 0);
  opacity: 0;
}

/* ==========================================================================
   Hero Layout (shared shell for home + inner pages)
   ========================================================================== */

.hero-shell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 92vh;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.45) 38%, rgba(15, 23, 42, 0.78) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.hero-copy .section-kicker {
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.hero-copy h1 {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.12 !important;
  color: #ffffff !important;
}

.hero-copy .lead,
.hero-copy p {
  font-family: var(--font-body) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400 !important;
}

.hero-shell .section-kicker,
.hero-shell h1,
.hero-shell h2,
.hero-shell h3,
.hero-shell p,
.hero-shell strong {
  color: #ffffff !important;
}

.hero-shell .heading-emphasis,
.hero-shell h1 em {
  color: var(--color-accent) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

.hero-shell .section-kicker.section-kicker--inverse {
  color: rgba(255, 255, 255, 0.72) !important;
}

.hero-shell .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-shell .btn-outline:hover {
  color: var(--color-heading);
  background: #ffffff;
  border-color: #ffffff;
}

.hero-note {
  max-width: 42rem;
  margin-top: var(--space-5);
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Inner Page Hero
   ========================================================================== */

.inner-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 120px 0;
  background-color: #77aef4;
  display: flex;
  align-items: center;
}

.page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: var(--space-8);
  align-items: center;
}

.page-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 360px;
  aspect-ratio: 4 / 3;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.page-breadcrumbs a:hover {
  color: #ffffff;
}

.page-breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.inner-page-hero .page-title,
.inner-page-hero h1.page-title,
.refit-hero .page-title,
.refit-hero h1.page-title,
.refit-hero-copy h1 {
  max-width: 980px !important;
  margin: 0 0 16px !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 44px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

.inner-page-hero .page-summary,
.inner-page-hero p.page-summary,
.refit-hero .page-summary,
.refit-hero p.page-summary,
.refit-hero-copy p {
  max-width: 980px !important;
  margin: 0 0 24px !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  line-height: 36px !important;
  font-weight: 500 !important;
}

.inner-page-hero .btn.btn-primary,
.inner-page-hero .page-actions .btn.btn-primary,
.inner-page-hero .hero-actions .btn.btn-primary {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff !important;
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.26);
}

.inner-page-hero .btn.btn-primary:hover,
.inner-page-hero .page-actions .btn.btn-primary:hover,
.inner-page-hero .hero-actions .btn.btn-primary:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  .inner-page-hero {
    min-height: min(60vh, 560px);
    padding: 80px 0 28px;
    align-items: flex-end;
  }

  .page-hero__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    position: relative;
    z-index: 1;
  }

  .inner-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(18, 47, 91, 0.08) 0%, rgba(18, 47, 91, 0.14) 24%, rgba(15, 41, 80, 0.34) 52%, rgba(10, 28, 56, 0.72) 78%, rgba(7, 20, 42, 0.88) 100%);
  }

  .page-breadcrumbs {
    margin-bottom: 0.75rem;
    font-size: 0.76rem;
  }

  .inner-page-hero .page-kicker,
  .inner-page-hero .section-kicker {
    margin-bottom: 0.75rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
  }

  .inner-page-hero .page-title,
  .inner-page-hero h1.page-title,
  .refit-hero .page-title,
  .refit-hero h1.page-title,
  .refit-hero-copy h1 {
    font-size: 31px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em !important;
  }

  .inner-page-hero .page-summary,
  .inner-page-hero p.page-summary,
  .refit-hero .page-summary,
  .refit-hero p.page-summary,
  .refit-hero-copy p {
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }

  .inner-page-hero .btn.btn-primary,
  .inner-page-hero .page-actions .btn.btn-primary,
  .inner-page-hero .hero-actions .btn.btn-primary {
    min-height: 52px;
    padding: 12px 22px;
    box-shadow: none;
  }
}

/* ==========================================================================
   Layout Grids
   ========================================================================== */

.grid-2,
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.split-grid {
  align-items: center;
}

.grid-3,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-8);
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-7);
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.metric-strip--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.topic-grid,
.page-card-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.gallery-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.proof-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.media-stack {
  display: grid;
  gap: var(--space-5);
}

.media-stack--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-stack--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 240px;
  background: var(--color-bg-soft);
}

.gallery-grid__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(196, 210, 224, 0.72);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.logo-panel img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

/* ==========================================================================
   Stats and Trust Strip
   ========================================================================== */

.stat-band {
  display: grid;
  gap: var(--space-4);
}

.stat-band--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-band__item {
  padding: var(--space-5) var(--space-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-band__value {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
}

.stat-band__label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -0.5rem;
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.trust-strip__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.proof-line {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

/* ==========================================================================
   Page Common Components
   ========================================================================== */

.page-shell {
  padding-bottom: var(--space-12);
}

.page-title {
  max-width: 28ch;
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin-bottom: var(--space-3);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-primary-strong);
  color: #ffffff !important;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.page-summary {
  max-width: 42rem;
  margin-bottom: var(--space-5);
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.page-media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 360px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-soft);
}

.page-media-card--tall {
  aspect-ratio: 8 / 9;
}

.page-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-overview .page-media-card {
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.solution-overview .page-media-card img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.page-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.page-section__copy {
  max-width: 42rem;
}

.page-bullets {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0;
  padding: 0;
  list-style: none;
}

.page-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.page-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.page-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  align-items: center;
}

.content-flow > * + * {
  margin-top: var(--space-5);
}

.content-flow h2,
.content-flow h3 {
  margin-top: var(--space-7);
}

.content-flow p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ==========================================================================
   Card Components
   ========================================================================== */

.card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin-bottom: var(--space-3);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-primary-strong);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.5rem;
  margin-top: var(--space-4);
  padding: 0.35rem 0;
  color: var(--color-heading);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.card-cta:hover {
  color: var(--color-accent);
}

.insight-card {
  display: grid;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.insight-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-soft);
}

.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insight-card__body {
  padding: var(--space-5);
}

.insight-card__title {
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-heading);
}

.insight-card__copy {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Document Card (Horizontal PDF Style)
   ========================================================================== */

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

@media (max-width: 1023.98px) {
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .document-grid {
    grid-template-columns: 1fr;
  }
}

.document-card {
  display: flex;
  align-items: stretch;
  gap: var(--space-6);
  padding: var(--space-6);
  background: #f8fafc; /* Very light slate/blue-gray */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.document-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.document-card__icon {
  flex-shrink: 0;
  position: relative;
  width: 90px;
  height: 120px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.document-card__icon::before {
  content: "PDF";
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444; /* PDF Red */
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.document-card__icon svg {
  width: 40px;
  height: 40px;
  color: #cbd5e1; /* Light slate for the document icon */
}

.document-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.document-card__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-heading);
}

.document-card__copy {
  margin: 0 0 20px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.document-card .btn-outline {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 13px;
  border-color: var(--color-primary);
  color: var(--color-primary);
  border-radius: 6px;
  font-weight: 600;
  margin-top: auto;
}

.document-card .btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
}

@media (max-width: 479.98px) {
  .document-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5);
  }
  .document-card__body {
    align-items: center;
  }
}

/* ==========================================================================
   Specification Table
   ========================================================================== */

.spec-table-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  margin-top: var(--space-6);
}

.spec-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  text-align: left;
}

.spec-table th,
.spec-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.5;
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  background: #f8fafc;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-heading);
  width: 35%;
  border-right: 1px solid var(--color-border);
}

.spec-table td {
  color: var(--color-text-secondary);
  background: #ffffff;
}

.spec-table tr:hover td,
.spec-table tr:hover th {
  background: #f1f5f9;
}

.moq-highlight {
  color: var(--color-primary-strong);
  font-weight: 700;
  background: rgba(29, 102, 226, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Page Card (used in .page-card-grid)
   ========================================================================== */

.page-card {
  padding: var(--space-6);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.page-card .page-kicker {
  background: var(--color-primary-strong);
  color: #ffffff;
}

/* ==========================================================================
   Section Rail and Service Rail
   ========================================================================== */

.section-rail {
  display: grid;
  grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.service-rail {
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
}

/* ==========================================================================
   Case Card and Tour Card
   ========================================================================== */

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-soft);
}

.case-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card .case-body {
  position: relative;
  z-index: 1;
  padding: var(--space-6);
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 12, 0.82) 100%);
  color: #ffffff;
}

.case-card .case-meta {
  margin-bottom: var(--space-3);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.case-card h3 {
  margin-bottom: var(--space-3);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.22;
}

.case-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tour-card {
  flex: 0 0 auto;
  width: 300px;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--color-bg-soft);
}

.tour-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Metric Strip Item and Step Card
   ========================================================================== */

.metric-strip__item {
  padding: var(--space-5);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 256px;
  height: 100%;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.26) 35%, rgba(15, 23, 42, 0.82) 100%),
    var(--step-card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(196, 210, 224, 0.72);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card h4 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 8px 20px rgba(15, 23, 42, 0.45);
}

.step-card p {
  margin: 0;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contact Panel Extras (shared)
   ========================================================================== */

.contact-panel__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.contact-panel__copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.contact-panel__meta {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   Final CTA (sticky sidebar)
   ========================================================================== */

.final-cta {
  position: sticky;
  top: var(--space-7);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--color-surface-dark);
  color: var(--color-text-inverse);
  border-radius: var(--radius-lg);
}

.final-cta h3 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.final-cta h3 em {
  font-style: normal;
  color: #7dd3fc;
}

.final-cta p {
  margin: 0 0 var(--space-6);
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.final-cta .cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.final-cta .btn {
  width: 100%;
  justify-content: center;
}

.final-cta .cta-foot {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  line-height: 1.65;
  color: #94a3b8;
}

.final-cta .cta-foot strong {
  color: #cbd5e1;
  display: block;
  margin-bottom: var(--space-2);
}

/* ==========================================================================
   Process Grid
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

/* ==========================================================================
   Mobile Sticky CTA (hidden on desktop)
   ========================================================================== */

.mobile-sticky-cta {
  display: none;
}

.btn-mobile-link {
  display: none;
}

/* ==========================================================================
   Responsive: 1023px
   ========================================================================== */

@media (max-width: 1023.98px) {
  .grid-4,
  .stat-grid,
  .gallery-grid--4,
  .logo-grid,
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .feature-grid,
  .topic-grid,
  .page-card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-grid,
  .grid-2,
  .proof-grid-2,
  .media-stack--2,
  .media-stack--3 {
    grid-template-columns: 1fr;
  }

  .section-rail {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .page-section__layout,
  .page-split {
    grid-template-columns: 1fr;
  }

  .final-cta {
    position: static;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Responsive: 768px
   ========================================================================== */

@media (max-width: 767.98px) {
  .btn,
  .button,
  button[type='submit'],
  input[type='submit'] {
    min-height: 44px;
    padding: var(--button-mobile-padding-y) var(--button-mobile-padding-x);
    font-size: var(--button-mobile-font-size);
    letter-spacing: 0.06em;
  }

  .btn-group,
  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 0.25rem;
  }

  .hero-layout {
    padding-block: 3.75rem 2.5rem;
  }

  .hero-shell {
    min-height: calc(100svh - 76px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.84) 0%, rgba(15, 23, 42, 0.72) 38%, rgba(15, 23, 42, 0.86) 100%);
  }

  .trust-strip {
    margin-top: -0.35rem;
  }

  .trust-strip__inner {
    padding: 0.9rem;
    border-radius: 16px;
  }

  .stat-band {
    gap: 0.7rem;
  }

  .stat-band--3 {
    grid-template-columns: 1fr;
  }

  .stat-band__item {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    text-align: left;
  }

  .stat-band__value {
    margin-bottom: 0.25rem;
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }

  .stat-band__label {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .trust-strip__badges,
  .proof-line {
    grid-template-columns: 1fr;
  }

  .trust-badge {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .section-rail {
    grid-template-columns: 1fr;
  }

  .proof-grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .feature-grid,
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-strip,
  .metric-strip--3,
  .topic-grid,
  .page-card-grid,
  .media-stack--2,
  .media-stack--3,
  .gallery-grid,
  .gallery-grid--4,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1rem;
    border-radius: 14px;
  }

  .page-card {
    border-radius: 14px;
  }

  .metric-strip__item {
    border-radius: 14px;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .logo-panel {
    min-height: 92px;
  }

  .case-card {
    min-height: 360px;
    border-radius: 18px;
  }

  .case-card .case-body {
    padding: 1.25rem;
  }

  .case-card .case-meta {
    margin-bottom: 0.6rem;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .case-card h3 {
    font-size: 1.08rem;
    line-height: 1.18;
  }

  .case-card p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .tour-card {
    flex-basis: 272px;
    height: 220px;
  }

  .btn-mobile-link {
    display: inline-flex;
    justify-content: center;
    width: auto;
    min-height: auto;
    padding: 0 0 0.35rem;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: currentColor;
    border-radius: 0;
    background: transparent;
    color: var(--color-heading);
    box-shadow: none;
  }

  .btn-mobile-link:hover {
    background: transparent;
    color: var(--color-primary-strong);
    border-color: currentColor;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
  }

  .mobile-sticky-cta .btn {
    width: 100%;
    padding-inline: 0.75rem;
  }

  .contact-panel__title {
    font-size: 1.15rem;
    line-height: 1.22;
  }

  .contact-panel__copy {
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .contact-panel__meta {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }
}

/* ==========================================================================
   Header & Navigation
   (Component styles — home page transparent-header overrides stay inline
   on the home template and are intentionally not included here.)
   ========================================================================== */

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.site-utility-bar {
  background: var(--color-surface-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.site-utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}

.site-utility-bar__message {
  margin: 0;
}

.site-utility-bar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-utility-bar__links a {
  color: rgba(255, 255, 255, 0.86);
  display: inline-block;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.site-utility-bar__links a:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.site-header {
  display: flex;
  justify-content: center;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 78px;
  width: min(calc(100% - 64px), 1180px);
  margin: 0 auto;
  padding: 0;
  position: static;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--color-heading);
}

.site-branding__link:hover {
  color: var(--color-heading);
}

.site-branding__logo {
  max-height: 76px;
  width: auto;
  display: block;
}

.site-nav {
  margin-left: auto;
}

@media (min-width: 1024px) {
  .site-nav--desktop {
    display: flex;
  }

  .site-menu-toggle,
  .site-mobile-nav {
    display: none !important;
  }
}

.site-nav__list,
.site-nav__dropdown-list,
.site-mobile-nav__list,
.site-mobile-nav__submenu ul,
.site-footer__menu-list,
.site-footer__trust-list,
.site-footer__contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
  margin-right: 1.25rem;
  justify-content: flex-end;
  gap: 0;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.95rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: auto;
  padding: 0;
  color: var(--color-heading);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: var(--color-heading);
  opacity: 0.7;
}

.site-nav__caret {
  display: inline-block;
  width: 0.34rem;
  height: 0.34rem;
  margin-top: -0.1rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.78;
}

.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  margin-top: -1px;
}

.site-nav__dropdown--mega {
  left: 50%;
  width: 95vw;
  max-width: 900px;
  padding: 2.5rem;
  transform: translate(-50%, 10px);
}

.site-nav__item:hover > .site-nav__dropdown,
.site-nav__item:focus-within > .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__item:hover > .site-nav__dropdown--mega,
.site-nav__item:focus-within > .site-nav__dropdown--mega {
  transform: translate(-50%, 0);
}

.site-nav__mega-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
}

.site-nav__mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

.site-nav__mega-preview {
  background: var(--color-surface);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  width: 100%;
  height: 100%;
  min-height: 280px;
  position: relative;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.site-nav__mega-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: opacity 0.3s ease;
  position: absolute;
}

.site-nav__mega-footer {
  background: var(--color-bg-muted);
  padding: 14px 35px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem -2.5rem -2.5rem -2.5rem;
}

.site-nav__mega-footnote {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.btn-mega-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(215, 174, 67, 0.24);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.btn-mega-action:hover {
  background: linear-gradient(135deg, var(--color-accent-strong) 0%, var(--color-accent) 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(215, 174, 67, 0.28);
}

.btn-mega-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(215, 174, 67, 0.18), 0 16px 28px rgba(215, 174, 67, 0.24);
}

.site-nav__mega-title {
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-accent);
  letter-spacing: 0;
}

.site-nav__mega-title a {
  color: inherit;
}

.site-nav__dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-nav__dropdown-list a {
  display: block;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 8px;
  transition: 0.2s;
  font-weight: 500;
  padding: 8px 12px;
  margin-left: -12px;
  border-radius: 4px;
}

.site-nav__dropdown-list a:hover {
  color: var(--color-accent-strong);
  background: var(--color-bg-muted);
  transform: translateX(5px);
}

.site-header__actions {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  gap: 0.625rem;
  margin-left: 0;
}

.site-header__actions .btn {
  min-height: 42px;
  padding: 0.875rem 1.35rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.refit-hero-point a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.2rem 0;
}

.btn-sm {
  min-height: 42px;
  padding: 0.875rem 1.25rem;
  font-size: 11px;
  letter-spacing: 1.2px;
}

.site-menu-toggle {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.site-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-heading);
}

.site-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(15, 23, 42, 0.48);
}

.site-mobile-nav__panel {
  margin-left: auto;
  width: min(100%, 420px);
  height: 100%;
  padding: 1.2rem 1rem 1.5rem;
  background: var(--color-surface);
  overflow-y: auto;
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.12);
}

.site-mobile-nav__header,
.site-mobile-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-mobile-nav__header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.site-mobile-nav__subline {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.site-mobile-nav__close,
.site-mobile-nav__toggle {
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-mobile-nav__body {
  padding-top: 1rem;
}

.site-mobile-nav__list {
  display: grid;
  gap: 0.85rem;
}

.site-mobile-nav__item {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.site-mobile-nav__link {
  color: var(--color-heading);
  font-size: 1rem;
  font-weight: 500;
}

/* ==========================================================================
   Legal Pages
   ==========================================================================
*/

.legal-page {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal-page__layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.legal-page__aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 1rem;
}

.legal-page__card,
.legal-page__section {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.legal-page__card h2,
.legal-page__section h2 {
  margin: 0 0 0.9rem;
  color: var(--color-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.legal-page__card p,
.legal-page__section p,
.legal-page__section li,
.legal-page__card li {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 102, 226, 0.08);
  color: var(--color-primary-strong);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page__meta {
  display: grid;
  gap: 0.7rem;
}

.legal-page__meta-item {
  display: grid;
  gap: 0.18rem;
  padding: 0.9rem 1rem;
  background: var(--color-bg-soft);
  border: 1px solid rgba(29, 102, 226, 0.08);
  border-radius: var(--radius-md);
}

.legal-page__meta-item strong {
  color: var(--color-heading);
  font-size: 0.95rem;
  line-height: 1.45;
}

.legal-page__meta-item span,
.legal-page__meta-item a {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  text-decoration: none;
}

.legal-page__meta-item a:hover {
  color: var(--color-accent);
}

.legal-page__toc {
  display: grid;
  gap: 0.65rem;
}

.legal-page__toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  color: var(--color-heading);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.legal-page__toc a::after {
  content: "+";
  color: var(--color-primary-strong);
  font-size: 1rem;
  line-height: 1;
}

.legal-page__toc a:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 102, 226, 0.18);
  box-shadow: var(--shadow-card-hover);
}

.legal-page__body {
  display: grid;
  gap: 1rem;
}

.legal-page__section ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.legal-page__section li + li {
  margin-top: 0.55rem;
}

.legal-page__support {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.legal-page__support a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-page__support a:hover {
  background: var(--color-accent-strong);
  color: #ffffff;
}

@media (max-width: 1023.98px) {
  .legal-page__layout {
    grid-template-columns: 1fr;
  }

  .legal-page__aside {
    position: static;
  }
}

.site-mobile-nav__brand,
.site-mobile-nav__submenu-title {
  margin: 0 0 0.8rem;
  color: var(--color-heading);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-mobile-nav__submenu {
  padding-top: 0.9rem;
}

.site-mobile-nav__submenu-group + .site-mobile-nav__submenu-group {
  margin-top: 1rem;
}

.site-mobile-nav__submenu ul {
  display: grid;
  gap: 0.55rem;
}

.site-mobile-nav__submenu a {
  color: var(--color-text);
  font-size: 0.95rem;
}

.site-mobile-nav__contact {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.site-mobile-nav__contact a:not(.btn) {
  color: var(--color-text);
}

body.site-nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Floating Actions: WhatsApp & Back to Top
   Keep z-index values consistent so these do not overlap the
   TranslatePress language switcher floating bar.
   ========================================================================== */

#sanyang-wa-widget {
  z-index: 1085;
}

.site-back-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 54px;
  height: 54px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(145deg, #2b73ee 0%, #1d66e2 58%, #1658c7 100%);
  color: #ffffff;
  box-shadow:
    0 22px 58px rgba(15, 23, 42, 0.28),
    0 6px 16px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.94);
  transition:
    width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.28s ease,
    padding 0.28s ease,
    opacity 0.24s ease,
    visibility 0.24s ease,
    transform 0.24s ease,
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.site-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-back-top:focus-visible {
  width: 150px;
  gap: 0.72rem;
  padding-left: 1.05rem;
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  box-shadow:
    0 26px 68px rgba(15, 23, 42, 0.34),
    0 8px 18px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Hover expansion only on devices with a real pointer;
   prevents sticky :hover state on touch screens. */
@media (hover: hover) and (pointer: fine) {
  .site-back-top:hover {
    width: 150px;
    gap: 0.72rem;
    padding-left: 1.05rem;
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    box-shadow:
      0 26px 68px rgba(15, 23, 42, 0.34),
      0 8px 18px rgba(15, 23, 42, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

.site-back-top__label {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-back-top:focus-visible .site-back-top__label {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: hover) and (pointer: fine) {
  .site-back-top:hover .site-back-top__label {
    opacity: 1;
    transform: translateX(0);
  }
}

.site-back-top__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1324;
  flex: 0 0 42px;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.site-back-top__icon::before,
.site-back-top__icon::after {
  content: '';
  position: absolute;
  display: block;
}

.site-back-top__icon::before {
  width: 2.5px;
  height: 15px;
  background: currentColor;
  border-radius: 999px;
  top: 13px;
  left: 19.8px;
}

.site-back-top__icon::after {
  width: 10px;
  height: 10px;
  border-top: 2.5px solid currentColor;
  border-left: 2.5px solid currentColor;
  transform: rotate(45deg);
  top: 12px;
  left: 14.8px;
}

.site-back-top:focus-visible .site-back-top__icon {
  transform: translateY(-2px);
}

@media (hover: hover) and (pointer: fine) {
  .site-back-top:hover .site-back-top__icon {
    transform: translateY(-2px);
  }
}

@media (max-width: 767.98px) {
  .site-back-top {
    right: 1rem;
    bottom: calc(var(--wa-mobile-trigger-bottom, 24px) + var(--wa-mobile-trigger-size, 60px) + 1rem);
    width: 50px;
    height: 50px;
    padding: 6px;
  }

  .site-back-top:hover,
  .site-back-top:focus-visible {
    width: 50px;
    gap: 0;
    padding-left: 6px;
  }

  .site-back-top__label {
    display: none;
  }

  .site-back-top__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-back-top__icon::before {
    top: 12px;
    left: 18px;
    height: 14px;
  }

  .site-back-top__icon::after {
    top: 11px;
    left: 13.4px;
  }
}

/* Keep floating actions below open overlays: hide the back-to-top button
   (and the WhatsApp widget, whose base styles live outside this file)
   while the mobile nav drawer or the footer inquiry modal is open. */
body.site-nav-open .site-back-top,
body.site-footer-modal-open .site-back-top,
body.site-nav-open #sanyang-wa-widget {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

/* Mobile sticky CTA bar (~68px: 12px padding + 44px button + 12px padding
   + 1px border) sits at the bottom of the viewport and would cover the
   back-to-top button. When the bar is present, lift the button above it
   and add matching body padding so page content is not hidden behind it. */
@media (max-width: 767.98px) {
  body:has(.mobile-sticky-cta) {
    padding-bottom: 68px;
  }

  body:has(.mobile-sticky-cta) .site-back-top {
    bottom: calc(var(--wa-mobile-trigger-bottom, 24px) + var(--wa-mobile-trigger-size, 60px) + 1rem + 68px);
  }
}

/* Footer inquiry modal */
.site-footer-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.site-footer-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-footer-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.76);
  backdrop-filter: blur(6px);
}

.site-footer-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  width: min(1120px, 100%);
  max-height: min(92vh, 940px);
  overflow: hidden;
  border: 1px solid rgba(29, 102, 226, 0.16);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(17, 53, 118, 0.26);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s ease;
}

.site-footer-modal.is-visible .site-footer-modal__dialog {
  transform: translateY(0) scale(1);
}

.site-footer-modal__panel {
  min-width: 0;
}

.site-footer-modal__panel--intro {
  padding: clamp(2rem, 4vw, 3.2rem);
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #2b73ee 0%, #1d66e2 58%, #1658c7 100%);
  color: #ffffff;
}

.site-footer-modal__panel--form {
  padding: clamp(1.5rem, 3.2vw, 2.25rem);
  overflow-y: auto;
  background: #f8fbff;
}

.site-footer-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #1d66e2;
  border-radius: 999px;
  background: #1d66e2;
  color: #ffffff !important;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(29, 102, 226, 0.24);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  font-family: system-ui, -apple-system, sans-serif;
}

.site-footer-modal__close:hover {
  background: #1658c7;
  border-color: #1658c7;
  transform: rotate(90deg);
}

.site-footer-modal__eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer-modal__title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.site-footer-modal__summary {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.72;
}

.site-footer-modal__checklist {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-modal__checklist li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.site-footer-modal__checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #ffffff;
}

.site-footer-modal__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.site-footer-modal__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-modal__form-shell .wpcf7 {
  width: 100%;
  margin: 0;
}

.site-footer-modal__form-shell form {
  width: 100%;
  display: grid;
  row-gap: 1.65rem;
  column-gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.site-footer-modal__form-shell form > p {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-footer-modal__form-shell .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 0.55rem;
}

.site-footer-modal__form-shell .wpcf7-form-control {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.site-footer-modal__form-shell label {
  display: block;
  width: 100%;
  margin: 0;
  color: #2f3640;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer-modal__form-shell input[type='text'],
.site-footer-modal__form-shell input[type='email'],
.site-footer-modal__form-shell input[type='tel'],
.site-footer-modal__form-shell input[type='number'],
.site-footer-modal__form-shell input[type='url'],
.site-footer-modal__form-shell input[type='file'],
.site-footer-modal__form-shell select,
.site-footer-modal__form-shell textarea {
  width: 100%;
  max-width: none;
  min-height: 52px;
  padding: 0.92rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-footer-modal__form-shell textarea {
  min-height: 240px;
  resize: vertical;
}

.site-footer-modal__form-shell input[type='file'] {
  color: #4b5563;
  cursor: pointer;
}

.site-footer-modal__form-shell input[type='file']::file-selector-button {
  margin-right: 0.95rem;
  padding: 0.58rem 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-footer-modal__form-shell input[type='file']:hover::file-selector-button {
  background: #e5e7eb;
  border-color: #cbd5e1;
}

.site-footer-modal__form-shell input:focus,
.site-footer-modal__form-shell select:focus,
.site-footer-modal__form-shell textarea:focus {
  border-color: #111827;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.site-footer-modal__form-shell .wpcf7-submit,
.site-footer-modal__form-shell input[type='submit'] {
  width: auto;
  min-width: 118px;
  min-height: 54px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 8px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer-modal__form-shell .wpcf7-submit:hover,
.site-footer-modal__form-shell input[type='submit']:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.site-footer-modal__form-shell.home-contact-form-shell form {
  display: block;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-form-control-wrap {
  margin-top: 0.55rem;
}

.site-footer-modal__form-shell.home-contact-form-shell label {
  color: #2f3640;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer-modal__form-shell.home-contact-form-shell .form-control,
.site-footer-modal__form-shell.home-contact-form-shell input[type='text'],
.site-footer-modal__form-shell.home-contact-form-shell input[type='email'],
.site-footer-modal__form-shell.home-contact-form-shell input[type='tel'],
.site-footer-modal__form-shell.home-contact-form-shell input[type='file'],
.site-footer-modal__form-shell.home-contact-form-shell select,
.site-footer-modal__form-shell.home-contact-form-shell textarea {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  padding: 0.92rem 1rem;
  min-height: 52px;
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-footer-modal__form-shell.home-contact-form-shell input[type='file'] {
  color: #4b5563;
  cursor: pointer;
}

.site-footer-modal__form-shell.home-contact-form-shell input[type='file']::file-selector-button {
  margin-right: 0.95rem;
  padding: 0.58rem 0.95rem;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-footer-modal__form-shell.home-contact-form-shell input[type='file']:hover::file-selector-button {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3);
}

.site-footer-modal__form-shell.home-contact-form-shell .form-control:focus,
.site-footer-modal__form-shell.home-contact-form-shell input[type='text']:focus,
.site-footer-modal__form-shell.home-contact-form-shell input[type='email']:focus,
.site-footer-modal__form-shell.home-contact-form-shell input[type='tel']:focus,
.site-footer-modal__form-shell.home-contact-form-shell input[type='file']:focus,
.site-footer-modal__form-shell.home-contact-form-shell select:focus,
.site-footer-modal__form-shell.home-contact-form-shell textarea:focus {
  border-color: #1d66e2;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(29, 102, 226, 0.12);
  outline: none;
}

.site-footer-modal__form-shell.home-contact-form-shell .form-control::placeholder,
.site-footer-modal__form-shell.home-contact-form-shell input[type='text']::placeholder,
.site-footer-modal__form-shell.home-contact-form-shell input[type='email']::placeholder,
.site-footer-modal__form-shell.home-contact-form-shell input[type='tel']::placeholder,
.site-footer-modal__form-shell.home-contact-form-shell textarea::placeholder {
  color: #b6bcc7;
}

.site-footer-modal__form-shell.home-contact-form-shell textarea {
  min-height: 150px;
  height: 150px;
  resize: vertical;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-submit,
.site-footer-modal__form-shell.home-contact-form-shell .btn,
.site-footer-modal__form-shell.home-contact-form-shell input[type='submit'] {
  background: var(--color-accent);
  color: #ffffff;
  width: auto;
  min-width: 118px;
  min-height: 54px;
  border-radius: 8px;
  padding: 0 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-submit:hover,
.site-footer-modal__form-shell.home-contact-form-shell .btn:hover,
.site-footer-modal__form-shell.home-contact-form-shell input[type='submit']:hover {
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-submit:active,
.site-footer-modal__form-shell.home-contact-form-shell .btn:active,
.site-footer-modal__form-shell.home-contact-form-shell input[type='submit']:active {
  transform: translateY(0) scale(0.985);
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7 form.submitting .wpcf7-submit,
.site-footer-modal__form-shell.home-contact-form-shell .wpcf7 form.submitting input[type='submit'] {
  opacity: 0.72;
  cursor: wait;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-not-valid-tip {
  display: none !important;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: 0.95rem 1.05rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px;
  background: #f8fafc;
  color: #111827;
  font-size: 0.92rem;
  line-height: 1.55;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7 form.invalid .wpcf7-response-output,
.site-footer-modal__form-shell.home-contact-form-shell .wpcf7 form.unaccepted .wpcf7-response-output,
.site-footer-modal__form-shell.home-contact-form-shell .wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(194, 65, 12, 0.25) !important;
  background: #fff7ed;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(5, 150, 105, 0.24) !important;
  background: #ecfdf5;
}

.site-footer-modal__form-shell.home-contact-form-shell .wpcf7-spinner {
  margin: 1rem 0 0;
}

.site-footer-modal__form-shell .wpcf7-spinner {
  margin: 0.5rem 0 0;
}

.site-footer-modal__form-shell form > p:has(textarea),
.site-footer-modal__form-shell form > p:has([data-name*='message']),
.site-footer-modal__form-shell form > p:has([data-name*='phone']),
.site-footer-modal__form-shell form > p:has([data-name*='type']),
.site-footer-modal__form-shell form > p:has(input[type='file']),
.site-footer-modal__form-shell form > p:has(.wpcf7-acceptance),
.site-footer-modal__form-shell form > p:has(input[type='submit']),
.site-footer-modal__form-shell .wpcf7-response-output {
  grid-column: 1 / -1;
}

.site-footer-modal-open .site-header,
.site-footer-modal-open #masthead {
  visibility: hidden;
}

.mobile-sticky-cta {
  display: none;
}

/* ==========================================================================
   Header & Footer Responsive Overrides
   ========================================================================== */

@media (max-width: 1023.98px) {
  .site-footer > .container {
    width: min(calc(100% - 40px), var(--container-lg));
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 0.75rem;
  }

  .site-footer__top {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .site-footer__menus {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-modal {
    padding: 0;
  }

  .site-footer-modal__dialog {
    width: 100%;
    max-height: 100svh;
    border-radius: 0;
  }

  .site-footer-modal__panel--intro {
    display: none;
  }

  .site-footer-modal__panel--form {
    padding: 4.5rem 1rem 1.25rem;
  }

  .site-footer-modal__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .site-footer-modal__form-shell form {
    grid-template-columns: 1fr;
  }

  .site-footer-modal__form-shell form > p:has(textarea),
  .site-footer-modal__form-shell form > p:has([data-name*='message']),
  .site-footer-modal__form-shell form > p:has(input[type='file']),
  .site-footer-modal__form-shell form > p:has(.wpcf7-acceptance),
  .site-footer-modal__form-shell form > p:has(input[type='submit']),
  .site-footer-modal__form-shell .wpcf7-response-output {
    grid-column: auto;
  }
}

/* ==========================================================================
   Mobile Header & Navigation
   The base .site-menu-toggle rule (display:none) is declared after the
   shared @media (max-width:1023.98px) show rule, which previously left the
   toggle hidden on mobile. This block restores a correct, self-contained
   mobile header so the hamburger shows and the mobile nav panel is styled.
   ========================================================================== */
@media (max-width: 1023.98px) {
  /* Force header to full viewport width on mobile (overrides body.home max-width:none) */
  .site-header-shell,
  .site-header,
  .site-header .container-xl,
  .site-header .site-header__inner,
  .site-header .inside-header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .site-header__inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.75rem;
    min-height: 68px;
    width: min(calc(100% - 32px), 100%) !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .site-branding {
    margin-right: auto;
  }

  .site-branding__logo {
    max-height: 52px;
    height: 52px;
    width: auto;
    object-fit: contain;
  }

  /* Keep the quote button compact, push the hamburger to the far right */
  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }

  .site-header__quote {
    display: none !important;
  }

  /* Hamburger toggle — override the base display:none reliably */
  .site-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    cursor: pointer;
  }

  .site-menu-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0;
    background: var(--color-heading);
    border-radius: 2px;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.2s ease;
  }

  /* Active (open) state: collapse the three lines into an X */
  .site-menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text):nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text):nth-child(2) {
    opacity: 0;
  }

  .site-menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text):nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Mobile navigation overlay panel (applies at all widths where the panel
   is toggled open; only relevant once the desktop nav is hidden). */
.site-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: block;
  overflow-x: clip;
  background: rgba(10, 18, 34, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-mobile-nav[hidden] {
  display: none;
}

.site-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin-left: auto;
  width: min(100%, 420px);
  max-width: 92vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.75rem;
  background: var(--color-surface);
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.site-mobile-nav__panel:focus {
  outline: none;
}

.site-mobile-nav__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.site-mobile-nav__brand {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-mobile-nav__subline {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.site-mobile-nav__close {
  flex-shrink: 0;
  cursor: pointer;
}

.site-mobile-nav__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-top: 1.1rem;
}

.site-mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.site-mobile-nav__item {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.site-mobile-nav__item:last-child {
  border-bottom: 0;
}

.site-mobile-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex: 1 1 auto;
  color: var(--color-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-mobile-nav__toggle {
  flex-shrink: 0;
  min-height: 44px;
  min-width: 68px;
  padding-inline: 0.9rem;
  cursor: pointer;
}

.site-mobile-nav__submenu[hidden] {
  display: none;
}

.site-mobile-nav__submenu {
  padding-top: 0.85rem;
}

.site-mobile-nav__submenu-group + .site-mobile-nav__submenu-group {
  margin-top: 1rem;
}

.site-mobile-nav__submenu-title {
  margin: 0 0 0.6rem;
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-mobile-nav__submenu ul {
  display: grid;
  gap: 0.55rem;
}

.site-mobile-nav__submenu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.site-mobile-nav__submenu a:hover {
  color: var(--color-accent);
}

.site-mobile-nav__contact {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.site-mobile-nav__contact a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text);
  font-size: 0.92rem;
}

.site-mobile-nav__contact a:not(.btn):hover {
  color: var(--color-accent);
}

body.site-nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Contact Form 7 - Two-column B2B inquiry form
   ========================================================================== */
.cf7-grid {
  display: grid;
  gap: 18px;
}

.cf7-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf7-span-2 {
  grid-column: 1 / -1;
}

.cf7-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf7-field label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.4;
}

.cf7-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cf7-field input,
.cf7-field select,
.cf7-field textarea {
  width: 100%;
}

.cf7-consent {
  font-size: 13px;
  color: var(--color-text-muted);
}

.cf7-consent .wpcf7-list-item {
  margin: 0;
}

.cf7-submit-wrap {
  margin-top: 8px;
}

.cf7-submit-wrap .wpcf7-spinner {
  margin-top: 12px;
}

@media (max-width: 767.98px) {
  .cf7-grid--2 {
    grid-template-columns: 1fr;
  }

  .cf7-span-2 {
    grid-column: auto;
  }
}

  .home-contact-form-shell {
    width: 100%;
    display: block;
  }
  
  .home-contact-form-shell .wpcf7 {
    width: 100%;
    margin: 0;
  }
  
  .home-contact-form-shell form {
    width: 100%;
    display: block;
  }
  
  .home-contact-form-shell form > p {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  
  .home-contact-form-shell form > p:has(textarea),
  .home-contact-form-shell form > p:has([data-name*='message']),
  .home-contact-form-shell form > p:has([data-name*='phone']),
  .home-contact-form-shell form > p:has([data-name*='type']),
  .home-contact-form-shell form > p:has(input[type='file']),
  .home-contact-form-shell form > p:has(.wpcf7-acceptance),
  .home-contact-form-shell form > p:has(input[type='submit']),
  .home-contact-form-shell .wpcf7-response-output {
    grid-column: 1 / -1;
  }
  
  @media (max-width: 767.98px) {
    .home-contact-form-shell form {
      grid-template-columns: 1fr;
    }
  }

/* ==========================================================================
   Elegant Pharmacy Home Refresh
   Header / Footer overrides to align with the lighter demo direction
   ========================================================================== */

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  backdrop-filter: blur(14px);
}

.site-utility-bar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(22, 25, 31, 0.08);
  color: #6b7280;
}

.site-utility-bar__inner {
  min-height: 34px;
}

.site-utility-bar__message,
.site-utility-bar__links a {
  color: #6b7280;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.site-utility-bar__links a:hover {
  color: #1f5fd3;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(22, 25, 31, 0.08);
  box-shadow: 0 12px 32px rgba(31, 79, 156, 0.06);
}

.site-header__inner {
  min-height: 74px;
}

.site-branding__logo {
  max-height: 64px;
}

.site-nav__list {
  margin-right: 1.2rem;
}

.site-nav__item {
  padding: 0 0.8rem;
}

.site-nav__link {
  color: #39465e;
  font-size: 13px;
  font-weight: 600;
}

.site-nav__link:hover,
.site-nav__item:hover > .site-nav__link {
  color: var(--color-accent-strong);
  opacity: 1;
}

.site-header__actions .btn,
.site-footer__cta .btn {
  min-height: 40px;
  padding: 0.7rem 1.08rem;
  border-radius: 10px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(184, 135, 24, 0.2);
}

.site-header__actions .btn {
  min-height: 36px;
  padding: 0.58rem 0.98rem;
  font-size: 13px;
  line-height: 1;
}

.site-header__actions .btn:hover,
.site-footer__cta .btn:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: #ffffff;
}

.site-menu-toggle {
  border-radius: 999px;
}

/* Single source of truth for the live footer component used in template-parts/footer.php */
.site-footer {
  padding: 0;
  background: linear-gradient(180deg, #1d66e2 0%, #1658c7 100%);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer > .container {
  width: min(calc(100% - 48px), 1320px);
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__top {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.site-footer__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.75rem;
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__brand,
.site-footer__cta,
.site-footer__fact,
.site-footer__menu-group {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.site-footer__brand,
.site-footer__cta {
  padding: 0;
}

.site-footer__brand {
  max-width: none;
}

.site-footer__brand-logo-link {
  display: inline-flex;
  margin-bottom: 1rem;
}

.site-footer__brand-logo {
  max-width: 280px;
  max-height: 80px;
}

.site-footer__brand-copy,
.site-footer__cta-copy,
.site-footer__fact-value,
.site-footer__contact-list li,
.site-footer__menu-list a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.site-footer__social-link:hover {
  color: #ffffff;
  border-color: rgba(215, 174, 67, 0.58);
  background: rgba(215, 174, 67, 0.14);
  transform: translateY(-1px);
}

.site-footer__cta-copy {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__fact {
  min-height: 0;
  padding: 0;
}

.site-footer__fact-label {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__fact-value {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.site-footer__menus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.25rem;
}

.site-footer__menu-group {
  padding: 0;
}

.site-footer__menu-title {
  margin-bottom: 0.85rem;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-footer__menu-list {
  display: grid;
  gap: 0.55rem;
}

.site-footer__menu-list a,
.site-footer__contact-list {
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__menu-list a,
.site-footer__bottom-links a,
.site-footer__contact-list a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 0.12rem 0;
}

.site-footer__contact-list a {
  text-decoration: none;
}

.site-footer__contact-list li:last-child {
  line-height: 1.7;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

@media (max-width: 1023.98px) {
  .site-header__actions .btn {
    min-height: 44px;
    padding: 0.72rem 1rem;
  }

  .site-footer__summary,
  .site-footer__facts,
  .site-footer__menus {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .site-utility-bar {
    display: none;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-footer > .container {
    width: min(calc(100% - 32px), 100%);
  }

  .site-footer__top {
    padding: 2rem 0 1.35rem;
  }

  .site-footer__summary,
  .site-footer__facts,
  .site-footer__menus {
    grid-template-columns: 1fr;
  }

  .site-footer__fact {
    min-height: auto;
  }
}

/* ==========================================================================
   Refit Hero Banner
   Shared homepage / inner-page banner system
   ==========================================================================
*/

.refit-hero {
  --refit-hero-min-height: 860px;
  --refit-hero-copy-max: 980px;
  --refit-hero-title-max: 980px;
  --refit-hero-summary-max: 980px;
  --refit-hero-bg-color: #1b4f9d;
  --refit-hero-bg-image: url('https://sanyangmedical.com/wp-content/uploads/2026/07/sanyang-medical-operating-table-factory-photo-india-1920w.webp');
  --refit-hero-bg-position: 72% center;
  position: relative;
  overflow: hidden;
  min-height: var(--refit-hero-min-height);
  padding: 120px 0;
  background-color: var(--refit-hero-bg-color);
  background-image:
    radial-gradient(circle at 18% 28%, rgba(138, 189, 255, 0.28) 0%, rgba(138, 189, 255, 0) 34%),
    linear-gradient(96deg, rgba(8, 29, 61, 0.92) 0%, rgba(16, 61, 127, 0.9) 32%, rgba(29, 102, 226, 0.76) 62%, rgba(29, 102, 226, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 19, 39, 0.12) 0%, rgba(6, 19, 39, 0.32) 52%, rgba(5, 15, 31, 0.64) 100%),
    var(--refit-hero-bg-image);
  background-position: var(--refit-hero-bg-position);
  background-repeat: no-repeat;
  background-size: cover;
}

.refit-hero::before,
.refit-hero::after,
.refit-right,
.refit-planner-card,
.refit-floating-card,
.refit-link-secondary {
  display: none !important;
}

.refit-hero-container {
  width: min(calc(100% - 64px), 1180px);
  margin: 0 auto;
  display: block;
  height: auto;
  max-height: none;
  min-height: 0;
  flex: none;
}

.refit-left {
  display: block;
  padding: 0;
}

.refit-hero-copy {
  max-width: var(--refit-hero-copy-max);
  margin: 0 0 52px;
}

.refit-hero-badge,
.refit-hero-copy .page-kicker {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  min-height: 0;
  box-shadow: none !important;
}

.refit-hero-copy .page-kicker {
  display: inline-flex;
}

.pulse-dot {
  display: none;
}

.refit-hero-copy h1,
.refit-hero-copy .page-title {
  max-width: var(--refit-hero-title-max);
  margin: 0 0 16px !important;
  color: #ffffff !important;
  font-size: 44px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

.refit-hero-copy p,
.refit-hero-copy .page-summary {
  max-width: var(--refit-hero-summary-max);
  margin: 0 0 24px !important;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 36px !important;
  font-weight: 500 !important;
}

.refit-hero-copy p.refit-hero-definition {
  max-width: 860px;
  margin: 0 0 28px !important;
  padding: 3px 0 3px 18px;
  border-left: 3px solid rgba(244, 217, 166, 0.55);
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 15px !important;
  line-height: 27px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
}

.refit-hero-definition strong {
  color: #ffffff;
  font-weight: 700;
}

.refit-hero-actions {
  display: block;
  margin: 0;
}

.refit-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.26);
}

.refit-btn-primary::before,
.refit-btn-primary .btn-icon {
  display: none;
}

.refit-btn-primary:hover {
  background: var(--color-accent-strong);
  color: #ffffff;
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3);
  transform: none;
}

.refit-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 980px;
}

.refit-hero-point {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.refit-hero-point::before {
  content: "";
  width: 30px;
  height: 30px;
  margin-top: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  border-radius: 0;
  background-color: transparent;
}

.refit-hero-point:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 12h30l4 8v29a3 3 0 0 1-3 3H16a3 3 0 0 1-3-3V20l4-8Z'/%3E%3Cpath d='M24 12V8h16v4'/%3E%3Cpath d='M14 22h36'/%3E%3Cpath d='M22 29c3 0 4 2 6 4s3 4 6 4 4-2 6-4 3-4 6-4'/%3E%3Cpath d='M22 40c3 0 4 2 6 4s3 4 6 4 4-2 6-4 3-4 6-4'/%3E%3C/svg%3E");
}

.refit-hero-point:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 16h12v36H18z'/%3E%3Cpath d='M22 8h4v8h-4z'/%3E%3Cpath d='M34 26h12v26H34z'/%3E%3Cpath d='M38 18h4v8h-4z'/%3E%3Cpath d='M22 28h4'/%3E%3Cpath d='M22 36h4'/%3E%3Cpath d='M38 36h4'/%3E%3C/svg%3E");
}

.refit-hero-point:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 52s-16-9.3-16-23.1C16 20.2 22.2 16 28.2 16c4.2 0 6.9 2.3 8.3 4.7 1.4-2.4 4.1-4.7 8.3-4.7C50.8 16 57 20.2 57 28.9 57 42.7 41 52 41 52H32Z'/%3E%3Cpath d='M12 34h10l4-8 6 16 5-10h15'/%3E%3C/svg%3E");
}

.refit-hero-point strong {
  display: block;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0;
}

.refit-hero-point span {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 25.2px;
  font-weight: 500;
}

.refit-hero-point a {
  display: inline-block;
  margin-top: 8px;
  color: #9fd7ff;
  font-size: 14px;
  line-height: 25.2px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 1023.98px) {
  .refit-hero-points {
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .refit-hero {
    min-height: min(60vh, 560px);
    padding: 80px 0 28px;
    background-image:
      radial-gradient(circle at 24% 18%, rgba(149, 197, 255, 0.24) 0%, rgba(149, 197, 255, 0) 34%),
      linear-gradient(180deg, rgba(17, 66, 141, 0.18) 0%, rgba(17, 66, 141, 0.34) 28%, rgba(11, 40, 84, 0.62) 58%, rgba(6, 19, 39, 0.88) 100%),
      linear-gradient(100deg, rgba(8, 29, 61, 0.78) 0%, rgba(22, 76, 164, 0.76) 48%, rgba(29, 102, 226, 0.22) 100%),
      var(--refit-hero-bg-image);
    background-position: 66% center;
  }

  .refit-hero-container {
    width: min(calc(100% - 32px), 100%);
  }

  .refit-hero-copy {
    margin: 0 0 28px;
  }

  .refit-hero-badge,
  .refit-hero-copy .page-kicker {
    margin-bottom: 0.75rem;
    font-size: 12px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.1em !important;
  }

  .refit-hero-copy h1,
  .refit-hero-copy .page-title {
    font-size: 31px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em !important;
  }

  .refit-hero-copy p,
  .refit-hero-copy .page-summary {
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }

  .refit-hero-copy p.refit-hero-definition {
    margin: 0 0 22px !important;
    padding: 2px 0 2px 14px;
    font-size: 13.5px !important;
    line-height: 23px !important;
    font-weight: 400 !important;
  }

  .refit-btn-primary {
    min-height: 52px;
    padding: 12px 22px;
    box-shadow: none;
  }

  .refit-hero-points {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .refit-hero-point {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
  }

  .refit-hero-point::before {
    width: 26px;
    height: 26px;
    margin-top: 4px;
  }

  .refit-hero-point strong {
    font-size: 16px;
    line-height: 1.35;
  }

  .refit-hero-point span,
  .refit-hero-point a {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ==========================================================================
   Home Refit Hero Lock
   Keep homepage banner controlled by main.css even if legacy inline rules remain.
   ==========================================================================
*/

body.home .refit-hero {
  min-height: 860px;
  padding: 120px 0;
  background-color: #1b4f9d;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(138, 189, 255, 0.28) 0%, rgba(138, 189, 255, 0) 34%),
    linear-gradient(96deg, rgba(8, 29, 61, 0.92) 0%, rgba(16, 61, 127, 0.9) 32%, rgba(29, 102, 226, 0.76) 62%, rgba(29, 102, 226, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 19, 39, 0.12) 0%, rgba(6, 19, 39, 0.32) 52%, rgba(5, 15, 31, 0.64) 100%),
    url('https://sanyangmedical.com/wp-content/uploads/2026/07/sanyang-medical-operating-table-factory-photo-india-1920w.webp');
  background-position: 72% center;
}

body.home .refit-hero-container {
  width: min(calc(100% - 64px), 1180px);
  display: block;
  height: auto;
  max-height: none;
  min-height: 0;
  flex: none;
}

body.home .refit-left {
  display: block;
  padding: 0;
}

body.home .refit-hero-copy,
body.home .refit-hero-copy .page-title,
body.home .refit-hero-copy .page-summary {
  max-width: 980px !important;
}

body.home .refit-hero-copy {
  margin: 0 0 52px !important;
}

body.home .refit-hero-copy h1,
body.home .refit-hero-copy .page-title {
  margin: 0 0 16px !important;
  font-size: 44px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

body.home .refit-hero-copy p,
body.home .refit-hero-copy .page-summary {
  margin: 0 0 24px !important;
  max-width: 980px !important;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 36px !important;
  font-weight: 500 !important;
}

body.home .refit-hero-actions {
  display: block;
  margin: 0;
}

body.home .refit-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 980px;
}

body.home .refit-hero-point {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

@media (max-width: 1023.98px) {
  body.home .refit-hero-points {
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  body.home .refit-hero {
    min-height: min(60vh, 560px);
    padding: 80px 0 28px;
    background-image:
      radial-gradient(circle at 24% 18%, rgba(149, 197, 255, 0.24) 0%, rgba(149, 197, 255, 0) 34%),
      linear-gradient(180deg, rgba(17, 66, 141, 0.18) 0%, rgba(17, 66, 141, 0.34) 28%, rgba(11, 40, 84, 0.62) 58%, rgba(6, 19, 39, 0.88) 100%),
      linear-gradient(100deg, rgba(8, 29, 61, 0.78) 0%, rgba(22, 76, 164, 0.76) 48%, rgba(29, 102, 226, 0.22) 100%),
      url('https://sanyangmedical.com/wp-content/uploads/2026/07/sanyang-medical-operating-table-factory-photo-india-768w.webp');
    background-position: 66% center;
  }

  body.home .refit-hero-container {
    width: min(calc(100% - 32px), 100%);
  }

  body.home .refit-hero-copy {
    margin: 0 0 28px !important;
  }

  body.home .refit-hero-copy h1,
  body.home .refit-hero-copy .page-title {
    font-size: 31px !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em !important;
  }

  body.home .refit-hero-copy p,
  body.home .refit-hero-copy .page-summary {
    max-width: 100% !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }

  body.home .refit-btn-primary {
    min-height: 52px;
    padding: 12px 22px;
    box-shadow: none;
  }

  body.home .refit-hero-points {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.home .refit-hero-point {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
  }

  body.home .refit-hero-point::before {
    width: 26px;
    height: 26px;
    margin-top: 4px;
  }

  body.home .refit-hero-point strong {
    font-size: 16px;
    line-height: 1.35;
  }

  body.home .refit-hero-point span,
  body.home .refit-hero-point a {
    font-size: 13px;
    line-height: 1.6;
  }
}

/* ==========================================================================
   Home Button Typography Lock
   Keep homepage CTA typography aligned with the banner button system.
   Visual color styling stays in the page template to avoid split ownership.
   ========================================================================== */

body.home .btn,
body.home .button,
body.home button[type='submit'],
body.home input[type='submit'],
body.home .wpcf7-submit,
body.home .btn-primary,
body.home .btn-secondary,
body.home .btn-outline,
body.home .btn-dark,
body.home .btn-ghost,
body.home .btn-link,
body.home .btn-link-mobile,
body.home .btn-mega-action,
body.home .site-header__actions .btn,
body.home .site-mobile-nav__contact .btn,
body.home .refit-btn-primary,
body.home .refit-btn-primary__label,
body.home .home-contact-form-shell input[type='file']::file-selector-button {
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.home .btn:hover,
body.home .button:hover,
body.home input[type='submit']:hover,
body.home .wpcf7-submit:hover,
body.home .btn-primary:hover,
body.home .btn-secondary:hover,
body.home .btn-outline:hover,
body.home .btn-dark:hover,
body.home .btn-ghost:hover,
body.home .btn-mega-action:hover,
body.home .site-header__actions .btn:hover,
body.home .site-mobile-nav__contact .btn:hover,
body.home .refit-btn-primary:hover,
body.home .home-contact-form-shell input[type='file']:hover::file-selector-button {
  font-family: var(--font-ui) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ==========================================================================
   Product Detail Page Typography Reset
   Applies to child pages under /products/
   ========================================================================== */

/* Fallback so product detail pages never render as blank if reveal JS is delayed or blocked. */
body.page-child.parent-pageid-18 .reveal {
  opacity: 1;
  transform: none;
}

body.page-child.parent-pageid-18 .reveal.in {
  opacity: 1;
  transform: none;
}

/* Fallback so the Cases page never renders as blank if reveal JS is delayed or blocked. */
body.page-id-2232 .reveal {
  opacity: 1;
  transform: none;
  visibility: visible;
}

body.page-id-2232 .reveal.in {
  opacity: 1;
  transform: none;
  visibility: visible;
}

body.page-child.parent-pageid-18 .refit-hero-copy,
body.page-child.parent-pageid-18 .refit-hero-copy .page-title,
body.page-child.parent-pageid-18 .refit-hero-copy .page-summary {
  max-width: 980px !important;
}

body.page-child.parent-pageid-18 .refit-hero-badge,
body.page-child.parent-pageid-18 .refit-hero-copy .page-kicker {
  margin: 0 0 18px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px !important;
  line-height: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
}

body.page-child.parent-pageid-18 .refit-hero-copy {
  margin: 0 0 52px !important;
}

body.page-child.parent-pageid-18 .refit-hero-copy h1,
body.page-child.parent-pageid-18 .refit-hero-copy .page-title {
  max-width: 980px !important;
  margin: 0 0 16px !important;
  font-size: 44px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

body.page-child.parent-pageid-18 .refit-hero-copy p,
body.page-child.parent-pageid-18 .refit-hero-copy .page-summary {
  max-width: 980px !important;
  margin: 0 0 24px !important;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 36px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

body.page-child.parent-pageid-18 .refit-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  max-width: 980px;
}

body.page-child.parent-pageid-18 .refit-hero-point strong {
  display: block;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0;
}

body.page-child.parent-pageid-18 .refit-hero-point span {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 25.2px;
  font-weight: 500;
}

body.page-child.parent-pageid-18 .section-kicker:not(.hero-copy .section-kicker),
body.page-child.parent-pageid-18 .page-kicker {
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
}

body.page-child.parent-pageid-18 .section-heading h2,
body.page-child.parent-pageid-18 .page-section__copy .page-title,
body.page-child.parent-pageid-18 .faq-intro h2 {
  margin-bottom: 18px !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
}

body.page-child.parent-pageid-18 .section-intro .lead,
body.page-child.parent-pageid-18 .section-heading .lead,
body.page-child.parent-pageid-18 .page-section__copy .lead,
body.page-child.parent-pageid-18 .faq-intro .lead {
  font-size: 17px !important;
  line-height: 1.72 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body.page-child.parent-pageid-18 .page-section__copy > p:not(.lead),
body.page-child.parent-pageid-18 .page-bullets li,
body.page-child.parent-pageid-18 .insight-card__copy,
body.page-child.parent-pageid-18 .faq-answer p,
body.page-child.parent-pageid-18 .card p {
  font-size: 15px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body.page-child.parent-pageid-18 .page-bullets strong {
  font-weight: 600;
}

body.page-child.parent-pageid-18 .insight-card__title,
body.page-child.parent-pageid-18 .card-title,
body.page-child.parent-pageid-18 .card-body h3 {
  font-size: 1.25rem !important;
  line-height: 1.28 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
}

body.page-child.parent-pageid-18 .faq-item summary {
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
}

.turnkey-decision-grid,
.turnkey-deliverables-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.turnkey-decision-panel,
.turnkey-mini-panel,
.turnkey-asset-card,
.turnkey-flow-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.turnkey-decision-panel,
.turnkey-mini-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.turnkey-decision-panel h3,
.turnkey-mini-panel h3,
.turnkey-deliverables-copy h3,
.turnkey-flow-step__body h3 {
  margin-bottom: 0.75rem;
}

.turnkey-decision-panel > p,
.turnkey-mini-panel > p,
.turnkey-deliverables-copy > p,
.turnkey-flow-step__body > p {
  color: var(--color-text-secondary);
}

.turnkey-decision-stack {
  display: grid;
  gap: 1.25rem;
}

.turnkey-checklist,
.turnkey-link-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.turnkey-checklist li,
.turnkey-link-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.95rem;
  color: var(--color-text-secondary);
}

.turnkey-checklist li::before,
.turnkey-link-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.turnkey-deliverables-copy {
  padding-right: 0.5rem;
}

.turnkey-deliverable-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.turnkey-deliverable-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--color-border);
}

.turnkey-deliverable-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.turnkey-deliverable-stage {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.turnkey-deliverable-body strong {
  display: block;
  margin-bottom: 0.4rem;
}

.turnkey-deliverable-body p {
  margin: 0;
  color: var(--color-text-secondary);
}

.turnkey-asset-card {
  overflow: hidden;
}

.turnkey-asset-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.turnkey-asset-card__body {
  padding: 1.25rem;
}

.turnkey-link-list a {
  color: var(--color-heading);
}

.turnkey-link-list a:hover {
  color: var(--color-primary);
}

.turnkey-flow {
  display: grid;
  gap: 1rem;
}

.turnkey-flow-step {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 1.25rem;
  padding: clamp(1.25rem, 2vw, 1.5rem);
  align-items: start;
}

.turnkey-flow-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: 18px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.06em;
}

@media (max-width: 1023.98px) {
  .turnkey-decision-grid,
  .turnkey-deliverables-layout,
  .turnkey-flow-step {
    grid-template-columns: 1fr;
  }

  .turnkey-deliverable-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .turnkey-flow-step__index {
    min-height: 58px;
    width: 92px;
  }
}

@media (max-width: 1023.98px) {
  body.page-child.parent-pageid-18 .refit-hero-copy h1,
  body.page-child.parent-pageid-18 .refit-hero-copy .page-title {
    font-size: 44px !important;
  }

  body.page-child.parent-pageid-18 .refit-hero-points {
    gap: 24px;
  }

  body.page-child.parent-pageid-18 .section-heading h2,
  body.page-child.parent-pageid-18 .page-section__copy .page-title,
  body.page-child.parent-pageid-18 .faq-intro h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 767.98px) {
  body.page-child.parent-pageid-18 .refit-hero-copy h1,
  body.page-child.parent-pageid-18 .refit-hero-copy .page-title {
    font-size: 34px !important;
    line-height: 1.3 !important;
  }

  body.page-child.parent-pageid-18 .refit-hero-copy p,
  body.page-child.parent-pageid-18 .refit-hero-copy .page-summary {
    font-size: 17px !important;
    line-height: 1.9 !important;
  }

  body.page-child.parent-pageid-18 .section-intro .lead,
  body.page-child.parent-pageid-18 .section-heading .lead,
  body.page-child.parent-pageid-18 .page-section__copy .lead,
  body.page-child.parent-pageid-18 .faq-intro .lead {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  body.page-child.parent-pageid-18 .section-heading h2,
  body.page-child.parent-pageid-18 .page-section__copy .page-title,
  body.page-child.parent-pageid-18 .faq-intro h2 {
    font-size: 28px !important;
    line-height: 1.16 !important;
  }

  body.page-child.parent-pageid-18 .insight-card__title,
  body.page-child.parent-pageid-18 .card-title,
  body.page-child.parent-pageid-18 .card-body h3,
  body.page-child.parent-pageid-18 .faq-item summary {
    font-size: 18px !important;
  }

  body.page-child.parent-pageid-18 .refit-hero-points {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ==========================================================================
   Blog Archive
   ========================================================================== */

.blog-archive-page {
  background: #f3f5f8;
}

.page-blog-hero {
  background:
    linear-gradient(90deg, rgba(9, 28, 52, 0.92) 0%, rgba(9, 28, 52, 0.88) 44%, rgba(12, 39, 72, 0.76) 70%, rgba(12, 39, 72, 0.52) 100%),
    url('https://sanyangmedical.com/wp-content/uploads/2026/07/sanyang-medical-operating-table-factory-photo-india-1920w.webp') center / cover no-repeat;
}

.page-blog-hero .page-shell {
  max-width: 760px;
}

.page-blog-hero .page-kicker {
  margin-bottom: 1rem;
}

.page-blog-hero .page-title {
  max-width: 13ch;
}

.page-blog-hero .page-summary {
  max-width: 60ch;
}

.section-blog-archive {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: #f3f5f8;
}

.blog-archive-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.blog-archive-copy h2 {
  margin-bottom: 1rem;
  max-width: 18ch;
}

.blog-archive-copy .lead {
  max-width: 62ch;
  margin-bottom: 0;
}

.blog-category-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.blog-category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(9, 28, 52, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #243041;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(9, 28, 52, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(12, 26, 42, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.blog-article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 174, 67, 0.42);
  box-shadow: 0 20px 46px rgba(12, 26, 42, 0.12);
}

.blog-article-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.1 / 0.78;
  background: #dfe7f1;
}

.blog-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-article-card:hover .blog-article-card__media img {
  transform: scale(1.04);
}

.blog-article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.3rem 1.2rem 1.35rem;
}

.blog-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.blog-article-card__meta span {
  color: #66758b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-card__title {
  margin-bottom: 0.85rem;
  font-size: 1.18rem;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.blog-article-card__title a {
  color: #121a24;
}

.blog-article-card__title a:hover {
  color: var(--color-accent-strong);
}

.blog-article-card__excerpt {
  margin-bottom: 1rem;
  color: #5e6b7d;
  font-size: 0.95rem;
  line-height: 1.65;
}

.blog-article-card__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0.25rem 0;
  color: var(--color-accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-card__cta:hover {
  color: #121a24;
}

.blog-cta-strip {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(9, 28, 52, 0.94) 0%, rgba(9, 28, 52, 0.88) 45%, rgba(12, 39, 72, 0.78) 100%),
    url('https://sanyangmedical.com/wp-content/uploads/2026/07/sanyang-medical-medical-pendant-product-photo-jade.jpg') center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(12, 26, 42, 0.16);
}

.blog-cta-strip__kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-cta-strip h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
  color: #ffffff;
}

.blog-cta-strip p {
  max-width: 62ch;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-cta-strip .page-actions {
  margin-top: 0;
}

.blog-cta-strip .btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  background: transparent;
}

.blog-cta-strip .btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

@media (max-width: 1279.98px) {
  .blog-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023.98px) {
  .blog-archive-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-category-strip {
    justify-content: flex-start;
  }

  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .page-blog-hero .page-title {
    max-width: 100%;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-card__body {
    padding: 1.1rem 1rem 1.2rem;
  }

  .blog-article-card__title {
    font-size: 1.02rem;
  }

  .blog-article-card__excerpt {
    font-size: 0.92rem;
  }

  .blog-cta-strip {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .blog-cta-strip h2 {
    max-width: 100%;
  }

  .blog-cta-strip p {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Author Archive
   ========================================================================== */

body.author .site-content {
  padding-top: 0 !important;
}

body.author .site-main,
body.author #primary,
body.author .content-area {
  width: 100%;
}

body.author .inside-article,
body.author .entry-header,
body.author .entry-content {
  margin: 0;
  padding: 0;
}

.author-archive-page {
  background: #f3f5f8;
}

.author-archive-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, rgba(234, 242, 255, 0.92) 0%, rgba(255, 255, 255, 0.95) 52%, rgba(247, 249, 254, 0.98) 100%);
}

.author-archive-hero__layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.author-archive-hero__media {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 20px 50px rgba(12, 26, 42, 0.12);
}

.author-archive-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.author-archive-hero__copy .section-kicker {
  margin-bottom: 1rem;
}

.author-archive-hero__copy .page-title {
  max-width: 12ch;
  margin-bottom: 0.7rem;
}

.author-archive-hero__role {
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-archive-hero__copy .lead {
  max-width: 60ch;
  margin-bottom: 0;
}

.author-archive-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.author-archive-stat {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(9, 28, 52, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(12, 26, 42, 0.05);
}

.author-archive-stat__label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-archive-stat__value {
  color: var(--color-heading);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.author-archive-posts {
  padding-bottom: clamp(4rem, 7vw, 5.5rem);
  background: #f3f5f8;
}

.author-archive-head {
  align-items: end;
}

.author-archive-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.author-archive-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(9, 28, 52, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #30527f;
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.author-archive-page .blog-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.author-archive-page .blog-article-card__title a:hover {
  color: var(--color-primary);
}

.author-archive-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.author-archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid rgba(43, 115, 238, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #244a7d;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(12, 26, 42, 0.05);
}

.author-archive-pagination .page-numbers.current,
.author-archive-pagination .page-numbers:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(29, 102, 226, 0.18);
}

.author-archive-empty {
  margin: 0;
  color: #5d6777;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center;
}

@media (max-width: 1279.98px) {
  .author-archive-page .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023.98px) {
  .author-archive-hero__layout,
  .author-archive-hero__meta,
  .author-archive-page .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .author-archive-hero__layout {
    align-items: start;
  }

  .author-archive-highlights {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .author-archive-hero {
    padding: 3rem 0 2.5rem;
  }

  .author-archive-hero__media {
    width: min(100%, 200px);
    border-width: 6px;
  }

  .author-archive-hero__copy .page-title {
    max-width: 100%;
  }

  .author-archive-hero__role {
    font-size: 0.83rem;
    line-height: 1.5;
  }

  .author-archive-stat {
    padding: 0.95rem 1rem;
  }

  .author-archive-page .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .author-archive-chip,
  .author-archive-pagination .page-numbers {
    min-height: 42px;
  }
}

/* ==========================================================================
   Single Post Report
   ========================================================================== */

.post-report-page {
  background: #ffffff;
}

.post-report-hero {
  padding: clamp(3.75rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, #1d66e2 0%, #1658c7 58%, #0f4aa9 100%);
}

.post-report-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.post-report-hero__copy {
  max-width: 820px;
}

.post-report-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-report-breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
}

.post-report-breadcrumbs a:hover {
  color: #ffffff;
}

.post-report-hero__eyebrow-row {
  margin-bottom: 1rem;
}

.post-report-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.52rem 0.9rem;
  border: 1px solid rgba(215, 174, 67, 0.4);
  border-radius: 999px;
  background: rgba(215, 174, 67, 0.14);
  color: #f5d684;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-report-kicker:hover {
  color: #10233f;
  background: #f1cb63;
  border-color: #f1cb63;
}

.post-report-title {
  max-width: 14ch;
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.post-report-summary {
  max-width: 62ch;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
  line-height: 1.82;
}

.post-report-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.post-report-meta-pill {
  display: grid;
  gap: 0.2rem;
  min-width: 140px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.post-report-meta-pill__label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-report-meta-pill__value {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
}

.post-report-hero__aside {
  display: grid;
  gap: 1rem;
}

.post-report-cover {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 60px rgba(7, 15, 28, 0.28);
}

.post-report-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-report-author-card,
.post-report-panel,
.post-report-related,
.post-report-comments {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(13, 25, 40, 0.06);
}

.post-report-author-card {
  padding: 1.35rem;
}

.post-report-author-card__head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.post-report-author-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.post-report-author-card__eyebrow,
.post-report-panel__eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: #8b95a5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-report-author-card__name {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.post-report-author-card__name a {
  color: #0f172a;
}

.post-report-author-card__name a:hover {
  color: var(--color-accent-strong);
}

.post-report-author-card__copy {
  margin: 0 0 1rem;
  color: #556070;
  font-size: 0.95rem;
  line-height: 1.75;
}

.post-report-author-card .btn {
  width: 100%;
}

.post-report-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.25rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.post-report-sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
  position: sticky;
  top: 112px;
  height: fit-content;
}

.post-report-panel {
  padding: 1.25rem 1.2rem;
}

.post-report-panel--contact h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.post-report-panel--contact p {
  margin-bottom: 1rem;
  color: #556070;
  font-size: 0.92rem;
  line-height: 1.72;
}

.post-report-panel--contact .btn {
  width: 100%;
}

.post-report-toc ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-report-toc a,
.post-report-toc__empty {
  display: block;
  color: #556070;
  font-size: 0.92rem;
  line-height: 1.55;
}

.post-report-toc a.is-active,
.post-report-toc a:hover {
  color: var(--color-accent-strong);
}

.post-report-main {
  min-width: 0;
  max-width: 1020px;
}

.post-report-content {
  max-width: 960px;
  margin-right: auto;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(13, 25, 40, 0.06);
  color: #2f3640;
}

.post-report-content > :first-child {
  margin-top: 0;
}

.post-report-content > * + * {
  margin-top: 1.3rem;
}

.post-report-content > h2,
.post-report-content > h3,
.post-report-content > h4,
.post-report-content .wp-block-heading {
  color: #111827;
  text-wrap: balance;
}

.post-report-content > h2,
.post-report-content h2.wp-block-heading {
  margin-top: clamp(3rem, 6vw, 4rem);
  margin-bottom: 0.95rem;
  font-size: clamp(1.85rem, 3vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.post-report-content > h3,
.post-report-content h3.wp-block-heading {
  margin-top: 2.3rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.post-report-content p,
.post-report-content li,
.post-report-content td,
.post-report-content th,
.post-report-content figcaption {
  font-size: 1rem;
  line-height: 1.88;
}

.post-report-content p {
  color: #3f4a59;
  margin-bottom: 0;
}

.post-report-content strong {
  color: #111827;
}

.post-report-content a {
  color: var(--color-accent-strong);
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.18em;
}

.post-report-content a:hover {
  color: #111827;
}

.post-report-content ul,
.post-report-content ol {
  margin: 0;
  padding-left: 1.25rem;
}

.post-report-content li + li {
  margin-top: 0.6rem;
}

.post-report-content blockquote,
.post-report-content .wp-block-quote,
.post-report-content .wp-block-pullquote blockquote {
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: 1.3rem 1.45rem;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 16px 16px 0;
  background: #f8fafc;
}

.post-report-content blockquote p,
.post-report-content .wp-block-quote p,
.post-report-content .wp-block-pullquote p {
  color: #111827;
  font-size: 1.08rem;
}

.post-report-content .wp-block-image,
.post-report-content figure {
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.post-report-content .wp-block-image img,
.post-report-content figure img {
  width: 100%;
  border-radius: 18px;
}

.post-report-content .wp-block-image figcaption,
.post-report-content figure figcaption {
  margin-top: 0.7rem;
  color: #7b808a;
  font-size: 0.82rem;
  line-height: 1.6;
}

.post-report-content .alignwide,
.post-report-content .wp-block-image.alignwide,
.post-report-content .wp-block-table.alignwide,
.post-report-content .wp-block-cover.alignwide,
.post-report-content .wp-block-gallery.alignwide {
  width: min(100vw - 48px, 1100px);
  max-width: none;
  margin-right: calc(50% - min(50vw - 24px, 550px));
  margin-left: calc(50% - min(50vw - 24px, 550px));
}

.post-report-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.post-report-content hr,
.post-report-content .wp-block-separator {
  margin: clamp(2.25rem, 5vw, 3.25rem) 0;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.post-report-content pre,
.post-report-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.post-report-content pre {
  overflow-x: auto;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #111827;
  color: #f8fafc;
}

.post-report-content .wp-block-table {
  margin: 2.5em 0;
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #ffffff;
}

.post-report-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin: 0;
}

/* Bare tables (not wrapped in .wp-block-table) keep min-width: 640px and
   would overflow a 375px screen; turn them into horizontally scrollable
   blocks on phones instead of breaking the layout. */
@media (max-width: 767.98px) {
  .post-report-content > table {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.post-report-content thead th,
.post-report-content th {
  padding: 16px 20px;
  border-bottom: 2px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  color: #111827;
  text-align: left;
  font-weight: 700;
}

.post-report-content td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #3f4a59;
  vertical-align: top;
}

.post-report-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

.post-report-pagination__label {
  color: #6d7480;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-report-pagination .post-page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 0.88rem;
  font-weight: 600;
}

.post-report-pagination .post-page-numbers.current,
.post-report-pagination .post-page-numbers:hover {
  border-color: var(--color-accent);
  background: rgba(215, 174, 67, 0.12);
}

.post-report-related,
.post-report-comments {
  margin-top: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.post-report-related__head {
  margin-bottom: 1.25rem;
}

.post-report-related__head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.post-report-related__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.single-post .site-main,
body.single-post #primary,
body.single-post .content-area {
  width: 100%;
  background: #ffffff;
}

body.single-post .inside-article,
body.single-post .entry-header,
body.single-post .entry-content {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

@media (max-width: 1279.98px) {
  .post-report-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023.98px) {
  .post-report-hero__grid,
  .post-report-shell {
    grid-template-columns: 1fr;
  }

  .post-report-sidebar {
    position: static;
  }

  .post-report-content .alignwide,
  .post-report-content .wp-block-image.alignwide,
  .post-report-content .wp-block-table.alignwide,
  .post-report-content .wp-block-cover.alignwide,
  .post-report-content .wp-block-gallery.alignwide {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .post-report-hero {
    padding-top: 2.75rem;
  }

  .post-report-title {
    max-width: 100%;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .post-report-summary {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .post-report-hero__meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .post-report-author-card__head {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .post-report-author-card__avatar {
    width: 56px;
    height: 56px;
  }

  .post-report-content {
    padding: 1.45rem;
    border-radius: 18px;
  }

  .post-report-content p,
  .post-report-content li,
  .post-report-content td,
  .post-report-content th {
    font-size: 0.97rem;
    line-height: 1.78;
  }

  .post-report-content > h2,
  .post-report-content h2.wp-block-heading {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .post-report-content > h3,
  .post-report-content h3.wp-block-heading {
    font-size: clamp(1.18rem, 5vw, 1.35rem);
  }

  .post-report-related__grid {
    grid-template-columns: 1fr;
  }

  .post-report-related,
  .post-report-comments,
  .post-report-author-card,
  .post-report-panel {
    padding: 1.15rem;
    border-radius: 18px;
  }
}



/* ==========================================================================
   Solutions Reference Layout (Image/Text Zig-Zag)
   ========================================================================== */
.solutions-ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-top: var(--space-8);
}
@media (min-width: 992px) {
  .solutions-ref-grid {
    gap: var(--space-12);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}
.solutions-ref-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 992px) {
  .solutions-ref-item {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  .solutions-ref-item:nth-child(even) .solutions-ref-content {
    order: -1;
  }
}
.solutions-ref-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.solutions-ref-content {
  padding: 0 var(--space-4);
}
.solutions-ref-number {
  font-size: 4rem;
  font-weight: 200;
  color: var(--color-border-strong);
  line-height: 1;
  margin-bottom: -1.5rem;
  position: relative;
  z-index: -1;
  font-family: serif;
}
.solutions-ref-title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--space-4);
  color: var(--color-heading);
}
.solutions-ref-desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.solutions-ref-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.solutions-ref-list li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  font-size: 0.9rem;
  color: var(--color-text-primary);
}
.solutions-ref-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8rem;
}

/* Asymmetric Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1000px;
  margin: 0 auto;
}
.bento-item-large,
.bento-item-medium,
.bento-item-small {
  grid-column: span 1;
}
@media (min-width: 992px) {
  .bento-item-large {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .bento-item-large:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }
  .bento-item-large:nth-child(even) .pro-card-content {
    order: 2;
  }
  .bento-item-large:nth-child(even) img {
    order: 1;
  }
}

/* Sticky Stack Layout */
.sticky-stack-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 1024px) {
  .sticky-stack-layout {
    grid-template-columns: 35% 1fr;
    gap: var(--space-10);
  }
  .sticky-context {
    position: sticky;
    top: 120px;
  }
}
.sticky-stack-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Professional Card (Trust & Authority) */
.pro-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border-strong);
}
.pro-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-5);
}
.pro-card-icon svg {
  width: 24px;
  height: 24px;
}
.pro-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-heading);
}
.pro-card-copy {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-5);
}
.pro-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: var(--space-2);
  padding: 0.25rem 0;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}
.pro-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}
.pro-card:hover .pro-card-link svg {
  transform: translateX(4px);
}

/* Enterprise Split Block (50/50 Image/Text with overlapping potential) */
.ent-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-10);
}
.ent-split--reverse .ent-split-media {
  order: -1;
}
@media (min-width: 992px) {
  .ent-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .ent-split--reverse .ent-split-media {
    order: 2;
  }
}
.ent-split-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.ent-split-content {
  padding-right: var(--space-4);
}
.ent-split-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

/* Document Grid (For files, certs, specs) */
.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
@media (min-width: 640px) {
  .doc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.doc-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-primary);
}
.doc-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}



/* Timeline Stack */
.timeline-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: relative;
  padding-left: var(--space-6);
}
.timeline-stack::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-6) - 12px);
  top: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 4px solid var(--color-primary);
  z-index: 2;
}
.timeline-step-index {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
  display: block;
}
.timeline-step h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-3);
}
.timeline-step p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
@media (min-width: 768px) {
  .timeline-stack {
    padding-left: 0;
  }
  .timeline-stack::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .timeline-step {
    width: calc(50% - var(--space-8));
  }
  .timeline-step:nth-child(odd) {
    align-self: flex-start;
  }
  .timeline-step:nth-child(even) {
    align-self: flex-end;
  }
  .timeline-step:nth-child(odd)::before {
    left: auto;
    right: calc(-1 * var(--space-8) - 12px);
  }
  .timeline-step:nth-child(even)::before {
    left: calc(-1 * var(--space-8) - 12px);
  }
}


/* ==========================================================================
   Global Breadcrumbs (in Banner)
   ========================================================================== */
.banner-breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.banner-breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}
.banner-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline !important;
}
.banner-breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}
.banner-breadcrumbs .current {
  color: var(--color-accent);
  font-weight: 600;
}

/* ==========================================================================
   Deliverables Bento Layout (Asymmetric Info Grid)
   ========================================================================== */
.deliverables-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
@media (min-width: 992px) {
  .deliverables-bento {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: stretch;
  }
}
.del-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
}
.del-card--primary {
  background: var(--color-bg-soft);
  border: none;
}
.del-stage {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.del-stage::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.del-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-heading);
}
.del-desc {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}
.del-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.del-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.del-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}
.del-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  height: 100%;
}
.del-card-image {
  flex-grow: 1;
  min-height: 250px;
  max-height: 350px;
  padding: 0;
  overflow: hidden;
  border: none;
  background: transparent;
}
.del-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.step-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.step-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
}
.step-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 24px;
  height: 24px;
}
.step-content {
  flex-grow: 1;
}
.step-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  display: block;
}
.step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  color: var(--color-heading);
  font-weight: 600;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}


/* ==========================================================================
   Product Models Carousel
   ========================================================================== */
.model-carousel-section {
  padding: var(--space-12) 0;
  background: var(--color-bg-soft);
  overflow: hidden;
}
.model-carousel-intro {
  text-align: center;
  margin-bottom: var(--space-8);
}
.model-carousel-kicker {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: block;
}
.model-carousel-heading {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--color-heading);
  margin-bottom: var(--space-4);
}
.model-carousel-gallery {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.model-carousel-track {
  display: flex;
  width: max-content;
  gap: var(--space-6);
  animation: model-carousel-marquee 40s linear infinite;
  will-change: transform;
}
.model-carousel-gallery:hover .model-carousel-track {
  animation-play-state: paused;
}
.model-carousel-card {
  position: relative;
  flex: 0 0 auto;
  width: 360px;
  height: 480px;
  overflow: hidden;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
}
.model-carousel-card--narrow { width: 300px; }
.model-carousel-card--wide { width: 430px; }

.model-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.model-carousel-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(to top, rgba(17,17,20,0.85) 0%, rgba(17,17,20,0) 100%);
  color: #fff;
}
.model-carousel-card-info h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}
.model-carousel-card-info p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
}

@keyframes model-carousel-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--space-6) / 2))); }
}

@media (max-width: 767.98px) {
  .spec-table {
    min-width: 520px;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.95rem 1rem;
    font-size: 0.9rem;
  }

  .spec-table-wrapper::after {
    content: 'Swipe for more';
    display: inline-flex;
    margin: 0.65rem 0.75rem 0.75rem auto;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--color-text-muted);
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .ent-split {
    gap: var(--space-5);
    margin-bottom: var(--space-8);
  }

  .ent-split-content {
    padding-right: 0;
  }

  .ent-split-media img {
    aspect-ratio: 4 / 3;
  }

  .deliverables-bento,
  .solutions-ref-grid {
    gap: var(--space-4);
  }

  .del-card,
  .step-item {
    padding: var(--space-5);
  }

  .step-item {
    gap: var(--space-3);
  }

  .step-title {
    font-size: 1.12rem;
  }

  .model-carousel-track {
    gap: 20px;
    padding: 0 0 24px;
    animation: none !important;
    transform: none !important;
  }
  .model-carousel-card,
  .model-carousel-card--narrow,
  .model-carousel-card--wide {
    width: 85vw;
    height: auto;
    aspect-ratio: 3/4;
  }
  .model-carousel-card[aria-hidden='true'] {
    display: none;
  }
  .model-carousel-gallery.is-mobile-slider {
    padding: 0 1rem 1.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .model-carousel-gallery.is-mobile-slider::after {
    content: 'Swipe gallery';
    position: absolute;
    right: 1rem;
    bottom: 0.2rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.54);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    pointer-events: none;
    text-transform: uppercase;
  }

  .model-carousel-gallery.is-mobile-slider::-webkit-scrollbar {
    display: none;
  }
}

/* ============================================================
   Archive & Search Results Pages (archive.php / search.php)
   ============================================================ */
.archive-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(234, 242, 255, 0.92) 0%, rgba(255, 255, 255, 0.95) 52%, rgba(247, 249, 254, 0.98) 100%);
}

.archive-hero__copy {
  max-width: 760px;
}

.archive-hero__copy .section-kicker {
  margin-bottom: 1rem;
}

.archive-hero__copy .page-title {
  margin-bottom: 0.7rem;
  overflow-wrap: anywhere;
}

.archive-hero__copy .lead {
  max-width: 62ch;
}

.archive-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-5);
}

.archive-hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.archive-hero-chip--query {
  color: var(--color-primary-strong);
  border-color: var(--color-border-strong);
  overflow-wrap: anywhere;
}

.archive-empty {
  padding: var(--space-8) 0 var(--space-9);
  text-align: center;
  color: var(--color-text-muted);
}

.archive-empty__title {
  margin-bottom: 0.5rem;
  color: var(--color-heading);
  font-size: 1.25rem;
}

.archive-empty .search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin: var(--space-6) auto 0;
}

.archive-empty .search-form label {
  flex: 1;
  display: block;
}

.archive-empty .search-form .search-field {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  box-sizing: border-box;
}

.archive-empty .search-form .search-submit {
  min-height: 52px;
  padding: 0 1.4rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.archive-empty .search-form .search-submit:hover {
  background: var(--color-primary-strong);
}

@media (max-width: 479.98px) {
  .archive-empty .search-form {
    flex-direction: column;
  }

  .archive-empty .search-form .search-submit {
    width: 100%;
  }
}

/* ==========================================================================
   UI CONSISTENCY PACK (2026-07-19)
   跨页统一组件：hero 徽章/按钮间距/居中动作行/卡片齐图/多列对比表
   ========================================================================== */

/* Hero 徽章：hero 内统一为玻璃胶囊（覆盖 page-kicker 蓝底，避免蓝上蓝隐身） */
.refit-hero .page-kicker,
.refit-hero .section-kicker {
  background: rgba(255, 255, 255, .14) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero 多按钮间距体系 */
.refit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
@media (max-width: 767.98px) {
  .refit-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .refit-hero-actions .refit-btn-primary,
  .refit-hero-actions .btn {
    margin-left: 0 !important;
    justify-content: center;
  }
}

/* 居中动作行工具类（替代重复的 inline margin-top:40px） */
.page-actions--center {
  justify-content: center;
  margin-top: 40px;
}

/* 卡片齐图（图片与卡片边缘齐平，替代逐页复制的负 margin 补丁） */
.card-media-flush {
  margin: -24px -24px 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-media-flush img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767.98px) {
  .card-media-flush {
    margin: -16px -16px 16px;
  }
}

/* 统一多列对比表（spec-table 的兄弟组件：真正的 thead + 容器卡片化） */
.compare-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #dbe6f5;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  background: #ffffff;
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}
.compare-table thead th {
  background: #f8fafc;
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid #dbe6f5;
  white-space: nowrap;
}
.compare-table tbody th,
.compare-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}
.compare-table tbody th {
  font-weight: 600;
  white-space: nowrap;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td {
  background: #f8fafc;
}

/* ==========================================================================
   Mobile Accessibility — Touch Targets ≥ 44px & Text ≥ 12px
   Fixes UI audit M-1 (33 interactive elements < 44px) and
   M-2 (23 text elements < 12px) on mobile viewports.
   ========================================================================== */
@media (max-width: 767.98px) {
  /* --- Touch target enforcement for all interactive elements --- */
  .site-nav__dropdown-list a,
  .site-nav__mega-footer a,
  .page-breadcrumbs a,
  .banner-breadcrumbs a,
  .post-report-breadcrumbs a,
  .site-footer__bottom-links a,
  .refit-hero-point a,
  .card-link,
  .text-link,
  a.btn-small,
  .btn-ghost,
  .tab-btn,
  .filter-btn,
  .chip,
  .tag-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Breadcrumb links need padding for tappable area */
  .page-breadcrumbs a,
  .banner-breadcrumbs a,
  .post-report-breadcrumbs a {
    padding: 0.5rem 0.25rem;
    margin: -0.5rem -0.25rem;
  }

  /* Desktop nav dropdown links (if rendered in any mobile context) */
  .site-nav__dropdown-list a {
    padding: 12px 12px;
    min-height: 44px;
  }

  /* Mega footer action button */
  .btn-mega-action {
    min-height: 44px;
  }

  /* Header actions button */
  .site-header__actions .btn {
    min-height: 44px;
  }

  /* --- Minimum font size 12px enforcement --- */
  .site-nav__mega-footnote,
  .site-footer__menu-title,
  .site-header__actions .btn,
  .persona-tag,
  .audience-label,
  .card-eyebrow,
  .section-eyebrow,
  .stat-label,
  .badge,
  .chip-label,
  .meta-tag,
  .spec-badge,
  .feature-tag {
    font-size: max(12px, 0.72rem);
  }

  /* Catch-all: any element with very small computed font */
  [class*="eyebrow"],
  [class*="label"],
  [class*="tag"],
  [class*="badge"],
  [class*="caption"],
  [class*="footnote"] {
    font-size: max(12px, 0.72rem);
  }

  /* Ensure inline links in content have adequate tap area */
  .entry-content a:not(.btn):not(.wp-block-button__link),
  .page-content a:not(.btn):not(.wp-block-button__link) {
    padding: 0.35rem 0;
  }

  /* Fix the single input that was 39px (M-5) */
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form select,
  .wpcf7-form textarea {
    min-height: 44px;
  }
}

/* ==========================================================================
   Related Reading (product pages) — editorial link list
   Positioned between the FAQ and Related Products sections. Deliberately an
   open top-border link list (not boxed cards) so it reads as a curated
   reading list and stays distinct from the product card grid below.
   ========================================================================== */
.related-reading__head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.related-reading__head h2 {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.related-reading__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7, 2rem);
}

.related-reading__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.4rem;
  border-top: 2px solid var(--color-border-strong);
  text-decoration: none;
  transition: border-color 0.25s ease;
}

.related-reading__link:hover {
  border-top-color: var(--color-primary);
}

.related-reading__tag {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-strong);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.related-reading__link-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--color-heading);
  transition: color 0.2s ease;
}

.related-reading__link:hover .related-reading__link-title {
  color: var(--color-primary);
}

.related-reading__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}

.related-reading__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.related-reading__link:hover .related-reading__arrow {
  transform: translateX(4px);
}

@media (max-width: 1023.98px) {
  .related-reading__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .related-reading__head h2 {
    font-size: 27px;
  }
  .related-reading__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .related-reading__link {
    padding: 1.25rem 0 1.35rem;
    border-top-width: 1px;
  }
}

/* ==========================================================================
   Blog Archive Pagination — shared across blog hub & category archives
   Pill-style buttons with current-page highlight. Scoped to
   .blog-archive-pagination so it doesn't leak into other nav elements.
   ========================================================================== */
.blog-archive-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.blog-archive-pagination__link,
.blog-archive-pagination .dots,
.blog-archive-pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid rgba(43, 115, 238, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #244a7d;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(12, 26, 42, 0.05);
}

.blog-archive-pagination__link:hover {
  border-color: rgba(43, 115, 238, 0.24);
  color: #2b73ee;
}

.blog-archive-pagination .current {
  border-color: #2b73ee;
  background: #2b73ee;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(43, 115, 238, 0.18);
}
