/* ==========================================================================
   Vertical: Software para Servicio Técnico de Celulares y Computadores (/reparacion-celulares)
   Clean Code: Estilos dedicados desacoplados de la vista
   Paleta: Tech Electric Cyan / Cyber Blue / Hardware Amber / Dark Titanium
   ========================================================================== */

/* ── Page Wrapper (Clearance para Navbar fijo) ── */
.product-page-wrapper.reparacion-celulares-page {
  position: relative;
  overflow-x: hidden;
  padding-top: 105px !important;
  padding-bottom: 60px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .product-page-wrapper.reparacion-celulares-page {
    padding-top: 85px !important;
  }
}

/* ── Badge & Hero Elements ── */
.badge-tech-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 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(14, 165, 233, 0.2);
}

.text-tech-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: #0ea5e9 !important;
}

.text-amber {
  color: #f59e0b !important;
}

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

.btn-tech-action {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 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(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.btn-tech-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45);
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
}

.btn-tech-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-tech-secondary:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8 !important;
}

/* ── Answer-First Box ── */
.answer-first-box {
  background: rgba(14, 165, 233, 0.07);
  border-left: 4px solid #0ea5e9;
  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: #38bdf8;
  font-weight: 700;
}

/* ── Feature Cards ── */
.card-tech-feature {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  padding: 26px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-tech-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.15);
  background: rgba(15, 23, 42, 0.9);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon-wrapper i {
  font-size: 26px;
  color: #38bdf8;
}

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

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

/* ── Interactive Order Simulator ── */
.tech-order-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.imei-input-box {
  background: #0b0f19;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px 16px;
  color: #38bdf8;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 0.95rem;
}

.device-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.photo-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-slot {
  background: #0b0f19;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.photo-slot.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.08);
}

.photo-slot i {
  font-size: 24px;
  color: #38bdf8;
  margin-bottom: 4px;
}

.photo-slot.active i {
  color: #10b981;
}

.photo-slot span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ── Tablero Kanban ── */
.kanban-board-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.kanban-col {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 12px;
  min-width: 190px;
}

.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kanban-col-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kanban-count {
  background: #1e293b;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.kanban-card {
  background: #0b0f19;
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kanban-card:hover, .kanban-card.selected {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.2);
}

.kanban-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.kanban-card-meta {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

.kanban-badge-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.status-recibido { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.status-diagnostico { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.status-repuesto { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.status-reparado { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.status-entregado { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }

/* ── WhatsApp Notification Simulator ── */
.whatsapp-preview-card {
  background: #0b141a;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b141a;
  font-weight: 700;
}

.wa-bubble {
  background: #005c4b;
  color: #e9edef;
  border-radius: 12px 12px 0 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.wa-bubble a {
  color: #53bdeb;
  text-decoration: underline;
  word-break: break-all;
}

.wa-timestamp {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  margin-top: 6px;
}

.wa-interactive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.wa-status-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-status-btn.active, .wa-status-btn:hover {
  background: #25d366;
  color: #0b141a;
  border-color: #25d366;
}

/* ── Parts & Labor Kardex ── */
.parts-kardex-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 18px;
  padding: 24px;
}

.parts-table th {
  color: #94a3b8;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 14px;
}

.parts-table td {
  color: #e2e8f0;
  font-size: 0.92rem;
  padding: 12px 14px;
  vertical-align: middle;
}

/* ── Cluster Ecosystem Link Cards ── */
.cluster-link-card {
  display: block;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cluster-link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.15);
}

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

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

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

/* ── FAQ Section ── */
.faq-section-tech {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.faq-tech-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-tech-card.open {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.95);
}

.faq-tech-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

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

.faq-tech-icon {
  color: #38bdf8;
  transition: transform 0.3s ease;
}

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

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

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

/* ── Responsive Rules ── */
@media (max-width: 991px) {
  .tech-hero-title {
    font-size: 2.2rem !important;
  }
  .kanban-board-container {
    grid-template-columns: repeat(5, 220px);
  }
  .photo-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-bento-card {
    padding: 20px;
  }
}

/* ── Hero Stats Bar ── */
.hero-stats-wrapper {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.stat-item-premium {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.stat-item-premium:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.stat-number-premium {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label-premium {
  display: block;
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.3;
}

/* ── Mac Window Frame ── */
.browser-mockup-wrapper {
  width: 100%;
  max-width: 1100px;
}

.mac-window-frame {
  background: #0b1120;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(14, 165, 233, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mac-window-frame:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(14, 165, 233, 0.2);
}

.mac-window-header {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-window-dots {
  display: flex;
  gap: 6px;
  margin-right: 14px;
}

.mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mac-dot-red { background: #ef4444; }
.mac-dot-yellow { background: #f59e0b; }
.mac-dot-green { background: #10b981; }

.mac-window-title {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mac-window-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Bento Showcase Cards ── */
.showcase-bento-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 2.5rem;
}

.showcase-bento-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 25px rgba(14, 165, 233, 0.12);
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.bento-tag i {
  font-size: 15px;
}

.bento-title {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.bento-desc {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.bento-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bento-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
}

.bento-feature-list li i {
  color: #10b981;
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}
