*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


p {
  font-size: 20px;
}


nav{
  position: fixed;
  z-index: 99;
  width: 100%;
  background: #0a2b4b;
}


nav .wrapper{
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .logo a{
  color: #f2f2f2;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
.wrapper .nav-links{
  display: inline-flex;
}
.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav-links li a:hover{
  background: #3A3B3C;
}
.nav-links .mobile-item{
  display: none;
}
.nav-links .drop-menu{
  position: absolute;
  background: #0a2b4b;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links .drop-menu2{
  position: absolute;
  background: #0a2b4b;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links .drop-menu3{
  position: absolute;
  background: #0a2b4b;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.nav-links li:hover .drop-menu2,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.nav-links li:hover .drop-menu3,
.nav-links li:hover .mega-box{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.drop-menu li a{
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  font-weight: 400;
  border-radius: 0px;
}
.mega-box{
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 30px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
}
.mega-box .content{
  background: #0a2b4b;
  padding: 25px 20px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}
.mega-box .content .row{
  width: calc(25% - 30px);
  line-height: 45px;
}
.content .row img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content .row header{
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.content .row .mega-links{
  margin-left: -40px;
  border-left: 1px solid rgba(255,255,255,0.09);
}
.row .mega-links li{
  padding: 0 20px;
}
.row .mega-links li a{
  padding: 0px;
  padding: 0 20px;
  color: #d9d9d9;
  font-size: 17px;
  display: block;
}
.row .mega-links li a:hover{
  color: #f2f2f2;
}
.wrapper .btn{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #0a2b4b;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #0a2b4b;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }

  #showDrop2:checked ~ .drop-menu,
  #showMega2:checked ~ .mega-box{
    max-height: 100%;
  }

  #showDrop3:checked ~ .drop-menu,
  #showMega3:checked ~ .mega-box{
    max-height: 100%;
  }

  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }
  .mega-box{
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    padding: 0 20px;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .mega-box .content{
    box-shadow: none;
    flex-direction: column;
    padding: 20px 20px 0 20px;
  }
  .mega-box .content .row{
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mega-box .content .row:nth-child(1),
  .mega-box .content .row:nth-child(2){
    border-top: 0px;
  }
  .content .row .mega-links{
    border-left: 0px;
    padding-left: 15px;
  }
  .row .mega-links li{
    margin: 0;
  }
  .content .row header{
    font-size: 19px;
  }
}
nav input{
  display: none;
}





main {
    padding:10%;
    padding-top: 5%;
    padding-bottom: 5%;
}

main h1 {
    font-size:40px;
    text-align: center;
    margin-bottom: 2%;
}

main h2{
    padding:30px;
    text-align: center;
    padding-bottom: 10px;
}

.tipos {
    display: flex;
    padding:0%;
    flex-wrap: wrap;
}




@media screen and (max-width: 700px) {
  main h1 {
    margin-top: 20%;
    font-size: 30px;
  }
  main h2 {
    margin-top: 10%;
    font-size: 25px;
  }
  footer {
    height: 550px;
  }
  footer {
    height: 450px !important;
    padding-top: 10%;
    }

  h1 {
    margin-top: 15%;
  }
}



footer .flex img {
  margin: 0;
}

footer .flex > div {
  margin-bottom: 0;
  margin-top: 2%;
}

footer .titulo {
  font-size: 30px;
}

footer li {
  margin-top: 5px;
}


.social li {
  margin-right: 20px;
}

.flex .uno {
  width: 70%;
}

.flex .dos {
  padding-top: 2%;
  widows: 30%;
}

footer .center {
  text-align: center;
}

.nolist {
  list-style:none;
}

footer {
  height: 320px;
  background-color:  #0a2b4b;
  color:white;
  padding-left: 10%;
  padding-right: 5%;
}

.flex {
display: flex;
    justify-content: space-between;
}


.img-tipo {
  width: 100%;
}

.img-fondo-profesional {
  background-image: url(../files/escritorio/profesional.jpg);
}

.img-fondo-barato {
  background-image: url(../files/escritorio/dron-baratos.jpg);
}

.img-fondo-camara {
  background-image: url(../files/escritorio/dron-con-camara.jpg);
}


header {
  border-radius: 30px;
  height: 400px;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  color: white;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: black;
  padding-bottom: 2%;
  filter: brightness(70%);
  font-size: 55px;
  justify-content: center;
}


nav li a {
  cursor: pointer;
}

.articulo p {
  font-size: 20px;
}

.articulo h2 {
  font-size: 35px;
}

.articulo h3 {
  font-size: 22px;
}

.padding-10  img {
  padding:10%;
  width: 100%;
}


@media screen and (max-width: 700px) {

  .articulo h2 {
    font-size: 30px;
  }
  
  .articulo h3 {
    font-size: 25px;
  }

  .padding-5 img {
    padding:10%;
    width: 100%;
  }
  
}

.tabla-ficha {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 15px;
  margin: 20px 0;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.tabla-ficha th,
.tabla-ficha td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eaeaea;
}

.tabla-ficha th {
  background-color: #f7f7f7;
  font-weight: bold;
  color: #333;
}

.tabla-ficha tr:nth-child(even) {
  background-color: #fafafa;
}

.tabla-ficha tr:hover {
  background-color: #f0f0f0;
}
.conclusion-box {
  display: flex;
  align-items: center;
  background-color: #f4f8fc;
  border: 2px solid #d0e4f5;
  border-radius: 12px;
  padding: 20px;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 20px auto;
  flex-wrap: wrap;
}

.conclusion-box img {
  width: 250px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.conclusion-content {
  flex: 1;
}

.conclusion-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.conclusion-content button {
  background-color: #ff9900;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.conclusion-content button:hover {
  background-color: #e68a00;
}


.tabla-drones {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: sans-serif;
  font-size: 14px;
  text-align: center;
  overflow-x: auto;
}

.tabla-drones thead {
  background-color: #0a2b4b;
  color: #ffffff;
}

.tabla-drones th,
.tabla-drones td {
  padding: 12px 10px;
  border: 1px solid #ddd;
}

.tabla-drones tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.tabla-drones tbody tr:hover {
  background-color: #e0f2ff;
}

.tabla-img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.boton-amazon {
  background-color: #ffa41c;
  color: #111;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.boton-amazon:hover {
  background-color: #ff8c00;
}

@media screen and (max-width: 768px) {
  .tabla-drones thead {
    display: none;
  }

  .tabla-drones, .tabla-drones tbody, .tabla-drones tr, .tabla-drones td {
    display: block;
    width: 100%;
  }

  .tabla-drones tr {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .tabla-drones td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .tabla-drones td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 10px;
    font-weight: bold;
    text-align: left;
    color: #333;
  }

  .tabla-img {
    width: 100%;
    max-width: 300px;
  }
}


a {
  color:#e47d00;
  font-weight: bold;
}

h2{
  font-size: 28px;
}

.submarino-tipo {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .submarino-tipo img {
    max-width: 180px;
    height: auto;
    border-radius: 10px;
  }

  .submarino-tipo div {
    flex: 1;
  }

  @media (max-width: 768px) {
    .submarino-tipo {
      flex-direction: column;
    }

    .submarino-tipo img {
      max-width: 100%;
    }
  }