/* ============================================
   EROS MARINELLI — Design System v3.0 (Light)
   ============================================ */

:root {
  --teal: #1d4ed8;
  --teal-light: #3b82f6;
  --teal-dark: #1e3a8a;
  --teal-50: #eff6ff;
  --teal-100: #dbeafe;
  --teal-200: #bfdbfe;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--slate-800);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--teal-dark);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.55);
  }
}

@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* ── Typography ── */
.nav-link {
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--teal);
}

.nav-cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: white;
  padding: 9px 22px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(29, 78, 216, 0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

/* ── HERO ── */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 40%, #dbeafe 70%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.07) 0%, transparent 65%);
  top: -200px;
  right: -150px;
  pointer-events: none;
  animation: floatUp 10s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 65%);
  bottom: -100px;
  left: -80px;
  pointer-events: none;
  animation: floatUp 12s ease-in-out infinite reverse;
}

/* Hero glass card overlay */
.hero-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(29, 78, 216, 0.2);
  color: var(--teal-dark);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(29, 78, 216, 0.1);
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-light));
  color: white;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.35);
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29, 78, 216, 0.5);
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(29, 78, 216, 0.3);
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
  border-color: var(--teal);
  background: rgba(240, 253, 250, 0.9);
}

/* Floating rating card */
.rating-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── STATS ── */
.stats-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ── SECTION LABELS ── */
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
  color: var(--teal-dark);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── STEPS ── */
.step-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  margin: 0 auto 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.2);
}

/* ── SERVICE CARDS (Glass) ── */
.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(29, 78, 216, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgba(29, 78, 216, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  margin-bottom: 18px;
}

/* ── OSTEO SECTION ── */
.osteo-section {
  background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 50%, #ecfdf5 100%);
}

.osteo-glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(29, 78, 216, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.osteo-glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(29, 78, 216, 0.14);
}

.osteo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 253, 250, 0.9);
  border: 1px solid var(--teal-200);
  color: var(--teal-dark);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ── TEAM SECTION ── */

/* Eros — featured vertical card */
.team-card-featured {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 20;
  transform: scale(1.1);
  /* Make it slightly larger */
  display: flex;
  flex-direction: column;
}

.team-card-featured:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Regular member cards */
.team-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Vertical Card Photo */
.team-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: var(--slate-100);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.team-card:hover .team-photo-wrap img,
.team-card-featured:hover .team-photo-wrap img {
  transform: scale(1.05);
}

/* Card Info Typography */
.team-info {
  padding: 24px 16px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-name {
  font-weight: 800;
  color: var(--slate-900);
  font-size: 1.35rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.team-role {
  color: var(--slate-800);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.team-credentials {
  color: var(--slate-500);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid .order-center {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .order-center {
    grid-column: 1;
    grid-row: 1;
    transform: scale(1);
  }

  .team-card-featured {
    transform: scale(1);
  }

  .team-card-featured:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-kine {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-osteo {
  background: rgba(29, 78, 216, 0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.badge-nutri {
  background: rgba(245, 158, 11, 0.1);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── CHECK ITEMS ── */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-200));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CONTACT GLASS ── */
.contact-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse-glow 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  background: #20c45a;
}

/* ── FOOTER (light) ── */
/* footer is styled inline in HTML (bg-slate-50) */


/* ── Counter ── */
.counter {
  display: inline-block;
}

/* Hide scrollbar for carousel */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}