/* Homepage motion uses the existing TaaSPAK palette and layout. */
.home-sync {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 34%, #137c7c 0, #0d606a 31%, #0c2938 78%);
}
.home-sync::before { content: none; }
.home-sync::after { content: none; }
.home-sync-icon {
  position: absolute;
  top: 25px;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(58%, 230px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid #b9eeee66;
  border-radius: 50%;
  background: radial-gradient(circle, #1a7f7d88, #0d4e5b66 68%, #0c293866);
  box-shadow: 0 0 0 16px #b9eeee0d, 0 22px 55px #071b2466, inset 0 0 35px #b9eeee22;
}
.home-sync-icon svg { display: block; width: 88%; height: 88%; overflow: visible; }
.home-sync-rotor { transform-origin: 100px 100px; }
.home-sync-card {
  top: auto;
  bottom: 30px;
  left: 9%;
  right: 9%;
  padding: 20px 25px;
  gap: 3px;
  background: #fffef4f2;
}
.home-sync-card strong { font-size: clamp(20px, 2.3vw, 27px); }
.home-hero .home-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-stats .home-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #a8d1c5;
  border-radius: 10px;
  background: #ffffffb8;
  box-shadow: 0 12px 28px #0c4b4b10;
}
.home-stat strong {
  color: var(--teal);
  font: 800 clamp(22px, 2.3vw, 30px)/1.1 Manrope, Arial, sans-serif;
  letter-spacing: -.04em;
}
.home-hero .home-stat span {
  border: 0;
  padding: 0;
  color: #3f5b5d;
  font: 700 12px/1.35 Manrope, Arial, sans-serif;
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero-copy > .eyebrow,
  .home-hero-copy > h1,
  .home-hero-copy > .lead,
  .home-hero-copy > .actions,
  .home-hero-copy > .hero-proof {
    animation: home-enter .75s both cubic-bezier(.2,.7,.2,1);
  }
  .home-hero-copy > h1 { animation-delay: .09s; }
  .home-hero-copy > .lead { animation-delay: .18s; }
  .home-hero-copy > .actions { animation-delay: .27s; }
  .home-hero-copy > .hero-proof { animation-delay: .36s; }
  .home-sync { animation: home-art-enter 1s .18s both cubic-bezier(.2,.7,.2,1); }
  .home-sync-rotor { animation: home-sync-turn 9s linear infinite; }
  .home-sync-icon { animation: home-sync-breathe 5s ease-in-out infinite; }
  .home-sync-card { animation: home-float 6s 1.2s ease-in-out infinite; }
  .home-motion-ready .home-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .72s ease, transform .72s cubic-bezier(.2,.7,.2,1);
  }
  .home-motion-ready .home-reveal.is-visible { opacity: 1; transform: translateY(0); }
  .home-motion-ready .card-grid .service-card:nth-child(3n + 2) { transition-delay: .08s; }
  .home-motion-ready .card-grid .service-card:nth-child(3n + 3) { transition-delay: .16s; }
  .home-motion-ready .feature-list a { transition: padding-left .25s ease, color .25s ease; }
  .home-motion-ready .feature-list a:hover { padding-left: 10px; color: var(--lime); }
  .home-motion-ready .city-links a { transition: color .2s ease, transform .2s ease; }
  .home-motion-ready .city-links a:hover { color: var(--teal); transform: translateX(3px); }
}
@keyframes home-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-art-enter {
  from { opacity: 0; transform: translateY(24px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes home-sync-turn { to { transform: rotate(360deg); } }
@keyframes home-sync-breathe {
  0%, 100% { box-shadow: 0 0 0 16px #b9eeee0d, 0 22px 55px #071b2466, inset 0 0 35px #b9eeee22; }
  50% { box-shadow: 0 0 0 23px #b9eeee0a, 0 22px 55px #071b2466, inset 0 0 55px #97d70033; }
}
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 720px) {
  .home-hero .home-stats { grid-template-columns: 1fr; }
  .home-stats .home-stat { padding: 12px 15px; }
  .home-sync-icon { top: 12px; width: min(54%, 180px); }
  .home-sync-card { bottom: 18px; padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero *, .home-reveal { animation: none !important; transition: none !important; }
}

/* Home headline in TaaSPAK colors */
.home-hero-copy h1.home-brand-h1{color:#00529b}
.home-hero-copy h1.home-brand-h1 .brand-green{color:#97d700}

/* Home hero in Cybersecurity colors */
.hero.home-hero{background:radial-gradient(circle at 76% 48%,#226775 0,#0d4051 20%,transparent 48%),radial-gradient(circle at 16% 90%,#0d555c88 0,transparent 32%),linear-gradient(135deg,#071d2a,#0b3440 72%,#092734);color:#fff}
.home-hero .eyebrow{color:#97d700}
.home-hero-copy h1.home-brand-h1{color:#fff}
.home-hero-copy h1.home-brand-h1 .brand-green{color:#97d700}
.home-hero .lead{color:#c7d9da}
.home-hero .button{background:#97d700;color:#071e2c}
.home-hero .button:hover{background:#e3ffa7}
.home-hero .text-link{color:#fff}
.home-hero .text-link:hover{color:#97d700}
.home-hero .home-stat{background:#ffffff0d!important;border-color:#ffffff24!important;color:#fff}
.home-hero .home-stat strong,.home-hero .home-stat b{color:#97d700}
.home-hero .home-stat span{color:#c7d9da}
.home-hero .hero-grid>div:last-child>*:first-child{box-shadow:0 0 0 1px #ffffff22,0 30px 70px #0007}

.home-hero .home-sync-card{color:#112a39}
.home-hero .home-sync-card strong{color:#112a39}
