/*
 * Shifa Health Care — Premium Design System
 * Global CSS Variables, Typography, Components, Animations
 */

/* ============================================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --primary:       #0b6fad;
  --primary-dark:  #084f7a;
  --primary-light: #1a8fd1;
  --secondary:     #05c091;
  --accent:        #f4a840;
  --dark:          #0a0e1a;
  --light:         #f4f7fa;
  --surface:       #ffffff;
  --surface-2:     #f0f5fb;
  --text:          #1c2540;
  --text-muted:    #6b7891;
  --border:        rgba(11,111,173,0.12);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0b6fad 0%, #05c091 100%);
  --gradient-dark:    linear-gradient(135deg, #0a0e1a 0%, #0b3d6b 100%);
  --gradient-glow:    radial-gradient(ellipse at center, rgba(11,111,173,0.15) 0%, transparent 70%);

  /* Typography */
  --font-heading: 'Syne', 'Roboto', sans-serif;
  --font-body:    'Inter', 'Open Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Font Sizes (fluid) */
  --text-xs:   clamp(0.7rem,  1.5vw, 0.8rem);
  --text-sm:   clamp(0.85rem, 1.8vw, 0.95rem);
  --text-base: clamp(0.95rem, 2vw,   1.05rem);
  --text-lg:   clamp(1.1rem,  2.2vw, 1.25rem);
  --text-xl:   clamp(1.25rem, 2.5vw, 1.5rem);
  --text-2xl:  clamp(1.5rem,  3vw,   2rem);
  --text-3xl:  clamp(2rem,    4vw,   2.75rem);
  --text-4xl:  clamp(2.5rem,  5vw,   3.75rem);
  --text-5xl:  clamp(3rem,    6vw,   5rem);
  --text-hero: clamp(3.5rem,  8vw,   7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(10,14,26,0.08);
  --shadow-md:  0 8px 32px rgba(10,14,26,0.12);
  --shadow-lg:  0 20px 60px rgba(10,14,26,0.18);
  --shadow-xl:  0 40px 100px rgba(10,14,26,0.25);
  --shadow-glow: 0 0 40px rgba(11,111,173,0.3);
  --shadow-card: 0 4px 24px rgba(11,111,173,0.10), 0 1px 4px rgba(10,14,26,0.08);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   200ms;
  --duration-base:   400ms;
  --duration-slow:   700ms;
  --duration-slower: 1000ms;

  /* Z-indexes */
  --z-base:    1;
  --z-above:   10;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-overlay: 500;
  --z-modal:   1000;
  --z-top:     9999;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background-color: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { line-height: 1.8; color: var(--text-muted); }
ul, ol { padding-left: 1.2em; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 var(--space-6); }
.container-fluid { width: 100%; padding: 0 var(--space-6); }

.section-pad { padding: var(--space-24) 0; }
.section-pad-sm { padding: var(--space-16) 0; }
.section-pad-lg { padding: var(--space-32) 0; }

/* ============================================================
   TYPOGRAPHY COMPONENTS
   ============================================================ */

/* Eyebrow / Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

/* Section Title */
.section-title {
  text-align: center;
  padding-bottom: var(--space-12);
  padding-top: var(--space-4);
}
.section-title .eyebrow { justify-content: center; }
.section-title h2 {
  font-size: var(--text-3xl);
  color: var(--dark);
  margin-bottom: var(--space-4);
  position: relative;
}
.section-title h2::before,
.section-title h2::after { display: none; } /* Override Bootstrap template */
.section-title p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Large headline accent */
.headline-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text reveal mask */
.text-mask {
  overflow: hidden;
  display: block;
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn, button[class^="btn"] {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.75em 2em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration-base) var(--ease-out),
    color var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-fast) var(--ease-spring);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-fast);
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.97); }

/* Primary */
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(11,111,173,0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(11,111,173,0.5);
  transform: translateY(-2px);
  color: #fff;
}

/* Secondary */
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Dark */
.btn-dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 4px 20px rgba(10,14,26,0.3);
}
.btn-dark:hover {
  background: #1c2540;
  transform: translateY(-2px);
  color: #fff;
}

/* Ghost (white) */
.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-2px);
}

/* Arrow icon on buttons */
.btn-arrow::after {
  content: '→';
  transition: transform var(--duration-fast) var(--ease-spring);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* Magnetic wrapper (JS-enhanced) */
.btn-magnetic { transform-origin: center center; }

/* ============================================================
   CARD SYSTEM
   ============================================================ */
.card-modern {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Glass Card */
.card-glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
}

/* Service Card */
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--duration-base) var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleY(1); }

.service-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(11,111,173,0.1), rgba(5,192,145,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.75rem;
  color: var(--primary);
  transition: background var(--duration-base) var(--ease-out), color var(--duration-base);
}
.service-card:hover .card-icon {
  background: var(--gradient-primary);
  color: #fff;
}
.service-card h3 {
  font-size: var(--text-xl);
  color: var(--dark);
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Info Card */
.info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Stat Card */
.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}
.stat-card .stat-number {
  font-size: var(--text-4xl);
  font-family: var(--font-heading);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-card .stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   PAGE HERO (INTERIOR PAGES)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--gradient-dark);
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,26,0.4), rgba(10,14,26,0.85));
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-20) 0 var(--space-12);
  width: 100%;
}
.page-hero h1 {
  font-size: var(--text-4xl);
  color: #fff;
  margin-bottom: var(--space-4);
  font-weight: 800;
}
.page-hero .breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumbs a:hover { color: var(--secondary); }
.page-hero .breadcrumbs .separator { opacity: 0.4; }
.page-hero .breadcrumbs .current { color: var(--secondary); font-weight: 600; }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.bg-light   { background: var(--light); }
.bg-dark    { background: var(--dark); color: #fff; }
.bg-surface { background: var(--surface); }
.bg-gradient-primary { background: var(--gradient-primary); }
.bg-gradient-dark    { background: var(--gradient-dark); }

.bg-mesh {
  background-color: var(--light);
  background-image:
    radial-gradient(at 20% 20%, rgba(11,111,173,0.07) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(5,192,145,0.06) 0px, transparent 50%);
}

.bg-dark-mesh {
  background-color: var(--dark);
  background-image:
    radial-gradient(at 20% 30%, rgba(11,111,173,0.18) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(5,192,145,0.12) 0px, transparent 50%);
}

/* ============================================================
   BADGES & TAGS
   ============================================================ */
.badge-modern {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.9em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-primary   { background: rgba(11,111,173,0.1);  color: var(--primary); }
.badge-secondary { background: rgba(5,192,145,0.12);  color: var(--secondary); }
.badge-accent    { background: rgba(244,168,64,0.12);  color: #c47a00; }

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  margin: var(--space-4) 0;
}
.divider-center { margin: var(--space-4) auto; }

/* ============================================================
   IMAGE CONTAINERS
   ============================================================ */
.img-reveal {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.img-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.img-reveal:hover img { transform: scale(1.05); }

.img-parallax-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* ============================================================
   FORMS (GLOBAL MODERN STYLE)
   ============================================================ */
.form-modern .form-group { margin-bottom: var(--space-5); }
.form-modern label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}
.form-modern input,
.form-modern textarea,
.form-modern select {
  width: 100%;
  padding: 0.85em 1.2em;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-modern input::placeholder,
.form-modern textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.form-modern input:focus,
.form-modern textarea:focus,
.form-modern select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11,111,173,0.12);
}
.form-modern textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card .quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}
.testimonial-card .testimonial-text {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.testimonial-card .author-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.testimonial-card .author-name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--dark);
}
.testimonial-card .author-title {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: #f4a840;
  font-size: 0.9rem;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step {
  display: flex;
  gap: var(--space-6);
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 56px;
  width: 2px;
  height: calc(100% - 56px + var(--space-6));
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(11,111,173,0.3);
}
.step-content { padding-bottom: var(--space-8); }
.step-content h4 { font-size: var(--text-lg); color: var(--dark); margin-bottom: var(--space-2); }
.step-content p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }

/* ============================================================
   ICON BOXES
   ============================================================ */
.icon-box-modern {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base);
}
.icon-box-modern:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-box-modern .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(11,111,173,0.1), rgba(5,192,145,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}
.icon-box-modern h4 { font-size: var(--text-base); color: var(--dark); margin-bottom: var(--space-1); }
.icon-box-modern p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0;
  background: var(--gradient-dark);
}
.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(11,111,173,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(5,192,145,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .cta-content { position: relative; z-index: 1; text-align: center; }
.cta-section h2 {
  font-size: var(--text-4xl);
  color: #fff;
  margin-bottom: var(--space-4);
}
.cta-section p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto var(--space-10);
}
.cta-section .btn-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   SCROLL TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
  z-index: var(--z-top);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(11,111,173,0.5); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-top);
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out);
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}
.preloader-logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.preloader-logo span { color: var(--secondary); }
.preloader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.preloader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: preload-slide 1.5s var(--ease-in-out) infinite;
}
@keyframes preload-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-top) - 1;
  background: var(--dark);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-modern .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.accordion-modern .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--dark);
  background: var(--surface);
  padding: var(--space-5) var(--space-6);
  gap: var(--space-3);
}
.accordion-modern .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(11,111,173,0.04);
  box-shadow: none;
}
.accordion-modern .accordion-button:focus { box-shadow: 0 0 0 3px rgba(11,111,173,0.12); }
.accordion-modern .accordion-body {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.8;
  padding: var(--space-4) var(--space-6) var(--space-6);
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 1200px) {
  .container { padding: 0 var(--space-5); }
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-4); }
  .section-pad { padding: var(--space-16) 0; }
  .section-pad-lg { padding: var(--space-20) 0; }
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
}
@media (max-width: 480px) {
  .container { padding: 0 var(--space-3); }
  .section-pad { padding: var(--space-12) 0; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   REDUCED MOTION SUPPORT
   ============================================================ */
@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;
  }
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
html.page-loading body { opacity: 0; }
html.page-loaded body {
  opacity: 1;
  transition: opacity 0.45s ease;
}
html.page-leaving body {
  opacity: 0;
  transition: opacity 0.3s ease;
}
