/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* VARIABLES */
:root {
  --primary: #0f172a;
  --secondary: #2563eb;
  --text: #020617;
  --muted: #475569;
  --bg: #ffffff;
  --border: #e5e7eb;
}

/* GLOBAL */
body {
  background-color: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  border-bottom: 1px solid var(--border);
   background-color: #060e0e; /* negro transparente */
  border-bottom: 1px solid rgba(9, 1, 1, 0.15);
  backdrop-filter: blur(6px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  flex-wrap: wrap;
}

.logo {
  font-size: 46px;
  font-weight: bold;
  color: var(--primary);
  color: #fff;
}
.logo span{
  display: inline-block;
  opacity: 0;
  transform: translateY(-25px);
  animation: caer 0.5s ease forwards;
}

/* retraso por letra */
.logo span:nth-child(1){ animation-delay: 0s; }
.logo span:nth-child(2){ animation-delay: 0.45s; }
.logo span:nth-child(3){ animation-delay: 0.65s; }
.logo span:nth-child(4){ animation-delay: 0.80s; }

@keyframes caer{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.nav a{
  margin-left: 20px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  color: #fff;  /* o el color que uses */
  text-decoration: none;
  transition: color .2s ease;
  
}
.nav a:hover{
  color: rgb(246, 6, 22);
}

/* HERO */
.hero{
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: 40px 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.hero-background{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}

.hero-grid,
.hero-text,
.hero-form{
  position:relative;
  z-index:2;
}

/* IMAGENES */

.bg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;

  background:
  linear-gradient(135deg, rgba(0,20,40,0.85), rgba(0,150,180,0.7)),
  url("imagen/Informacion-TI.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}




.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

/* TEXTO */
.hero-text h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #eff1f5;
}

.hero-text p {
  color: var(--muted);
  max-width: 500px;
  color: #d9e2e2;
}

.parallax .hero-logo,
.parallax h1,
.parallax p{
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* FORMULARIO */
.hero-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-form h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

.hero-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
}

textarea {
  resize: none;
}

button {
  background: linear-gradient(90deg, #63c58a, #036484);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    
  margin-top: 0;
  padding-top: 0;
  line-height: 1.1;  
  
}
}
.hero-logo{
  max-width: 100%;   /* Ajusta tamaño aquí */
  width: 280px;
  height: auto;
  margin: 0 auto 9px auto;  /* centra horizontalmente */
  display: block;   

}
.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.whatsapp-float img{
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: block;
}

.whatsapp-label{
  position: absolute;
  right: 75px;
  bottom: 8px;
  background: #09c952;
  color: #030303;
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

/* Aparece al pasar el mouse */
.whatsapp-float:hover .whatsapp-label{
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-label::after{
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}


.nueva-seccion2 {
  background: #ffffff;
  padding: 80px 20px;
}

.linea-divisora {
  width: 85%;
  height: 4px;
  background: #bf0606;
  margin: 0 auto 40px auto;
}

.contenido-nuevo {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: rgb(120, 159, 237);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(231, 6, 6, 0.08);
  overflow: hidden;
  z-index: 1;
}
.contenido-nuevo::before {
  content: "SCTS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 220px;
  font-weight: 900;
  letter-spacing: 8px;
  color: rgb(22, 68, 78);
  opacity: 0.45;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  
}

.contenido-nuevo h2 {
  font-size: 36px;
  color: #0f2f66;
  margin-bottom: 38px;
}

.contenido-nuevo p {
  font-size: 18px;
  color: #040404;
  line-height: 1.6;
  text-align: justify;
  
}
/*Boton */
.btn-conoce {
  display: block;
  width: fit-content;
  margin: 25px auto 0 auto; /*lo centra y separa */
  background: #1f4ed8;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 42px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.indicadores {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.indicadores span {
  width: 40px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.indicadores span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 10px;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.indicadores span:nth-child(1)::before {
  animation-name: barra1;
}

.indicadores span:nth-child(2)::before {
  animation-name: barra2;
}

.indicadores span:nth-child(3)::before {
  animation-name: barra3;
}

/* Seccion 3 */
.servicios-section3 {
  width: 100%;
  padding: 60px 20px;
   position: relative;
  overflow: hidden;
}
/* Slider de fondo */

 .servicios-section3::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  animation: fondoAnimado 15s infinite;
}


@keyframes fondoAnimado {
  0%, 33% {
    background:
      linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url('imagen/Seguridad.jpg') center/cover no-repeat;
  }

  34%, 66% {
    background:
      linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url('imagen/Consultoria.jpeg') center/cover no-repeat;
  }

  67%, 100% {
    background:
      linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url('imagen/soporte.jpg') center/cover no-repeat;
  }

}
@keyframes barra1 {
  0%   { width: 0%; }
  33%  { width: 100%; }
  34%  { width: 0%; }
  100% { width: 0%; }
}

@keyframes barra2 {
  0%, 33% { width: 0%; }
  34%     { width: 0%; }
  66%     { width: 100%; }
  67%     { width: 0%; }
  100%    { width: 0%; }
}

@keyframes barra3 {
  0%, 66% { width: 0%; }
  67%     { width: 0%; }
  100%    { width: 100%; }
}
.contenedor-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.card {
  background: rgba(255, 255, 255, 0.14); /* transparente */
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 300px;
  min-height: 410px;
  text-align: center;
  padding: 25px;
  box-sizing: border-box;

  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 8px 24px rgba(0,0,0,0.30),          /* sombra exterior */
    inset 0 1px 0 rgba(142, 63, 63, 0.22), /* relieve arriba */
    inset 0 -1px 0 rgba(0,0,0,0.18);      /* profundidad abajo */
}

.card h2 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.card p {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  text-align: left;
  margin-top: 10px;
}

.section4 {
  background: #d9e0e4;
  padding: 80px 20px;
}

.section4 .contacto-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.contacto-card {
  flex: 1 1 250px;
  max-width: 300px;
}
.section4 .contacto-card {
  background: #38424e;
  width: 340px;
  min-height: 240px;
  border-radius: 6px;
  text-align: center;
  padding: 35px 25px;
  box-sizing: border-box;
  color: #ffffff;
}

.section4 .contacto-icono {
  font-size: 42px;
  color: #ff6a00;
  margin-bottom: 18px;
  line-height: 1;
}

.section4 .contacto-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 18px;
  color: #ffffff;
}

.section4 .contacto-card p {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}
.footer p {
  margin: 0;
}
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 18px 20px;
  font-size: 14px;
}

.footer p {
  margin: 0;
}


/* Página de información*/
body {
    margin: 0;
    background: #b3e3f0;
}

.top-bar {
    width: 100%;
    height: 45px;
    background: rgb(244, 240, 240);
}

.main-container {
    padding: 40px 60px;
}
.top-bar {
    width: 100%;
    height: 40px;
    background-color: black;
}

* {
      box-sizing: border-box;
    }

    .training-section {
      display: grid;
      grid-template-columns: 420px 1fr;
      gap: 60px;
      align-items: start;
      max-width: 1200px;
      margin: 0 auto;
    }

    input[type="radio"] {
      display: none;
    }

    .left {
      display: flex;
      flex-direction: column;
      margin-top: 0px;
      gap: 10px;
      padding-top: 0px;
      
    }

    .tab-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 18px;
      border: 4px solid #0318b9;
      border-radius: 999px;
      font-size: 18px;
      font-weight: 500;
      cursor: pointer;
      background: transparent;
      color: #111;
      transition: 0.3s ease;
      
    }

    .tab-label span {
      font-size: 18px;
      font-weight: 300;
    }

    #tab1:checked ~ .left label[for="tab1"],
    #tab2:checked ~ .left label[for="tab2"],
    #tab3:checked ~ .left label[for="tab3"],
    #tab4:checked ~ .left label[for="tab4"] {
      background: linear-gradient(90deg, #14161f 0%, #10131c 100%);
      color: #fff;
    }

    .right {
      position: relative;
      min-height: 320px;
    }

    .content {
      display: none;
    }

    .content h2 {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

    .content p {
      max-width: 620px;
      font-size: 18px;
      line-height: 1.8;
      color: #222;
      margin-bottom: 30px;
    }

    

    #tab1:checked ~ .right .content1,
    #tab2:checked ~ .right .content2,
    #tab3:checked ~ .right .content3,
    #tab4:checked ~ .right .content4 {
      display: block;
    }

    @media (max-width: 900px) {
      .training-section {
        grid-template-columns: 1fr;
      }

      .content h2 {
        font-size: 28px;
        
      }

      .tab-label {
        font-size: 20px;
      }
    }


.btn-atras {
  display: block;
  width: fit-content;
  margin-left: 650px;
  padding: 16px 28px;
  border: 3px solid #222;
  border-radius: 999px;
  background: linear-gradient(90deg, #66ff66, #3399ff);
  color: #111;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: px;
  text-decoration: none;
  transition: 0.3s ease;
}

.lista-servicios {
  margin-top: 20px;
  padding-left: 20px;
}

.lista-servicios li {
  margin-bottom: 12px; /* espacio entre cada punto */
  line-height: 1.6;
  margin-left: 10px;
}
.seccion-integraciones {
  text-align: center;
  margin-top: 50px;
  font-family: Arial, sans-serif;
}

.seccion-integraciones h2 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.seccion-integraciones p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.logos-integraciones {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  
}

.logos-integraciones img {
   border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  
}

.logos-integraciones img:hover {
  transform: scale(1.1);
}

.company-name {
  font-size: 18px; /* Ajusta el tamaño si es necesario */
  font-weight: bold;
  color: #fcfdfd;
  padding: 20px 50px;
}



