/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0f4f8;
  --bg-light: #f8f9fa;
  --bg-light-alt: #ffffff;
  --bg-blue: #1e3a5f;
  --bg-blue-light: #e8f0fe;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #dbeafe;
  --text-light: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #596776;
  --text-muted-dark: #475569;
  --success: #10b981;
  --border-dark: #e2e8f0;
  --border-light: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-dark: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.07);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== SKIP NAVIGATION ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  z-index: 10000;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ===== SCREEN READER ONLY ===== */
.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;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-light);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--text-light);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-links a:hover,
.nav-links a.active { color: var(--text-dark); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent);
  color: var(--text-light) !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--accent-hover); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 50%, #ffffff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 { margin-bottom: 1.5rem; }

.hero-text h1 .highlight {
  color: var(--accent);
  display: block;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 3rem; }

.trust-badges {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge .badge-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.trust-badge span {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  font-weight: 500;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 32px;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.hero-graphic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.dispatch-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--accent-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.dispatch-line .status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.dispatch-line .status.busy { background: var(--accent); }
.dispatch-line .status.offline { background: var(--text-muted); }

.dispatch-line .info {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.dispatch-line .info strong { color: var(--text-dark); display: block; font-size: 0.9rem; }

.dispatch-line .time { font-size: 0.75rem; color: var(--text-muted); }

/* ===== SECTIONS ===== */
.section-dark {
  background: var(--bg-primary);
  padding: 80px 0;
  color: var(--text-dark);
}

.section-dark-alt {
  background: var(--bg-secondary);
  padding: 80px 0;
  color: var(--text-dark);
}

.section-light {
  background: var(--bg-light);
  padding: 80px 0;
  color: var(--text-dark);
}

.section-light-alt {
  background: var(--bg-light-alt);
  padding: 80px 0;
  color: var(--text-dark);
}

/* ===== HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step h3 { margin-bottom: 0.75rem; }

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

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 52px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: var(--border-dark);
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(37,99,235,0.15);
}

.service-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card .card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

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

.service-card p { color: var(--text-muted-dark); font-size: 0.9rem; margin-bottom: 1rem; }

.service-card .card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .card-link:hover { gap: 10px; }

/* Light variant for services page */
.service-card-light {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
}

.service-card-light:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.benefit-item h4 { margin-bottom: 0.5rem; color: var(--text-dark); }
.benefit-item p { color: var(--text-muted-dark); font-size: 0.9rem; margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-light);
  font-size: 1rem;
}

.testimonial-info strong { display: block; color: var(--text-dark); font-size: 0.9rem; }
.testimonial-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.cta-section h2 { margin-bottom: 1rem; color: var(--text-light); }
.cta-section p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; opacity: 0.9; color: #cbd5e1; }

.cta-section .btn-dark {
  background: var(--text-light);
  color: var(--accent);
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cta-section .btn-dark:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group textarea { min-height: 120px; resize: vertical; }

.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-info-item h4 { margin-bottom: 0.25rem; }
.contact-info-item p { color: var(--text-muted-dark); margin: 0; font-size: 0.9rem; }

/* Onboarding steps on contact page */
.onboarding-steps {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.onboarding-steps h3 { margin-bottom: 1.5rem; }

.onboarding-step {
  display: flex;
  gap: 16px;
  margin-bottom: 1.25rem;
}

.onboarding-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.onboarding-step p { color: var(--text-muted-dark); margin: 0; font-size: 0.9rem; }
.onboarding-step p strong { color: var(--text-dark); }

/* ===== SERVICES PAGE DETAIL ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child { border-bottom: none; }

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-detail-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.service-detail h3 { font-size: 1.6rem; margin-bottom: 1rem; }

.service-detail p { color: var(--text-muted-dark); margin-bottom: 1.25rem; }

.service-detail ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-detail ul li {
  padding: 6px 0;
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-detail-visual {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.service-detail-visual .visual-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-visual .visual-icon svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

/* ===== SOFTWARE LOGOS ===== */
.software-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1.5rem;
}

.software-badge {
  padding: 8px 20px;
  background: var(--accent-light);
  border: 1px solid #bfdbfe;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 50%, #ffffff 100%);
  text-align: center;
}

.about-hero p {
  font-size: 1.15rem;
  color: var(--text-muted-dark);
  max-width: 700px;
  margin: 1rem auto 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid p { color: var(--text-muted-dark); }

.about-visual {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual svg {
  width: 80px;
  height: 80px;
  color: var(--accent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 3rem;
}

.value-card {
  background: var(--bg-light-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.value-card .value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: var(--text-muted-dark); font-size: 0.9rem; margin: 0; }

/* ===== PAGE HERO (Services, Contact) ===== */
.page-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 50%, #ffffff 100%);
  text-align: center;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted-dark);
  max-width: 700px;
  margin: 1rem auto 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e293b;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 24px;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 1rem; display: inline-block; color: var(--text-light); }
.footer-brand p { color: #b0bfcf; font-size: 0.9rem; max-width: 300px; }

.footer-column h4 {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.footer-column a {
  display: block;
  color: #b0bfcf;
  font-size: 0.9rem;
  padding: 4px 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 2px;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.footer-column a:hover {
  color: #dbeafe;
  text-decoration-color: #dbeafe;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  color: #b0bfcf;
  font-size: 0.85rem;
}

/* ===== FOCUS STYLES (ADA) ===== */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.2);
}

.nav-cta:focus-visible {
  outline: 3px solid var(--text-light);
  outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* ===== FORM ERROR STYLES (ADA) ===== */
.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}
.form-error[aria-live] {
  display: block;
}
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #dc2626;
  border-width: 2px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REDUCED MOTION (ADA) ===== */
@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;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
  .skip-link {
    transition: none;
  }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-graphic { max-width: 400px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 3rem auto 0; }
  .step::after { display: none !important; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1.2rem; color: var(--text-dark); }

  .hamburger { display: flex; z-index: 1001; }

  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero-text h1 { font-size: 2rem; }
  .trust-badges { gap: 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .section-dark, .section-dark-alt, .section-light, .section-light-alt { padding: 60px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .form-card { padding: 24px; }
  .stat-number { font-size: 2rem; }
}
