/* Wiako — light visual polish layered over style.css
   Non-destructive: only adds or nudges. */

:root{
  --wk-ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* Focus ring — accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #4f7cff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Subtle header shadow when scrolled */
.header { transition: box-shadow .25s var(--wk-ease), backdrop-filter .25s var(--wk-ease); }
.header.scrolled {
  box-shadow: 0 8px 30px rgba(5, 10, 25, .08);
  backdrop-filter: saturate(140%) blur(8px);
}

/* CTA button micro-interactions */
.btn-primary, .cta, .btn.btn-primary {
  transition: transform .18s var(--wk-ease), box-shadow .25s var(--wk-ease), background .25s var(--wk-ease);
}
.btn-primary:hover, .cta:hover, .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 61, 167, .22);
}

/* Cards hover lift */
.card, .audit-item {
  transition: transform .3s var(--wk-ease), box-shadow .3s var(--wk-ease), border-color .3s var(--wk-ease);
}
.card:hover, .audit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 20, 60, .10);
}

/* Reveal on scroll */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--wk-ease), transform .7s var(--wk-ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Trust strip (logos / figures) */
.trust-strip{
  padding: 44px 20px;
  background: #f7f8fc;
  border-top: 1px solid rgba(12,18,40,.05);
  border-bottom: 1px solid rgba(12,18,40,.05);
}
.trust-strip .container{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-strip .stat{ padding: 8px 4px; }
.trust-strip .stat-num{
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  color: #0c1228;
  letter-spacing: -0.01em;
  line-height: 1;
}
.trust-strip .stat-label{
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #4a5370;
}
@media (max-width: 720px){
  .trust-strip .container{ grid-template-columns: repeat(2, 1fr); }
}

/* Testimonials */
.testimonials{ padding: 80px 20px; }
.testimonials .container{ max-width: 1200px; margin: 0 auto; }
.testimonials h2{
  text-align: center;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 12px;
  color: #0c1228;
}
.testimonials .subtitle{
  text-align: center;
  color: #4a5370;
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.6;
}
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial{
  background: #fff;
  border: 1px solid rgba(12,18,40,.08);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 10px 30px rgba(12,18,40,.05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial .quote{
  color: #1a2244;
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  position: relative;
}
.testimonial .quote::before{
  content: "“";
  font-size: 48px;
  line-height: 0;
  color: #4f7cff;
  vertical-align: -18px;
  margin-right: 6px;
  font-family: Georgia, serif;
}
.testimonial .author{
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(12,18,40,.06);
  padding-top: 16px;
}
.testimonial .avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f7cff, #7aa2ff);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 15px;
}
.testimonial .meta strong{ color: #0c1228; display: block; font-size: 14.5px; }
.testimonial .meta span{ color: #6b7390; font-size: 13px; }
@media (max-width: 900px){ .testimonials-grid{ grid-template-columns: 1fr; } }

/* "Why trust us" certifs line */
.certs-line{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  padding: 24px 20px 8px;
  max-width: 900px;
  margin: 0 auto;
}
.certs-line .pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid rgba(12,18,40,.1);
  border-radius: 999px;
  font-size: 13px;
  color: #1a2244;
  font-weight: 500;
}
.certs-line .pill::before{
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

/* 404 page */
.page-404{
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
}
.page-404 .code{
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0c1228, #4f7cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin: 0;
}
.page-404 h1{
  margin: 16px 0 8px;
  font-size: 28px;
  color: #0c1228;
}
.page-404 p{ color: #4a5370; max-width: 520px; margin: 0 auto 24px; }
