:root {
  --brand-color: #0D52A0;
  --transition-time: 0s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
font-family: "Heebo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.hero,
.section-two {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /*transition: opacity var(--transition-time) ease; */    
}

.hero__image.is-visible {
  opacity: 1;
}
/*
.hero__iso {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 45px;
  width: 49px;
  height: 45px;
  background-color: var(--brand-color);
  mask: url("../assets/images/Aqualane-iso.svg") center / contain no-repeat;
  -webkit-mask: url("../assets/images/Aqualane-iso.svg") center / contain no-repeat;
}
 */ 

.hero__iso {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 45px;
  width: 49px;
  height: 45px;
  color: var(--brand-color);
}

.hero__iso svg {
  display: block;
  width: 100%;
  height: 100%;
}


.hero__coming-soon {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 45px;
  color: var(--brand-color);
  font-size: 12px;
  text-transform: uppercase;
}

.hero__logo {
  position: absolute;
  z-index: 2;
  left: 45px;
  bottom: 45px;
  width: 350px;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
}

.section-two {
  background: #fff;
}

/* Mobile */

@media (max-width: 990px) {
  .hero__iso {
    top: 24px;
    left: 24px;
  }

  .hero__coming-soon {
    top: 30px;
    right: 24px;
  }

  .hero__logo {
    left: 24px;
    bottom: 24px;
    width: min(396px, calc(100vw - 48px));
    height: auto;
  }
}


@media (max-width: 990px) {
  /* Primera sección */

  .hero__logo {
    left: 50%;
    bottom: auto;
    top: 50%;
    width: min(75%, 396px);
    height: auto;
    transform: translate(-50%, -50%);
    object-position: center;
  }
}




/*Section Two */
.section-two {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
    background: #FEFEFD;
    background: #FFFFFF;
background: #FFFFFF;
background: #FFFFFF;
background: linear-gradient(38deg, rgba(255, 255, 255, 1) 19%, rgba(172, 205, 227, 1) 57%, rgba(151, 191, 219, 1) 100%);

  color: var(--brand-color);
}

.section-two__title {
  position: absolute;
  top: 16%;
  left: 2.8%;

  max-width: 550px;

  font-size: 48px;
  font-weight: 100;
  line-height: 1;
}

.section-two__text {
  position: absolute;
  top: 16%;
  right: 2.8%;

  width: 35%;
  padding-left: 18px;

  font-size: 20px;
  font-weight: 200;
  line-height: 1.5;
}
.section-two__text a {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-color);
}

/* Línea animada */
.section-two__text::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;

  width: 1px;
  height: 100%;

  background: var(--brand-color);

  transform: scaleY(var(--line-progress, 0));
  transform-origin: top;

  opacity: var(--line-opacity, 0);
}

.section-two__text p + p {
  margin-top: 26px;
}

.section-two__iso {
  position: absolute;
  bottom: 100px;
  left: 50%;
  width: 158px;
  height: 145px;
  color: #fff;

  transform: translateX(-50%);
  perspective: 800px;
}

.section-two__iso svg {
  display: block;
  width: 100%;
  height: 100%;
}


/*animo iso*/

.section-two__iso svg {
  display: block;
  width: 100%;
  height: 100%;

  transform-style: preserve-3d;
  animation: iso-rotate 4s linear infinite;
}

@keyframes iso-rotate {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}
/*animo parrafos*/
.scroll-fade {
  opacity: 0.15;
}


@media (max-width: 990px) {
/* Segunda sección */

.section-two__title {
  top: 15%;
  left: 50%;
  width: 100%;
  max-width: none;
  padding: 0 20px;
  text-align: center;
  font-size: clamp(38px, 10vw, 48px);
  line-height: 1.05;
  transform: translateX(-50%);
}

.section-two__text {
  top: 42%;
  left: 50%;
  right: auto;
  width: calc(100% - 48px);
  max-width: 420px;
  padding-left: 0;
  padding: 0 5%;
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
  transform: translateX(-50%);
}

/* Línea horizontal debajo del título */

.section-two__text::before {
  top: -38px;
  left: 50%;
  width: 34px;
  height: 1px;

  transform: translateX(-50%) scaleX(var(--line-progress, 0));
  transform-origin: center;
}

.section-two__text p + p {
  margin-top: 14px;
}

/* Isologo inferior */

.section-two__iso {
  bottom: 15px;
  left: 50%;
  width: 92px;
  height: auto;
  aspect-ratio: 158 / 145;
  transform: translateX(-50%);
}
.section-two__iso {

  bottom: 100px;
}
}

@media (max-width: 750px) {
/* Segunda sección */

.section-two__title {
  top: 15%;
  font-size: clamp(34px, 10vw, 42px);
}

.section-two__text {
  top: 38%;
  width: calc(100% - 48px);
  max-width: 260px;
  padding: 0;
  font-size: 14px;
}

}