:root {
      --color-azul-oscuro: #1a104d;
      --color-verde: #008538;
      --color-rojo: #e40050;
      --color-blanco: #ffffff;
      --color-gris: #f1f1f1;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Quantico', sans-serif;
      color: var(--color-azul-oscuro);
      overflow-x: hidden;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      background: radial-gradient(circle at bottom ,  rgba(255, 255, 255, 0.918),#9e9e9e18);
      
    }

    header {
      background: linear-gradient(135deg, #ffffffcc, #fffffff6);
      padding: 2px 4rem;
      display: flex;
      justify-content: center;
      align-items: center;
      position: sticky;
      top: 6px;
      z-index: 1000;
      box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.849);
      border-radius: 16px;
      transition: .7s ease;
    }

    header:hover {
      box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.849);

    }

    header img { height: 45px; }

    nav a {
      margin-left: 1.5rem;
      text-decoration: none;
      color: var(--color-azul-oscuro);
      font-weight: bold;
      position: relative;
    }

    nav a::after {
      content: '';
      position: absolute;
      width: 0%;
      height: 2px;
      background: var(--color-verde);
      left: 0;
      bottom: -3px;
      transition: width 0.3s ease-in-out;
    }

    nav a:hover::after { width: 100%; }

    .hamburger{
  display:none;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 2001;
  width: 44px; height: 44px;
  border: 0; border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer;
}
.hamburger span{
  display:block;
  width: 22px; height: 2px;
  margin: 5px auto;
  background:#1a104d;
  transition: transform .3s ease, opacity .2s ease;
}
body.menu-open .hamburger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2){ opacity: 0; }
body.menu-open .hamburger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Fondo oscuro detrás del menú */
.nav-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 2000;
  opacity: 0;
  transition: opacity .3s ease;
}
body.menu-open .nav-backdrop{ opacity: 1; }
.nav-backdrop[hidden]{ display:none; }


    main {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 6px;
    }

    p{
      font-size: 14px;
    }


    section {
      width: 100vw;
      padding: 2rem;
      max-width: 1400px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }

    #inicio{
      margin-top: -90px;
 position: relative;
  min-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  padding: 16px;
  padding-left: 10%;
  z-index: 3;
  width: 98vw;
  max-width: 1600px;
  border-bottom-left-radius: 64px;
  border-bottom-right-radius: 64px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
 
    }

    /* Video de fondo */
#video-fondo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

    .contenedorinicio {
      text-align: left;
      color: var(--color-blanco);
      padding: 2rem;
      background: rgb(5 48 79 / 86%);
      border-radius: 12px;
      max-width: 600px;
      border: 2px solid var(--color-verde);
        box-shadow:
    inset -3px -3px 6px rgba(255, 255, 255, 0.07),
    inset 4px 4px 10px rgba(0, 0, 0, 0.7),

    -3px -3px 8px rgba(255, 255, 255, 0.12),
    8px 8px 24px rgba(0, 0, 0, 0.8),
    0 0 22px rgba(0, 255, 0, 0.25);
      transform: perspective(1000px) rotateX(1deg) rotateY(9deg);
      transition: transform 0.7s ease, box-shadow 0.7s ease;
       -webkit-animation: slide-in-tl 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-tl 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }

    .contenedorinicio:hover {
  transform: perspective(1000px) translateZ(24px) scale(1.02);

}


.imagenbanner {
  width: 33%;
  position: absolute; 
  bottom: 0px;
  right: 10%; min-width: 300px;
  z-index: 5;
    }
    

    #titulobanner{
      color: white;
    }

    .linea-verde {
    width: 100%;
    height: 230px;
    position: absolute;
    background-color: #008538;
    bottom: -160px;
    right: 0px;
    border-top-left-radius: 100%;
    z-index: 1;
    -webkit-animation: slide-in-bottom 1.7s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    animation: slide-in-bottom 1.7s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

.linea-blanca {
    width: 100%;
    height: 105px;
    position: absolute;
    background-color: #ffffff;
    bottom: -83px;
    border-top-left-radius: 32%;
    right: 0px;
    z-index: 3;
    -webkit-animation: slide-in-bottom 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    animation: slide-in-bottom 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

.linea-azul {
    width: 100%;
    height: 72px;
    position: absolute;
    background-color:#1a104d;
    bottom: -53px;
    right: 0px;
    border-top-left-radius: 100%;
    z-index: 5;
    -webkit-animation: slide-in-bottom .5s cubic-bezier(0.250, 0.460, 0.450, 0.940);
    animation: slide-in-bottom 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

h4{
  font-size: 20px;
  margin-bottom: 16px;
  color: #008538;
}

#servicios{

      z-index: 2;
      padding: 2rem 16px;
      border-radius: 16px;
      margin-top: 24px;
      background-image: url('https://samamarketresearch.co/wp-content/uploads/2025/08/fondovideo2.gif');
      background-attachment: fixed;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      width: 98vw;
      max-width: 650px;
      border-radius: 64px;
      box-shadow: 0 4px 6px rgb(0 0 0 / 52%);
      justify-content: left;
      border: 1px solid white;
      margin-bottom: 16px;
            h2{
                background-color: rgba(255, 255, 255, 0.918);
                padding: 40px 75px 6px 75px;
                margin-top: -64px;
                margin-left: -64px;
                max-width: 450px;
                border-radius: 6px 36px 136px 36px;
                color: #008538;
                
            }
    }


.servicios-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      margin-top: 2rem;


    }

    .servicios-container h2 {
      width: 100%;
      text-align: center;
      color: var(--color-azul-oscuro);
    }

    .divservicios {
     max-width: 1400px;
     width: 100%;
     position: relative;
     overflow: hidden;
    }

.card {
        background: rgb(5 48 79 / 86%);
      border-left: 6px solid var(--color-verde);
      border-radius: 12px;
      padding: 1rem;
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      height: 85px;
      color: white;
      min-width: 285px;
      cursor: pointer;
      h4{
        position: relative;
        z-index: 2;
        transition: .7s ease;
        max-width: 220px;
        font-size: 13px;
        margin-bottom: 0px;
        color: white;
      }

          .icono{
      display: block;
      width: 55px;
      height: auto;
      position: relative;
      top: -34px;
      left: -9px;
      transition: .7s ease;
      opacity: 0;
    }

    .saber{
      position: relative;
      bottom: 55px;
      left: 175px;
      font-size: 10px;
      cursor: pointer;
      transition: .7s ease;
    }

    #saber{
        bottom: 72px;
    }
    
    }

    .card:hover {
      box-shadow: 0 12px 16px rgba(0, 0, 0, 0.12);
            h4{
        z-index: 2;
        padding-left: 70px;
        font-size: 10px;
        max-width: 260px;

        
      }

    .icono{
      transform: rotate(-360deg);
      opacity: 1;


    }

    .tooltip-text {
    visibility: visible;
    opacity: 1;
    bottom: 12%;
    right: 5vw;
    position: absolute;
    text-decoration: none;
    transition: .7s ease;
    
    }

    span{
      text-decoration: underline;
      transform: scale(1.1);
    }

    .saber{
      display: none;
    }
    }

    .tooltip-text {
  visibility: hidden;
  width: 40%;
  max-width: 450px;
  min-width: 240px;
  max-height: 65vh;
  overflow-y: auto;
  background-color: rgb(5 48 79 / 86%);
  color: #fff;
  text-align: left;
  font-size: 14px;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  z-index: 20;
  bottom: 16px; /* posición del texto */
  right: 12px;
  transform: translateX(50%);
  opacity: 0;
  transition: 0.7s;
}

.metodo{
  position: relative;
  z-index: 4;
  width: 100%;
  


  .wrapper{
      background: rgba(255, 255, 255, 0);
      border-radius: 16px;
      max-width: 1800px;
  }
  p{
    max-width: 1200px;
    margin-bottom: 24px;
  }

  h3{
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #008538;

  }
}

#meto{
  text-align: left;
    margin-bottom: 16px;
    margin-left: 16px;
}

.textometodo{
  width: 50%;
    padding: 6px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}



#imagenmetodo{
  position: relative;
  right: 50px;
}

.equipo{
   position: relative;
  z-index: 4;
  bottom: 20px;

  .wrapper, .wrapper2{
    position: sticky;
    top: 11vh;
    min-height: 76vh;
    border-radius: 16px;
    border: #1a104d 1px solid;
    
  }

  h2{
    width: 100%;
    max-width: 1200px;
    font-size: 30px;
    padding: 16px;
    text-align: center;
    color: #008538;
  }
}

.wrapper,.wrapper2{
  background:linear-gradient(135deg, #b4d0e2,#0c5c91fb, #fffffff6);

}

.formaparte{
   position: relative;
  z-index: 3;
  margin-top: -45px;
  min-height:70vh;
}

.pasos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: absolute;
  bottom: -11px;
  left: 6px;
  width: 100%;

    div{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 20%;
      min-width: 180px;
      background:linear-gradient(135deg, #b4d0e2,#0c5c91fb, #fffffff6);
      color: white;
      box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.733);
      padding: 16px;
      border: 1px solid #85bef3;
      border-radius: 36px;
      min-height: 75px;
      transition: .7s ease;
      text-align: center;

      p{
        margin-bottom: 0px;
      }

  }

  div:hover {

    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.767);
    background:linear-gradient(155deg,#0c5c91fb);
    
  }
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 16px;
  margin-bottom: 2rem;

    img{
      width: 36%;
      min-width: 330px;
      border-radius: 16px;
      box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.849);
    }

}

.wrapper2 {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 6px;


    img{
      width: 40%;
      min-width: 380px;
      border-radius: 16px;
      box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.849);
    }

}

.textwrapper{
  width: 54%;
  min-width: 380px;
  background: rgb(255, 255, 255);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.849);
  border: 2px solid #ebebeb;

    ul{
      margin-left: 16px;
      list-style: inside;}

      li{
        margin-bottom: 16px;
      }
}

.textwrapper2{
  width: 90%;
  min-width: 380px;
  background: rgb(255, 255, 255);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.849);
  border: 2px solid #ebebeb;

    ul{
      margin-left: 16px;
      list-style: inside;}

      li{
        margin-bottom: 16px;
      }
}

.flechita{
  font-size: 24px;
  color: rgb(5 48 79 / 86%);
  padding-left: 8px;
  transition: .7s ease;}


  .trabajaconnosotros{
    position: relative;
    z-index: 3;
    width: 98vw;
    justify-content: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    bottom: 50px;
    border-top: 2px solid #2b719f;
    margin-top: 24px;
    padding-top: 55px;

    h2{
      width: 100%;
      text-align: center;
      padding: 16px;
      font-size: 30px;
      color: #008538;
    }

            p{
              width: 100%;
              max-width: 800px;
              padding: 2px 16px;
            }
  }

  #elementofijo{
  position: sticky;
  top: 64px;
  transform: scaleX(-1);
    transform-origin: center;
  }


  #contacto{
    position: relative;
    bottom: 50px;

      h2{
        color: #008538;
        padding-bottom: 16px;
      }
  }

      form input, form textarea {
      display: block;
      width: 100%;
      max-width:460px;
      padding: 0.7rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
    }
    
    submit{
    background-color: #008538;
    color: white;
    border: solid 2px #008538;
    border-radius: 8px;
    cursor: pointer;
    }

    form button {
      padding: 1rem 2rem;
      background-color: #008538;
      color: white;
      border: solid 2px #008538;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.3s ease;
    }

    form button:hover { 
      background-color: #008538;
      color: white;
      border: solid 2px #008538;
    }


    .hojadevida{
    padding: 1rem 2rem;
    background-color: #008538;
    color: white;
    border: solid 2px #008538;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    margin-top: 16px;
    width: 100%;

    }

    #formularioHojaDeVida{
      display: none;
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0px;
      bottom: 0px;
      padding: 16px;
      background: rgb(255 255 255 / 98%);
      z-index: 100;
      transition: .7s ease-in-out;
      padding: 65px;
    }

#formularioHojaDeVida2{
      display: none;
      position: absolute;
      width: 100%;
      right: 0px;
      bottom: 0px;
      background: rgb(255 255 255 / 98%);
      z-index: 100;
      transition: .7s ease-in-out;
      padding: 56px 16px;
      overflow-y: auto;
    }

    .cerrar{
      font-size: 30px;
      cursor: pointer;
      position: absolute;
      right: 16px;
      top: 16px;
    }


 @media (max-width: 768px) {

    body{
      background: #f1f1f1;
    }
    
    nav{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: #aad5f3e0;
    flex-direction: column;
    gap: 16px;
    }
    
    
      nav a {
        margin-left: 1rem;
        font-size: 0.95rem;

      }

      p{
        font-size: 0.9rem;
      }

      #inicio{
        min-height: 88vh;
        justify-content: flex-start;
        margin-top: -80px;
        padding-top: 90px;
        padding-left: 16px;
      }

      .divservicios {
        padding: 2px;
      }

      header{
        width: 100%;
        padding: 0.3rem;
        top:0px;
      }

      section{
        padding: 4px;
      }

      .wrapper, .wrapper2{
        padding: 1rem;
      }

      .imagenbanner{
        right: -75px;
        bottom: -20px;
        min-width: 290px;
      }

      .tooltip-text{
        width: 90%;
        left: 5%;
        bottom: 24px!important;
        font-size: 12px;
        max-height: 30vh;
        overflow-y: auto;
        position: fixed !important;
      }

      #imagenmetodo{
        right: 0px;
      }

      #servicios{
        padding: 2rem 1rem;
        z-index: 5;
      }

      .pasos{
        flex-direction: column;
        position: static;
        width: 95vw;
        div{
          width: 80%;
          min-width: 280px;
        }

      .flechita{
        transform: rotate(90deg) ;
        height: 100%;

      }


      
    }

    .equipo{

      bottom: 0px;
      h2{
        position: static !important;
      }
    }

    .wrapper, .wrapper2 {
      position: static !important;
      margin-top: 6px;

          .textwrapper{
            padding-top: 12px;
            width: 100%;
            min-width: 280px;
          }
          .imagenwrapper{
          width: 95%;
          min-width: 280px;

      }

      
    }

    .textwrapper2{
      width: 100%;
      min-width: 330px;
    }



    .card{
      width: 90%;
      text-align: center;

        .saber{
          left: 100px;
          bottom: 55px;
        }
    }

      .metodo{
        padding: 4px;
            .wrapper{
              background-color: #f8f8f8;
              border: #1a104d 1px solid;
            }


            h3{
              font-size: 24px;
              padding: 8px;
              margin-bottom: 16px;}

          #textometodo{
        position: relative;
          left: 0px;
          top: 0px;
      }
  }

      #elementofijo{
      position: static;
      transform: scaleX(1);

    }

    .trabajaconnosotros{
      h2{
        font-size: 24px;
        padding: 16px;
      }
    }
    
    #formularioHojaDeVida{
        height: fit-content;
    }


     .hamburger{ display:block; }
  header{ z-index: 2002; } /* encima del nav */

  /* Tu nav ya cubre la pantalla en mobile; lo mantenemos pero fuera de vista inicialmente */
  nav#menu{
    position: fixed;
    top: 60px; left: 0; width: 100%; height: 80vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background-color: #edededed; /* tu color actual */
    gap: 16px;
    transform: translateX(100%); /* fuera de pantalla a la derecha */
    transition: transform .35s ease;
    z-index: 2003;
  }
  body.menu-open nav#menu{ transform: translateX(0); }

  /* Enlaces un poco más grandes y con mejor tap target */
  nav#menu a{
    font-size: 1.15rem;
    padding: 12px 16px;
  }

  /* Evita que el body se desplace con el menú abierto */
  body.menu-open{ overflow: hidden; }


}

@media (prefers-reduced-motion: reduce){
  nav#menu, .nav-backdrop, .hamburger span{ transition: none !important; }
}


     @-webkit-keyframes slide-in-bottom {
0% {
  -webkit-transform: translateY(1000px);
          transform: translateY(1000px);
  opacity: 0;
}
100% {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
}
@keyframes slide-in-bottom {
0% {
  -webkit-transform: translateY(1000px);
          transform: translateY(1000px);
  opacity: 0;
}
100% {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
}
}

@-webkit-keyframes slide-in-tl {
  0% {
    -webkit-transform: translateY(-1000px) translateX(-1000px);
            transform: translateY(-1000px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-tl {
  0% {
    -webkit-transform: translateY(-1000px) translateX(-1000px);
            transform: translateY(-1000px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
    opacity: 1;
  }
}@-webkit-keyframes slide-in-tl {
  0% {
    -webkit-transform: translateY(-1000px) translateX(-1000px);
            transform: translateY(-1000px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-tl {
  0% {
    -webkit-transform: translateY(-1000px) translateX(-1000px);
            transform: translateY(-1000px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
    opacity: 1;
  }
}


