:root {
  --bg: #f4efe9;
  --paper: #fbf8f4;
  --ink: #34312f;
  --muted: #766f69;
  --taupe: #a89688;
  --line: #d8cfc6;
  --dark: #2f2c2a;
  --max: 1220px
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5
}
/**/
html, body {
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none
}
img {
  display: block;
  width: 100%
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: auto
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 244, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(52, 49, 47, .08)
}
.navin {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}
.brand img {
  width: 150px;
  height: auto
}
.navlinks {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 14px
}
.hero {
  min-height: 780px;
  position: relative;
  overflow: hidden
}
.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 239, 233, .98) 0%, rgba(244, 239, 233, .83) 34%, rgba(244, 239, 233, .08) 66%, rgba(244, 239, 233, 0) 100%)
}
.heroCopy {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-left: 20px;
 /* max-width: 690px*/
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 20px;
  color: var(--muted)
}
h1 {
  font-size: clamp(56px, 7vw, 96px);
  line-height: .96;
  letter-spacing: -.055em;
  margin: 0 0 28px;
  font-weight: 500
}
.lead {
  font-size: 21px;
  max-width: 620px;
  color: #5e5853;
  margin-bottom: 30px
}
.meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 90px;
  font-size: 13px;
  color: #6e6761
}
.section {
  padding: 110px 0
}
.section.alt {
  background: #efe9e3
}
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center
}
.h2 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.045em;
  margin: 0 0 28px;
  font-weight: 500
}
.bodycopy {
  font-size: 18px;
  color: #635c57;
  max-width: 620px
}
.frame {
  overflow: hidden;
  border-radius: 28px;
  background: #ddd
}
.frame img {
  aspect-ratio: 16/10;
  object-fit: cover
}
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px
}
.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .5);
  min-height: 250px;
  transition: .25s
}
.card:hover {
  transform: translateY(-4px);
  background: #fff
}
.num {
  font-size: 12px;
  letter-spacing: .16em;
  color: #9b8b7e
}
.card h3 {
  font-size: 27px;
  letter-spacing: -.03em;
  margin: 38px 0 12px
}
.card p {
  color: #716a64
}
.serviceHero {
  padding: 110px 0 60px
}
.serviceHero .grid2 {
  align-items: end
}
.serviceHero h1 {
  font-size: clamp(58px, 7vw, 90px)
}
.serviceImage {
  margin-top: 50px;
  border-radius: 28px;
  overflow: hidden
}
.serviceImage img {
  aspect-ratio: 16/7;
  object-fit: cover
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px
}
.chip {
  border: 1px solid var(--line);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: #6b645e
}
.blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px
}
.block {
  background: #f2ece6;
  border-radius: 20px;
  padding: 30px;
  min-height: 180px
}
.block h3 {
  margin: 0 0 14px;
  font-size: 21px
}
.cta {
  padding: 120px 0;
  background: #302d2b;
  color: #fff
}
.cta .bodycopy {
  color: #c8beb5
}
.footer {
  padding: 45px 0;
  background: #262321;
  color: #ddd
}
.footerin {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end
}
.footer img {
  width: 145px;
  filter: brightness(0) invert(1);
  opacity: .9
}
.small {
  font-size: 13px;
  color: #a9a099
}
.mobilebtn {
  display: none
}
@media(max-width:900px) {
  .navlinks {
    display: none
  }
  .mobilebtn {
    display: inline-flex
  }
  .hero {
    min-height: 700px
  }
  .hero:after {
    background: linear-gradient(180deg, rgba(244, 239, 233, .93) 0%, rgba(244, 239, 233, .78) 50%, rgba(244, 239, 233, .05) 100%)
  }
  .heroCopy {
    padding-top: 120px
  }
  .meta {
    margin-top: 55px
  }
  .grid2, .services, .blocks {
    grid-template-columns: 1fr
  }
  .grid2 {
    gap: 40px
  }
  .services {
    gap: 12px
  }
  .section {
    padding: 80px 0
  }
  .serviceHero {
    padding-top: 80px
  }
  .serviceImage img {
    aspect-ratio: 4/3
  }
  .footerin {
    align-items: flex-start;
    flex-direction: column;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.fade-in {
  opacity: 0;
  transition:
    opacity 0.8s ease var(--delay, 0s),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

/* Desde abajo */
.fade-up {
  transform: translateY(120px);
}

/* Desde arriba */
.fade-down {
  transform: translateY(-120px);
}

/* Entra desde la izquierda */
.fade-left {
  transform: translateX(-100px);
}

/* Entra desde la derecha */
.fade-right {
  transform: translateX(100px);
}

/* Estado final */
.fade-in.visible {
  opacity: 1;
  //transform: translateX(0);
  transform: translate(0, 0);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}


/***clientes*/

  /* =========================
     CONTENEDOR
     ========================= */

  .opalo-clientes {
    width: 100%;
    padding: 120px 6vw;
    box-sizing: border-box;
    background: #f7f7f5;
    overflow: hidden;
  }


  /* =========================
     CABECERA
     ========================= */

  .opalo-clientes-header {
    max-width: 1100px;
    margin: 0 auto 70px;
  }

  .opalo-clientes-eyebrow {
    display: block;
    margin-bottom: 22px;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .opalo-clientes-header h2 {
    margin: 0;

    font-size: clamp(42px, 5.5vw, 82px);
    line-height: .95;
    font-weight: 500;
    letter-spacing: -.045em;
  }

  .opalo-clientes-header h2 em {
    font-style: normal;
  }

  .opalo-clientes-header p {
    max-width: 430px;
    margin: 30px 0 0;

    font-size: 16px;
    line-height: 1.5;
  }


  /* =========================
     CARRUSEL
     ========================= */

  .opalo-carousel {
    position: relative;

    max-width: 1250px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 25px;
  }

  .opalo-track-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .opalo-track {
    display: flex;
    gap: 20px;

    transition:
      transform .7s cubic-bezier(.22,.61,.36,1);
  }


  /* =========================
     TARJETAS CLIENTES
     ========================= */

  .opalo-client {
    flex: 0 0 calc(25% - 15px);

    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.12);

    box-sizing: border-box;

    transition:
      transform .3s ease,
      background .3s ease;
  }

  .opalo-client:hover {
    transform: translateY(-5px);
    background: #fff;
  }

  .opalo-client img {
    display: block;

    width: 70%;
    max-width: 170px;
    max-height: 80px;

    object-fit: contain;

    filter: grayscale(100%);

    opacity: .75;

    transition:
      filter .3s ease,
      opacity .3s ease;
  }

  .opalo-client:hover img {
    filter: grayscale(0%);
    opacity: 1;
  }


  /* =========================
     FLECHAS
     ========================= */

  .opalo-arrow {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border: 1px solid #111;
    border-radius: 50%;

    background: transparent;

    color: #111;

    font-size: 18px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
      background .25s ease,
      color .25s ease;
  }

  .opalo-arrow:hover {
    background: #111;
    color: #fff;
  }


  /* =========================
     FOOTER CARRUSEL
     ========================= */

  .opalo-carousel-footer {
    max-width: 1250px;
    margin: 35px auto 0;

    display: flex;
    align-items: center;
    gap: 30px;
  }

  .opalo-carousel-line {
    flex: 1;

    height: 1px;

    background: rgba(0,0,0,.15);
  }

  .opalo-carousel-line span {
    display: block;

    width: 12.5%;
    height: 1px;

    background: #111;

    transition: width .5s ease;
  }

  .opalo-carousel-counter {
    white-space: nowrap;

    font-size: 12px;
    letter-spacing: .08em;
  }


  /* =========================
     TABLET
     ========================= */

  @media (max-width: 900px) {

    .opalo-clientes {
      padding: 90px 5vw;
    }

    .opalo-client {
      flex: 0 0 calc(50% - 10px);
      height: 170px;
    }

  }


  /* =========================
     MOBILE
     ========================= */

  @media (max-width: 600px) {

    .opalo-clientes {
      padding: 80px 20px;
    }

    .opalo-clientes-header {
      margin-bottom: 45px;
    }

    .opalo-clientes-header h2 {
      font-size: 46px;
    }

    .opalo-clientes-header p {
      font-size: 15px;
    }

    .opalo-carousel {
      gap: 10px;
    }

    .opalo-arrow {
      flex: 0 0 38px;

      width: 38px;
      height: 38px;

      font-size: 15px;
    }

    .opalo-client {
      flex: 0 0 100%;
      height: 160px;
    }

  }

.dark-block-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  transition: opacity 0.2s ease;
}

.contact-item:hover {
  opacity: 0.7;
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text {
  font-size: 15px;
}