/* ============================================
   ishurim4you – Landing Page Styles
   ============================================ */

:root {
  --color-primary: #0ea5e9;
  --color-primary-dark: #0284c7;
  --color-primary-light: #38bdf8;
  --color-accent: #06b6d4;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;
  --color-bg: #0f172a;
  --color-bg-light: #1e293b;
  --color-bg-card: rgba(30, 41, 59, 0.7);
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-border: rgba(148, 163, 184, 0.15);
  --color-focus: #fbbf24;
  --font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-focus);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 500;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  letter-spacing: -0.02em;
}

.logo-text[dir="ltr"] {
  font-weight: 500;
  unicode-bidi: isolate;
}

.logo strong {
  color: var(--color-primary-light);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--color-text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.header-cta:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
  z-index: 999;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-nav a:hover {
  background: var(--color-bg-light);
  color: var(--color-text);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, #0c1222 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  right: -10%;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  bottom: 20%;
  left: -5%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-primary-light);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  text-wrap: pretty;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.btn span small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

.btn-lg {
  padding: 1rem 1.75rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.45);
  color: #fff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(14, 165, 233, 0.15);
  color: var(--color-primary-light);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 50%, var(--color-bg) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  backdrop-filter: blur(8px);
}

.about-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.about-content .section-tag {
  display: block;
  margin-bottom: 0.75rem;
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-quote {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-right: 3px solid var(--color-primary);
  background: rgba(14, 165, 233, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.about-quote p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.about-quote cite {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: normal;
}

/* Process */
.process {
  background: var(--color-bg-light);
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(12px);
}

.contact-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-content > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-person-label {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.contact-person-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.contact-phone-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.phone-label {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.phone-number {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-primary-light);
  letter-spacing: 0.02em;
}

.phone-number:hover {
  color: var(--color-primary);
}

.contact-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  background: var(--color-bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .about-visual {
    order: -1;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

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

  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .contact-card {
    padding: 2rem 1.25rem;
  }

  .contact-cta-group {
    flex-direction: column;
  }

  .contact-cta-group .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .floating-whatsapp {
    bottom: 1rem;
    left: 1rem;
    width: 54px;
    height: 54px;
  }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --color-border: rgba(255, 255, 255, 0.4);
  }

  .service-card,
  .process-step,
  .about-card {
    border-width: 2px;
  }
}

/* ============================================
   Accessibility Widget – Site-matched Design
   ============================================ */

.a11y-widget {
  --aw-bg: #1e293b;
  --aw-bg-deep: #0f172a;
  --aw-text: #f1f5f9;
  --aw-muted: #94a3b8;
  --aw-border: rgba(14, 165, 233, 0.22);
  --aw-primary: #0ea5e9;
  --aw-primary-dark: #0284c7;
  --aw-accent: #06b6d4;
  --aw-glow: rgba(14, 165, 233, 0.35);

  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 950;
  font-family: 'Heebo', system-ui, sans-serif;
  direction: rtl;
  filter: none !important;
}

/* Toggle button */
.a11y-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  background: linear-gradient(135deg, var(--aw-primary), var(--aw-primary-dark));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px var(--aw-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.a11y-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--aw-glow);
}

.a11y-toggle.is-active {
  background: linear-gradient(135deg, var(--aw-accent), var(--aw-primary));
}

.a11y-toggle-icon {
  display: flex;
  align-items: center;
}

.a11y-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #fbbf24;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--aw-bg-deep);
  line-height: 1;
}

.a11y-badge[hidden] {
  display: none !important;
}

/* Panel */
.a11y-panel {
  position: absolute;
  bottom: calc(100% + 0.85rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--aw-text);
  border-radius: var(--radius-xl);
  border: 1px solid var(--aw-border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(14, 165, 233, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.a11y-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.a11y-panel[hidden] {
  display: block !important;
}

.a11y-panel[hidden]:not(.is-open) {
  visibility: hidden;
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(6, 182, 212, 0.1));
  border-bottom: 1px solid var(--aw-border);
}

.a11y-panel-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.a11y-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--aw-primary), var(--aw-accent));
  border-radius: 10px;
  color: #fff;
  flex-shrink: 0;
}

.a11y-panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--aw-text);
  margin-bottom: 0.1rem;
}

.a11y-panel-subtitle {
  font-size: 0.7rem;
  color: var(--aw-muted);
  letter-spacing: 0.03em;
}

.a11y-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  color: var(--aw-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.a11y-close:hover {
  background: rgba(148, 163, 184, 0.22);
  color: var(--aw-text);
}

/* Panel body */
.a11y-panel-body {
  padding: 0.85rem;
  max-height: min(58vh, 480px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--aw-primary) transparent;
}

.a11y-panel-body::-webkit-scrollbar {
  width: 5px;
}

.a11y-panel-body::-webkit-scrollbar-thumb {
  background: var(--aw-primary);
  border-radius: 999px;
}

.a11y-section {
  margin-bottom: 1rem;
}

.a11y-section:last-child {
  margin-bottom: 0;
}

.a11y-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aw-primary-light, #38bdf8);
  margin-bottom: 0.55rem;
  padding-right: 0.25rem;
}

/* Control cards */
.a11y-control-card {
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.a11y-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.a11y-control-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aw-text);
}

.a11y-control-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aw-primary-light, #38bdf8);
  background: rgba(14, 165, 233, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* Font size bar */
.a11y-font-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.a11y-font-track {
  flex: 1;
  height: 6px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.a11y-font-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--aw-primary), var(--aw-accent));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.a11y-font-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: var(--aw-text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
}

.a11y-font-btn:hover:not(:disabled) {
  border-color: var(--aw-primary);
  background: rgba(14, 165, 233, 0.12);
}

.a11y-font-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.a11y-font-reset {
  font-size: 0.85rem;
  color: var(--aw-muted);
}

/* Segmented control */
.a11y-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.a11y-seg-btn {
  padding: 0.45rem 0.5rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  color: var(--aw-muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.a11y-seg-btn:hover {
  border-color: rgba(14, 165, 233, 0.4);
  color: var(--aw-text);
}

.a11y-seg-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(6, 182, 212, 0.15));
  border-color: var(--aw-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.2);
}

/* Option toggles */
.a11y-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.a11y-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.a11y-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-sm);
  color: var(--aw-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-align: right;
  transition: all 0.2s ease;
}

.a11y-option:hover {
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--aw-text);
  background: rgba(30, 41, 59, 0.85);
}

.a11y-option-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  border-radius: 5px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.a11y-option-check svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.15s ease;
}

.a11y-option[aria-pressed="true"] {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(6, 182, 212, 0.1));
  border-color: var(--aw-primary);
  color: #fff;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.15);
}

.a11y-option[aria-pressed="true"] .a11y-option-check {
  background: var(--aw-primary);
  border-color: var(--aw-primary);
  color: #fff;
}

.a11y-option[aria-pressed="true"] .a11y-option-check svg {
  opacity: 1;
  transform: scale(1);
}

.a11y-option-label {
  flex: 1;
  line-height: 1.3;
}

/* Footer */
.a11y-panel-footer {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--aw-border);
  background: rgba(15, 23, 42, 0.6);
}

.a11y-reset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.a11y-reset-btn:hover {
  background: rgba(239, 68, 68, 0.22);
}

.a11y-statement-link {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--aw-primary-light, #38bdf8);
  padding: 0.25rem;
  transition: color 0.2s;
}

.a11y-statement-link:hover {
  color: #fff;
}

/* Focus styles */
.a11y-toggle:focus-visible,
.a11y-close:focus-visible,
.a11y-font-btn:focus-visible,
.a11y-seg-btn:focus-visible,
.a11y-option:focus-visible,
.a11y-reset-btn:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* Reading guide */
.a11y-reading-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 44px;
  margin-top: -22px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.22), rgba(14, 165, 233, 0.08));
  border-top: 2px solid rgba(14, 165, 233, 0.7);
  border-bottom: 2px solid rgba(14, 165, 233, 0.7);
  pointer-events: none;
  z-index: 940;
}

.a11y-reading-guide[hidden] {
  display: none !important;
}

/* ── Accessibility modes (site content) ── */

html.a11y-fs-sm3 { font-size: 70%; }
html.a11y-fs-sm2 { font-size: 80%; }
html.a11y-fs-sm1 { font-size: 90%; }
html.a11y-fs-lg1 { font-size: 110%; }
html.a11y-fs-lg2 { font-size: 120%; }
html.a11y-fs-lg3 { font-size: 130%; }
html.a11y-fs-lg4 { font-size: 140%; }
html.a11y-fs-lg5 { font-size: 150%; }

html.a11y-align-right body { text-align: right; }
html.a11y-align-center body { text-align: center; }
html.a11y-align-left body { text-align: left; }

html.a11y-readable-font,
html.a11y-readable-font body {
  font-family: Arial, Helvetica, sans-serif !important;
}

html.a11y-bold-text body {
  font-weight: 600 !important;
}

html.a11y-bold-text strong,
html.a11y-bold-text b {
  font-weight: 800 !important;
}

html.a11y-letter-spacing body {
  letter-spacing: 0.1em;
}

html.a11y-line-height body {
  line-height: 2.2 !important;
}

/* Color modes */
html.a11y-high-contrast {
  --color-bg: #000;
  --color-bg-light: #000;
  --color-bg-card: #000;
  --color-text: #fff;
  --color-text-muted: #fff;
  --color-border: #fff;
  --color-primary: #ffff00;
  --color-primary-light: #ffff00;
  --color-primary-dark: #ffff00;
  --color-accent: #ffff00;
  --color-focus: #ffff00;
}

html.a11y-dark-contrast {
  --color-bg: #000;
  --color-bg-light: #111;
  --color-bg-card: #111;
  --color-text: #fff;
  --color-text-muted: #e2e8f0;
  --color-border: #fff;
}

html.a11y-light-contrast {
  --color-bg: #fff;
  --color-bg-light: #f1f5f9;
  --color-bg-card: #fff;
  --color-text: #0f172a;
  --color-text-muted: #334155;
  --color-border: #0f172a;
  --color-primary: #0369a1;
  --color-primary-light: #0284c7;
}

html.a11y-high-contrast body,
html.a11y-dark-contrast body {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-light-contrast body {
  background: #fff !important;
  color: #0f172a !important;
}

html.a11y-light-contrast .hero-gradient,
html.a11y-light-contrast .hero-grid,
html.a11y-light-contrast .hero-orb {
  opacity: 0.15;
}

html.a11y-light-contrast .site-header {
  background: rgba(255, 255, 255, 0.95) !important;
}

html.a11y-grayscale body > *:not(.a11y-widget):not(.a11y-reading-guide) {
  filter: grayscale(100%);
}

html.a11y-invert body > *:not(.a11y-widget):not(.a11y-reading-guide) {
  filter: invert(1) hue-rotate(180deg);
}

html.a11y-low-saturation body > *:not(.a11y-widget):not(.a11y-reading-guide) {
  filter: saturate(0.25);
}

/* Links & focus */
html.a11y-highlight-links a:not(.a11y-toggle):not(.a11y-option):not(.a11y-close):not(.a11y-reset-btn):not(.a11y-statement-link) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
  background: rgba(14, 165, 233, 0.15) !important;
  outline: 1px dashed rgba(14, 165, 233, 0.6);
}

html.a11y-focus-highlight *:focus-visible {
  outline: 4px solid #fbbf24 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.35) !important;
}

/* Motion & cursor */
html.a11y-stop-animations *,
html.a11y-stop-animations *::before,
html.a11y-stop-animations *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-large-cursor,
html.a11y-large-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%230ea5e9' stroke='white' stroke-width='1.5' d='M4 4l8 24 4-10 10-4z'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* Hide decorative images only – keep functional icons */
html.a11y-hide-images img,
html.a11y-hide-images .logo-icon,
html.a11y-hide-images .hero-orb,
html.a11y-hide-images .stat-number {
  visibility: hidden !important;
}

html.a11y-hide-images .service-icon svg,
html.a11y-hide-images .trust-icon {
  opacity: 0.15;
}

/* Contrast component overrides */
html.a11y-high-contrast .site-header,
html.a11y-high-contrast .service-card,
html.a11y-high-contrast .process-step,
html.a11y-high-contrast .about-card,
html.a11y-high-contrast .contact-card,
html.a11y-high-contrast .mobile-nav,
html.a11y-dark-contrast .site-header,
html.a11y-dark-contrast .service-card,
html.a11y-dark-contrast .process-step,
html.a11y-dark-contrast .about-card,
html.a11y-dark-contrast .contact-card {
  background: #000 !important;
  border: 2px solid #fff !important;
}

html.a11y-light-contrast .site-header,
html.a11y-light-contrast .service-card,
html.a11y-light-contrast .process-step,
html.a11y-light-contrast .about-card,
html.a11y-light-contrast .contact-card,
html.a11y-light-contrast .contact-card {
  background: #fff !important;
  border: 2px solid #0f172a !important;
  color: #0f172a !important;
}

html.a11y-light-contrast .section-header p,
html.a11y-light-contrast .service-card p,
html.a11y-light-contrast .about-content p,
html.a11y-light-contrast .step-content p,
html.a11y-light-contrast .hero-subtitle {
  color: #334155 !important;
}

html.a11y-high-contrast .btn-primary {
  background: #ffff00 !important;
  color: #000 !important;
}

html.a11y-high-contrast .hero h1 .highlight {
  -webkit-text-fill-color: #ffff00;
  color: #ffff00;
}

@media (max-width: 600px) {
  .a11y-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .a11y-toggle-text {
    display: none;
  }

  .a11y-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .a11y-panel {
    width: min(320px, calc(100vw - 1.5rem));
    right: -0.25rem;
  }

  .a11y-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a11y-panel {
    transition: none;
  }
}
