@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --text-dark: #111827;
  --text-light: #252525;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Contenedor principal del Swiper */
.swiper-inicio {
  width: 100%;
  height: 625px;
  max-width: 1600px;
  overflow: hidden;
}

/* Slides individuales */
.swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
    max-width: 100% !important;

  position: relative;
}

/* Contenedor de imagen */
.swiper-slide .imagenfx1 {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Imagen dentro del slide */
.swiper-slide .imagenfx1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  transform: scale(1.02);
  filter: brightness(0.70) blur(3.5px);
  
}

/* Efecto de viñeta usando pseudo-elemento */
.swiper-slide .imagenfx1::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    transparent 50%,
    rgba(0, 0, 0, 0.5) 101%
  );
  pointer-events: none; /* Permite que los clicks pasen a través */
  z-index: 1;
}

/* Asegura transiciones suaves */
.swiper-slide-active .imagenfx1 img {
  transition: transform 0.3s ease-out;
}

/* Contenedor principal del carrusel y el texto */
.swiper-container {
  position: relative;
  width: 100%;
  height: 650px; 
  overflow-x: hidden;
  max-width: 1600px;
  margin: 0 auto;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 4rem 1rem;
}

.section__subheader {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.section__header {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 2.5rem;
}

.section__description {
  color: #181818;
  line-height: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 40px;
  border: none;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: .3s;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}


/*=============== GOOGLE FONTS ===============*/


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  --max-witdh: 1200px;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: #1d466e;
  --color-primario: #1E5A96;
  --primary-color: #1E5A96;
  --white: #ffffff;
  --black: #000000;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Raleway", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --secondary-color: #111111;
  --secondary-color-light: #232220;
  --text-light: #a3a3a3;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
  }
}


/*=============== BASE ===============*/
.logo {
  width: 115px; /* Tamaño base */
  max-width: 100%;
  height: auto; /* Mantener proporciones */
  display: block; /* Mejor control de espacio */
  object-fit: contain; /* Asegurar que el logo se muestre completo */
  transition: all 0.3s ease; /* Suavizar cambios de tamaño */}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
  font-weight: var(--font-regular);
}

.texto-inicio {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 880px;
  gap: 2rem;
  color: white;
  z-index: 1;
  pointer-events: none;

}

.texto-inicio h1 {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 1.2);
  line-height: 1.2;
  margin: 0;
  font-size: 3.1rem;
}

.texto-inicio p {
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
  font-family: 'Raleway';
  font-weight: 300;
  letter-spacing: .7px; 
}

/* Mobile adjustments */
@media (max-width: 1200px) {
  .texto-inicio {
    width: 85%;
    padding: 0 15px;
    text-align: center;
    top: 40%;
  }
  
  .texto-inicio h1 {
    font-size: 30px;
  }
  
  .texto-inicio p {
    max-width: 100%;
    font-size: 15px;
  }
}
/*EMPIEZA CODIGO PAGINA CSS*/

/* Additional fix for very small devices */
  @media (max-width: 375px) {
    .texto-inicio {
      width: 85%;
      padding: 0 10px;
      top: 45%; /* Ajuste para centrado vertical en móviles pequeños */
    }
  .texto-inicio h1 {
    font-size: 30px;
  }
  
  .texto-inicio p {
    font-size: 1.12rem;}
  }

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;    
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(29,70,110,1) 100%);
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--white-color);
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  
}

.nav__close, 
.nav__toggle {
  display: flex;
  color: var(--white-color);
  font-size: 1.9rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: var(--black-color);
    width: 100%;
    height: 100%;
    padding: 6rem 3.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left .4s;
  }

  .nav__item {
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform .4s ease-out, visibility .4s;
  }

  .nav__item:nth-child(1) {
    transition-delay: .1s;
  }
  .nav__item:nth-child(2) {
    transition-delay: .2s;
  }
  .nav__item:nth-child(3) {
    transition-delay: .3s;
  }
  .nav__item:nth-child(4) {
    transition-delay: .4s;
  }
  .nav__item:nth-child(5) {
    transition-delay: .5s;
  }
}

.nav__list, 
.nav__social {
  display: flex;
}

.nav__list {
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  transition: opacity .4s;
}

.nav__link i {
  font-size: 2rem;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

.nav__link span {
  position: relative;
  transition: margin .4s;
}

.nav__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
  margin-left: 2.5rem;
}

.nav__link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav__link:hover span::after {
  width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
  opacity: .4;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.nav__social {
  column-gap: 1rem;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform .4s;
}

.nav__social-link:hover {
  transform: translateY(-.25rem);
}

/* Show menu */
.show-menu {
  left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
  visibility: visible;
  transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .nav__link i {
    font-size: 1.5rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 3.5rem;
  }
}

.about__header {
  margin-bottom: 4rem;
  display: grid;
  gap: 2rem;
}

.about__grid {
  display: grid;
  grid-auto-rows: max-content;
}

.about__card {
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about__card:nth-child(1) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/about-1.jpg");
}

.about__card:nth-child(2) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/about-2.jpg");
}

.about__card:nth-child(3) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/about-3.jpg");
}

.about__card p {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-style: light;
}

.about__card h4 {
  max-width: 250px;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  line-height: 2rem;
}
.article__container :is(.section__subheader, .section__header) {
  text-align: center;
}

.article__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
}

.zoom__imagen {
  overflow: hidden;
  border-radius: 25px;
  margin-bottom: 1.5rem !important;
  position: relative; /* Añade posición relativa al contenedor */
  display: flex;      /* Usa flexbox */
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente */
}

.ver__mas {
  position: absolute;
  /* Elimina left: 12% */
  z-index: 2; /* Asegura que esté por encima de la imagen */
  opacity: 0; /* Inicialmente invisible */
  transition: opacity 0.3s ease; /* Transición suave */
}

.zoom__imagen:hover .ver__mas {
  opacity: 1; /* Visible al hacer hover */
}

.ver__mas a {
  border: solid 2px white;
  padding: 10px 15px;
  text-align: center;
  display: inline-block; /* Comportamiento de bloque */
  text-decoration: none; /* Elimina subrayado si existe */
  border-radius: 15px;
  font-size: 1rem;
  color: #ffffff !important;
  font-weight: 300 !important;
  letter-spacing: 0px;
  top: 80px;
}
.ver__mas:hover a {
background-color: var(--white);
color: #000000 !important;
font-weight: 700 !important;
letter-spacing: 2px;
}
.zoom__imagen img {

  object-fit: cover;
  transition: 0.8s;
  width: 100%;
}

.zoom__imagen:hover img {
  transform: scale(1.25);
  filter: brightness(50%);
  box-shadow: 11px 10px 36px 0px rgba(0,0,0,0.85);
-webkit-box-shadow: 11px 10px 36px 0px rgba(0,0,0,0.85);
-moz-box-shadow: 11px 10px 36px 0px rgba(0,0,0,0.85);
}

.article__card div {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  
}

.article__card p {
  font-weight: 500;
  color: var(--black-color);
  background-color: #b5cbe0;
  padding: 15px 18px;
  border-radius: 10px;
  transition: 0.75s;
}
.article__card:hover p {
  background-color: #1f568a;
  color: #f3f4f6;
}


.article__card a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.article__card h4 {
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-dark);
  
}

.client__container :is(.section__subheader, .section__header) {
  text-align: center;
}

.client__card {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}

.client__card span {
  font-size: 4rem;
  line-height: 4rem;
  color: var(--primary-color);
}

.client__card p {
  margin-bottom: 2rem;
  line-height: 1.75rem;
  color: var(--text-dark);
}

.client__details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.client__details img {
  max-width: 70px;
  border-radius: 100%;
}

.client__details h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.client__details h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
}

.banner {
  background-color: var(--extra-light);
  margin-top: 2.5rem;
}

.banner__container {
  display: grid;
  gap: 2rem;
}

.banner__content .section__header {
  margin-bottom: 1rem;
}

.banner__form a {
  width: 100%;
  max-width: 200px; 
  margin-inline: auto;
  padding: 1rem 2rem; 
  background-color: var(--primary-color); 
  color: white; 
  border-radius: 40px; 
  text-align: center;
  font-weight: 500; 
  cursor: pointer; 
  transition: 0.3s; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

/* Efecto hover similar a tus otros botones */
.banner__form a:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px); /* Ligero efecto de elevación */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: #000000;
  font-weight: 600;
  text-decoration:none;
}
.banner__form input {
  width: 100%;
  padding: 0.75rem;
  outline: none;
  border: 1px solid var(--text-light);
  border-radius: 5px;
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__col p {
  max-width: 350px;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__links {
  display: grid;
  gap: 0.50rem;
}

.footer__links a {
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__media {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 3px 8px;
  font-size: 1.25rem;
  color: var(--primary-color);
  background-color: var(--extra-light);
  border-radius: 5px;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

@media (width > 540px) {
  .article__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: 1fr 2fr;
  }

  .footer__col:first-child {
    grid-area: 1/1/2/3;
  }
}

@media (width > 768px) {
  .contact__form a {
    display: block;
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    text-align: center;
    padding: 1rem;
    white-space: normal;
    line-height: 1.4;
  }

  .banner__form a {
    /* Asegurar que herede los ajustes generales */
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
  }

  .texto-inicio {
    top: 50%;
    padding: 0 20px;
  }
  
  .texto-inicio h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .texto-inicio p {
    font-size: 0.9rem;
  }

  nav {
    position: static;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .header__container {
    padding-block: 8rem 12rem;
  }

  .about__header {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about__card {
    padding: 5rem 2rem;
  }

  .faq__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .article__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .footer__container {
    grid-template-columns: 2fr 1fr 1.5fr;
  }

  .footer__col:first-child {
    grid-area: unset;
  }

}

@media (width > 1024px) {
  .article__grid {
    gap: 2rem;
  }
}

