@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;600;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Familjen Grotesk', sans-serif;
  background: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

/* Header/Navbar */
.main-header {
  position: fixed;
  background-color: #000;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  height: 5%;
  padding: 0 30px;
}

/* Logo */
.logo {
  width: 210px;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Desktop Menu */


.desktop-main-menu {
  width: 100%;
  font-size: 25px;
 
}

.desktop-main-menu ul {
  display:flex;
  align-items: center;
  justify-content: center;
  
}

.desktop-main-menu ul li {
  position: relative;
  margin-right: 75px;
  
  border-bottom: #fff;
  border-bottom-width: 0ch;
  font-size: 20px
}

/* Menu item bottom border */
.desktop-main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: all 1s ease-out;
  transform-origin: right center;
  transform-style: preserve-3d;
  
}

.desktop-main-menu ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 1s;
}

.btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  min-width: 130px;
  padding: 15px 50px;
  margin-top: 10px;
  border: 2px solid #fff;
  text-transform: none;
  font-weight: bold;
  overflow: hidden;
  z-index: 2;
}

.btn:hover span {
  color: #000;
}

.btn .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #000;
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover .hover {
  transform: translateY(0);
}

.scroll-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeBounce 5s infinite;
}

/* Footer */

footer {
  position: relative;
  padding: 55px 0;
  color: lightslategrey;
}

footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

footer ul li {
  margin-right: 30px;
  color: #aaa;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 2.5;
}

footer ul li a {
  color: #fff;
  transition: color 0.6s;
}

footer ul li a:hover {
  color: #aaa;
}

/* Hamburger Menu */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  width: 20px;
  height: 2px;
  top: 0;
  left: 0;
  background: #fff;
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(5px);
}

.hamburger-bottom {
  transform: translateY(10px);
}

/* Transition hamburger to X when open */
.open {
  transform: rotate(90deg);
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
}


/* Overlay */
.overlay-show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

/* Stop body scroll */
.stop-scrolling {
  overflow: hidden;
}

/* Hide mobile main menu items */
.mobile-only {
  display: none;
}

/* Mobile menu */
.mobile-main-menu {
  position: fixed;
  top: 9%;
  right: 0;
  width: 280px;
  height: 70%;
  background: #000000;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border-color: #585858;
  border-top-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 1px;
  border-right-width: 1px;
  border-style: solid;
  transform: translateX(100%);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Bring menu from right */
.show-menu {
  transform: translateY(0);
}

.mobile-main-menu ul {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  padding: 50px;
  width: 100%;
}

.mobile-main-menu ul li {
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px #555 dotted;
  width: 100%;
  text-align: right;
  padding-bottom: 8px;
}

.mobile-main-menu ul li a {
  color: #fff;
  transition: color 0.6s;
}

.mobile-main-menu ul li a:hover {
  color: #aaa;
}


.stats {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-transform: uppercase;
}

.stats div span {
  font-size: 160px;
}

/* IMAGENES DE LAS SECCIONES*/ /* IMAGENES DE LAS SECCIONES*/ /* IMAGENES DE LAS SECCIONES*/ /* IMAGENES DE LAS SECCIONES*/


/* SECCION RPCS*/

.section-animate_RPCS {
  margin-top: 4%;
  height: 40vh;
  border-top-style: solid;
  border-bottom-style: solid;
  border-radius: 20px;
  border-top-width: 2px;
  border-bottom-width: 2px;
}

.section-inner-center_RPCS {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.section-inner-center_RPCS h3 {
  font-size: 40px;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-shadow: 1px  0px 0px black,
  0px  1px 0px black,
 -1px  0px 0px black,
  0px -1px 0px black;
  width: 100%;
  text-align: center;
}

.section-inner-center_RPCS p {
  font-size: 30px;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-shadow: 1px  0px 0px black,
  0px  1px 0px black,
 -1px  0px 0px black,
  0px -1px 0px black;
  width: 100%;
  text-align: center;
}


/* subsections_RPCS*/

.subsection_1 {
  width: 100%;
  display: block;
  position: relative;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /*display: flexbox;
  flex-wrap: wrap;*/
}

.subsection-inner_A_RPCS_tittle{
  padding-top: 5%;
  width: 100%;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family: sans-serif;
  animation-fill-mode: both;
  display: flex;
  justify-content: center;
  align-self: center;
}

.subsection-inner_A_RPCS_tittle li{
  font-size: 25px;
  width: 70%;
  margin-left:15%;
  margin-right: 15%;
  list-style: none;
  border-spacing:10px;
  text-align: center;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
  border-bottom: 3px solid #EEF1F4;
  border-width: 3px 0;
}

.subsection-inner_A_RPCS {
  padding: 5%;
  width: 100%;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family: sans-serif;
  animation-fill-mode: both;
}

.subsection-inner_A_RPCS li{
  font-size: 25px;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
  list-style: none;
  padding: 25px;
  border-spacing:10px;
  text-align: justify;
  font-style: italic;
  font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
}

.subsection-inner_A_RPCS_Grafica_1{
  align-items: center;
  max-width: 100%;
}

.subsection-inner_B_RPCS_tittle{
  padding-top: 5%;
  width: 70%;
  margin-left:15%;
  margin-right: 15%;
  display: block;
  align-self: center;
  font-size: 20px;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family: sans-serif;
  animation-fill-mode: both;
  border-bottom: 3px solid #EEF1F4;
  border-width: 3px 0;
}
.subsection-inner_B_RPCS_tittle li{
  font-size: 25px;
  width: 70%;
  margin-left: 15%;
  margin-right: 15%;
  list-style: none;
  padding: 25px;
  border-spacing:10px;
  text-align: center;
  font-style: italic;
  font-family: 'Familjen Grotesk', sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
}

.subsection-inner_B_RPCS{
  max-width: 100%;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  display: block;
  justify-content: center;
  padding: 5%;
}

.subsection-inner_B_RPCS li{
  font-size: 25px;
  width: 70%;
  list-style: none;
  padding: 25px;
  text-align: justify;
  font-style: italic;
  font-family: 'Familjen Grotesk', sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
  margin-left:15%;
  margin-right: 15%;
}

.subsection-inner_B_RPCS_grafica_2 {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.integration-diagram {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #224c99;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.module {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #111;
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  text-align: center;
  font-family: 'Familjen Grotesk', sans-serif;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(270deg) translate(180px) rotate(-270deg);
  transform-origin: center center;
}



.radar {
  transform: translate(-50%, -50%) rotate(30deg) translate(180px) rotate(-30deg);
}

.inertial {
  transform: translate(-50%, -50%) rotate(150deg) translate(180px) rotate(-150deg);
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid #ffffff;
  margin: 30px 0;
}

.banner-unificacion {
  background-color: rgba(50, 80, 160, 0.4);
  border: 3px solid #1d4db4;
  border-radius: 15px;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
  max-width: 700px;
  margin-bottom: 30px;
}

.subsection-inner_B_RPCS_grafica_2 video{
  border-radius: 20px;
  border-style: double;
  border-color: #fff;
  border-width: 5px;
  width: 40%;
  height: 30%;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both; 
  margin: 0 auto ;
  display: block;
}

.subsection-inner_C_RPCS_tittle{
  padding-top: 5%;
  width: 75%;
  margin-left:15%;
  display: block;
  align-self: center;
  font-size: 20px;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family: 'Familjen Grotesk', sans-serif;
  animation-fill-mode: both; 
  border-bottom: 3px solid #EEF1F4;
  border-width: 3px 0;
}

.subsection-inner_C_RPCS_tittle li{
  font-size: 25px;
  width: 100%;
  list-style: none;
  padding: 25px;
  border-spacing:10px;
  text-align: center;
  font-style: italic;
  font-family: 'Familjen Grotesk', sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
}

.subsection-inner_C_RPCS{
  max-width: 100%;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  display: block;
  justify-content: center;
  padding: 5%;
}

.subsection-inner_C_RPCS li{
  font-size: 25px;
  width: 70%;
  list-style: none;
  padding: 25px;
  text-align: justify;
  font-style: italic;
  font-family: 'Familjen Grotesk', sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
  margin-left:15%;
  margin-right: 15%;
}

.subsection-inner_C_RPCS_grafica_1{
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subsection-inner_D_RPCS_tittle{
  padding-top: 5%;
  width: 75%;
  margin-left:15%;
  display: block;
  align-self: center;
  font-size: 20px;
  bottom: 100px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  font-family: 'Familjen Grotesk', sans-serif;
  animation-fill-mode: both; 
  border-bottom: 3px solid #EEF1F4;
  border-width: 3px 0;
}

.subsection-inner_D_RPCS_tittle li{
  font-size: 25px;
  width: 100%;
  list-style: none;
  padding: 25px;
  border-spacing:10px;
  text-align: center;
  font-style: italic;
  font-family: 'Familjen Grotesk', sans-serif;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
  text-transform: none;
  line-height: 40px;
}

.subsection-inner_D_RPCS_image {
  text-align: center;
  margin: 5%;
  padding: 5%;
}

.subsection-inner_D_RPCS_image img {
  max-width: 50%;
  height: auto;
  border-radius: 20px;
  border: 1px solid #dba144;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Animations */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(500px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(140px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }

  40% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Media Queries */

@media  screen and (min-width: 1px) and (max-width:600px),
        screen and (max-height: 700px)  {

.main-header {
  position: fixed;
  background: none;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  height: 120px;
  padding: 0 30px;
}

          /* Hamburger Menu */
.hamburger {
  position: fixed;
  top: 5%;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
}

   /* Hide desktop menu */
   .desktop-main-menu {
    display: none;
  }

  .mobile-only {
    display: block;
  }
  /* Show main mobile items */
  .section-inner_A {
   position: relative;
   width: 100%;
   display: flex;
   align-items: center;
}

   footer ul li:first-child {
     position: absolute;
     top: 30px;
     left: 50%;
     transform: translate(-50%, -50%);
   }

   footer ul li {
     margin-right: 15px;
   }

   .logo {
     width: 150px;
     margin: auto;
   }

   .section-inner-center h3 {
     font-size: 50px;
   }



   .break-mobile {
    display: inline;
  }

      .subsection-inner_D_RPCS_image img {
  max-width: 80%;

}
.integration-diagram {
  position: relative;
  width: 300px;
  height: 300px;

}

.center-core {
  width: 90px;
  height: 90px;

}

.module {
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%) rotate(270deg) translate(150px) rotate(-270deg);
}

.radar {
  transform: translate(-50%, -50%) rotate(30deg) translate(150px) rotate(-30deg);
}

.inertial {
  transform: translate(-50%, -50%) rotate(150deg) translate(150px) rotate(-150deg);
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 25px solid #ffffff;
  margin: 30px 0;
}

.banner-unificacion {
  background-color: rgba(50, 80, 160, 0.4);
  border: 3px solid #1d4db4;
  border-radius: 15px;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
  max-width: 700px;
  margin-bottom: 30px;
}

  .subsection-inner_A_RPCS_tittle li,
  .subsection-inner_B_RPCS_tittle li,
  .subsection-inner_C_RPCS_tittle li,
  .subsection-inner_D_RPCS_tittle li,
  .subsection-inner_A_RPCS li,
  .subsection-inner_B_RPCS li,
  .subsection-inner_C_RPCS li,
  .subsection-inner_D_RPCS li{
    font-size: 16px; /* Antes: 25px en escritorio */
  }

}

@media  screen and (min-width: 601px) and (max-width:1000px){

  .main-header {
    position: fixed;
    background: none;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    height: 120px;
    padding: 0 30px;
  }
  
            /* Hamburger Menu */
  .hamburger {
    position: fixed;
    top: 5%;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
  }

/* Hide desktop menu */
.desktop-main-menu {
display: none;
}

.mobile-only {
display: block;
}
/* Show main mobile items */

footer ul li:first-child {
position: absolute;
top: 30px;
left: 50%;
transform: translate(-50%, -50%);
}

footer ul li {
margin-right: 15px;
}

.logo {
width: 150px;
margin: auto;
}

.section-inner-center h3 {
font-size: 50px;
}

/*RPCS*/

.section-inner-center_RPCS h3 {
font-size: 35px;
text-transform: uppercase;
width: 100%;
text-align: center;
animation: fadeInUp 0.5s ease-in-out;
text-shadow: 1px  0px 0px black,
0px  1px 0px black,
-1px  0px 0px black,
0px -1px 0px black;
}

.section-inner-center_RPCS p {
font-size: 25px;
font-style: italic;
font-family: 'Familjen Grotesk', 'Arial Narrow', Arial, sans-serif;
animation: fadeInUp 0.5s ease-in-out 0.2s;
width: 90%;
text-align: center;
animation-fill-mode: both;
transform: translate(-50%, -50%);
text-shadow: 1px  0px 0px black,
0px  1px 0px black,
-1px  0px 0px black,
0px -1px 0px black;
}

.subsection-inner_D_RPCS_image img {
  max-width: 70%;

}


}





