/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Values Root*/
:root {
  --primary-color: rgb(70, 0, 128);
  --primary-color-light: #A43931;
  --primary-color-extra-light: #35373b;
  --secondary-color: 	#6B8E23;
  --secondary-color-dark: #9bee86;
  --text-light: #d1d5db;
  --white: #e9e0fd;
  --max-width: 1200px;
}

/* General Styles */
* {

  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.3s;
  color: #333;

}

.ver-mas {
  display: inline-block;
  margin: 2rem auto;
  padding: 0.8rem 2rem;
  background-color: #1e40af; /* azul elegante */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all ease;
}

/* Centrar dentro del contenedor padre */
.ver-mas {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Hover animado */
.ver-mas:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.hidden {
  display: none !important;
}
.loader-logo {
  animation: spin3d 1.2s linear infinite;
  transform-style: preserve-3d;
}

.project_img img {
  max-width: 100%;
  height: auto;
}

.button-nav {
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  position: fixed;
  display: none;
  justify-content: start;
  align-items: center;
  background-color: #A43931;
  z-index: 100;
}

.button-nav a {
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  padding: 2rem;
}

.button-nav a:hover i {
  background-color: var(--secondary-color);
}

a {
  text-decoration: none;

}



body {
  background: #1D4350;
  background-attachment: fixed;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #A43931, #1D4350);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #A43931, #1D4350);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.grid {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
}

.btn,
.btn-s {
  background: var(--secondary-color);
  color: black;
  padding: 0.5em 1.2em;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 0;
  font-weight: 700;
}

.section {
  padding-block: 5rem 2rem;
}

.grid_p {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.container {
  max-width: 100%;
  margin-inline: 1.5rem;
}

.title {
  padding: 2px;
  margin: 2px;
}

.title-h2 {
  text-align: center;
  color: var(--white);
  text-shadow: 5px 0 6px black;
}


/*---HEADER---*/
header {
  background-color: var(--primary-color-light);
  width: 100%;
  font-weight: 600;
  height: 30%;
  z-index: 10;
  position: relative;
  box-shadow: 0 0 50px black;
}

.header-section {
  align-items: center;
  align-self: auto;
}

.logo {
  width: auto;
  justify-content: flex-start;
  align-items: center;
}
.logo-text p{
  font-size: 1.5em;
  color: white
}
.nav-bar {
  justify-content: space-between;
  width: 50%;
  text-align: center;
}

.nav-links li {
  list-style-type: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: larger;
}


/*---MAIN--*/
.main {
  width: 100%;
}

/*--Hero--*/
.hero {
  background-image: url("./assets/images/image-back-4.jpg");
  background-position: center;
  background-repeat: repeat;
  background-clip: content-box;
  background-size: cover;

}

.hero-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

.hero-corousel {
  width: 100%;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  transition: transform  ease-in-out;

}

.hero-corousel,
.nosotros-courrusel {
  will-change: transform;
  transition: transform  ease;
}



.hero-card {
  min-width: 100%;
  /* cada card ocupa todo el ancho visible */
  padding: 2rem;
  box-sizing: border-box;
  flex-shrink: 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.342);
  border-radius: 15px;
  flex: 0 0 auto;
  transition: transform  ease, opacity 0.9s ease;
  opacity: 0;
  transform: scale(0.95);

}

.hero-card:hover {
  transform: translateY(-5px);
}

.hero-card .card-title h2 {
  color: var(--white);
  margin-bottom: 5px;
  text-align: center;
}

.hero-card .card-text p {

  color: var(--white);
  margin-bottom: 5px;
  text-align: center;
}

.animate-slide-y {
  animation: moving-2 1s ease-out forwards;
}

/*---nosotros---*/
.nosotros-section {
  width: 100%;
  margin-top: 5rem;
  justify-content: center;

}

.carousel-wrapper {
  height: 402px;
  /* Ajustalo al alto de una .nosotros-card */
  overflow: hidden;
  position: relative;
}

.nosotros-courrucel {
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 1s ease-in-out;

}

.nosotros-card {
  display: flex;
  height: 400px;
  /* mismo valor que .carousel-wrapper */
  flex-shrink: 0;
  align-content: center;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2px;

}

.nosotros-desc {
  max-width: 50%;
  height: 400px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  border-right: 2px solid #35373b;
  text-align: center;
  justify-content: center;


}

.nosotros-text p,
h2 {
  color: var(--white);
}

.nosotros-text .btn {

  align-items: center;
  text-align: center;
}

.nosotros-image {
  position: relative;
  width: 500px;
  /* o el ancho que necesites */
  height: 400px;
  /* definí una altura */
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.nosotros-image .back {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nosotros-image .over {
  position: absolute;
  top: 10px;
  /* Ajusta según tu necesidad */
  left: 50px;
  width: 80%;
  object-fit: contain;
  /* Tamaño de la imagen superpuesta */
  z-index: 2;
  filter: drop-shadow(10px -8px 14px #494949);

}

.animate-slide {
  animation: moving-l 1s ease-out forwards;
}

/*--- Servicios Section ---*/

.servicios-section {
  margin-top: 5rem;
}

.servicios-card {
  width: 360px;
  height: 550px;
  transition: 0.9s;
  margin-top: 15px;
  border-radius: 15px;
  text-align: center;
  border-left: 5px solid #14ff144b;
  border-right: 5px solid #e414ff4b;
}

.servicios-image img {
  object-fit: cover;
  overflow: hidden;
  position: relative;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}


.servicios-modal {
  display: none;
  transition: all  ease;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
  z-index: 999;
}

.servicios-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  align-content: center;
}

.section-modal-card {
  display: flex;
  height: 400px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1.5rem;
}

.servicios-price p{
  font-size: 1.2rem;
  font-weight: bold;
 
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.servicios-actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}


.servicios-btn.btn-s {
  margin-top: 1rem;
}

.servicios-text {
   font-weight: 600;
  text-align: center;
}

.tips {
  width: auto;
  height: fit-content;
}

.tips li {
  color: var(--white);
  text-align: start;
}

.servicios-card:hover {
  background-color: rgba(255, 255, 255, 0.842);
}

.servicios-card:hover h2 {
  color: var(--primary-color-light);

}

.section-modal-content {
  top: 2rem;
  left: 10rem;
  width: 80%;
  background-color: rgba(0, 0, 0, 0.637);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;

}

.section-modal-card {
  width: 300px;
  height: 650px;
  gap: 2rem;
}

.section-modal-card li {
  margin-bottom: 10px;
}

.section-modal-card h2 {
  color: var(--primary-color-light);
}

.modal-close {
  position: absolute;
  top: 1rem;
  color: white;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 99;
}


/*PROyectos*/

.proyectos-section {
  margin-top: 5rem;
  text-shadow: 0 0 15px rgb(0, 0, 0);
}

.proyectos_container {
  row-gap: 2rem;
  justify-content: center;
  padding-block: 1rem;
}

.proyectos_card {
  position: relative;
  box-shadow: 0 0 20px black;
  border-radius: 1rem;
  overflow: hidden;
}

.project_img {
  width: 100%;
  height: 100%;
}

.project_modal {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, hsla(0, 0%, 0%, 0) 0%, hsla(var(--hue), 70%, 40%, .8)120%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  transition: bottom .4s;

}

.proyectos_subtitle,
.proyectos_button {
  color: var(--primary-color-light);
  font-size: var(--small-font-size);
}

.proyectos_subtitle {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .25rem;
}

.proyectos_button {
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 0 0 15px black;
}

.proyectos_title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .75rem;
  color: var(--primary-color-light);

}




.proyectos_card:hover .project_modal {
  bottom: 0;
}




/*Testimonios*/

.testimonios-section {
  margin-top: 5rem;
}


.testimonios-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  align-content: center;
}

.testimonios-card {
  width: 350px;
  height: 300px;
  transition: 0.5s;
  margin-top: 15px;
  border-radius: 20px;
  text-align: center;

  box-shadow: 0 -15px 20px black;
}

.testimonios-desc {
  background-color: rgba(0, 0, 0, 0.61);
  border-top-right-radius: 50px;
  height: max-content;
  border-bottom-left-radius: 15px;

}

.testimonios-desc h2 {
  color: var(--primary-color-light);
  text-shadow: 0 0 20px black;
}

.testimonios-text {
  margin-top: 3px;
 height: 150px;
}

.testimonios-text p {
  color: var(--white);
font-weight: 300;
}

.testimonios-image img {
  object-fit: cover;
  overflow: hidden;
  position: relative;
  border-radius: 100%;
}

/*FOOTER*/
footer {
  background-color: var(--primary-color-light);
}



.nav-f-links li {
  list-style-type: none;
}

.nav-f-links a {
  color: var(--white);
  text-decoration: none;
}

.footer_container {
  display: grid;
  grid-template-columns: 400px repeat(3, 1fr);
  gap: 2rem;
}

.footer_col {
  padding: 0.8rem;
}

.footer_col h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer_col h3 span {
  color: var(--Secondary-color);
}

.footer_col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer_col p {
  margin-bottom: .5rem;
  color: var(--white);
  cursor: pointer;
  transition: 0.3s;
}

.footer_col p:hover, footer a:hover {
  color: var(--secondary-color-dark);
  text-shadow: 0 0 20px black;
}

.footer_col i {
  color: var(--white);

}
 footer a{
  font-weight: 600px;
  color: var(--white);
 }
.footer_bar {
  background-color: var(--primary-color-light);
}

.footer_bar_content {

  margin: auto;
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 2rem;
}

.footer_bar_content p {
  font-size: .8rem;
  color: var(--withe);
}

.footer_socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--withe);
  cursor: pointer;

}

/*############# ANIMATIONS #############*/

.proyectos_card {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}


@keyframes moving-l {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  80% {

    opacity: 0.9;
  }

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


@keyframes moving-2 {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  80% {
    transform: translateX(10px);
    opacity: 0.9;
  }

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

.animate-slide-y {
  animation: moving-l 1s ease-out forwards;
}

.hero-card.show {
  opacity: 1;
  transform: scale(0.9);
}

@keyframes spin3d {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

/*RESPONSIVE*/

/* Celulares pequeños: 5" (~320px a 399px ancho) */
@media (min-width: 320px) and (max-width: 399px) {

  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .hero-corousel {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    transition: none;
  }

  .hero-card {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100vw;
    scroll-snap-align: start;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    color: white;
  }

.btn-join{
  display: none !important;
}
  header,
  .hero,
  .nosotros-section,
  .servicios-section,
  .testimonios-section {
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .header-section .nav_bar {
    display: none;
  }

 

  .button-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .01rem;
    margin: 0;
    padding: 0rem;
    font-size: 1rem;
    justify-content: start;
  }

  .button-nav a{
    font-size: 1rem;
    padding: 1.2rem;
  }

  .button-nav a img {
    width: 15px;
    height: 15x;
  }


  .hero-card,
  .servicios-card,
  .testimonios-card,
  .nosotros-card {
    width: 100%;
    left: 20px;
    margin: 0 auto 10px auto;
    height: auto;
    padding: 1rem;
    box-shadow: none;
  }

  .nosotros-card {
    flex-direction: column-reverse;
    align-items: center;
    height: auto;
  }

  .nosotros-desc {
    max-width: 100%;
    border: none;
    margin-bottom: 15px;
    box-shadow: none;
  }

  .nosotros-image {
    width: 90vw;
    max-width: 300px;
    height: 180px;
    margin: auto;
    box-shadow: none;
  }

  .nosotros-image .back {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nosotros-image .over {
    max-width: 120px;
    height: 120px;
    top: 35%;
    left: 35%;

  }

  .carousel-wrapper {
    height: auto;
    overflow: visible;
    position: static;
  }

  .servicios-content,
  .testimonios-content {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .grid_p {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .servicios-image img {
    width: 320px;
  }

  .servicios-modal {
    top: 10%;
    width: 100%;
    height: 70%;
  }

  .section-modal-content {
    top: 0;
    left: 10px;
    width: 100%;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 0.8rem;
    text-align: center;
  }

  .section-modal-card {
    max-width: 90%;
    margin: auto;
    left: 15px;
    width: 100%;
            justify-content: unset;
    align-items: center;
  }

  .testimonios-image img {
    width: 100px;
    height: 100px;
  }

.testimonios-text{
    height: 180px !important;
  }

  .footer_container {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    margin-bottom: 200px;
  }
}

/* Celulares medianos: 400px a 599px */
@media (min-width: 400px) and (max-width: 599px) {

  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .hero-corousel {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
    transition: none;
  }

  .btn-join{
  display: none !important;
}
  .hero-card {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100vw;
    scroll-snap-align: start;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
  }
   .button-nav a{
    font-size: 1rem;
    padding: 1.5rem;
  }

  .button-nav a img {
    width: 20px;
    height: 20x;
  }


  .hero,header,
  .nosotros-section,
  .servicios-section,
  .testimonios-section {
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .header-section .nav_bar {
    display: none;
  }



  .button-nav {
    width: 100%;
    display: flex;
  }



  .hero-card,
  .servicios-card,
  .testimonios-card,
  .nosotros-card {
    width: 100%;
    max-width: 450px;
    min-width: 0;
    margin: 0 auto 10px auto;
    height: auto;
    padding: 1.2rem;
    box-shadow: none;
  }

  .nosotros-card {
    flex-direction: column-reverse;
    align-items: center;
    height: auto;
  }

  .nosotros-desc {
    max-width: 100%;
    border: none;
    margin-bottom: 15px;
    box-shadow: none;
  }

  .nosotros-image {
    width: 80vw;
    max-width: 350px;
    height: 200px;
    margin: auto;
    box-shadow: none;
  }

  .nosotros-image .back {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nosotros-image .over {
    max-width: 200px;
   
    border-radius: 50%;
    top: 5%;
    left: 25%;
  }

  .carousel-wrapper {
    height: auto;
    overflow: visible;
    position: static;
  }

  .servicios-content,
  .testimonios-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }

  .grid_p {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .servicios-modal {
    top: 15%;
    width: 100%;
    height: 70%;
  }

  .section-modal-content {
    top: 0;
    left: 10px;
    width: 95%;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 0.8rem;
    text-align: center;
  }

  .section-modal-card {
    left: 15px;
    width: 100%;
    margin-bottom: 15px;
        justify-content: unset;
    align-items: center;
  }

  .testimonios-card {
    display: flex;
    align-items: center;

  }

  .testimonios-image img {
    width: 100px;
    height: 100px;
  }

  .testimonios-desc {
    margin-left: 5px;
  }

  .testimonios-text{
    height: 250px !important;
  }

  .footer_container {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);

  }
}

/* Tablets: 600px a 800px */
@media (min-width: 600px) and (max-width: 799px) {

  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .hero-corousel {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1;
    padding: 0;
    width: 100%;
    min-width: 0;
    transition: none;
  }

  .hero-card {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100vw;
    scroll-snap-align: start;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
  }

  header {
    max-height: 100px;
  }

  .button-nav {
    display: flex;
    justify-content: center;
  }

  header,
  .hero,
  .servicios-section,
  .testimonios-section {
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }


  .nosotros-courrusel {
    flex-direction: column;

  }

  .header-section .nav_bar {
    display: none;
  }


  .hero-card,
  .servicios-card,
  .testimonios-card,
  .nosotros-card {
    width: 100%;
    max-width: 600px;
    min-width: 0;
    margin: 0 auto 10px auto;
    height: auto;
    padding: 1.5rem;
    box-shadow: none;
  }


  .nosotros-card {
    flex-direction: column-reverse;
    align-items: center;
    width: 100vh;
    height: auto;
  }

  .nosotros-desc {
    max-width: 100%;
    border: none;
    margin-bottom: 0;
    box-shadow: none;
  }

  .nosotros-image {
    width: 100%;
    max-width: 550px;
    height: 220px;
    margin: auto;
    box-shadow: none;
    border-end-end-radius: 50%;
    border-end-start-radius: 50%;
  }

  .nosotros-image .back {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .nosotros-image .over {
    max-width: 220px;
   bottom: 25%;
    left: 30%;
  }

  .carousel-wrapper {
    height: auto;
    overflow: visible;
    position: static;
  }

  .servicios-content,
  .testimonios-content {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
    justify-content: center;
  }

  .grid_p {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .servicios-modal {
    top: 20%;
    width: 100%;
    height: 50%;
  }

  .section-modal-content {
    top: 0;
    left: 10px;
    width: 95%;
    font-size: 0.8rem;
    align-items: normal;
  }

  .section-modal-card {
    left: 15px;
    width: 100%;
    height: 70%;
    justify-content: unset;
    align-items: center;
  }


  
  .footer_container {
    grid-template-columns: repeat(2, 1fr);

  }

  .testimonios-card {
    display: flex;
    align-items: center;

  }

  .testimonios-image img {
    width: 150px;
    height: 150px;
  }

  .testimonios-desc {
    margin-left: 5px;
  }

  .footer_container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 100px;
  }
}

/* Escritorio: 1024px en adelante */
@media (min-width: 800px) and (max-width: 1024px) {

  .hero-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .hero-corousel {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1;
    padding: 0;
    width: 100%;
    min-width: 0;
    transition: none;
  }

  .hero-card {
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100vw;
    scroll-snap-align: start;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
  }

  .nosotros-text p, h2 {
    font-size: .9rem;
  }


  header {
    max-height: 100px;
  }

  header,
  .hero,
  .nosotros-section,
  .servicios-section,
  .testimonios-section {
    width: 100%;
    min-width: 0;

  }

  .nav_bar {
    display: none;
  }

  .header-section {
    display: flex;
  }


 

  .button-nav {
    display: flex;
  }

  .hero-card,
  .servicios-card,
  .testimonios-card,
  .nosotros-card {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    height: auto;
    padding: 2rem;
    box-shadow: initial;
  }

  .hero-card {
    max-width: 100%;
  }

  .nosotros-card {
    box-shadow: none;
    align-items: center;
    height: 400px;
    gap: 1.2rem;
  }

  .nosotros-desc {
    max-width: 50%;
    height: 100%;
    border: 2px solid #35373b;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom-left-radius: 25%;
    border-start-end-radius: 25%;
  }
 .btn{
  margin-top: 0;
 }
  .nosotros-image {
    width: 500px;
    height: 100%;
    border-end-end-radius: 25%;
    border-start-start-radius: 25%;
    margin: auto;
    box-shadow: none;
  }

  .nosotros-image .back {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nosotros-image .over {
    max-width: 350px;
    left: -0px;
  
  }

  .carousel-wrapper {
    height: 402px;
    overflow: hidden;
    position: relative;
  }

 


    .servicios-modal {
    top: 20%;
    width: 100%;
    height: 50%;
  }

    .section-modal-card {
    top: 15px;
    width: 100%;
    height: 70%;
    font-size: 1.2rem;
    justify-content: unset;
    align-items: center;
  }

  .testimonios-card {
    width: 700px;
    max-width: none;
    min-width: 0;
    margin: 0;
    height: auto;
    padding: 2rem;
    box-shadow: initial;
  }

  .testimonios-card {
    display: flex;
    align-items: center;

  }

  .button-nav {
    justify-content: center;
  }

  .testimonios-image img {
    width: 150px;
    height: 150px;
  }

  .testimonios-desc {
    margin-left: 5px;
  }

  .servicios-content,
  .testimonios-content {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .servicios-modal {
    overflow-y: auto;
  }

  .section-modal-content {
    width: 100%;
    left: 0;
    top: 25%;
  }

  .servicios-image img {
    max-width: 100%;
  }

  .grid_p {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer_container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 60px;
  }
}



/* --- Estilos para páginas secundarias (policy, terms, extra-landing) --- */
.secondary-page-bg {
  background: #f6f8fa;
  font-family: 'Poppins', Arial, sans-serif;
  min-height: 100vh;
}

.secondary-page-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 18px 0;
}

.secondary-page-header-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.secondary-page-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0077b6;
  flex: 1;
  margin-left: 12px;
}

.secondary-page-btn {
  background: #0077b6;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.secondary-page-btn:hover {
  background: #023e8a;
}

.secondary-page-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 12px 24px 12px;
}

.secondary-page-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 32px;
  padding: 28px 22px;
}

.secondary-page-h1,
.secondary-page-h2 {
  color: #0077b6;
  font-weight: 700;
  margin-bottom: 18px;
}

.secondary-page-h1 {
  font-size: 2rem;
}

.secondary-page-h2 {
  font-size: 1.3rem;
}

.secondary-page-list {
  margin: 18px 0;
  padding-left: 22px;
}

.secondary-page-list li {
  margin-bottom: 10px;
  list-style: disc;
  color: #333;
  font-size: 1.08rem;
}

.secondary-page-update {
  font-size: 0.95rem;
  color: #888;
  margin-top: 22px;
  font-style: italic;
}

.secondary-page-img {
  display: block;
  max-width: 350px;
  width: 100%;
  margin: 24px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.secondary-page-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.secondary-page-form input,
.secondary-page-form textarea {
  padding: 10px;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.secondary-page-form textarea {
  min-height: 80px;
  max-height: 180px;
}

.secondary-page-footer {
  background: #f8f8f8;
  color: #555;
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
  border-top: 1px solid #eee;
  margin-top: 32px;
}

/* Responsividad */
@media (max-width: 600px) {
  .secondary-page-header-content,
  .secondary-page-main {
    max-width: 100%;
    padding: 0 8px;
  }
  .secondary-page-section {
    padding: 18px 8px;
  }
  .secondary-page-h1 {
    font-size: 1.3rem;
  }
  .secondary-page-title {
    font-size: 1.05rem;
    margin-left: 6px;
  }
  .secondary-page-img {
    max-width: 98vw;
  }
}