/* ============================================
   SERVICIO-ORDENADORES.CSS
   Estilos específicos para páginas de detalle de servicios
   OscaChip Informática
   ============================================ */

/* ============================================
   HERO DEL SERVICIO
   ============================================ */

.hero-service-pc {
  background: linear-gradient(135deg,
      #020617 0%,
      #0B2F36 40%,
      #0F3A42 70%,
      #134E4A 100%);
  border-radius: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(11, 47, 54, 0.3),
    0 0 0 1px rgba(45, 212, 191, 0.1) inset;
}

.hero-service-pc::before {
  content: '💻';
  position: absolute;
  top: -50px;
  right: -50px;
  font-size: 250px;
  opacity: 0.03;
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero-service-pc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      transparent 0%,
      #2DD4BF 20%,
      #5EEAD4 50%,
      #2DD4BF 80%,
      transparent 100%);
}

.hero-service-pc-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
}

.hero-service-pc h1 {
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-service-pc .lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-service-pc ul {
  list-style: none;
  padding-left: 0;
}

.hero-service-pc ul li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.hero-service-pc ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5EEAD4;
  font-weight: 900;
  font-size: 1.25rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85);
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.75);
  /* WCAG AA */
}

/* ============================================
   TARJETA DE TARIFAS
   ============================================ */

.service-tariff-card {
  background: linear-gradient(135deg,
      #FFFFFF 0%,
      #F0FDFA 100%);
  border: 2px solid #2DD4BF;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow:
    0 10px 30px rgba(45, 212, 191, 0.15),
    0 0 0 1px rgba(45, 212, 191, 0.05) inset;
  position: relative;
  overflow: hidden;
}

.service-tariff-card::before {
  content: '💰';
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 150px;
  opacity: 0.04;
  transform: rotate(-20deg);
  pointer-events: none;
}

.service-tariff-card h2,
.service-tariff-card h3 {
  color: #0B2F36;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-tariff-card h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2DD4BF, #14B8A6);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.service-price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0B2F36;
  display: block;
}

.service-tariff-card ul {
  position: relative;
  z-index: 1;
}

.service-tariff-card ul li {
  padding: 0.5rem 0;
  line-height: 1.7;
}

.service-tariff-card ul li::marker {
  color: #2DD4BF;
  font-weight: 900;
}

/* ============================================
   HIGHLIGHTS DE SERVICIO
   ============================================ */

.service-highlight {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(240, 253, 250, 0.9) 100%);
  border: 2px solid rgba(45, 212, 191, 0.3);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-highlight:hover {
  border-color: #2DD4BF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 212, 191, 0.2);
}

.service-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-tag {
  display: inline-block;
  background: linear-gradient(135deg, #2DD4BF, #14B8A6);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
}

.service-highlight h3 {
  color: #0B2F36;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.service-highlight ul {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.service-highlight ul li {
  padding: 0.4rem 0;
  line-height: 1.7;
}

.service-highlight ul li::marker {
  color: #2DD4BF;
  font-weight: 900;
}

/* ============================================
   CÓMO TRABAJAMOS
   ============================================ */

.service-how {
  background: linear-gradient(135deg,
      #0B2F36 0%,
      #0F3A42 50%,
      #134E4A 100%);
  border-radius: 1.5rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 47, 54, 0.3);
}

.service-how::before {
  content: '⚙️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 300px;
  opacity: 0.02;
  pointer-events: none;
}

.service-how-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
}

.service-how-steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.service-how-steps li {
  counter-increment: step-counter;
  padding: 1rem 0;
  padding-left: 3.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  border-left: 2px solid rgba(94, 234, 212, 0.3);
  margin-left: 1.5rem;
}

.service-how-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: -1.75rem;
  top: 0.75rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #2DD4BF, #14B8A6);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow:
    0 4px 12px rgba(45, 212, 191, 0.4),
    0 0 0 3px #0B2F36;
}

.service-how-steps li:last-child {
  border-left-color: transparent;
}

.service-how-steps strong {
  color: #5EEAD4;
  font-weight: 700;
}

.service-how-img {
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(94, 234, 212, 0.3);
}

/* ============================================
   PREGUNTAS FRECUENTES (ACORDEÓN)
   ============================================ */

.accordion-item {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 0.75rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:hover {
  border-color: #2DD4BF;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.1);
}

.accordion-button {
  background: linear-gradient(135deg,
      #F8FAFC 0%,
      #F0FDFA 100%);
  color: #0B2F36;
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #2DD4BF, #14B8A6);
  color: #FFFFFF;
  box-shadow: none;
}

.accordion-button:focus {
  border-color: #2DD4BF;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

.accordion-button::after {
  filter: brightness(0) saturate(100%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  line-height: 1.8;
  color: #374151;
  background: #FFFFFF;
}

/* ============================================
   CONSEJOS DE PICHY
   ============================================ */

.pichy-tips-section {
  background: linear-gradient(135deg,
      #0B2F36 0%,
      #0F3A42 50%,
      #134E4A 100%);
  border-radius: 1.5rem;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 47, 54, 0.3);
}

.pichy-tips-section::before {
  content: '💡';
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 200px;
  opacity: 0.03;
  transform: rotate(-15deg);
  pointer-events: none;
}

.pichy-tips-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      transparent 0%,
      #2DD4BF 20%,
      #5EEAD4 50%,
      #2DD4BF 80%,
      transparent 100%);
}

.pichy-tips-inner {
  position: relative;
  z-index: 2;
  padding: 3rem 2.5rem;
}

.pichy-tips-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(94, 234, 212, 0.3);
}

.pichy-tips-avatar {
  width: auto;
  height: 120px;
  max-width: 120px;
  border-radius: 1rem;
  border: none;
  background: transparent;
  padding: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
  flex-shrink: 0;
  object-fit: contain;
  /* Integra mejor las transparencias (evita el “recorte pegado”) */
  filter:
    drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 18px rgba(94, 234, 212, 0.22));
  will-change: transform;
}

.pichy-tips-section:hover .pichy-tips-avatar {
  transform: translateY(-2px) scale(1.05) rotate(3deg);
  filter:
    drop-shadow(0 22px 36px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 22px rgba(94, 234, 212, 0.26));
}


.pichy-tips-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2DD4BF, #14B8A6);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
  margin-bottom: 0.5rem;
}

.pichy-tips-label::before {
  content: '🤖';
  font-size: 1rem;
}

.pichy-tips-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pichy-tips-intro {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.pichy-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pichy-tip-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(240, 253, 250, 0.95) 100%);
  border: 2px solid rgba(45, 212, 191, 0.3);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.pichy-tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pichy-tip-card:hover {
  background: #FFFFFF;
  border-color: #2DD4BF;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(45, 212, 191, 0.3);
}

.pichy-tip-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.pichy-tip-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0B2F36;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.pichy-tip-description {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

.pichy-tips-footer {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(94, 234, 212, 0.15) 100%);
  border: 2px solid rgba(94, 234, 212, 0.4);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

.pichy-tips-footer::before {
  content: '💬';
  font-size: 2.5rem;
  flex-shrink: 0;
}

.pichy-tips-footer-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.pichy-tips-footer strong {
  color: #5EEAD4;
  font-weight: 700;
}

/* ============================================
   TARJETAS DE CARACTERÍSTICAS DE SERVICIO
   ============================================ */

.service-feature-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
  border: 2px solid rgba(45, 212, 191, 0.2);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-feature-card:hover {
  border-color: #2DD4BF;
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(45, 212, 191, 0.18);
}

.service-feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.3);
}

.service-feature-icon svg {
  stroke: #FFFFFF;
}

.service-feature-card h3 {
  color: #0B2F36;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-feature-card p {
  color: #374151;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================
   TARJETAS DE TIPOS DE WEB
   ============================================ */

.service-type-card {
  border: 2px solid rgba(45, 212, 191, 0.2);
  border-radius: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-type-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.service-type-card:hover {
  border-color: #2DD4BF;
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(45, 212, 191, 0.15);
}

.service-type-card:hover::before {
  transform: scale(1.3);
}

.service-type-card .card-body {
  position: relative;
  z-index: 1;
}

.service-type-card .badge {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-type-card .card-title {
  color: #0B2F36;
  font-weight: 700;
}

.service-type-card ul {
  padding-left: 1.25rem;
}

.service-type-card ul li {
  padding: 0.3rem 0;
  color: #374151;
}

.service-type-card ul li::marker {
  color: #2DD4BF;
  font-weight: 700;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */

.cta-final-section {
  background: linear-gradient(135deg,
      #0B2F36 0%,
      #0F3A42 50%,
      #134E4A 100%);
  border-radius: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 47, 54, 0.3);
}

.cta-final-section::before {
  content: '🚀';
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-size: 180px;
  opacity: 0.04;
  pointer-events: none;
}

.cta-final-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      transparent 0%,
      #2DD4BF 20%,
      #5EEAD4 50%,
      #2DD4BF 80%,
      transparent 100%);
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem;
}

.cta-final-section h2 {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-final-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-final-section .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-final-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #5EEAD4;
  color: #5EEAD4;
}

/* Responsive CTA */
@media (max-width: 576px) {
  .cta-final-inner {
    padding: 2rem 1.25rem;
  }

  .cta-final-section::before {
    font-size: 120px;
    left: -10%;
  }
}

/* ============================================
   TARJETAS GENERALES
   ============================================ */

.card {
  border: 1px solid #E2E8F0;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  background: #FFFFFF;
}

.card:hover {
  border-color: #2DD4BF;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 212, 191, 0.15);
}

.card-title {
  color: #0B2F36;
  font-weight: 700;
}

.card-text {
  color: #374151;
  line-height: 1.7;
}

/* ============================================
   BOTONES
   ============================================ */

.btn-cta {
  background: linear-gradient(135deg, #2DD4BF, #14B8A6);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.3);
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #5EEAD4;
  color: #5EEAD4;
  transform: translateY(-2px);
}

.hero-service-pc .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-service-pc .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #5EEAD4;
  color: #5EEAD4;
}

/* Botones pequeños en service-highlight */
.service-highlight .btn-outline-light {
  border-color: #2DD4BF;
  color: #0B2F36;
  background: transparent;
}

.service-highlight .btn-outline-light:hover {
  background: #2DD4BF;
  border-color: #2DD4BF;
  color: #FFFFFF;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .hero-service-pc-inner {
    padding: 3rem 1.5rem;
  }

  .service-tariff-card {
    padding: 2rem 1.5rem;
  }

  .service-how-inner {
    padding: 2rem 1.5rem;
  }

  .service-how-steps li {
    padding-left: 3rem;
    margin-left: 1rem;
  }

  .service-how-steps li::before {
    left: -1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .pichy-tips-inner {
    padding: 2.5rem 2rem;
  }

  .pichy-tips-header {
    flex-direction: column;
    text-align: center;
  }

  .pichy-tips-avatar {
    width: 70px;
    height: 70px;
  }

  .pichy-tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {

  .hero-service-pc,
  .service-tariff-card,
  .service-how {
    border-radius: 1rem;
  }

  .hero-service-pc-inner {
    padding: 2rem 1rem;
  }

  .hero-service-pc h1 {
    font-size: 1.75rem;
  }

  .service-tariff-card {
    padding: 1.5rem 1rem;
  }

  .service-price-amount {
    font-size: 1.25rem;
  }

  .service-highlight {
    padding: 1.5rem;
  }

  .service-how-inner {
    padding: 2rem 1rem;
  }

  .service-how-steps {
    margin-left: 0;
  }

  .service-how-steps li {
    padding-left: 2.5rem;
    margin-left: 0.5rem;
    font-size: 0.95rem;
  }

  .service-how-steps li::before {
    left: -1.25rem;
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .d-flex.flex-wrap.gap-2 {
    flex-direction: column !important;
  }

  .d-flex.flex-wrap.gap-2>a {
    width: 100% !important;
  }

  .pichy-tips-section {
    border-radius: 1rem;
  }

  .pichy-tips-inner {
    padding: 2rem 1.25rem;
  }

  .pichy-tips-avatar {
    height: 100px;
    max-width: 100px;
  }

  .pichy-tips-title {
    font-size: 1.4rem;
  }

  .pichy-tips-intro {
    font-size: 1rem;
  }

  .pichy-tip-card {
    padding: 1.5rem;
  }

  .pichy-tips-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .pichy-tips-footer::before {
    font-size: 2rem;
  }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-service-pc,
.service-tariff-card,
.service-how {
  animation: fadeInUp 0.6s ease-out;
}

.card {
  animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

/* ============================================
   HERO CON PICHY - OPCIÓN A
   ============================================ */

.hero-service-pc.hero-with-pichy {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/*
  Wrapper recomendado para que Pichy se integre mejor en el hero.
  (en los servicios mandos/red/impresoras se envuelve la imagen con este div)
*/
.pichy-hero-figure {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  max-width: 42vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  margin-right: 0.5rem;
  isolation: isolate;
}

.pichy-hero-figure::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(94, 234, 212, 0.28) 0%, rgba(94, 234, 212, 0) 60%),
    radial-gradient(circle at 70% 75%, rgba(45, 212, 191, 0.18) 0%, rgba(45, 212, 191, 0) 55%);
  filter: blur(14px);
  z-index: -2;
}

.pichy-hero-figure::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}

.hero-service-pc.hero-with-pichy .hero-service-pc-inner {
  flex: 1;
  padding-right: 0;
}

.hero-pichy-image {
  flex-shrink: 0;
  width: 280px;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 16px 34px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 18px rgba(94, 234, 212, 0.18));
  animation: pichyFloat 5.5s ease-in-out infinite;
}

@keyframes pichyFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}


/* Variantes de hero por servicio */
.hero-service-mandos::before {
  content: '🎮';
}

.hero-service-impresoras::before {
  content: '🖨️';
}

.hero-service-red::before {
  content: '📶';
}

/* ============================================
   TARJETA DE TARIFAS CON PICHY
   ============================================ */

.service-tariff-card.tariff-with-pichy {
  position: relative;
}

.service-tariff-card.tariff-with-pichy::before {
  content: none;
}

.tariff-pichy-container {
  position: absolute;
  top: -34px;
  right: 16px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  border-radius: 999px;
  isolation: isolate;
}

.tariff-pichy-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.95), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(45, 212, 191, 0.28);
  box-shadow: 0 12px 30px rgba(11, 47, 54, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: -1;
}


.tariff-pichy-img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  animation: pichyBounce 2s ease-in-out infinite;
}

@keyframes pichyBounce {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.05) rotate(3deg);
  }
}

/* ============================================
   SECCIÓN FAQs CON PICHY
   ============================================ */

.faq-section-with-pichy {
  position: relative;
}

.faq-pichy-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 100%);
  border-radius: 1rem;
  border: 2px solid rgba(45, 212, 191, 0.3);
}

.faq-pichy-img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.faq-pichy-text {
  color: #0B2F36;
}

.faq-pichy-text h2 {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-pichy-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #6B7280;
}

/* ============================================
   SECCIÓN CÓMO TRABAJAMOS CON PICHY
   ============================================ */

.service-how.how-with-pichy {
  display: flex;
  align-items: stretch;
}

.service-how.how-with-pichy .service-how-inner {
  flex: 1;
}

.how-pichy-side {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(45, 212, 191, 0.1);
  border-left: 3px solid rgba(45, 212, 191, 0.3);
}

.how-pichy-img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* ============================================
   SECCIÓN DE GARANTÍA CON PICHY
   ============================================ */

.guarantee-section {
  background: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 100%);
  border: 2px solid rgba(45, 212, 191, 0.3);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.guarantee-pichy-img {
  width: 140px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(45, 212, 191, 0.3));
}

.guarantee-content h2 {
  color: #0B2F36;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.guarantee-content p {
  color: #374151;
  margin-bottom: 0.5rem;
}

.guarantee-content ul {
  margin: 0;
  padding-left: 1.25rem;
}

.guarantee-content ul li {
  color: #374151;
  padding: 0.25rem 0;
}

.guarantee-content ul li::marker {
  color: #2DD4BF;
}

/* ============================================
   RESPONSIVE PARA PICHY
   ============================================ */

@media (max-width: 991px) {
  .hero-service-pc.hero-with-pichy {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-pichy-image {
    width: 200px;
    margin: 0 auto 1rem;
  }

  .hero-service-pc.hero-with-pichy .hero-service-pc-inner {
    padding: 2rem 1.5rem;
  }

  .hero-service-pc.hero-with-pichy ul {
    text-align: left;
    display: inline-block;
  }

  .tariff-pichy-container {
    position: relative;
    top: 0;
    right: 0;
    text-align: center;
    margin-bottom: 1rem;
  }

  .tariff-pichy-img {
    width: 100px;
  }

  .service-how.how-with-pichy {
    flex-direction: column;
  }

  .how-pichy-side {
    width: 100%;
    padding: 1.5rem;
    border-left: none;
    border-top: 3px solid rgba(45, 212, 191, 0.3);
  }

  .how-pichy-img {
    width: 120px;
  }

  .guarantee-section {
    flex-direction: column;
    text-align: center;
  }

  .guarantee-pichy-img {
    width: 120px;
  }
}

@media (max-width: 576px) {
  .hero-pichy-image {
    width: 160px;
  }

  .faq-pichy-container {
    flex-direction: column;
    text-align: center;
  }

  .faq-pichy-img {
    width: 70px;
  }

  .tariff-pichy-img {
    width: 80px;
  }

  .how-pichy-img {
    width: 100px;
  }

  .guarantee-pichy-img {
    width: 100px;
  }
}

/* ============================================
   MEJORA DE INTEGRACIÓN DE ILUSTRACIONES (PICHY)
   ============================================ */

/* Nota: estas reglas brillan de verdad si las ilustraciones tienen fondo transparente */

.hero-pichy-image,
.tariff-pichy-img,
.how-pichy-img,
.guarantee-pichy-img,
.faq-pichy-img {
  display: block;
  /* el “shadow” se define por clase para que no se pisen entre sí */
}


/* Halo suave (hace que parezca integrado en vez de “pegado”) */
.tariff-pichy-container,
.how-pichy-side,
.faq-pichy-container {
  position: relative;
  isolation: isolate;
}

.tariff-pichy-container::before,
.how-pichy-side::before,
.faq-pichy-container::before {
  content: '';
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle at 40% 35%, rgba(94, 234, 212, 0.28), rgba(94, 234, 212, 0) 65%);
  filter: blur(12px);
  z-index: -1;
}

/* En la garantía, un “blob” discreto a la izquierda detrás del personaje */
.guarantee-section {
  position: relative;
  overflow: hidden;
}

.guarantee-section::before {
  content: '';
  position: absolute;
  left: -120px;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translateY(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.20), rgba(45, 212, 191, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}

.guarantee-pichy-img,
.guarantee-content {
  position: relative;
  z-index: 1;
}