

:root {

  /**
   * colors
   */

  --rich-black-fogra-29: hsl(222, 44%, 8%);
  --middle-blue-green_40: hsla(174, 64%, 71%, 0.4);
  --midnight-green: #eac493;
  --midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --verdigris: #eac493;
  --ming: #eac493;
  --space-cadet: hsla(226, 45%, 24%);
  --eerie-black: hsl(0, 0%, 13%);
  --alice-blue: hsl(187, 25%, 94%);
  --gray-web: hsl(0, 0%, 50%);
  --gainsboro: hsl(0, 0%, 87%);
  --white: #fbf6df;
  --white_a20: hsla(0, 0%, 100%, 0.2);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --black: hsl(0, 0%, 0%);

  /**
   * typography
   */
  
  --ff-oswald: 'Oswald', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;
  
  --headline-lg: 5rem;
  --headline-md: 3rem;
  --headline-sm: 2rem;
  --title-lg: 1.8rem;
  --title-md: 1.5rem;
  --title-sm: 1.4rem;
  
  --fw-500: 500;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 120px;

  /**
   * box shadow
   */

  --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
  --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);

  /**
   * border radius
   */

  --radius-circle: 50%;
  --radius-12: 12px;
  --radius-6: 6px;
  --radius-4: 4px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a,
img,
span,
time,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
  outline: none;
}

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-size: 10px;
  font-family: var(--ff-rubik);
  scroll-behavior: smooth;
}

body {
  
  font-size: 1.6rem;
  color: var(--independece);
  text-shadow: 2px 4px 10px #00000020;;
  line-height: 1.8;
  overflow: hidden;
}

body.loaded { overflow-y: visible; }

body.nav-active { overflow: hidden; }

/*-----------------------------------*\
  custom
\*-----------------------------------*/

.aa{
  width: 40px; 
  margin-left: 40px;
}
.aa1{
  position: fixed; 
  z-index: -2; 
  top: 0; 
  left: 0; 
  width: 100%;
}
.aa2{
  width: 100%; 
  min-width: 900px;
  height: auto;
}
.aa3{

  position: relative;
  overflow: hidden;

}
.animated-heading {
  font-size: 5rem;
  line-height: 4.9rem; 
  font-weight: 100;
  transition: font-size 0.3s ease;
}
.animated-div {
 
  display: flex; 
  justify-content: flex-end; 
  position: relative; 
  overflow: hidden; 
  background-color: #fff; 
  width: 100%; 
  height: 600px;
  margin-top: 100px;
  opacity: 0;
  transition: opacity 1.5s ease;
  flex-direction: unset;
  align-items: unset;
}
#scroll-image {
  transition: width 2s linear; /* Transición suave */
}


.carousel-container {
  width: 100%;
  overflow: hidden; /* Oculta los elementos fuera del viewport */
  position: relative; /* Necesario para el flujo del carrusel */
  height: 300px; /* Altura fija para el carrusel */
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Este ancho será gestionado dinámicamente */
  height: 100%; /* Asegura que ocupe el contenedor */
}

.carousel-item {
  flex: 0 0 100%; /* Cada elemento ocupa el 100% del ancho visible */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 20px;
  height: 100%; /* Asegura que los items se alineen correctamente */
}

.carousel-item img {
  width: 150px;
  margin-bottom: 20px;
}

.carousel-item h3 {
  font-size: 2rem; /* Ajusta según el diseño */
  font-weight: 400;
  line-height: 1.5;
}


/* Contenedor de la imagen */
.parallax-section {
  height: 400px; /* Altura fija de la sección */
  position: relative;
  overflow: hidden; /* Oculta la parte de la imagen fuera del contenedor */
}

/* Imagen con efecto parallax */
.parallax-section img {
  position: absolute;
  filter: brightness(0.5);
  top: -200px;
  left: 50%;
  transform: translateX(-50%); /* Centra horizontalmente la imagen */
  width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
  transition: transform 0.1s linear; /* Suaviza el movimiento */
}

/*-----------------------------------*\
  custom
\*-----------------------------------*/

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.headline-lg {
  font-size: var(--headline-lg);
  color: var(--white);
  font-weight: var(--fw-500);
  line-height: 1.2;
}

.headline-md {
  font-size: var(--headline-md);
  font-weight: var(--fw-700);
}

.headline-lg,
.headline-md { font-family: var(--ff-oswald); }

.headline-md,
.headline-sm { line-height: 1.3; }

.headline-md,
.headline-sm { color: var(--midnight-green); }

.headline-sm { font-size: var(--headline-sm); }

.title-lg { font-size: var(--title-lg); }

.title-md { font-size: var(--title-md); }

.title-sm { font-size: var(--title-sm); }

.social-list { display: flex; }

.section { padding-block: var(--section-padding); }

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.btn {
  background-color: var(--verdigris);
  
  color: #6f451b;
  font-weight: var(--fw-700);
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
}

.btn::before {
  color: var(--white);
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #d5d2c6;
  border-radius: var(--radius-6);
  transition: var(--transition-2);
  z-index: -1;
}

.btn:is(:hover, :focus-visible)::before { transform: translateX(100%); color: var(--white); }

.w-100 { width: 100%; }

.grid-list {
  display: grid;
  gap: 40px 28px;
}

.text-center { text-align: center; }

[data-reveal] {
  opacity: 0;
  transition: var(--transition-2);
}

[data-reveal].revealed { opacity: 1; }

[data-reveal="bottom"] { transform: translateY(50px); }

[data-reveal="bottom"].revealed { transform: translateY(0); }

[data-reveal="left"] { transform: translateX(-50px); }

[data-reveal="right"] { transform: translateX(50px); }

[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }





/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--verdigris);
  display: grid;
  place-items: center;
  z-index: 6;
  transition: var(--transition-1);
}

.preloader.loaded {
  visibility: hidden;
  opacity: 0;
}

.preloader .circle {
  width: 50px;
  height: 50px;
  border: 4px solid var(--white);
  border-radius: var(--radius-circle);
  border-block-start-color: transparent;
  animation: rotate360 1s ease infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
.az1{
  width: 100vw;
  height: auto;
}
.header .btn { display: none; }

.header {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 16px;
  z-index: 4;
  transition: all 2s ease;
}

.header.active {
  position: fixed;
  opacity: 1;
  animation: headerActive 0.5s ease forwards;
}

@keyframes headerActive {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-open-btn {
  color: var(--white);
  font-size: 4rem;
}

.navbar,
.overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
}

.navbar {
  right: -300px;
  max-width: 300px;
  background-color: var(--rich-black-fogra-29);
  z-index: 3;
  transition: 0.25s var(--cubic-in);
  visibility: hidden;
}

.navbar.active {
  transform: translateX(-300px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  position: relative;
  padding-inline: 25px;
  padding-block: 55px 100px;
}

.nav-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--white);
  font-size: 2.8rem;
}

.navbar-list {
  margin-block-end: 30px;
  border-block-end: 1px solid var(--white_a10);
}

.navbar-item { border-block-start: 1px solid var(--white_a10); }

.navbar-link {
  color: var(--white);
  text-transform: uppercase;
  padding: 10px 24px;
}

.social-list {
  justify-content: center;
  gap: 20px;
  color: var(--white);
  font-size: 1.8rem;
}

.overlay {
  right: -100%;
  background-color: var(--black);
  opacity: 0.3;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 2;
}

.overlay.active {
  transform: translateX(-100%);
  visibility: visible;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/
.bh{
  position: relative; 
  overflow: hidden; 
  height: 100vh;
}
.cafe{
  color: #6f451b
}
.b1{
  position: absolute; 
  top: 0;
  z-index: -2; 
  opacity: 1;
  transition: all 3s ease;
  left: 0;
}
.b1a{
  opacity: 0.2;
}

.b3{
  display: flex; 
  justify-content: center; 
  margin-top: 10%;
}
.b4{
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 70px;
    opacity: 0;
    transition: all 1.5s ease;
}
.b4a{
  opacity: 1;
}
.b5{
  text-shadow: 0 0 20px #ffffff;
            line-height: 3.5rem;
            font-size: 2.3rem;
            font-weight: 200;
            text-align: center;
            opacity: 0;
    transition: all 3s ease;

}
.b5a{
  opacity: 1;
}
.b6{
  margin-top: 20px; 
  margin-bottom: -20px;
}
.b7{
  width: 520px; 
  filter: drop-shadow(2px 4px 36px rgb(255, 255, 255));
}
.b8{
  color: #6f451b;
    text-shadow: 0 0 20px #ffffff;
    text-align: unset;
}
.b9{
  display: flex;
            width: 100%;
            justify-content: center;
            margin-top: 25vh;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.b20{
  width: 100%; 
  background-color: #eac493; 
  display: flex;
  gap: 0;
  padding: 20px;
  align-items: center;
  flex-direction: row;
}
.b21{
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center;  
  width: 14%; 
  text-align: center; 
}

.b22{
  width: 30%;
}
.b23{
  color: #6f451b; 
  font-weight: 100;
}
.b24{
  text-align: center;
}
.b25{
  position: relative; 
  overflow: hidden;
}

.b26{
  width: 100%;
  display: block;
}
.b26c{
  width: 100%;
  display: none;
}
.b27{
  text-align: center; 
  margin-bottom: 60px;
}
.b28{
  font-size: 4rem; 
  font-weight: 100; 
  color: #6f451b;
}
.b29{
  display: flex;
            width: 100%;
            justify-content: center;
            margin-top: 50px;
}
.b30{
  text-align: center;
}

.b31{
  font-size: 3rem; 
  font-weight: 200; 
  line-height: 3rem;
   margin-bottom: 50px;
}
.b32{
  display: flex;
  justify-content: space-around; 
  align-items: center;
  flex-direction: unset;
}
.b33{
  display: flex; 
  align-items: center; 
  font-size: 2rem; 
  margin-bottom: 10px;
}
.b34{
  color: #6f451b; 
  font-size: 3rem;
}
.b35{
  width: 600px; 
  height: 400px; 
  border-radius: 20px; 
  display: flex; 
  justify-self: center; 
  align-items: center; 
  text-align: center;
}
.b36{
  width: 100%; 
  border-radius: 25px 0px 25px; 
  box-shadow: 2px 4px 20px 0px #0000008a;
}
.b37{
  display: flex;
            width: 100%;
            justify-content: center;
            margin-top: 50px;
}
.b38{
  background-color: #fffeff;
}
.b39{
  position: relative;
}
.b40{
  display: flex; 
  justify-content: flex-end; 
  align-items: center; 
  gap: 40px;
  flex-direction: unset;
}
.b41{
  width: 50%;
}
.b42{
  font-size: 5rem; 
  font-weight: 300; 
  line-height: 4.8rem;
}
.b43{
  margin-left: 20px; 
  margin-top: 20px; 
  margin-right: 50px;
}
.b44{
  display: flex; 
  gap: 20px; 
  margin-bottom: 10px;
}
.b45{
  color: #6f451b; 
  font-size: 25px;
}
.b46{
  display: flex; 
  gap: 20px;     
  margin-bottom: 10px;
}
.b47{
  display: flex;
            width: 100%;
            justify-content: center;
            margin-top: 50px;
}
.b48{
  height: 468px; 
  position: relative; 
  overflow: hidden;
  display: flex; 
  align-items: center;
}
.b49{
  position: absolute; 
  z-index: -1; 
  width: 100%; 
 
}
.b50{
  width: 100%; 
  filter: opacity(0.3);
}
.b51{
  text-align: center;
}
.b52{
  font-size: 3rem; 
  line-height: 3rem; 
  color: #6f451b; 
  font-weight: 300;
}
.b53{
  font-size: 4rem; 
  font-weight: 300;
}
.b54{
  display: flex;
            width: 100%;
            justify-content: center;
            margin-top: 50px;
}





/*-----------------------------------*\
  #custom servicios
\*-----------------------------------*/
.s1{
  position: absolute;
  left: 0;
  width: 50%;
  height: 100%;
}
.s2{
  width: 100%; 
  position: absolute;
  transform: unset;
}
.s3{
  width: 50%; 
  position: relative; 
  height: 100%; 
  display: flex; 
  padding: 50px;
  margin-left: 40px;
  flex-direction: column;
  justify-content: center;
}
.s4{
  font-size: 3rem;
}
.s5{
  width: 80%;
}
.fade-out {
  opacity: 0;
  transition: opacity 0.5s;
}

.fade-in {

  transition: opacity 0.5s;
}

/*-----------------------------------*\
  #MASTER CUSTOM
\*-----------------------------------*/

.imaster{
  box-shadow: 2px 4px 20px 0px #0000008a;
    border-radius: 15px;
    width: 100%;
    position: absolute;
    left: -700px;
    top: 0;
    transition: all 1s ease;
}

.imaster:focus,.imaster:hover{
  width: 110%;
  left: -750px;
}
.plain{
  position: absolute;
  display: flex;
  align-items: center;
    bottom: 100px;
    font-size: 6rem;
    font-weight: 100;
    color: #dadada;
    opacity: 0;
    transition: all 1s ease;
}
.plain:focus,.plain:hover{
  opacity: 1;
}

.a33{
  display:flex; 
  justify-content: center;
}
.a34{
  color: #6f451b;
  font-size: 200px;
  font-weight: 300; 
  width: 30%;
}
.a35 {
  width: 50%;
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.a36{
  font-size: 4rem; 
  font-weight: 200; 
  color: #6f451b; 
  line-height: 3.5rem;
}
/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background-color: var(--midnight-green);
  color: var(--white);
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-block-end: 60px;
}

.footer-brand {
  background-color: var(--ming);
  padding: 32px;
  border-radius: var(--radius-6);
}

.footer .logo { margin-block-end: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-block-start: 12px;
}

.contact-item .item-icon { font-size: 4rem; }

.contact-link {
  display: inline;
  transition: var(--transition-1);
}

.contact-link:is(:hover, :focus-visible) { color: var(--verdigris); }

.footer-list-title {
  color: var(--white);
  font-weight: var(--fw-700);
  margin-block-end: 20px;
}

.footer .text { opacity: 0.7; }

.footer .address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
}

.footer .address ion-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.footer-link {
  margin-block-start: 8px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus-visible) { color: var(--verdigris); }

.footer-form .input-field {
  color: var(--white);
  border: 1px solid var(--white_a20);
  border-radius: var(--radius-4);
  padding: 8px 20px;
}

.footer-form .input-field::placeholder { color: inherit; }

.footer-form .btn {
  width: 100%;
  justify-content: center;
  margin-block: 12px 28px;
}

.footer-bottom {
  padding-block: 32px;
  border-block-start: 1px solid var(--white_a20);
}

.footer-bottom .social-list {
  justify-content: flex-start;
  gap: 8px;
  margin-block-start: 16px;
}

.footer-bottom .social-link {
  font-size: 1.4rem;
  padding: 12px;
  background-color: var(--white_a10);
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.footer-bottom .social-link:is(:hover, :focus-visible) { background-color: var(--verdigris); }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--verdigris);
  color: var(--white);
  padding: 16px;
  font-size: 2rem;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
  opacity: 0;
  z-index: 3;
}

.back-top-btn:is(:hover, :focus-visible) { background-color: var(--eerie-black); }

.back-top-btn.active {
  transform: translateY(-10px);
  opacity: 1;
}



/*-----------------------------------*\
  #CUSTOMMEDIA QUERIES
\*-----------------------------------*/
@media (max-width: 999px) {
  .aa2 {
    width: auto;
    min-width: 900px;
    height: 100vh;
  }
  .az1 {
    width: auto;
    height: 100%;
  }
  .b1{
    left: -600px;
  }
  .b3 {
    margin-top: 25vh;
  }
  .b4{
    margin-left: unset;
    align-items: center;
  }
  .b5{
    line-height: 1.9rem;
    font-size: 1.7rem;
  }
  .b7 {
    width: 360px;
  }

  .b8{
    text-align: center;
  }
  .b20 {
    gap: 50px;
    flex-direction: column;
    align-items: center;
  }
  .b21{
    width: 100%;
  }
  .animated-div {
    height: 500px;
    flex-direction: column;
    align-items: center;
  }
  .s1{
    width: 100%;
    height: 120%;
  }
  .s2{

    transform: rotate(90deg);
  }
  .s3 {
    width: 100%;
    height: 70%;
    margin-left: 0;
  }
  .s5{
    width: 100%;
  }
  
  .parallax-section img {
    top: -200px;
    width: 1000px;
    left: 90%;
  }

  .carousel-item {
    height: 130%;
  }
  .b32{
    flex-direction: column-reverse;
  }
  .b40{
    flex-direction: column;
  }
  .b41 {
    width: 100%;
  }
  .b49{
    width: 1000px;
    top: 0;
  }
  .b53{
    font-size: 3rem;
  }

.imaster{
    width: 1000px;
    position: relative;
    left: -700px;
    top: 0;
}

.imaster:focus,.imaster:hover{
  width: 1100px;
  left: -750px;
}
.plain{
  font-size: 3rem;
}
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --headline-lg: 8rem;
    --headline-md: 4.8rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 750px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * HEADER
   */

  .header .btn { display: block; }

  .nav-open-btn { margin-inline-start: auto; }

  .header .container { gap: 40px; }




  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / 3; }

  .contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom .social-list { margin-block-start: 0; }

}




@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 940px; }


}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }



  /**
   * HEADER
   */

  .header { padding-block: 24px; }

  .nav-open-btn,
  .overlay,
  .navbar-top,
  .navbar .social-list { display: none; }

  .navbar,
  .navbar.active,
  .navbar-list {
    all: unset;
    display: block;
  }

  .navbar { margin-inline-start: auto; }

  .navbar-list {
    display: flex;
    gap: 8px;
  }

  .navbar-item { border-block-start: none; }

  .navbar-link {
    --title-md: 1.8rem;
    font-weight: var(--fw-500);
    padding-inline: 16px;
    text-transform: capitalize;
  }



  /**
   * FOOTER
   */

  .footer { background-size: auto; }

  .footer-top { grid-template-columns: repeat(4, 1fr); }

  .footer-brand {
    grid-column: 1 / 5;
    padding: 28px 56px;
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    align-items: center;
  }

  .footer .logo { margin-block-end: 0; }

  .contact-list { justify-content: space-between; }

  .contact-list::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--white_a20);
  }

  .contact-item { margin-block-start: 0; }

}