/* ===== ESTILOS GENERALES ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f1f3f5;
}

/* ===== HEADER ===== */
.header {
  position: relative;
  background-image: url("../IMG/fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.header * {
  position: relative;
  z-index: 2;
}

.header img {
  width: 420px;      /* tamaño real del logo */
  max-width: 95%;
  height: auto;
  margin-bottom: 25px;
}

.header p {
  max-width: 800px;
  margin: 10px auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* ===== SERVICIOS ===== */
.servicios {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* ===== CARD ===== */
.card {
  position: relative;
  height: 160px;
  border-radius: 12px;
  flex: 1 1 220px;
  max-width: 300px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* IMAGEN */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* OVERLAY OSCURO */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* TEXTO (FIX CRÍTICO) */
.card-text {
  position: relative;
  z-index: 2; /* 🔧 AHORA SE VE */
  padding: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
}

/* HOVER */
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* IMÁGENES POR SERVICIO */
.card.mantenimiento::before {
  background-image: url("../IMG/mant.png");
}

.card.reemplazo::before {
  background-image: url("../IMG/reemp.png");
}

.card.software::before {
  background-image: url("../IMG/soft.png");
}

.card.formateo::before {
  background-image: url("../IMG/format.png");
}

/* ===== DETALLE DE SERVICIO ===== */
.detalle-servicio {
  padding: 40px 20px;
  background-color: #f5f5f5;
  max-width: 900px;
  margin: auto;
}

.detalle-servicio img {
  max-width: 100%;
  width: 600px;           /* 🔧 evita imagen gigante */
  display: block;
  margin: 30px auto;
  border-radius: 10px;
}

.detalle-servicio p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== BOTÓN VOLVER ===== */
.volver {
  display: block;
  margin: 30px auto 0;
  background-color: #0a3cff;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  width: fit-content;
}

/* ===== CONTACTO ===== */
.contacto {
  background: #343a40;
  color: white;
  text-align: center;
  padding: 30px;
}

.link-facebook {
  color: #ffffff;
  text-decoration: none;
}

.link-facebook:visited,
.link-facebook:hover,
.link-facebook:active {
  color: #ffffff;
  text-decoration: none;
}

/* ===== FOOTER ===== */
footer {
  background: #212529;
  color: #ccc;
  text-align: center;
  padding: 10px;
}

/* ===== WHATSAPP ===== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  z-index: 9999;
}

/* Icono WhatsApp verde (solo el icono en contacto) */
.contacto .fa-whatsapp {
  color: #25D366; /* verde WhatsApp oficial */
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .servicios {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 360px;
    height: 150px;
  }

  .header img {
    max-width: 300px; /* Logo Celular */
  }
}

/* ===== TITULO SERVICIOS PRO ===== */
.titulo-servicios {
  width: 100%;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 50px;
  position: relative;
}

.titulo-servicios::after {
  content: "";
  display: block;
  width: 140px;
  height: 5px;
  background: linear-gradient(90deg, #25D366, #0a3cff);
  margin: 16px auto 0;
  border-radius: 20px;
}

/* CONTENEDOR DE CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* ============================= */
/* DETALLE DE SERVICIOS (PAGINAS INTERNAS) */
/* ============================= */

.detalle-servicio {
  max-width: 900px;
  margin: 60px auto;
  padding: 50px 30px;
  background-color: #f1f3f5; /* gris limpio, profesional */
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.10);
  text-align: center;
}

/* TITULO PRINCIPAL */
.detalle-servicio h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0a1f44; /* azul oscuro corporativo */
  margin-bottom: 25px;
  position: relative;
}

/* LINEA DECORATIVA DEL TITULO */
.detalle-servicio h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background-color: #1f3c88; /* azul Soluciones Segura */
  margin: 16px auto 0;
  border-radius: 10px;
}

/* TEXTO */
.detalle-servicio p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2e2e2e;
  max-width: 750px;
  margin: 0 auto 35px;
}

/* IMAGEN */
.detalle-servicio img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  margin-bottom: 35px;
}

/* BOTON VOLVER */
.detalle-servicio .volver {
  display: inline-block;
  background-color: #0a1f44; /* azul oscuro */
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.detalle-servicio .volver:hover {
  background-color: #1f3c88;
  transform: translateY(-2px);
}

/* ===== ICONOS SERVICIOS ===== */
.icono-servicio {
  font-size: 5.5rem;   /* 🔥 tamaño del icono */
  color: #1f3c88;      /* azul Soluciones Segura */
  margin-bottom: 20px;
  display: block;
}

/* Ajuste móvil */
@media (max-width: 768px) {
  .icono-servicio {
    font-size: 4.5rem;
  }
}

/* ===== ANIMACIÓN ICONOS SERVICIOS ===== */
.icono-servicio {
  animation: aparecerIcono 0.9s ease-out forwards,
             pulsoSuave 3.5s ease-in-out infinite;
}

/* Aparece suavemente */
@keyframes aparecerIcono {
  0% {
    opacity: 0;
    transform: translateY(-15px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pulso muy sutil */
@keyframes pulsoSuave {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Hover elegante */
.icono-servicio:hover {
  transform: scale(1.12);
  transition: transform 0.25s ease;
}

 /* ===== CONTACTO MEJORADO ===== */
.contacto h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.contacto-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-size: 1.15rem;
  font-weight: 600;
  margin: 12px 0;

  color: #ffffff;
  text-decoration: none;
}

.contacto-item i {
  font-size: 1.6rem;
  color: #25D366; /* WhatsApp por defecto */
}

/* Facebook azul */
.link-facebook i {
  color: #1877f2;
}

/* Hover sutil profesional */
.contacto-item:hover {
  opacity: 0.85;
}

/* 📱 MÓVIL */
@media (max-width: 768px) {
  .contacto h2 {
    font-size: 1.7rem;
  }

  .contacto-item {
    font-size: 1.05rem;
  }

  .contacto-item i {
    font-size: 1.4rem;
  }
}
 
/* ===== SEPARADOR CONTACTO (DEGRADADO PRO) ===== */
.separador-contacto {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #25D366, #1877f2);
  margin: 18px auto;
  border-radius: 20px;
}

/* ===== ITEMS CONTACTO ===== */
.contacto-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0;
}

.contacto-item i {
  font-size: 1.4rem;
}

/* ===== H1 HEADER: Soporte Técnico Informático ===== */
.header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;

  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;

  color: #ffffff;

  /* Sombras suaves que simulan borde limpio */
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.8),
   -1px 1px 2px rgba(0, 0, 0, 0.8),
    1px -1px 2px rgba(0, 0, 0, 0.8),
   -1px -1px 2px rgba(0, 0, 0, 0.8),
    0 4px 10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.2rem;
    letter-spacing: 0.5px;
  }
}

/* Ajuste fino: subir títulos de sección */
.servicios h2 {
  margin-top: 0;
  margin-bottom: 25px;
}






































