/* ==========================================================================
   Vertical: Software para Consultorios Odontológicos (/odontologia)
   Clean Code: Estilos desacoplados y específicos de la vista
   Paleta: Clinical Royal Blue / Electric Mint / Deep Slate
   ========================================================================== */

/* ── Badge & Hero ── */
.badge-odonto-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.text-odonto-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue-light {
  color: #60a5fa !important;
}

.odonto-hero-title {
  font-size: 2.85rem !important;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
}

.btn-odonto-action {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.btn-odonto-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.btn-odonto-secondary {
  background: rgba(15, 23, 42, 0.7);
  color: #e2e8f0 !important;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.btn-odonto-secondary:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(96, 165, 250, 0.5);
  color: #60a5fa !important;
}

/* ── Answer-First Box ── */
.answer-first-box {
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid #2563eb;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  margin-bottom: 2rem;
}

.answer-first-box strong {
  color: #60a5fa;
  font-weight: 700;
}

/* ── Feature Cards ── */
.card-odonto-feature {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card-odonto-feature:hover {
  border-color: rgba(96, 165, 250, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 20px;
}

.card-feature-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.card-feature-desc {
  font-size: 0.94rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Interactive Odontogram Card ── */
.odontogram-simulator-card {
  background: #0f172a;
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.odontogram-arch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tooth-item {
  width: 48px;
  height: 60px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.tooth-item:hover,
.tooth-item.active {
  border-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tooth-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
}

.tooth-icon {
  font-size: 22px;
  color: #e2e8f0;
}

.tooth-item.caries .tooth-icon {
  color: #ef4444;
}

.tooth-item.restoration .tooth-icon {
  color: #3b82f6;
}

.tooth-item.endodontics .tooth-icon {
  color: #10b981;
}

.tooth-item.missing .tooth-icon {
  color: #64748b;
  opacity: 0.4;
}

/* ── Treatment Budget Card ── */
.treatment-plan-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}

.treatment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 8px;
}

/* ── Interlinking Clúster Salud & Mascotas ── */
.cluster-link-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.cluster-link-card:hover {
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
}

.cluster-link-card i {
  font-size: 32px;
  color: #60a5fa;
  margin-bottom: 12px;
}

.cluster-link-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.cluster-link-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ── FAQ Accordion ── */
.faq-section-odonto {
  margin-top: 5rem;
}

.faq-odonto-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-odonto-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
}

.faq-odonto-header {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-odonto-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
}

.faq-odonto-icon {
  color: #60a5fa;
  transition: transform 0.3s ease;
}

.faq-odonto-body {
  padding: 0 22px 20px 22px;
  display: none;
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.68;
}

.faq-odonto-card.open .faq-odonto-body {
  display: block;
}

.faq-odonto-card.open .faq-odonto-icon {
  transform: rotate(180deg);
}

/* ── CTA Final ── */
.odonto-cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  margin-top: 5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .product-page-wrapper.odonto-page {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }
  .odonto-hero-title {
    font-size: 2.1rem !important;
  }
  .btn-odonto-action,
  .btn-odonto-secondary {
    width: 100%;
    padding: 14px 24px;
    justify-content: center;
  }
  .tooth-item {
    width: 38px;
    height: 52px;
  }
}
