/* ═══════════════════════════════════════════════
   SHARED — tokens, reset, nav, reveal, testimonials,
   stats, feedback, buttons (used by index + buecher)
═══════════════════════════════════════════════ */

:root {
  --blue-dark:    #0A2D6E;
  --blue-main:    #1A5DAE;
  --blue-mid:     #2E74C5;
  --blue-light:   #7AAEE0;
  --blue-pale:    #CBE0F5;
  --blue-bg:      #EBF3FB;
  --red:          #CC1122;
  --red-dark:     #8B0000;
  --text:         #1a1a2e;
  --gray:         #5a5a7a;
  --white:        #ffffff;
  font-size: 17px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

/* ── SKIP LINK (WCAG 2.4.1) ──────────────────── */
.skip-link {
  position: absolute; top: 0; left: 0;
  background: var(--blue-main); color: #fff;
  padding: .75rem 1rem; z-index: 9999;
  text-decoration: none; font-weight: 700;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ── FOCUS VISIBLE (WCAG 2.4.7) ──────────────── */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ── BACK TO TOP ─────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-main); color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .2s, transform .2s, background .15s;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-2px); }
.back-to-top svg { width: 34px; height: 34px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .15s; }
  .back-to-top:hover { transform: none; }
}

/* ── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── NAVIGATION (Links + CTA) ────────────────── */
nav a { color: #c8dff5; text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
nav a:hover { color: #fff; }
.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 9px 22px; border-radius: 22px; font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 3px 10px rgba(204,17,34,0.4);
  transition: transform 0.15s, box-shadow 0.15s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(204,17,34,0.45) !important; }

/* ── HERO HEADLINE ACCENT + PULSE DOT ────────── */
.hero-left h1 em { font-style: normal; color: #7ec8f8; display: block; }
.hero-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5bb8ff; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
  background: var(--blue-dark);
  padding: 44px 8%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; text-align: center;
}
.stat-div { width: 40px; height: 3px; background: var(--blue-mid); border-radius: 2px; margin: 10px auto 0; }

/* ── BUTTON HOVER STATES ─────────────────────── */
.btn-sec:hover { border-color: var(--blue-main); }
.btn-check:hover { background: var(--blue-dark); }

/* ── FEEDBACK BOXES ──────────────────────────── */
.fb { margin-top: 14px; padding: 12px 18px; border-radius: 10px; font-weight: 600; display: none; font-size: 0.93rem; }
.fb.ok  { background: #e8f5e9; color: #2e7d32; display: block; }
.fb.err { background: #ffebee; color: #c62828; display: block; }
.fb.inf { background: var(--blue-bg); color: var(--blue-dark); display: block; }

/* ── TESTIMONIALS ────────────────────────────── */
.testi-section {
  background: linear-gradient(160deg, #07173d 0%, var(--blue-dark) 100%);
  padding: 90px 5%;
  position: relative; overflow: hidden;
}
.testi-slider { overflow: hidden; width: 100%; }
.testi-track  { display: flex; transition: transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.testi-card   { flex-shrink: 0; box-sizing: border-box; padding: 0 12px; }
.testi-quote  { font-size: 2.8rem; color: var(--blue-main); line-height: 0.7; margin-bottom: 12px; font-family: Georgia, serif; }
.testi-stars  { color: #e8a000; font-size: 1rem; margin-bottom: 10px; letter-spacing: 3px; }

/* ── MOBILE (600px) ──────────────────────────── */
@media (max-width: 600px) {
  .testi-card { width: 100%; }
}
