/*styles2.css*/
@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;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 6rem 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;
}

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 ===============*/
.a {
  font-family: "Raleway", sans-serif;
}

.logo {
  width: 115px;
}
html {
  scroll-behavior: smooth;
}

body {
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
  font-weight: var(--font-regular);
}
/*=============== REUSABLE CSS CLASSES ===============*/
.btn-azul {
    background-color: var(--color-primario) !important; /* Rojo */
    color: white !important;
    border: none !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    transition: 0.2s;
}

.btn-azul:hover {
    background-color: var(--black-color) !important; /* Rojo más oscuro al pasar el mouse */
}

.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);
  
}

.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;
  font-family: "Raleway", sans-serif;
}

.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;
  }
}
@media (width > 768px) 
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;
  }

@media (width > 1024px) {
  .article__grid {
    gap: 2rem;
  }
}



@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");
:root {
    --color-primario: hsl(var(--main-hue), 66% , 35%);
    --color-primario-hover: hsl(210, 100%, 50%);
    --text-light: #252525;
    --text-color: #000000;
    --main-hue: 210;
    --input-bg-hover: hsl(var(--main-hue), 23% , 90%);
    --input-text: #8c9aaf;
    --bg-color: #fff;
    --light-main-color: hsl(var(--main-hue), 91% , 55%);
}
*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
}

.contact {
width: 100%;
overflow: hidden;

}
.contact .contenedor {
    height: 100vh;
    min-height: 700px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    margin-top: 3rem;
}
.contact .contenedor > div {
    grid-column: 1/2;
    grid-row: 1/2;
}

.left {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 65px 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    position: relative;
    z-index: 3;
}
.contact-heading h1 {
    font-weight: 600;
    color: var(--text-color);
    font-size: 3.5rem;
    line-height: 0.9;
    white-space: nowrap;
    margin-bottom: 1.2rem;

}
.contact-heading h1 span {
    color: var(--color-primario);}

.text {
color: var(--text-light);
    line-height: 1.1;
    font-size: 1rem;
    }

    .text a{
        color: var(--color-primario);
        transition: .3s;
}
    .text a:hover{
        color: var(--color-primario-hover);
        transition: .3s;
            }

    .form-wrapper {
                max-width: 32rem;}
    .contact-form{
        display: grid;
        margin-top: 2.55rem;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
        row-gap: 1rem;
    }
    .input-wrap {
        position: relative;
    }
    .input-wrap.w-100{
        grid-column: span 2;
    }
    .contact-input{
        width: 100%;
        background-color: hsla(var(--main-hue), 50%, 50%, 6.5%);
        padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
        border: none;
        outline: none;
        padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
        font-family: inherit;
        border-radius: 20px;
        color: var(--text-color);
        font-weight: 600;
        font-size: .95rem;
        transition: .3s;
        border: 2px solid transparent;
        box-shadow: 0 0 0 0px hsla(var(--main-hue), 92%, 54%, 0.169);
    }
    .contact-input:hover{
        background-color: var(--input-bg-hover);
    }
    .input-wrap label {
        position: absolute;
        top: 50%;
        left: calc(1.3rem + 2px);
        transform: translateY(-50%);
        color: var(--text-light);
        pointer-events: none;
        transition: 0.20s;
    }
    
    .input-wrap .icon{
        position: absolute;
        right: calc(1.35rem + 2px);
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        color: var(--input-text);
        font-size: 1.25rem;
        transition: 0.3s;
    }
    textarea.contact-input{
        resize: none;
        width: 100%;
        min-height: 150px;
    }

    textarea.contact-input ~ label{
        top: 1.2rem;
        transform: none;
    }
    textarea.contact-input ~ .icon{
        top: 1.3rem;
        transform: none;
    }
    
    /*ANIMACION FOCUS JS*/
    .input-wrap.focus .contact-input{
        background-color: var(--input-bg-hover);
        border: 2px solid var(--light-main-color);
        box-shadow: 0 0 0 5px hsla(var(--main-hue), 91%, 55%, 0.11);
    }

      /*ANIMACION FOCUS JS*/
      .input-wrap.focus label{
        color: var(--light-main-color);
    }
    .input-wrap.focus .icon{
        color: var(--light-main-color);
    }
    .input-wrap.not-empty label{
        font-size: .66rem;
        top: 0.75rem;
        transform: translateY(0);
    }
    .contact-buttons{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        margin-top: 1rem;
        width: 100%;
        grid-column: span 2;
    }
    .btn {
        display: inline-block;
        padding: 1.1rem 2rem;
        background-color: var(--color-primario);
        color: #fff;
        border-radius: 40px;
        border: none;
        font-family: inherit;
        font-weight: 500;
        cursor: pointer;
        transition: .3s;}

        .btn:hover{
            background-color: var(--color-primario-hover);
        }
    
    .btn.enviar input {
        display: none;
    }

    .right {
        display: grid;
        grid-template-columns: repeat(2 1fr);
        overflow: hidden;
        pointer-events: none;
    }


    .image-wrapper{
        position: relative;
        grid-column: 2;
    }

    .image-wrapper .img{
        position: absolute;
        height: 140%;
        left: 110%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .wave-wrap {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 100%;
        background-color: var(--bg-color);
    } 
    .wave-wrap svg {
        position: absolute;
        height: calc(100% + 10px);
        top: 50%;
        transform: translateY(-50%);
        left: calc(100% - 2px);

    }
    #wave {
        fill: var(--bg-color);
        height: 100%;
    }

    .dashed-wave {
        position: absolute;
        z-index: 3;
        height: 130%;
        bottom: 60%;
        left: -28px;
        transform: translateY(50%);
        fill: none;
        stroke-width: 1px;
        stroke-dasharray: 6.5;
        opacity: 0.5;
    }

    .reveal-line {
      z-index: 1;
      stroke: #252525;
      stroke-width: 5px;
    }
    /* La máscara (que oculta la línea) se ubicará por encima */
    .mask-line {
      z-index: 6;
      opacity: 1 !important;
      stroke-width: 14rem;
    }
    .mask-line path {
      stroke: var(--bg-color);
    }

    @media (max-width: 1000px) {

    .contact-heading h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        white-space: normal;

    }
    .text {
        font-size: 0.9rem;
    }
    .contact-form {
        display: grid;
        margin-top: 1.9rem;
        column-gap: 0.8rem;
        row-gap: 0.65rem;
    }
    .contact-input {
        border-radius: 17px;
        font-size: 0.87rem;
        padding: 1.5rem 1.2rem calc(0.75rem - 2px) 1.2rem;
    }
    .input-wrap label {
        font-size: 0.91rem;
        left: calc(1.2rem + 2px);

    }
    .input-wrap .icon {
        font-size: 1.1rem;
        right: calc(1.2rem + 2px);

    }
    textarea.contact-input ~ label{
        top: 1.2rem;

    }   
    textarea.contact-input ~ icon{
        top: 1.33rem;

    }
    .input-wrap.focus .contact-input {
        box-shadow: 0 0 0 3.5px hsla(var(--main-hue) , 91%, 55%, 0.11);
    }
    .input-wrap.not-empty label {
        font-size: 0.61rem;
    }

    .contact-buttons {
        column-gap: 0.8rem;
        margin-top: 0.45rem;
    }
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.87rem;
    }

    .dashed-wave {
        bottom: 55%;
        left: -10px;
    }
    #dashed-wave {
        stroke-dasharray: 6;
        stroke-width: 0.7px;

    }
    .wave-wrap {
        transform: translateX(-10%);
    }
    .wave-wrap svg {
        height: calc(110% + 10px);
        transform: translate(-5%, -50%);
    }
}

@media  (max-width: 650px) {
    .left{
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-items: center;
        top: -2rem;
    }
    .image-wrapper .img {
      display: none;
    }
    .form-wrapper{
        width: 100%;
        padding: 1rem 0;
    }
    .dashed-wave {
      left: -2rem;
      opacity: 0.4;
    }
    .wave-wrap {
      display: none;
    }
}
@media  (max-width: 440px) {
.input-wrap {
    grid-column: span 2;

}
.contact-buttons {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
}
.contact-heading h1 {
    font-size: 1.9rem;
    line-height: 1;

}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem 1rem;
}
}



.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(--black-color)
}

.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) {
  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;
    padding: 2rem 2;
    font-family: "Raleway", sans-serif;
  }


  .footer__col:first-child {
    grid-area: unset;
  }
}

@media (width > 1024px) {
  .article__grid {
    gap: 2rem;
  }
}

