@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

/* 🎨 VARIABLES GLOBALES */
:root {
  --color-primary: #ff5c00;
  --color-secundary: #b60f1d;
  --color-primary-opacity: #ff5e00cc;
  --color-secundary-opacity: #b60f1d41;
  --color-text: #1f2937;
  --font-header: "Monoton", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

/* 🔹 RESETEO GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  font-family: var(--font-body), sans-serif;
  overflow-x: hidden;
}

/* 🔹 NAVBAR */
.navbar {
  width: 60px;
  height: 100vh;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
  gap: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}

.nav_img {
  width: 30px;
}

.img_menu {
  width: 35px;
}

/* 🔹 SCROLL WRAPPER - AHORA NORMAL */
.scroll-wrapper {
  position: relative;
  margin-left: 60px;
  width: calc(100% - 60px);
  display: flex;
  flex-direction: column;
}

/* 🔹 SECCIONES - FLUJO NORMAL */
.slide {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: white;
  transform: none !important;
  opacity: 1 !important;
}

/* 🔹 VIDEO DE FONDO */
.bg-video,
.slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 🔹 CAPAS DE OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.overlay-primary {
  position: absolute;
  inset: 0;
  background: #ff5e00e1;
  z-index: 2;
}

.overlay-secundary {
  position: absolute;
  inset: 0;
  background: #b60f1de1;
  z-index: 2;
}

.overlay-gradient1 {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, #ff5e00e1 0%, #b60f1de1 100%);
  z-index: 2;
}

.overlay-gradient2 {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, #b60f1de1 0%, #ff5e00e1 100%);
  z-index: 2;
}

/* 🔹 CONTENIDO PRINCIPAL */
.content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  min-height: 80%;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transform: none !important;
  transition: none;
  padding: 50px 100px;
}

/* 🔹 MITAD DE CADA LADO */
.w-50 {
  width: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 🔹 CUADRO ROTANTE DETRÁS */
.rotating-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 450px;
  height: 550px;
  background: var(--color-primary);
  transform: translate(-50%, -50%) rotate(10deg);
  border-radius: 30px;
  z-index: 1;
}

/* 🔹 CUADRO DE TEXTO PRINCIPAL */
.text-box {
  position: relative;
  background: rgb(255, 255, 255);
  padding: 40px;
  border-radius: 30px;
  z-index: 2;
  width: 450px;
}

.text-box h3 {
  font-size: 28px;
  color: #222;
  margin-bottom: 15px;
  text-align: left;
}

.text-box p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: left;
  font-size: 16px;
}

.section_orange {
  width: 100%;
  height: 100%;
  background: rgba(255, 92, 0, 0.8);
}

.rotating-box2 {
  background: var(--color-secundary);
  animation: rotate-slow 20s linear infinite;
  width: 400px;
  height: 400px;
}

@keyframes rotate-slow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.img-section3 {
  width: 100px;
  object-fit: cover;
  display: flex;
  flex-direction: row;
}

.contend-img-section3 {
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.img-contend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section_4 {
  width: 100%;
  height: 100%;
  background-image: url();
}

.row {
  display: flex;
}

.column {
  display: flex;
  flex-direction: column;
}

.gap-20 {
  gap: 20px;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.service-contend {
  background-color: #ffffff;
  width: 250px;
  padding: 10px 10px 20px;
  border-radius: 10px;
}

.service-contend h5 {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
}

.service-contend img {
  width: 60%;
  margin-bottom: 10px;
}

.title-h5 {
  font-size: 50px;
  text-transform: uppercase;
  color: var(--color-text);
}

.img-bg-section-b91 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay_orange {
  position: absolute;
  inset: 0;
  background: var(--color-primary-opacity);
  z-index: 2;
}

.rounded-20 {
  border-radius: 20px;
}

.contend-section-b91 {
  position: absolute;
  top: calc(50% - 100px);
  width: 200px;
  height: 250px;
  background-image: linear-gradient(120deg, var(--color-primary) 0%, var(--color-secundary) 100%);
  z-index: 10;
}

.img_b91 {
  width: 150px;
}

.section-8 {
  background-color: var(--color-secundary);
  padding-left: 100px;
}

.contend-img-section3 span {
  font-size: 14px;
}

.text-left {
  text-align: left !important;
}

.text {
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: left;
  font-size: 17px;
  color: white;
  margin-top: 20px;
}

.mt-150 {
  margin-top: 150px;
  align-items: flex-start;
}

.contend-divisiones {
  width: 600px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 20px;
  z-index: 10;
}

.contend-divisiones h4 {
  font-size: 50px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.animated-gradient {
  background: linear-gradient(180deg,
    var(--color-primary),
    var(--color-secundary),
    var(--color-primary),
    var(--color-secundary)
  );
  background-size: 100% 400%;
  animation: moveGradient 8s ease-in-out infinite;
}

@keyframes moveGradient {
  0% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 50% 0%;
  }
}

.container-box-section8 {
  padding: 50px 30px;
  border-radius: 60px;
  background-color: #ffffff;
}

.container-box-section8 p, 
.container-box-section8 h2, 
.container-box-section8 h5 {
  color: var(--color-text) !important;
  text-align: left !important;
}

.rounded-section8 {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  background-color: var(--color-primary);
  font-size: 50px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.position-left-section8 {
  position: absolute;
  left: -60px;
  top: 130px;
}

.position-right-section8 {
  position: absolute;
  right: -60px;
  bottom: 150px;
}

/* 🔹 ANIMACIONES - SCROLL REVEAL */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}
[data-animate="fade-up"].animate {
  transform: translateY(0);
}

[data-animate="zoom-in"] {
  transform: scale(0.6);
}
[data-animate="zoom-in"].animate {
  transform: scale(1);
}

[data-animate="fade-right"] {
  transform: translateX(-50px);
}
[data-animate="fade-right"].animate {
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(50px);
}
[data-animate="fade-left"].animate {
  transform: translateX(0);
}

[data-animate="zoom-out"] {
  transform: scale(1.4);
  opacity: 0;
}
[data-animate="zoom-out"].animate {
  transform: scale(1);
  opacity: 1;
}

/* =========================
   ✅ RESPONSIVE MODE (MÓVILES)
   ========================= */
@media (max-width: 768px) {
  .scroll-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .slide {
    min-height: auto;
  }

  .navbar {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    z-index: 10000;
  }

  .nav_img {
    width: 25px;
  }

  .img_menu {
    width: 30px;
  }

  .content {
    flex-direction: column;
    padding: 40px 20px;
  }

  .w-50 {
    width: 100% !important;
  }

  .text-box {
    width: 100% !important;
    padding: 25px !important;
  }

  .title-h5 {
    font-size: 28px !important;
  }

  .nav_img_mv {
    display: block !important;
    width: 40px;
  }

  .nav_img {
    display: none;
  }
}