/* Página About: CSS original con prefijo ab- para no chocar con el tema. */

/* =========================================================
   PERU WIND TRAVELS — ABOUT US
   Minimal / Dynamic / Elementor
========================================================= */

#ab-about{
  --orange:#f57400;
  --orange-light:#f5a36b;
  --dark:#202020;
  --dark2:#292929;
  --cream:#f5eadf;
  --white:#ffffff;
  --text:#666666;

  width:100%;
  overflow:hidden;
  background:#fff;
  font-family:Arial,Helvetica,sans-serif;
}

#ab-about *,
#ab-about *:before,
#ab-about *:after{
  box-sizing:border-box;
}

#ab-about h1,
#ab-about h2,
#ab-about h3,
#ab-about p{
  margin-top:0;
}

.ab-wrap{
  width:min(1200px,calc(100% - 50px));
  margin:auto;
}

/* ---------- LABEL ---------- */

.ab-label{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:25px;

  color:var(--orange) !important;
  font-family:"Courier New",monospace;
  font-size:12px;
  font-weight:700;
  letter-spacing:5px;
  text-transform:uppercase;
}

.ab-label:before{
  content:"";
  width:32px;
  height:2px;
  background:var(--orange);
  transition:width .7s ease;
}

.ab-show .ab-label:before{
  width:55px;
}


/* =========================================================
   SCROLL ANIMATIONS
========================================================= */

.ab-reveal{
  opacity:0;
  transform:translateY(55px);
  transition:
    opacity .9s cubic-bezier(.16,1,.3,1),
    transform .9s cubic-bezier(.16,1,.3,1);
}

.ab-reveal-left{
  opacity:0;
  transform:translateX(-65px);
  transition:
    opacity 1s cubic-bezier(.16,1,.3,1),
    transform 1s cubic-bezier(.16,1,.3,1);
}

.ab-reveal-right{
  opacity:0;
  transform:translateX(65px);
  transition:
    opacity 1s cubic-bezier(.16,1,.3,1),
    transform 1s cubic-bezier(.16,1,.3,1);
}

.ab-show{
  opacity:1 !important;
  transform:translate(0,0) !important;
}

.ab-d1{transition-delay:.10s;}
.ab-d2{transition-delay:.20s;}
.ab-d3{transition-delay:.30s;}
.ab-d4{transition-delay:.40s;}


/* =========================================================
   01 HERO
========================================================= */

.ab-hero{
  position:relative;
  min-height:720px;
  display:flex;
  align-items:center;

  background:
    linear-gradient(
      90deg,
      rgba(20,20,20,.96) 0%,
      rgba(20,20,20,.76) 48%,
      rgba(20,20,20,.25) 100%
    ),
    var(--ab-img-hero)
    center/cover no-repeat;

  color:#fff !important;
}

.ab-hero:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:190px;
  background:linear-gradient(transparent,#202020);
  pointer-events:none;
}

.ab-hero-content{
  position:relative;
  z-index:2;
  max-width:980px;
  padding:130px 0 120px;
}

.ab-hero .ab-label{
  color:#f4a16b !important;
}

.ab-hero h1{
  margin:0 !important;

  color:#fff !important;
  font-size:clamp(55px,7.5vw,108px);
  line-height:.9;
  letter-spacing:-6px;
  font-weight:900;
}

.ab-hero h1 span{
  color:var(--orange) !important;
}

.ab-hero-text{
  max-width:680px;
  margin-top:35px !important;

  color:#dedede !important;
  font-size:19px;
  line-height:1.75;
}

.ab-scroll{
  position:absolute;
  z-index:5;
  right:45px;
  bottom:55px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;

  color:#fff !important;
  font-family:"Courier New",monospace;
  font-size:10px;
  letter-spacing:3px;
  writing-mode:vertical-rl;
}

.ab-scroll-line{
  width:1px;
  height:75px;
  overflow:hidden;
  background:rgba(255,255,255,.25);
  position:relative;
}

.ab-scroll-line:after{
  content:"";
  position:absolute;
  width:1px;
  height:35px;
  top:-35px;
  left:0;
  background:var(--orange);
  animation:pwtScroll 2s infinite;
}

@keyframes pwtScroll{
  0%{transform:translateY(0)}
  100%{transform:translateY(110px)}
}


/* =========================================================
   02 WHO WE ARE
========================================================= */

.ab-story{
  padding:125px 0;
  background:var(--cream);
}

.ab-story-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:95px;
  align-items:center;
}


/* IMAGE */

.ab-story-image{
  position:relative;
  height:650px;
}

.ab-main-photo{
  position:absolute;
  width:85%;
  height:590px;
  left:0;
  bottom:0;
  overflow:hidden;
}

.ab-main-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.3s cubic-bezier(.16,1,.3,1);
}

.ab-story-image:hover .ab-main-photo img{
  transform:scale(1.045);
}

.ab-small-photo{
  position:absolute;
  width:47%;
  height:260px;
  right:0;
  top:0;

  padding:10px;
  background:var(--cream);
  z-index:3;
  overflow:hidden;
}

.ab-small-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.ab-image-tag{
  position:absolute;
  z-index:5;
  left:30px;
  bottom:30px;

  padding:14px 20px;
  background:var(--orange);

  color:#fff !important;
  font-family:"Courier New",monospace;
  font-size:11px;
  font-weight:bold;
  letter-spacing:3px;
}


/* CONTENT */

.ab-story-content h2{
  margin:0 0 30px !important;

  color:#262626 !important;
  font-size:clamp(45px,5vw,72px);
  line-height:.98;
  letter-spacing:-4px;
  font-weight:900;
}

.ab-story-content h2 span{
  color:var(--orange) !important;
}

.ab-story-content p{
  color:#656565 !important;
  font-size:17px;
  line-height:1.85;
  margin-bottom:20px !important;
}

.ab-story-highlight{
  margin-top:38px;
  padding-left:25px;
  border-left:3px solid var(--orange);
}

.ab-story-highlight strong{
  display:block;
  color:#292929 !important;
  font-size:20px;
  line-height:1.55;
}


/* =========================================================
   03 OUR WAY
========================================================= */

.ab-way{
  padding:125px 0;
  background:#202020;
}

.ab-way *,
.ab-way h2,
.ab-way h3,
.ab-way p{
  color:#fff;
}

.ab-way-header{
  max-width:900px;
  margin-bottom:75px;
}

.ab-way-header .ab-label{
  color:var(--orange-light) !important;
}

.ab-way-header h2{
  margin:0 !important;

  color:#fff !important;
  font-size:clamp(46px,6vw,82px);
  line-height:.96;
  letter-spacing:-4px;
  font-weight:900;
}

.ab-way-header h2 span{
  color:var(--orange) !important;
}


/* CARDS */

.ab-way-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(255,255,255,.15);
  border-bottom:1px solid rgba(255,255,255,.15);
}

.ab-way-item{
  position:relative;
  min-height:350px;
  padding:42px 36px;

  border-right:1px solid rgba(255,255,255,.15);
  overflow:hidden;

  transition:
    background .4s ease,
    transform .4s ease;
}

.ab-way-item:last-child{
  border-right:0;
}

.ab-way-item:before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:0;
  background:var(--orange);
  transition:height .45s cubic-bezier(.16,1,.3,1);
}

.ab-way-item:hover:before{
  height:100%;
}

.ab-way-inner{
  position:relative;
  z-index:2;
}

.ab-way-number{
  color:var(--orange) !important;
  font-family:"Courier New",monospace;
  font-size:12px;
  font-weight:bold;
  letter-spacing:3px;
  transition:.3s;
}

.ab-way-icon{
  width:60px;
  height:60px;

  margin:55px 0 30px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(245,116,0,.7);
  color:var(--orange) !important;
  font-size:25px;

  transition:.35s ease;
}

.ab-way-item h3{
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:24px;
  font-weight:800;
}

.ab-way-item p{
  margin:0 !important;
  color:#aaa !important;
  font-size:15px;
  line-height:1.75;
  transition:.3s;
}

.ab-way-item:hover .ab-way-number,
.ab-way-item:hover .ab-way-icon,
.ab-way-item:hover h3,
.ab-way-item:hover p{
  color:#fff !important;
}

.ab-way-item:hover .ab-way-icon{
  border-color:#fff;
  transform:rotate(-5deg);
}


/* =========================================================
   04 WHY US
========================================================= */

.ab-why{
  background:#fff;
}

.ab-why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:720px;
}


/* CONTENT */

.ab-why-content{
  padding:110px max(6vw,50px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.ab-why-content h2{
  margin:0 0 48px !important;

  color:#242424 !important;
  font-size:clamp(45px,5vw,72px);
  line-height:.96;
  letter-spacing:-4px;
  font-weight:900;
}

.ab-why-content h2 span{
  color:var(--orange) !important;
}

.ab-reason{
  display:grid;
  grid-template-columns:55px 1fr;
  gap:20px;

  padding:24px 0;
  border-top:1px solid #ddd;
}

.ab-reason:last-child{
  border-bottom:1px solid #ddd;
}

.ab-reason-num{
  color:var(--orange) !important;
  font-family:"Courier New",monospace;
  font-size:12px;
  font-weight:bold;
}

.ab-reason h3{
  margin:0 0 7px !important;

  color:#242424 !important;
  font-size:20px;
  font-weight:800;
}

.ab-reason p{
  margin:0 !important;

  color:#737373 !important;
  font-size:15px;
  line-height:1.65;
}


/* IMAGE */

.ab-why-photo{
  position:relative;
  overflow:hidden;
  min-height:720px;
}

.ab-why-photo img{
  width:100%;
  height:100%;
  min-height:720px;
  object-fit:cover;
  transition:transform 1.3s ease;
}

.ab-why-photo:hover img{
  transform:scale(1.045);
}

.ab-why-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    0deg,
    rgba(20,20,20,.65),
    transparent 55%
  );
}

.ab-photo-text{
  position:absolute;
  z-index:3;
  left:45px;
  bottom:45px;
  max-width:470px;
}

.ab-photo-text span{
  color:var(--orange-light) !important;
  font-family:"Courier New",monospace;
  font-size:11px;
  font-weight:bold;
  letter-spacing:4px;
}

.ab-photo-text h3{
  margin:13px 0 0 !important;

  color:#fff !important;
  font-size:clamp(30px,3vw,45px);
  line-height:1.05;
}


/* =========================================================
   05 CTA
========================================================= */

.ab-cta{
  position:relative;
  min-height:570px;
  display:flex;
  align-items:center;
  text-align:center;

  background:
    linear-gradient(
      rgba(20,20,20,.75),
      rgba(20,20,20,.88)
    ),
    var(--ab-img-cta)
    center/cover no-repeat;
}

.ab-cta-content{
  position:relative;
  z-index:2;
  max-width:900px;
  margin:auto;
}

.ab-cta .ab-label{
  justify-content:center;
  color:var(--orange-light) !important;
}

.ab-cta h2{
  margin:0 !important;

  color:#fff !important;
  font-size:clamp(48px,6vw,82px);
  line-height:.95;
  letter-spacing:-4px;
  font-weight:900;
}

.ab-cta h2 span{
  color:var(--orange) !important;
}

.ab-cta p{
  max-width:650px;
  margin:28px auto 35px !important;

  color:#d7d7d7 !important;
  font-size:17px;
  line-height:1.75;
}

.ab-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;

  padding:19px 32px;

  background:var(--orange);
  color:#fff !important;

  text-decoration:none !important;
  text-transform:uppercase;
  font-size:14px;
  font-weight:800;
  letter-spacing:1px;

  transition:.35s cubic-bezier(.16,1,.3,1);
}

.ab-btn-arrow{
  font-size:22px;
  transition:transform .3s;
}

.ab-btn:hover{
  background:#fff;
  color:#222 !important;
  transform:translateY(-4px);
}

.ab-btn:hover .ab-btn-arrow{
  transform:translateX(6px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1000px){

  .ab-story-grid,
  .ab-why-grid{
    grid-template-columns:1fr;
  }

  .ab-story-grid{
    gap:70px;
  }

  .ab-way-grid{
    grid-template-columns:1fr;
  }

  .ab-way-item{
    min-height:auto;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.15);
  }

  .ab-way-item:last-child{
    border-bottom:0;
  }

  .ab-way-icon{
    margin:35px 0 25px;
  }

  .ab-why-photo{
    min-height:600px;
  }

  .ab-why-photo img{
    min-height:600px;
  }
}


@media(max-width:767px){

  .ab-wrap{
    width:calc(100% - 32px);
  }

  .ab-hero{
    min-height:680px;
    background-position:58% center;
  }

  .ab-hero-content{
    padding:100px 0 90px;
  }

  .ab-hero h1{
    font-size:53px;
    letter-spacing:-3px;
  }

  .ab-hero-text{
    font-size:16px;
  }

  .ab-scroll{
    display:none;
  }

  .ab-story,
  .ab-way{
    padding:80px 0;
  }

  .ab-story-image{
    height:490px;
  }

  .ab-main-photo{
    height:440px;
    width:88%;
  }

  .ab-small-photo{
    height:180px;
    width:50%;
  }

  .ab-story-content h2,
  .ab-way-header h2,
  .ab-why-content h2,
  .ab-cta h2{
    letter-spacing:-2px;
  }

  .ab-why-content{
    padding:80px 25px;
  }

  .ab-why-photo,
  .ab-why-photo img{
    min-height:530px;
  }

  .ab-photo-text{
    left:25px;
    right:25px;
    bottom:30px;
  }

  .ab-cta{
    min-height:580px;
  }
}


@media(prefers-reduced-motion:reduce){

  .ab-reveal,
  .ab-reveal-left,
  .ab-reveal-right{
    opacity:1;
    transform:none;
    transition:none;
  }

}
