/* SERVISO — Homepage hero and the stats strip. */
/* ============================================================
   HERO
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-30px) rotate(5deg); }
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50px); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-15px); }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-gradient);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: #1e88e5;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .22;
  top: -200px; right: -200px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: #0d47a1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .28;
  bottom: -100px; left: -100px;
  animation: float 20s ease-in-out infinite;
  animation-delay: 5s;
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  letter-spacing: .02em;
}
.hero-badge svg { width: 16px; height: 16px; opacity: .8; }
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span {
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero-buttons .btn.btn-primary, .hero-buttons .btn--primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.hero-buttons .btn.btn-primary:hover, .hero-buttons .btn--primary:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  color: var(--primary-dark);
}
.hero-buttons .btn.btn-secondary, .hero-buttons .btn--secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: white;
}
.hero-buttons .btn.btn-secondary:hover, .hero-buttons .btn--secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: white;
  color: white;
}

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: .375rem;
}
.hero-stat-label {
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
}

/* ============================================================
   STATS SECTION (standalone, when outside hero)
   ============================================================ */
.stats-section { padding: 4rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all .3s var(--ease-smooth);
}
.stat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label { color: var(--gray-600); font-size: .9375rem; font-weight: 500; }

/* ── Responsive ─────────────────────────────────────────────── */
/* Kept beside the component these rules modify, instead of in a single
 * block at the bottom of the stylesheet, separated from everything they
 * apply to. */

@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-subtitle { font-size: 1.0625rem; }
  .hero-buttons { gap: .75rem; margin-bottom: 2.5rem; }
  .hero-buttons .btn { padding: .75rem 1.5rem; font-size: .9375rem; }
  .hero-stats { gap: 1rem; padding-top: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card { padding: 1.5rem 1rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: clamp(1.875rem, 9vw, 2.5rem); }
  .hero-stats { gap: .5rem; }
  .hero-stat-label { font-size: .75rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
