*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

/*Encabezado y Logo*/
    .ciber-container {
      position: relative;
      background-image: url('/img/LogoActual.png');
      background-size: cover;
      background-position: center;
      height: 270px;
      padding: 0 50px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      overflow: hidden;
    }

    .ciber-container::before {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.4);
      z-index: 1;
    }

    .logo-wrapper,
    .search-input {
      position: relative;
      z-index: 2;
      margin-top: 60px;
    }

    .logo {
      height: 150px;
      border-radius: 4px;
    }

   .search-input {
      max-width: 350px;
      border-radius: 15px;
      margin-top: 180px;
    }

    .search-bar {
  width: 300px;
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
}
    /*Fin Encabezado y logo*/

/* Barra Menú*/ 
.container__menu{
    width: 100%;
    height: 50px;
    background-color: black;
    padding: 0px 20px;
}

.menu{
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

nav{
    height: 100%;
}

nav > ul{
    height: 100%;
    display: flex;
}

nav  ul  li{
    height: 100%;
    list-style: none;
    position: relative;
}

nav > ul > li:first-child > a{
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 40px;
}

nav > ul > li:first-child:hover > a{
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center center;
}

nav > ul > li >a{
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 14px;
    display: flex;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 300ms ease;
    text-decoration: none;
}

nav > ul > li >a:hover{
    transform: scale(1.1);
    background-color: rgb(5, 88, 116);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
/*Submenu*/
nav ul li ul{
    width: 200px;
    display: flex;
    flex-direction: column;
    background: rgb(20, 117, 150);
    position: absolute;
    top: 90px;
    left: -5px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    z-index: 10;
    transition: all 300ms ease;
    
}

nav ul li:hover ul{
    visibility: visible;
    opacity: 1;
    top: 70px;

}

nav ul li ul:before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgb(20, 117, 150);
    position: absolute;
    top: -12px;
    left: 20px;
}

nav ul li ul li a{
    display: block;
    color: #fff;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
    text-decoration: none;
}

nav ul li ul li a:hover{
    background: rgb(52, 144, 175);
    color: black; 
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
/*Responsive encabezado y menu de navegacion */
/* Responsive para tablets y móviles */
@media (max-width: 991px) {
  .ciber-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: auto;
    text-align: center;
  }

  .logo-wrapper {
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }

  .logo {
    height: 100px;
  }

  .search-input {
    margin-top: 20px;
    width: 100%;
    max-width: 90%;
  }

  .search-bar {
    width: 100%;
  }

  .container__menu {
    height: auto;
    padding: 0;
  }

  .menu {
    width: 100%;
  }

  nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  nav > ul > li {
    width: 100%;
    text-align: center;
    border-top: 1px solid #444;
  }

  nav > ul > li > a {
    justify-content: center;
    padding: 12px 0;
  }

  nav ul li ul {
    position: static;
    width: 100%;
    background: rgb(20, 117, 150);
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    display: none;
  }

  nav ul li:hover ul {
    display: flex;
    flex-direction: column;
  }

  nav ul li ul:before {
    display: none;
  }

  nav ul li ul li a {
    padding: 12px;
    font-size: 14px;
  }
}

/* Responsive específico para móviles pequeños (menos de 768px) */
@media (max-width: 768px) {
  .logo {
    height: 80px;
  }

  .search-input {
    margin-top: 15px;
    max-width: 95%;
  }

  nav > ul > li > a {
    font-size: 13px;
    padding: 10px 0;
  }

  nav ul li ul li a {
    font-size: 13px;
    padding: 10px;
  }
}

/*Fin Menu navegacion*/

/*Informacion de CSG index*/
.pcontainer {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 50px;
      gap: 40px;
      flex-wrap: wrap;
      background-color: rgb(182, 197, 197);
    }

    .hexagon {
      width: 300px;
      height: 260px;
      background-image: url('/img/cyber4.jpg');
      background-size: cover;
      background-position: center;
            clip-path: polygon(
        50% 0%,
        93% 25%,
        93% 75%,
        50% 100%,
        7% 75%,
        7% 25%
      );
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .info-box {
      max-width: 500px;
      background-color: white;
      padding: 30px;
      border-radius: 16px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .info-box h2 {
      color: #1a237e;
      margin-bottom: 15px;
      font-size: 20px;
      text-align: center;
    }

    .info-box p {
      color: #333;
      line-height: 1.6;
    }

    .texto{
    
    width: auto;
    height: 20px;
    background-color: rgb(182, 197, 197);
}

 .separador{
background-color: rgb(182, 197, 197);
width: auto;
height: 15px;
}

/*QUIENES SOMOS*/
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: Arial, Helvetica, sans-serif;
      background-color: #ffffff;
    }

    .contenedor2 {
      display: flex;
      gap: 20px;
      padding: 20px;
      background-color: #f5f4f1;
      border: 2px solid #ccc;
      border-radius: 8px;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .interno, .interno2, .interno3 {
      flex: 1;
      padding: 20px;
      border-radius: 6px;
      text-align: center;
      margin-top: 5px;
      min-height: 200px;
    }

    .uno, .tres, .cinco {
      background-color: rgb(201, 201, 204);
      max-width: 250px;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .uno img, .tres img, .cinco img {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
    }

    .dos, .cuatro, .seis {
      background-color: rgb(201, 201, 204);
      text-align: justify;
      color: rgb(15, 60, 75);
      padding: 10px;
    }

    .dos h2, .cuatro h2, .seis h2 {
      text-align: center;
      margin-bottom: 10px;
    }

    .politica {
      background-color: rgb(201, 201, 204);
      padding: 20px;
      margin: 20px;
      border-radius: 8px;
      color: rgb(15, 60, 75);
    }

    .politica h2, .politica h4 {
      color: rgb(15, 60, 75);
    }

    .politica ul {
      margin-left: 20px;
    }

/*Responsive Contenido Quienes somos*/
@media (max-width: 1024px) {
      .contenedor2 {
        flex-direction: column;
        align-items: center;
      }

      .interno, .interno2, .interno3 {
        width: 100%;
        text-align: center;
      }

      .uno, .tres, .cinco {
        max-width: 100%;
        margin-bottom: 10px;
      }
    }

    @media (max-width: 600px) {
      .contenedor2 {
        padding: 10px;
        gap: 10px;
      }

      .interno, .interno2, .interno3 {
        padding: 10px;
      }

      .uno img, .tres img, .cinco img {
        width: 100%;
        height: auto;
      }
    }

/*Fin Responsive Contenido Quienes somos*/
/*FIN Quienes somos*/



/*CONTACTANOS*/
body {
      background-color: rgb(182, 197, 197);
    }
    .fondo-principal {
      background-color: rgb(182, 197, 197);
    }

/*SERVICIOS*/
/* Contenedor general */
#servicios-csecurity {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f9fafb;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

/* Título principal */
#servicios-csecurity h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #0a3d62;
  position: relative;
}

#servicios-csecurity h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #0a3d62;
  margin: 10px auto 0;
  border-radius: 4px;
}

/* Estilos comunes para cada servicio */
#servicios-csecurity .servicio {
  display: flex;
  align-items: center;
  background-color: rgb(182, 197, 197);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.2s ease-in-out;
  gap: 30px;
}

#servicios-csecurity .servicio:hover {
  transform: translateY(-5px);
}

/* Imagen dentro del servicio */
#servicios-csecurity .servicio .imagen {
  flex: 1 1 40%;
}

#servicios-csecurity .servicio .imagen img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Contenido dentro del servicio */
#servicios-csecurity .servicio .contenido {
  flex: 1 1 60%;
  color: #1a1a1a;
}

/*Boton*/
 .boton-profesional {
      background-color: #0056b3;
      color: white;
      padding: 8px 10px;
      border: none;
      border-radius: 6px;
      font-size: 10px;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      cursor: pointer;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .boton-profesional:hover {
      background-color: #0a3d62;  /* Azul más oscuro */
      color: #ffdd57;             /* Letra dorada */
    }

    .contenedor {
      text-align: center;
      margin-top: 20px;
    }
    
    /*Fin Boton*/
    
    /* Títulos de servicio con íconos */
#servicios-csecurity .servicio h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #09345a;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

#servicios-csecurity .servicio h3 i {
  color: #045a8d;
  font-size: 1.5em;
}

/* Texto descriptivo */
#servicios-csecurity .servicio p {
  font-size: 1.05em;
  line-height: 1.6;
  color: #2d2d2d;
}

/* Servicio con imagen a la izquierda */
/*#servicios-csecurity .servicio.izquierda {
  flex-direction: row;
}*/

/* Servicio con imagen a la derecha */
#servicios-csecurity .servicio.derecha {
  flex-direction: row-reverse;
}

/* Responsive: SERVICIOS en móvil */
@media (max-width: 768px) {
  #servicios-csecurity .servicio {
    flex-direction: column !important;
  }

  #servicios-csecurity .servicio .imagen,
  #servicios-csecurity .servicio .contenido {
    flex: none;
    width: 100%;
  }

  #servicios-csecurity .servicio .imagen img {
    max-height: 250px;
    object-fit: cover;
  }
}

/*Seguridad de la Informacion*/

* {
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      
    }

    .contenedor {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 20px;
      padding: 20px;
      max-width: 1400px;
      margin: auto;
      flex-wrap: wrap;
      background-color: rgb(182, 197, 197);
      /*width:auto;*/
    }

    .contenido-texto,
    .imagenes-vertical {
      flex: 1 1 100%;
      background-color: #ffffff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .contenido-texto h2 {
      margin-top: 0;
      color: #004a7c;
    }

    .contenido-texto p {
      text-align: justify;
    }

    .imagenes-vertical {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .imagenes-vertical img {
      width: 100%;
      border-radius: 10px;
      object-fit: cover;
    }

    body {
      font-family: Arial, sans-serif;
      background-color: #f2f2f2;
      margin: 0;
      padding: 20px;
    }

    #miDiv {
      border: 1px solid #ccc;
      padding: 20px;
      max-width: 400px;
      width: 100%;
      margin: 50px auto;
      background-color: #fff;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      box-sizing: border-box;
    }

    form {
      display: flex;
      flex-direction: column;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 1s ease forwards;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    label {
      margin-top: 10px;
      margin-bottom: 5px;
    }

    input {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 4px;
      width: 100%;
      transition: all 0.3s ease;
      box-sizing: border-box;
    }

    /* Efecto al pasar el mouse */
    input:hover {
      background-color: #e6f0ff;
      border-color: #3399ff;
    }

    /* Efecto al enfocar */
    input:focus {
      background-color: #d0e7ff;
      transform: scale(1.05);
      border-color: #007BFF;
      outline: none;
    }

    button {
      margin-top: 15px;
      padding: 12px;
      background-color: #4CAF50;
      color: white;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
      border-radius: 4px;
      font-size: 16px;
      width: 100%;
    }

    button:hover {
      background-color: #007BFF;
    }

    /* Responsive ajustes adicionales */
    @media (max-width: 480px) {
      #miDiv {
        margin: 20px;
        padding: 15px;
      }

      input, button {
        font-size: 14px;
        padding: 10px;
      }
    }

    @media (min-width: 768px) {
      .contenido-texto,
      .imagenes-vertical {
        flex: 1 1 48%;
      }
    }

/*CSS formulario contactanos de cada servicio*/

    body {
      font-family: Arial, sans-serif;
      background-color: #f2f2f2;
      padding: 20px;
    }

    .form-container {
      max-width: 500px;
      margin: auto;
      background-color: #ffffff;
      padding: 25px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .form-container h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    .form-container h3 {
      text-align: center;
      margin-bottom: 20px;
      color: #004a7c;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"] {
      width: 100%;
      padding: 12px;
      margin: 10px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-sizing: border-box;
    }

    button {
      width: 100%;
      background-color: #25D366;
      color: rgb(78, 76, 76);
      padding: 14px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
    }

    button:hover {
      background-color: #128C7E;
      border-radius: 5px;
      color: white;
    }
    /*Responsive formulario en cada servicio*/
    @media (max-width: 600px) {
      .form-container {
        padding: 15px;
      }
    }



/*Fin Seguridad de la Información*/

/*Fin SERVICIOS*/

/*Boton flotante*/

 .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 0.75rem; /* más pequeño */
    padding: 8px 12px;    /* menos relleno */
    border-radius: 40px;
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    white-space: nowrap;
  }

  .whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
  }

  .whatsapp-float i {
    margin-right: 2px;
  }  

  /*Acordeon Ciberseguridad*/

  body {
      font-family: Arial, sans-serif;
      background-color: #f5f5f5;
      padding: 20px;
    }

    .accordion {
      max-width: 700px; /* Más ancho */
      margin: auto;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .accordion-item {
      border-top: 1px solid #ccc;
      overflow: hidden;
    }

    .accordion-header {
      background-color: rgb(182, 197, 197);
      color: white;
      padding: 28px 24px; /* Más padding */
      cursor: pointer;
      user-select: none;
      transition: background 0.3s ease;
      font-size: 1.1rem;
    }

    .accordion-header:hover {
      background-color: rgb(5, 88, 116);
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      background-color: #f0f4f8;
      padding: 0 70px;
      transition: max-height 0.4s ease, padding 0.4s ease;
      text-align: justify;
      line-height: 1.7; /* Más espacio entre líneas */
      font-size: 1rem;   /* Tamaño de texto más cómodo */
    }

    .accordion-content.open {
      padding: 8px;
    }

    @media (max-width: 600px) {
      .accordion {
        width: 100%;
      }

      .accordion-header,
      .accordion-content {
        padding-left: 18px;
        padding-right: 18px;
      }
    }