/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.img-fullwidth-wrapper img {
  cursor: pointer;
  border-radius: 1%;
}
.open-modal {
  text-align: -webkit-center;
}
.margin-y3 {
  margin: 3rem 0;
}
.margin-b3 {
  margin: 0 0 3rem 0;
}
.pad-y3 {
  padding: 0 3rem;
}
.img-fullwidth-wrapper {
  margin: 0px 5px;
}
.inner-divider-half {
  height: 50px;
}
.inner-divider-ultra-half {
  height: 15px;
}
.the-line {
  position: relative;
  width: 0.1px;
  height: 80px;
  background: #5f5f5f;
  margin: 1px auto;
}
.image-works {
  position: relative;
  z-index: 5 !important;
  padding: 5px;
  margin-top: 40px;
  border: 1px solid #ccc;
}
/* Container */
.container2 {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
.text-red {
  color: #dc2626;
}
.font-oswald {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.3s ease;
}

.header a {
  color: white;
  text-decoration: none; /* Esto quita la línea de abajo */
  letter-spacing: 0;
}

.header.scrolled {
  background: rgb(255, 255, 255);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

.header.scrolled a {
  color: rgb(0, 0, 0);
  transition: color 0.3s ease;
  letter-spacing: 0;
}
.header.scrolled .nav {
  padding: 0.2rem 2rem;
  transition: all 0.8s ease;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  margin: 0 5rem;
  transition: all 0.8s ease;
}

.nav-logo {
  color: white;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0px 3rem;
}

.nav-link {
  font-size: 13px;
  color: white;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #dc2626;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bg-img-SINGLE {
  background: url("../media/rooms/room8.webp") no-repeat center center/cover;
  position: absolute;
}                          
.bg-black{
  background: #000000 !important;
}
.bg-white{
  background: #ffffff !important;
}
.color-black{
  color: #000000 !important;
}
.color-white{
  color: #ffffff !important;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  margin: -2px 0 0 11px;
}

.hero-title {
  position: relative;
  font-style: normal;
  font-weight: 700;
  font-size: 115px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  margin: -14px auto -5px auto;
  width: 100%;
  line-height: 100%;
  z-index: 1;
}

.hero-btn {
  border: 2px solid white;
  background: transparent;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: white;
  color: black;
}
/* 9. hero container */
.hero-fullscreen {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.hero-fullscreen-FIX {
  width: 100%;
  height: 100%;
}
/* overlay */
.overlay:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.overlay-top-bottom-dark-15:before,
.overlay-dark-70:before,
.overlay-dark-60:before,
.overlay-dark-40:before {
  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  pointer-events: none;
}

.overlay-top-bottom-dark-15:before {
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
}

.overlay-dark-70:before {
  background: rgba(0, 0, 0, 0.7);
}

.overlay-dark-60:before {
  background: rgba(0, 0, 0, 0.6);
}

.overlay-dark-40:before {
  background: rgba(0, 0, 0, 0.4);
}

/* Estudios Section */
.estudios {
  text-align: center;
  align-content: center;
}

.section-title {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 75px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #000;
  margin: 0 auto -3px auto;
  width: 100%;
  line-height: 100%;
  z-index: 1;
}

.section-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* Nosotros Section */
.nosotros {
  padding: 5rem 0;
  text-align: center;
  background: #e8e8e859;
}

.main-title {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 75px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #000;
  margin: 0 auto -3px auto;
  width: 100%;
  line-height: 100%;
  z-index: 1;
}

.main-subtitle {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.05em;
  color: #000000;
}

.desc-content {
  max-width: 1000px;
  margin: 0 auto 0rem;
}

.desc-content p {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: normal;
  font-weight: 400;
  color: #ffffff;
  padding-bottom: 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.stats {
  margin-bottom: 2rem;
}

.stats-label {
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.65em;
  color: #000;
}

.stats-number {
  position: relative;
  font-family: "Montserrat", Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 155px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
  width: 100%;
  line-height: 100%;
  margin: -20px auto;
  z-index: 0;
}

/* testimonios Section */
.testimonios {
  padding: 5rem 0;
  text-align: center;
  align-content: center;
  background: #f9fafb;
}

.section-header {
  /* padding-top: 10rem; */
  text-align: center;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.demo-item {
  cursor: pointer;
  border: 1px solid #ccc;
  height: fit-content;
}

.demo-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 5px;
}

.demo-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255 255 255 / 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.demo-overlay span {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.demo-item:hover .demo-overlay {
  opacity: 1;
}

.demo-title {
  padding: 0.6rem 0rem;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  color: #5f5f5f;
  text-align: center;
  margin: 0 auto;
  line-height: 1;
}
.icon-works {
  position: absolute;
  width: 100%;
  top: 50%;
  text-align: center;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  -ms-transition: all 0.35s ease-out;
  -o-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  z-index: 1;
}
.icon-works a {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  width: 180px;
  height: 44px;
  line-height: 44px;
  margin: 0 auto 0 -10px;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  -webkit-transition: all 0.35s ease-out;
  -moz-transition: all 0.35s ease-out;
  -ms-transition: all 0.35s ease-out;
  -o-transition: all 0.35s ease-out;
  transition: all 0.35s ease-out;
}

.icon-works .zoom-item {
  display: inline-block;
  /* padding: 12px 24px; */
  background-color: rgb(0 0 0);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  /* border: 2px solid rgba(255, 255, 255, 0.3); */
}

.icon-works .zoom-item:hover {
  background-color: rgba(0, 0, 0, 0.738);
  transform: scale(1.05);
}
/* Estilos para el contenedor de los íconos */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: #000000;
  font-size: 24px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff0000;
}
/* fin social icons */
.zoom-item {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* preguntas Section */
.preguntas {
  text-align: center;
  /* align-content: center; */
  background: #f9fafb;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1500px;
  margin: 0 auto;
}

.why-choose-image img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.why-choose-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.feature-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.feature-value {
  font-size: 1.5rem;
  font-weight: 900;
}

/* skillbar */
.skillbar {
  width: 100%;
  background-color: #ffffff00;
  height: 30px;
  border-radius: 5px;
  position: relative;
  margin: 10px 0;
}
.skillbar-bar {
  background-color: #000000;
  width: 0;
  transition: width 7s ease-in-out;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  margin: 0 0 3px 0;
}
.skillbar-title {
  position: absolute;
  width: auto;
  height: 21px;
  line-height: 21px;
  top: -21px;
  left: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  background: none;
  padding: 0;
}

.skillbar-percent {
  position: absolute;
  height: auto;
  line-height: 1;
  top: -21px;
  right: 0;
  color: #000;
  font-size: 11px;
}

/* pasos Method */
.pasos {
  text-align: center;
  align-content: center;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  font-size: 6rem;
  font-weight: 900;
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-title {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.step-desc {
  color: #6b7280;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Contact Section */
.contacto {
  /* background: linear-gradient(135deg, #000 0%, #1f2937 100%); */
  background: #000000;
  color: white;
  position: relative;
  text-align: center;
  align-content: center;
}

.contacto-title {
  font-size: clamp(2.5rem, 5vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contacto-subtitle {
  color: #d1d5db;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  /* margin-bottom: 3rem; */
}

.contacto-btn {
  border: 2px solid #dc2626;
  background: transparent;
  color: #dc2626;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contacto-btn:hover {
  background: #dc2626;
  color: white;
}

/* Footer */
.footer {
  background: white;
  text-align: center;
}

.footer-logo {
  height: 10rem;
  margin: 0 auto 0rem;
}

.footer-text {
  color: #6b7280;
  font-size: 0.875rem;
}
.footer-column {
  align-content: center;
  text-align: left;
  float: left;
}
.footer-column p {
  line-height: 2;
  color: #5f5f5f;
}
.title-footer {
  font-size: 1.25rem;
  font-weight: 900;
  padding-bottom: 1rem;
}
.footer-column-grid {
  display: grid;
  align-content: space-around;
}
.footer-cont1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  /* background-color: #f2f2f2; */
}
.footer-cont2 {
  padding: 2rem 2rem;
  display: flex;
  justify-content: space-around;
}

.aliados {
  padding: 10rem 0;
}
/* Añade este CSS al final de tu archivo de estilos */
.hamburger {
  display: none; /* Por defecto está oculto */
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
}

.hamburger .bar {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  margin: 2px 0;
  transition: all 0.3s ease;
}
@media only screen and (min-width: 1000px) {
  .estudios {
    height: 100vh;
  }
  .testimonios {
    height: 100vh;
  }
  .preguntas {
    height: 100vh;
  }
  .pasos {
    height: 100vh;
  }
  .contacto {
    height: 100vh;
  }
  .section-header {
    padding-top: 10rem;
  }
  .modal-body {
    display: flex;
    height: 70%;
    width: 80%;
    justify-self: center;
  }
}
/* Mobile Menu Styles */
@media (max-width: 999px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    margin: 0;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
  }
  .hamburger {
    display: flex;
  }
  .header a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    letter-spacing: 0;
  }
  .header.scrolled {
    background: rgb(255, 255, 255);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
  }

  .header.scrolled a {
    color: rgb(0, 0, 0);
    transition: color 0.3s ease;
    letter-spacing: 0;
  }
  .header.scrolled .nav {
    padding: 0.4rem 1rem;
    transition: all 0.8s ease;
  }
  .header.scrolled .bar {
    background-color: #000;
  }
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav {
    padding: 1rem;
    margin: 0;
  }

  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .main-title {
    font-size: 4rem;
  }

  .stats-number {
    font-size: 8rem;
  }

  .demos-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .method-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contacto-title {
    font-size: 2.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-cont1 {
    display: grid;
    text-align-last: center;
    justify-content: center;
  }
  .footer-column {
    align-content: center;
    text-align: left;
    float: left;
    padding: 2rem 0;
  }
  .estudios {
    height: 100vh;
  }
  .testimonios {
    padding-top: 10rem;
  }
  .preguntas {
    padding-top: 10rem;
  }
  .pasos {
    padding: 10rem 0;
  }
  .contacto {
    height: 100vh;
  }
  .modal-body {
    display: block;
    height: 85%;
    width: 90%;
    justify-self: center;
  }
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button Hover Effects */
.contacto-btn {
  position: relative;
  overflow: hidden;
}

.hero-btn {
  position: relative;
  overflow: hidden;
}

/* Loading State */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1;
}

/* Enhanced Product Items */
.product-item {
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Parallax Container */
.hero {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Text Selection */
::selection {
  background: #dc2626;
  color: white;
}

/* Focus States */
.nav-link:focus,
.hero-btn:focus,
.contacto-btn:focus {
  /* outline: 2px solid #dc2626; */
  outline-offset: 2px;
}

/* link underline menu */
.link-underline-menu {
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.link-underline-menu:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: -1px;
  background: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  -ms-transition: all 0.4s ease-in-out 0s;
  -o-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.link-underline-menu:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}

@media only screen and (max-width: 768px) {
  .link-underline-menu:hover:before {
    visibility: hidden;
  }
}

.link-underline-menu.active:before {
  background: #ccc;
}

.main-navigation-bg .link-underline-menu.active:before {
  background: #ccc;
}
/* the button */
.the-button-wrapper {
  position: relative;
  width: 200px;
  height: auto;
  line-height: 0.9;
  padding: 0;
  text-align: center;
  cursor: pointer;
}

.the-button-wrapper {
  margin: -7px auto 0 auto;
}

@media all and (min-width: 1920px) {
  .the-button-wrapper {
    width: 205px;
    margin: -4px auto 0 auto;
  }
}

@media only screen and (max-width: 640px) {
  .the-button-wrapper {
    width: 165px;
  }
}

.the-button,
.the-button-contacto {
  position: relative;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #db0018;
  background: none;
  padding: 9px 0px 0 0px;
  margin-top: 10px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}



/* @media only screen and (max-width: 640px) {
  .the-button,
  .the-button-contacto {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
} */

.the-button:hover:before,
.the-button-contacto:hover:before {
  width: 55%;
}

.the-button:hover:after,
.the-button-contacto:hover:after {
  width: 55%;
}

.the-button::before,
.the-button-contacto::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 38px;
  top: -4px;
  left: -6px;
  border: 3px solid #db0018;
  border-right: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

@media all and (min-width: 1920px) {
  .the-button::before,
  .the-button-contacto::before {
    width: 20px;
    height: 47px;
    top: -5px;
  }
}

/* @media only screen and (max-width: 640px) {
  .the-button::before,
  .the-button-contacto::before {
    width: 15px;
    height: 38px;
    top: -2px;
  }
} */

.the-button::after,
.the-button-contacto::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 38px;
  top: -4px;
  right: -6px;
  border: 3px solid #db0018;
  border-left: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

@media all and (min-width: 1920px) {
  .the-button::after,
  .the-button-contacto::after {
    width: 20px;
    height: 47px;
    top: -5px;
  }
}

/* @media only screen and (max-width: 640px) {
  .the-button::after,
  .the-button-contacto::after {
    width: 15px;
    height: 38px;
    top: -2px;
  }
} */
/* the button LIGHT */
.the-button-light {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #fff;
  background: none;
  padding: 9px 40px 0 40px;
  margin-top: 10px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
}

@media all and (min-width: 1920px) {
  .the-button-light {
    font-size: 11px;
    letter-spacing: 0.25em;
    padding: 11px 40px 0 40px;
  }
}

@media only screen and (max-width: 640px) {
  .the-button-light {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

.the-button-light:hover:before {
  width: 100%;
}

.the-button-light:hover:after {
  width: 100%;
}

.the-button-light::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 38px;
  top: -2px;
  left: -6px;
  border: 1px solid #fff;
  border-right: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

@media all and (min-width: 1920px) {
  .the-button-light::before {
    width: 20px;
    height: 47px;
    top: -5px;
  }
}

@media only screen and (max-width: 640px) {
  .the-button-light::before {
    width: 15px;
    height: 38px;
    top: -2px;
  }
}

.the-button-light::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 38px;
  top: -2px;
  right: -6px;
  border: 1px solid #fff;
  border-left: none;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

@media all and (min-width: 1920px) {
  .the-button-light::after {
    width: 20px;
    height: 47px;
    top: -5px;
  }
}

@media only screen and (max-width: 640px) {
  .the-button-light::after {
    width: 15px;
    height: 38px;
    top: -2px;
  }
}
.page-scroll {
  text-decoration: none;
}
/* 10. to top arrow */
.to-top-arrow {
  position: fixed;
  right: 20px;
  bottom: -10px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  color: #fff;
  background: #db0018;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transform: translateY(40px);
  -moz-transform: translateY(40px);
  -ms-transform: translateY(40px);
  -o-transform: translateY(40px);
  transform: translateY(40px);
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  -ms-transition: all 0.7s;
  -o-transition: all 0.7s;
  transition: all 0.7s;
  z-index: 105;
}

@media only screen and (max-width: 1200px) {
  .to-top-arrow {
    right: 26px;
  }

  .to-top-arrow.show {
    bottom: 5px;
  }
  .logo {
    padding-top: 19px;
    padding-left: 15px;
  }

  .main-navigation .navbar-nav li a {
    right: 16px;
  }
}
@media only screen and (max-width: 995px) {
  .to-top-arrow {
    right: 20px;
  }
  .section-title.section-title-small {
    font-size: 45px;
    margin: -2px auto 0 auto;
  }
}

.to-top-arrow.show {
  bottom: 0;
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
  transform: translateY(-20px);
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

@media only screen and (max-width: 995px) {
  .to-top-arrow.show {
    bottom: 0;
  }
}

.to-top-arrow:hover {
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

/* scroll indicator */
.scroll-indicator-wrapper {
  position: absolute;
  width: 1px !important;
  height: 100%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  -webkit-transition: all 0.7s;
  -moz-transition: all 0.7s;
  -ms-transition: all 0.7s;
  -o-transition: all 0.7s;
  transition: all 0.7s;
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  -webkit-transform: translate(-50%, 50%);
  -moz-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
  z-index: 1005;
}

@media all and (min-width: 1920px) {
  .scroll-indicator {
    bottom: 60px;
  }
}

.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: none;
}

@media all and (min-width: 1920px) {
  .scroll-line {
    height: 60px;
  }
}

.scroll-line::before {
  content: "";
  display: block;
  width: 1px;
  height: 50%;
  top: 0;
  background-color: #fff;
  -webkit-animation: scroll-down 2s ease-in-out infinite;
  -ms-animation: scroll-down 2s ease-in-out infinite;
  animation: scroll-down 2s ease-in-out infinite;
}

@-webkit-keyframes scroll-down {
  0% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  70% {
    height: 100%;
    transform: scaleY(0.5);
    transform-origin: bottom;
  }
  100% {
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@-ms-keyframes scroll-down {
  0% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  70% {
    height: 100%;
    transform: scaleY(0.5);
    transform-origin: bottom;
  }
  100% {
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@keyframes scroll-down {
  0% {
    height: 0;
  }
  50% {
    height: 100%;
  }
  70% {
    height: 100%;
    transform: scaleY(0.5);
    transform-origin: bottom;
  }
  100% {
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ------------------------------- */

/* navigation */
.logo .logo-light,
.main-navigation-bg .logo .logo-dark {
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  height: auto;
}

.logo .logo-dark,
.main-navigation-bg .logo .logo-light {
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  height: 0;
}

.navbar-bg-switch {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  z-index: 999;
}

.logo {
  padding-top: 19px;
  padding-left: 0;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

@media only screen and (max-width: 768px) {
  .logo {
    padding-top: 15px;
    padding-left: 10px;
  }
}

.main-navigation .navbar-nav li a {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 45px 15px 35px 15px;
  right: -15px;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

@media only screen and (max-width: 768px) {
  .main-navigation .navbar-nav li a {
    color: #000;
    padding: 10px 15px;
    right: auto;
  }
}

.main-navigation .navbar-nav li a:hover {
  color: #fff;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

@media only screen and (max-width: 768px) {
  .main-navigation .navbar-nav li a:hover {
    color: #000;
  }
}

.nav li a:focus,
.nav li a:hover {
  color: #ccc;
  background: none;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.main-navigation-bg {
  background: rgba(255, 255, 255, 1);
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

.main-navigation-bg .logo {
  padding-top: 6px;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.main-navigation-bg .main-navigation .navbar-nav li a {
  color: #000;
  padding: 19px 15px 0 15px;
  -webkit-transition: all 0.4s ease-out;
  -moz-transition: all 0.4s ease-out;
  -ms-transition: all 0.4s ease-out;
  -o-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

@media only screen and (max-width: 768px) {
  .main-navigation-bg .main-navigation .navbar-nav li a {
    padding: 10px 15px;
  }
}

.main-navigation-bg .main-navigation .navbar-nav li a:hover {
  color: #000;
}

@media only screen and (max-width: 768px) {
  .navbar-toggle .icon-bar {
    background: #fff;
    margin-right: -10px;
  }

  .main-navigation-bg .navbar-toggle .icon-bar {
    background: #000;
    margin-right: -10px;
  }

  .navbar-toggle {
    margin-top: -35px;
    margin-right: 4px;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .main-navigation-bg .navbar-toggle {
    margin-top: -44px;
    margin-right: 4px;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 1);
    margin-top: 23px;
  }

  .main-navigation-bg .navbar-collapse {
    margin-top: 3px;
  }
}

.main-navigation-bg .link-underline-menu:before {
  bottom: -7px;
  background: #000;
}

.navbar-nav li.active {
  color: #ccc !important;
  text-decoration: none;
}

.navbar-nav > .active > a {
  color: #ccc !important;
  background: none;
  text-decoration: none;
}

/* Custom styles for each box */

.parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
}

.div2 {
  grid-column-start: 4;
  grid-row-start: 1;
}

.div3 {
  grid-column-start: 2;
  grid-row-start: 1;
}

.div4 {
  grid-column-start: 3;
  grid-row-start: 1;
}

/* custom modal */
.custom-modal-text {
  margin-top: 20px; /* Espacio entre la imagen y el texto */
  color: #ffffff; /* Color del texto */
  text-align: center; /* Centrar el texto */
  font-size: 1.1em; /* Tamaño de fuente */
}

.custom-modal-close:hover {
  color: #ccc;
}
.custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  align-content: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0 0 0 / 78%);
}

.custom-modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 1%;
}

.custom-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.custom-modal-close:hover {
  color: #ccc;
}

/* acordeon */
.accordion-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0);
  border-radius: 8px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #eeeeee;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 20px;
  background: #ffffff00;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: #f8f9fa00;
}

.accordion-icon {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #ffffff00;
}

.accordion-content-inner {
  padding: 20px;
  color: #ffffff;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

/* ---------------------------- estilos modal testimonios ---------------------------- */

/* Contenido de texto - Lado derecho */
.content-container {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  background: white;
}
.content-container,
.testimonial-content {
  align-content: center;
}
.testimonial-header {
  text-align: center;
  /* margin-bottom: 30px; */
  border-bottom: 2px solid #f0f0f0;
}

.testimonial-name {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-date {
  color: #666;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-content {
  line-height: 1.8;
  align-content: center;
}
/* 
.testimonial-content h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin: 25px 0 15px 0;
  position: relative;
  padding-left: 20px;
}

.testimonial-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(45deg, #ff6b6b, #ff0000);
  border-radius: 2px;
}

.testimonial-content p {
  margin-bottom: 15px;
  color: #555;
  text-align: justify;
} */

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #000000;
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-left: 5px solid #ff0000;
  border-radius: 10px;
  position: relative;
}

/* .testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -10px;
  left: 15px;
  color: #cd4e4e;
  opacity: 0.3;
} */

/* Carousel de imágenes - Lado izquierdo */
.carousel-container {
  flex: 1;
  position: relative;
  background: #f8f9fa;
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: #333;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav:hover {
  background: #ff0000;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #ff0000;
  transform: scale(1.3);
}
