/* =========================================================
   JHOLISA TEXTIL
   SERVICIOS
   ========================================================= */

.servicios-page {
  background: #ffffff;
  color: #151515;
}

/* =========================================================
   HEADER
   ========================================================= */

.servicios-header {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.servicios-header-imagen {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.servicios-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.08)
  );
}

.servicios-header-contenido {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.servicios-header-contenido .container {
  padding-top: 15px;
}

.servicios-header-etiqueta {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 15px;
  background: #f5c400;
  color: #111111;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.servicios-header h1 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
}

.servicios-header p {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

/* =========================================================
   ESPACIADO
   ========================================================= */

.servicios-intro {
  padding: 95px 0;
}

.servicios-listado {
  padding: 100px 0;
  background: #f7f7f5;
}

.servicios-cta {
  padding: 80px 0;
  background: #111111;
}

/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.servicios-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.servicios-intro-texto {
  max-width: 600px;
}

.servicios-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: #fff2bd;
  color: #bd9200;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.servicios-intro-texto h2 {
  margin: 20px 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
}

.servicios-intro-texto h2 span {
  color: #d4a600;
}

.servicios-intro-texto p {
  margin: 0 0 14px;
  color: #666666;
  font-size: 16px;
  line-height: 1.8;
}

.servicios-frase {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding: 18px 20px;
  background: #f7f7f7;
  border-left: 5px solid #f5c400;
  border-radius: 0 12px 12px 0;
}

.servicios-frase i {
  color: #d4a600;
  font-size: 25px;
}

.servicios-frase strong {
  font-size: 15px;
}

/* =========================================================
   ESTADÍSTICAS
   ========================================================= */

.servicios-intro-estadisticas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.servicio-stat-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.servicio-stat-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.11);
}

.servicio-stat-card:nth-child(1) {
  border-top: 4px solid #f5c400;
}

.servicio-stat-card:nth-child(2) {
  border-top: 4px solid #2879c8;
}

.servicio-stat-card:nth-child(3) {
  border-top: 4px solid #e17c25;
}

.servicio-stat-card:nth-child(4) {
  border-top: 4px solid #299b70;
}

.servicio-stat-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #fff1b8;
  color: #d2a400;
  font-size: 24px;
}

.servicio-stat-card:nth-child(2) .servicio-stat-icon {
  background: #e5f1ff;
  color: #2879c8;
}

.servicio-stat-card:nth-child(3) .servicio-stat-icon {
  background: #fff0df;
  color: #e17c25;
}

.servicio-stat-card:nth-child(4) .servicio-stat-icon {
  background: #e3f7ef;
  color: #299b70;
}

.servicio-stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
}

.servicio-stat-card span {
  color: #777777;
  font-size: 13px;
}

/* =========================================================
   TITULO SERVICIOS
   ========================================================= */

.servicios-titulo {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.servicios-titulo h2 {
  margin: 20px 0 12px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
}

.servicios-titulo h2 span {
  color: #d4a600;
}

.servicios-titulo p {
  margin: 0;
  color: #777777;
  font-size: 16px;
  line-height: 1.7;
}

/* =========================================================
   TARJETAS DE SERVICIOS
   ========================================================= */

.servicios-cards {
  margin-top: 0;
}

.servicio-card {
  position: relative;
  height: 100%;
  padding: 35px 30px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eeeeee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.servicio-card-destacado {
  border-top: 5px solid #f5c400;
}

.servicio-card-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #fff1b8;
  color: #d2a400;
  font-size: 32px;
}

.servicio-card:nth-child(2) .servicio-card-icon {
  background: #fff0df;
  color: #e17c25;
}

.servicio-card:nth-child(3) .servicio-card-icon {
  background: #e5f1ff;
  color: #2879c8;
}

.servicio-card-numero {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #bbbbbb;
  font-size: 13px;
  font-weight: 800;
}

.servicio-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  font-weight: 800;
}

.servicio-card > p {
  margin: 0 0 22px;
  color: #707070;
  font-size: 14px;
  line-height: 1.7;
}

.servicio-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.servicio-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #555555;
  font-size: 13px;
}

.servicio-card li i {
  color: #d2a400;
  font-size: 12px;
}

.servicio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
  color: #777777;
  font-size: 12px;
  font-weight: 700;
}

.servicio-card-footer i {
  color: #d2a400;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-card-footer i {
  transform: translateX(5px);
}

/* =========================================================
   CTA
   ========================================================= */

.servicios-cta-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.servicios-cta-contenido > div span {
  color: #f5c400;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.servicios-cta-contenido h2 {
  max-width: 650px;
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
}

.servicios-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 25px;
  background: #f5c400;
  color: #111111;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.servicios-cta-btn:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-3px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  .servicios-intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .servicios-intro-texto {
    max-width: 100%;
  }

  .servicios-cta-contenido {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .servicios-header,
  .servicios-header-imagen {
    height: 300px;
  }

  .servicios-header h1 {
    font-size: 35px;
  }

  .servicios-header p {
    font-size: 15px;
  }

  .servicios-intro,
  .servicios-listado,
  .servicios-cta {
    padding: 60px 0;
  }

  .servicios-intro-texto h2 {
    font-size: 32px;
  }

  .servicios-intro-estadisticas {
    grid-template-columns: 1fr;
  }

  .servicios-titulo h2 {
    font-size: 31px;
  }

  .servicios-cta-contenido h2 {
    font-size: 29px;
  }

  .servicios-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
