/* ========== GOVERNMENT BANNER ========== */
.gov-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; }
.gov-strip { background: #fff; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.gov-banner-content { display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.gov-banner-right { display: flex; align-items: center; gap: 10px; }
.gov-flag { width: 20px; height: 14px; flex-shrink: 0; }
.gov-text { color: #000; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.2px; line-height: 1; }
.gov-banner-left { display: flex; align-items: center; }
.gov-verify-btn {
  background: none; border: none; color: #10b981; font-family: inherit;
  font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex;
  align-items: center; gap: 5px; padding: 4px 10px; transition: 0.2s;
}
.gov-verify-btn:hover { color: #059669; }
.gov-verify-btn svg { transition: transform 0.3s ease; }
.gov-verify-panel { display: none; border-top: 1px solid rgba(0,0,0,0.06); }
.gov-verify-panel.active { display: block; }
.gov-verify-body { background: #fff; padding: 32px 0; border-bottom: 1px solid #e8eaf0; }
.gov-verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gov-verify-item { display: flex; gap: 16px; align-items: flex-start; }
.gov-verify-icon {
  width: 52px; height: 52px; background: rgba(26,107,60,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #1a6b3c;
  flex-shrink: 0; border: 1px solid rgba(26,107,60,0.15);
}
.gov-verify-item h4 { font-size: 0.92rem; font-weight: 700; color: #000; margin-bottom: 6px; line-height: 1.5; }
.gov-verify-item p { font-size: 0.8rem; color: #777; line-height: 1.6; }
.gov-registration-strip { background: #f5f5f5; padding: 14px 0; border-top: 1px solid #e8eaf0; }
.gov-registration-content { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.gov-mci-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.gov-registration-text { font-size: 0.85rem; font-weight: 600; color: #000; }
.gov-registration-number {
  font-size: 0.92rem; font-weight: 800; color: #1a6b3c; letter-spacing: 0.5px;
  font-feature-settings: "tnum"; text-decoration: underline; text-underline-offset: 3px;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #000;
  background: #fffcf8;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== TYPOGRAPHY ========== */
h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.2; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 400; line-height: 1.3; }
p { font-size: 0.95rem; line-height: 1.7; color: #595857; }
.label-sm { font-size: 0.85rem; letter-spacing: 0.5px; color: #595857; font-weight: 400; font-style: italic; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  transition: all 0.3s ease;
}
.btn-dark { background: #000; color: #fffcf8; }
.btn-dark:hover { background: #333; }
.btn-outline-light { border: 1.5px solid #fffcf8; color: #fffcf8; background: transparent; }
.btn-outline-light:hover { background: #fffcf8; color: #000; }

/* ========== LAYOUT ========== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 560px; margin: 12px auto 0; }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: background 0.3s, backdrop-filter 0.3s, top 0.3s;
}
.header.scrolled {
  background: rgba(255,252,248,0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 26px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.85rem; font-weight: 400; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.5; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .login-link { font-size: 0.85rem; }
.lang-switch {
  font-size: 0.8rem; font-weight: 500; padding: 4px 12px;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 4px;
  text-decoration: none; color: #000; transition: 0.2s;
}
.lang-switch:hover { background: rgba(0,0,0,0.05); }
.accessibility-toggle {
  background: none; border: none; cursor: pointer; color: #000;
  display: flex; align-items: center; justify-content: center;
  padding: 4px; border-radius: 50%; transition: 0.2s; opacity: 0.7;
}
.accessibility-toggle:hover { opacity: 1; background: rgba(0,0,0,0.05); }
.header-divider { width: 1px; height: 20px; background: rgba(0,0,0,0.12); }
.hamburger { display: none; flex-direction: column; gap: 5px; }
.hamburger span { width: 22px; height: 1.5px; background: #000; }

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding-top: 36px;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(255,252,248,0.15);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 700px; padding: 120px 24px 60px;
}
.hero-inner .label-sm { margin-bottom: 16px; }
.hero-inner h1 { margin-bottom: 20px; }
.hero-desc { max-width: 480px; margin: 0 auto 28px; font-size: 0.9rem; }
.hero-images {
  position: relative; margin-top: 48px;
  display: flex; justify-content: center; align-items: flex-end; gap: 0;
}
.hero-dashboard {
  width: 520px; max-width: 90vw; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1); position: relative; z-index: 2;
}
.hero-profile {
  position: absolute; left: -60px; bottom: -20px; width: 160px; z-index: 3;
  border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.hero-analytics {
  position: absolute; right: -40px; top: 20px; width: 200px; z-index: 3;
  border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  background: #fffcf8; overflow: hidden;
}

/* Provider strip - only visible on mobile */
.provider-marquee {
  display: none; overflow: hidden; width: 100%;
  margin-bottom: 48px; background: #fffcf8;
}
.provider-marquee-track {
  display: flex; align-items: center; gap: 0;
  width: 100%; justify-content: space-evenly;
}
.provider-marquee-track img {
  width: 48px; height: 48px; padding: 8px;
  flex-shrink: 0; object-fit: contain;
}

/* Platform icons */
.platform-icon {
  width: 72px; height: 72px; border-radius: 14px;
  border: 1.5px solid #e6e3df; background: #fffcf8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.platform-icon svg { width: 44px; height: 44px; }

/* Provider layout: logos surrounding dashboard */
.provider-layout {
  margin-bottom: 48px;
}

/* Top row: 4 logos side by side */
.provider-top {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 40px; margin-bottom: 0;
}
.provider-node-v {
  display: flex; flex-direction: column; align-items: center;
}
/* Perpendicular SVG connectors */
.zigzag-v {
  width: 30px; height: 80px; display: block; overflow: visible;
}
.zigzag-h {
  width: 80px; height: 30px; display: block; overflow: visible; flex-shrink: 0;
}
.zigzag-v path, .zigzag-h path {
  fill: none; stroke: #000; stroke-width: 2.2;
  stroke-linecap: square; stroke-linejoin: miter;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-line 0.8s ease-out forwards;
}
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

/* Middle: left + dashboard + right */
.provider-middle {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}

/* Side columns (left/right logos) */
.provider-side {
  display: flex; flex-direction: column; gap: 16px;
  flex-shrink: 0;
}
.provider-node-h {
  display: flex; align-items: center;
}

/* Dashboard center */
.provider-dashboard {
  max-width: 680px; flex: 1; margin: 0;
}
.provider-dashboard img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Benefit cards */
.hiw-benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 700px; margin: 0 auto 64px;
}
.benefit-card {
  text-align: center; padding: 28px 16px;
  background: #fffcf8; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.benefit-icon { width: 56px; height: 56px; margin: 0 auto 12px; }
.benefit-icon img { width: 100%; height: 100%; object-fit: contain; }
.benefit-card h3 { font-size: 0.9rem; font-weight: 500; line-height: 1.4; }

.hiw-intro-text {
  max-width: 560px; margin: 0 auto; text-align: center;
}
.hiw-intro-text p { font-size: 0.9rem; }

/* Gradient blobs */
.gradient-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
  pointer-events: none; z-index: 0;
}
.blob-pink {
  width: 400px; height: 400px;
  background: rgb(255,211,244);
  left: -100px; bottom: 20%;
}
.blob-green {
  width: 300px; height: 300px;
  background: rgb(206,242,97);
  right: -50px; bottom: 5%;
}

/* ========== WHY CLICS ========== */
.why-clics { background: #fffcf8; }
.why-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-bottom: 80px;
}
.why-row-reverse { direction: rtl; }
.why-row-reverse > * { direction: ltr; }

.why-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}

.why-photo {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  width: 100%; max-width: 360px;
}
.why-photo-overlap {
  width: 100%; max-width: 360px;
}
.why-photo-top {
  width: 55%; position: absolute; right: 10%; top: 0;
}
.why-photo-bottom {
  width: 50%; position: absolute; left: 5%; bottom: 0;
}
.why-overlay-steps {
  position: absolute; z-index: 3; width: 50%;
  left: 10%; bottom: 0; border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.why-overlay-toolbar {
  position: absolute; z-index: 3; width: 55%;
  right: 0; top: 0; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.why-text h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.why-text p { margin-bottom: 16px; }
.why-text .btn { margin-top: 8px; }

.why-bullets, .why-tags {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.why-bullet {
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #595857;
}
.bullet-icon { width: 24px; height: 24px; flex-shrink: 0; }
.bullet-dot { width: 8px; height: 8px; border-radius: 50%; background: #000; flex-shrink: 0; }

/* ========== SERVICES ========== */
.services-section { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1100px; margin: 0 auto;
}
.service-box {
  background: #fffcf8; border-radius: 20px; padding: 36px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.service-box h3 {
  font-size: 1.25rem; font-weight: 600; margin-bottom: 10px;
}
.service-desc {
  font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 16px;
}
.service-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.service-features li {
  font-size: 0.85rem; color: #555; padding-left: 16px; position: relative;
}
.service-features li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: #000;
}
html[dir="rtl"] .service-features li { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .service-features li::before { left: auto; right: 0; }
/* ========== PRICING CARDS ========== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.pricing-card {
  display: flex; flex-direction: column; position: relative;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 28px 24px; transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.pricing-card-top { flex: 1; }
.pricing-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 2rem; font-weight: 800; margin: 0 0 8px; color: #000 !important; }
.pricing-price span { font-size: 0.9rem; font-weight: 500; color: #595857; }
.pricing-desc { font-size: 0.85rem; color: #595857; line-height: 1.6; margin-bottom: 16px; }
.pricing-btn { width: 100%; border-radius: 10px; margin-top: 20px; }
.pricing-popular { border: 2px solid #000; }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #000; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
}
.pricing-dark {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%); color: #fff;
  border-color: transparent;
}
.pricing-dark h3, .pricing-dark .pricing-price { color: #fff; }
.pricing-dark .pricing-desc { color: rgba(255,255,255,0.6); }
.pricing-dark .service-features li { color: rgba(255,255,255,0.7); }
.pricing-dark .service-features li::before { background: rgba(255,255,255,0.5); }
.pricing-btn-light { background: #fff; color: #000; font-weight: 700; }
.pricing-btn-light:hover { background: #f4f4f5; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

.services-cta { text-align: center; margin-top: 48px; }
.services-cta-btn {
  display: inline-block; width: 100%; max-width: 480px;
  padding: 16px 32px; font-size: 1.1rem; font-weight: 600;
  border-radius: 0; background: #000; color: #fff;
  text-decoration: none; transition: background 0.2s;
}
.services-cta-btn:hover { background: #222; }

@media (max-width: 1024px) {
  .services-section [style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .services-section [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr !important; max-width: 400px !important; margin: 0 auto !important; }
  .services-grid { grid-template-columns: 1fr; max-width: 400px; }
  .gov-banner-content { flex-direction: row; align-items: center; justify-content: center; gap: 4px; }
  .gov-banner-right { justify-content: center; gap: 4px; }
  .gov-banner-left { justify-content: center; flex-shrink: 0; }
  .gov-text { font-size: 0.5rem; white-space: nowrap; }
  .gov-flag { width: 12px; height: 9px; flex-shrink: 0; }
  .gov-verify-btn { font-size: 0.5rem; padding: 2px 4px; white-space: nowrap; }
  .gov-strip { padding: 5px 0; }
  .gov-verify-grid { grid-template-columns: 1fr; }
  .gov-registration-content { justify-content: center; flex-wrap: wrap; }
}

/* ========== FEATURES ========== */
.features {
  background: #000; color: #fffcf8;
}
.features .section-header h2, .features .section-header .label-sm { color: #fffcf8; }
.features .section-header p { color: rgba(255,252,248,0.5); }
.features-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.features-text p { color: rgba(255,252,248,0.6); margin-bottom: 28px; }
.features-image img { width: 100%; }

/* ========== RESOURCES ========== */
.resources { background: #fffcf8; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  border-radius: 16px; overflow: hidden; display: block; color: inherit;
  transition: transform 0.3s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-image { height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px 4px; }
.blog-card-body h3 { font-size: 1rem; font-weight: 500; margin-bottom: 10px; line-height: 1.4; }
.blog-card-meta { font-size: 0.8rem; color: #b3b0ae; }
.blog-card-meta span + span::before { content: " \00B7  "; }
.resources-footer { text-align: center; margin-top: 40px; }

/* ========== CLIENTS ========== */
.clients { background: #fffcf8; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card { text-align: center; padding: 32px 20px; }
.testimonial-card .avatar {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 16px;
  border: 3px solid rgb(255,211,244);
}
.testimonial-card .name { font-weight: 500; font-size: 0.95rem; margin-bottom: 4px; }
.testimonial-card .role { font-size: 0.8rem; color: #b3b0ae; }

/* ========== NEWSLETTER ========== */
.newsletter { background: #fffcf8; }
.newsletter .container { max-width: 560px; text-align: center; }
.newsletter h2 { margin-bottom: 12px; }
.newsletter-form { display: flex; gap: 10px; margin-top: 28px; }
.newsletter-form input {
  flex: 1; padding: 12px 18px; border: 1px solid #e6e3df; border-radius: 0;
  font-size: 0.85rem; font-family: inherit; outline: none;
  background: transparent;
}
.newsletter-form input:focus { border-color: #000; }
.newsletter-form .btn { border-radius: 0; white-space: nowrap; }
.newsletter-checkbox {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin-top: 14px; font-size: 0.8rem; color: #b3b0ae;
}
.newsletter-checkbox input { accent-color: #000; }

/* ========== COMPLIANCE LOGOS ========== */
.compliance-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: nowrap; max-width: 1100px; margin: 0 auto;
}
.compliance-logos img {
  height: 56px; width: auto; max-width: 220px; object-fit: contain;
  background: transparent; filter: grayscale(20%); transition: filter 0.2s; flex-shrink: 1;
}
.compliance-logos img:hover { filter: grayscale(0%); }
.compliance-sep {
  color: #d1d5db; font-size: 1.5rem; font-weight: 300; user-select: none;
}
@media (max-width: 768px) {
  .compliance-logos {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    max-width: 560px; margin: 0 auto; padding: 0 16px;
  }
  .compliance-logos img {
    height: 120px; max-width: 100%; width: 100%; padding: 20px 12px;
    object-fit: contain;
  }
  .compliance-sep { display: none; }
}

/* ========== FOOTER ========== */
.footer {
  background: #000; color: #fffcf8; padding: 72px 0 36px;
}
.footer .container {
  display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 48px;
}
.footer-col p, .footer-col a { font-size: 0.85rem; color: rgba(255,252,248,0.5); line-height: 2; }
.footer-col a:hover { color: #fffcf8; }
.footer-nav { display: flex; flex-direction: column; }
.footer-bottom {
  text-align: center; margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,252,248,0.08);
  font-size: 0.75rem; color: rgba(255,252,248,0.25);
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255,252,248,0.15);
}
.footer-social a:hover { border-color: #fffcf8; }
.footer-social svg { width: 14px; height: 14px; fill: #fffcf8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-profile { left: -20px; width: 120px; }
  .hero-analytics { right: -10px; width: 160px; }
  .why-row { grid-template-columns: 1fr; gap: 40px; }
  .why-row .why-visual { order: -1; }
  .why-row-reverse { direction: ltr; }
  [dir="rtl"] .why-row-reverse > * { direction: rtl; }
  .features-content { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  /* Header */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .lang-switch { font-size: 0.7rem; padding: 3px 8px; }
  .nav-actions .login-link { font-size: 0.75rem; }
  .nav-actions { gap: 8px; }
  .header-divider { height: 16px; }
  .header { top: 27px; padding: 12px 0; }

  /* Hero */
  .hero { padding-top: 32px; }
  .hero-inner h1 { font-size: clamp(1.6rem, 6vw, 2.5rem); padding: 0 16px; }
  .hero-profile, .hero-analytics { display: none; }

  /* Provider layout - hide normal layout, show marquee on mobile */
  .provider-marquee { display: flex; }
  .provider-layout .provider-top,
  .provider-layout .provider-side { display: none; }
  .provider-layout { display: flex; flex-direction: column; align-items: center; }
  .provider-middle { flex-direction: column; gap: 16px; }
  .zigzag-h, .zigzag-v { display: none !important; }
  .provider-dashboard img { max-width: 300px; }

  /* Provider strip - smaller on mobile */
  .provider-marquee-track img { width: 36px; height: 36px; padding: 6px; }
  .hiw-benefits { grid-template-columns: 1fr; max-width: 280px; }
  .benefit-card h3 { font-size: 1rem; }

  /* Why Us - image above text on mobile */
  .why-row { display: flex; flex-direction: column; }
  .why-row .why-visual { order: -1; }
  .why-row-reverse { direction: ltr; }
  [dir="rtl"] .why-row-reverse > * { direction: rtl; }
  .why-row-reverse .why-visual { order: -1; }

  /* Why Us */
  .why-photo { max-width: 100% !important; }
  .why-photo-overlap { width: 100% !important; position: static !important; }
  .why-text h3 { font-size: 1.3rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .service-box { padding: 28px 22px; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }
  .newsletter .container { padding: 0 20px; }

  /* Footer */
  .footer .container { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-col > a { display: flex; justify-content: center; }
  .footer-col > div { justify-content: center; }

  /* KPI Numbers */
  .kpi-grid { gap: 1rem !important; padding: 2rem 0 !important; }
  .kpi-number { font-size: 1.8rem !important; }

  /* Sections */
  .section { padding: 60px 0; }
  .section-header h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .section-header p { font-size: 0.85rem; }

  /* Accessibility panel */
  .accessibility-panel { right: -40px; min-width: 200px; }
}

@media (max-width: 480px) {
  .provider-dashboard img { max-width: 220px; }
  .provider-marquee-track img { width: 30px; height: 30px; padding: 4px; }
  .hero-inner h1 { font-size: 1.5rem; }
  .service-box { padding: 24px 18px; }
  .footer { padding: 48px 0 24px; }
  .kpi-number { font-size: 1.5rem !important; }
  .kpi-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,252,248,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 1.3rem; font-weight: 500; }

/* ========== ACCESSIBILITY PANEL ========== */
.accessibility-wrapper { position: relative; }
.accessibility-panel {
  display: none; position: absolute; top: calc(100% + 12px); right: 0;
  background: #fff; border: 1px solid #e6e3df; border-radius: 12px;
  padding: 20px; min-width: 220px; z-index: 1200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
[dir="rtl"] .accessibility-panel { right: auto; left: 0; }
.accessibility-panel.active { display: block; }
.a11y-group { margin-bottom: 16px; }
.a11y-group:last-child { margin-bottom: 0; }
.a11y-label {
  display: block; font-size: 0.75rem; font-weight: 600; color: #777;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.a11y-controls { display: flex; gap: 8px; align-items: center; }
.a11y-btn {
  width: 40px; height: 36px; border-radius: 8px; border: 1px solid #e6e3df;
  background: #fffcf8; font-size: 0.85rem; font-weight: 600; color: #000;
  cursor: pointer; transition: 0.2s; display: flex; align-items: center;
  justify-content: center; font-family: inherit;
}
.a11y-btn:hover { background: #f0ede9; border-color: #ccc; }
.a11y-color-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: 0.2s; flex-shrink: 0;
}
.a11y-color-btn.active { border-color: #000; box-shadow: 0 0 0 2px rgba(0,0,0,0.15); }
.a11y-color-default { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.a11y-color-grayscale { background: linear-gradient(135deg, #888, #ccc); }
.a11y-color-contrast { background: linear-gradient(135deg, #000 50%, #fff 50%); }

/* ========== COLOR SCHEME: GRAYSCALE ========== */
html[data-scheme="grayscale"] { filter: grayscale(100%); }

/* ========== COLOR SCHEME: HIGH CONTRAST ========== */
html[data-scheme="high-contrast"] body { background: #fff; color: #000; }
html[data-scheme="high-contrast"] .header.scrolled { background: rgba(255,255,255,0.95); }
html[data-scheme="high-contrast"] .hero-overlay { background: rgba(0,0,0,0.6); }
html[data-scheme="high-contrast"] .hero-inner h1 { color: #fff; }
html[data-scheme="high-contrast"] p { color: #000; }
html[data-scheme="high-contrast"] .service-box { border: 2px solid #000; }
html[data-scheme="high-contrast"] .service-features li { color: #000; }
html[data-scheme="high-contrast"] .blog-card-meta { color: #555; }
html[data-scheme="high-contrast"] .footer { background: #000; }
html[data-scheme="high-contrast"] .btn-dark { background: #000; color: #fff; }
html[data-scheme="high-contrast"] a { text-decoration: underline; }
