/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  overflow-x: hidden;
}

/*
   * Remove text-shadow in selection highlight:
   * https://twitter.com/miketaylr/status/12228805301
   *
   * Vendor-prefixed and regular ::selection selectors cannot be combined:
   * https://stackoverflow.com/a/16982510/7133471
   *
   * Customize the background color to match your design.
   */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
   * A better looking default horizontal rule
   */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
   * Remove the gap between audio, canvas, iframes,
   * images, videos and the bottom of their containers:
   * https://github.com/h5bp/html5-boilerplate/issues/440
   */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
   * Remove default fieldset styles.
   */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
   * Allow only vertical resizing of textareas.
   */

textarea {
  resize: vertical;
}

/* ==========================================================================
     Author's custom styles
     ========================================================================== */

body {
  overflow-x: hidden;
  font-family: "Swis721 Lt BT", sans-serif;
  font-size: 16px;
}

body * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

p {
  padding: 0;
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}


/* @media all and (min-width:64em) {
  body {
    font-size: 1vmax;
  }
} */

@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?qjbtjm');
  src: url('fonts/icomoon.eot?qjbtjm#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?qjbtjm') format('truetype'),
    url('fonts/icomoon.woff?qjbtjm') format('woff'),
    url('fonts/icomoon.svg?qjbtjm#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-design:before {
  content: "\e906";
}

.icon-grabacion:before {
  content: "\e907";
}

.icon-jingles:before {
  content: "\e908";
}

.icon-mixer:before {
  content: "\e909";
}

.icon-original:before {
  content: "\e90a";
}

.icon-telefono:before {
  content: "\e90b";
}

.icon-logo-white:before {
  content: "\e900";
  color: #fff;
}

.icon-logo-black:before {
  content: "\e901";
}

.icon-logo-red:before {
  content: "\e902";
  color: #a41916;
}

.icon-icon-white:before {
  content: "\e903";
  color: #fff;
}

.icon-icon-black:before {
  content: "\e904";
}

.icon-icon-red:before {
  content: "\e905";
  color: #a31d21;
}

:root {
  --background-color: white;
  --text-title-color: black;
  --text-paragraph-color: #3b3b3b;
  --lines-color: #6f6f6f;
  --purple-dark: #241945;
  --purple-mild: #3E2072;
  --purple-light: #A98BF8;
  --green-dark: #2A5C5E;
  --green-light: #80EFF3;
}

html.dark-mode {
  --background-color: #000;
  --text-title-color: white;
  --text-paragraph-color: #e4e4e4;
}


body {
  /* background-color: var(--background-color); */
  /* color: var(--text-color); */
  -webkit-transition: background-color 0.3s, color 0.3s;
  -o-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
  background: rgb(0, 0, 0);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), color-stop(23%, rgba(0, 0, 0, 1)), color-stop(48%, rgba(36, 25, 69, 1)), color-stop(64%, rgba(0, 0, 0, 1)), color-stop(90%, rgba(36, 25, 69, 1)));
  background: -o-linear-gradient(top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 23%, rgba(36, 25, 69, 1) 48%, rgba(0, 0, 0, 1) 64%, rgba(36, 25, 69, 1) 90%);
  background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 23%, rgba(36, 25, 69, 1) 48%, rgba(0, 0, 0, 1) 64%, rgba(36, 25, 69, 1) 90%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#241945", GradientType=1);
}

body.cotiza {
  transition: background-color 0.3s, color 0.3s;
  background: rgb(36, 25, 69);
}

#main-header {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
}

#main-header .inwrap {
  width: 90%;
  max-width: 80em;
  margin: 0 auto;
  padding: 2em 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#main-header .logo-link {
  margin-right: auto;
}

#main-header .logo-link img {
  width: 100%;
  max-width: 20em;
}

#main-header .inwrap nav {}

#main-header .inwrap nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3em;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#main-header .inwrap nav ul li {
  opacity: 0;
  -webkit-transform: translate(0, -30%);
  -ms-transform: translate(0, -30%);
  transform: translate(0, -30%)
}

#main-header .inwrap nav ul li a {
  color: #ffffff;
  font-weight: 200;
  font-size: 0.9em;
}

/* COTIZA AHORA (ahora fuera del <ul>, hijo directo del .inwrap) */
#main-header .inwrap .nav-cotiza-btn {
  border: 1.5px solid var(--green-light);
  background-color: var(--green-light);
  padding: 0.8em 1.5em;
  border-radius: 2em;
  color: #000;
  font-weight: 400;
  font-size: 0.9em;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#main-header .inwrap .nav-cotiza-btn:hover {
  background-color: var(--green-light);
  color: #000;
  -webkit-box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
  box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
}

/* Separación entre la nav, el botón Cotiza y la hamburguesa */
#main-header .inwrap {
  gap: 3em;
}

/* Estado inicial (lo revela la animación del intro junto con los links) */
#main-header .inwrap .nav-cotiza-btn,
#main-header .menu-toggle {
  opacity: 0;
  -webkit-transform: translate(0, -30%);
  -ms-transform: translate(0, -30%);
  transform: translate(0, -30%);
}

/* Botón hamburguesa: oculto en escritorio */
#main-header .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6em;
  height: 2.6em;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

#main-header .menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}


#home-hero {
  height: 100vh;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--purple-dark);
}


#home-hero .intro-video .circle {
  width: 0vh;
  height: 0vh;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: transparent;
  border-radius: 100%;
  -webkit-transition: all 1s ease-in;
  -o-transition: all 1s ease-in;
  transition: all 1s ease-in;
  -webkit-box-shadow: 0px 0px 0px 100vw rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 0px 0px 100vw rgba(0, 0, 0, 1);
  z-index: -1;
  /* box-shadow: 0px 0px 0px 100vw rgba(255,64,3,1); */
}

#home-hero .intro-video {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* background-color: var(--background-color); */
  -webkit-transition: opacity 1s ease-in;
  -o-transition: opacity 1s ease-in;
  transition: opacity 1s ease-in;
}


#home-hero .intro-video video {
  width: 77.4em;
  margin-top: -5.3em;
  margin-right: 0.09em;
  -webkit-transition: all 0.5s ease-in;
  -o-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

#home-hero .video-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
}

#home-hero .video-bg video {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 76%;
  object-position: 50% 76%;
  background-size: cover;
  opacity: 1;
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero slideshow: reemplaza el video de fondo con un pase de fotos
   (fundido cruzado + zoom suave tipo Ken Burns). */
#home-hero .hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#home-hero .hero-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  opacity: 0;
  will-change: opacity, transform;
  /* travelling más ágil y con paneo lateral alternado (heroSlideA/B) */
  animation: heroSlideA 16s linear infinite;
}

/* Alternamos dirección del paneo para un movimiento más juguetón */
#home-hero .hero-slideshow .slide-2,
#home-hero .hero-slideshow .slide-4 {
  animation-name: heroSlideB;
}

#home-hero .hero-slideshow .slide-1 {
  animation-delay: 0s;
}

#home-hero .hero-slideshow .slide-2 {
  animation-delay: 3.2s;
}

#home-hero .hero-slideshow .slide-3 {
  animation-delay: 6.4s;
}

#home-hero .hero-slideshow .slide-4 {
  animation-delay: 9.6s;
}

#home-hero .hero-slideshow .slide-5 {
  animation-delay: 12.8s;
}

@keyframes heroSlideA {
  0% {
    opacity: 0;
    transform: scale(1.06) translate(-3%, 1%);
  }

  3% {
    opacity: 1;
  }

  20% {
    opacity: 1;
    transform: scale(1.17) translate(3%, -1.5%);
  }

  23% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: scale(1.17) translate(3%, -1.5%);
  }
}

@keyframes heroSlideB {
  0% {
    opacity: 0;
    transform: scale(1.06) translate(3%, -1%);
  }

  3% {
    opacity: 1;
  }

  20% {
    opacity: 1;
    transform: scale(1.17) translate(-3%, 1.5%);
  }

  23% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    transform: scale(1.17) translate(-3%, 1.5%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-hero .hero-slideshow img {
    animation-name: heroSlideshowFade;
  }

  @keyframes heroSlideshowFade {
    0% {
      opacity: 0;
    }

    3% {
      opacity: 1;
    }

    20% {
      opacity: 1;
    }

    23% {
      opacity: 0;
    }

    100% {
      opacity: 0;
    }
  }
}

#home-hero .info .inwrap .hero-subheader {
  margin: 0.6em 0 0;
  color: var(--green-light);
  font-family: 'Swis721 Lt BT';
  font-weight: 400;
  font-size: 1.25em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-left: 0.22em;
}

#home-hero .gradient {
  /* Más claro para que se aprecien los estudios; se oscurece un poco
     solo en el centro para mantener legible el logo/subheader. */
  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 55%,
      rgba(0, 0, 0, 0.22) 100%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

#home-hero .info {
  position: relative;
  z-index: 15;
  text-align: center;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-in;
  -o-transition: opacity 0.3s ease-in;
  transition: opacity 0.3s ease-in;
  width: 98%;
}

#home-hero .info .inwrap {}

/* #home-hero .info .inwrap .logo {
  width: 35em;
} */

#home-hero .info .inwrap .logo-hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  flex-direction: column;
  color: var(--green-light);
}

#home-hero .info .inwrap .logo-hero img {
  width: 9.2em;
}

#home-hero .info .inwrap .logo-hero .title {
  font-size: 5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 3.6882em;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

#home-hero .info .inwrap .logo-hero .title.size {
  font-size: 5em;
}

#home-hero .info .inwrap .logo-hero .title span:nth-child(1) {
  font-family: "Rund Display";
  font-weight: 900;
}

#home-hero .info .inwrap .logo-hero .title span:nth-child(2) {
  font-family: 'Swis721 Lt BT';
  font-weight: 400;
  margin-left: -0.09em;
  letter-spacing: -0.04em;
  margin-bottom: -0.1em;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

#home-hero .info .inwrap .headline {
  color: #FFF;
  margin-top: 0em;
  font-size: 1.8em;
  line-height: 140%;
  font-weight: 400;
}

#home-hero .info .inwrap .headline span {}

#home-hero .info .inwrap .headline br {}

/* #home-hero .info .inwrap .headline .words-wrapper { 
      overflow: hidden;
      vertical-align: top;
      display: inline-block;
      position: relative;
      -webkit-transition: width 1s ease-in-out;
      -o-transition: width 1s ease-in-out;
      transition: width 1s ease-in-out;
      text-align: left;
    }
  
    #home-hero .info .inwrap .headline .words-wrapper::after {

      content: '';
      position: absolute;
      top: 10%;
      right: 0;
      width: 2px;
      height: 70%;
      background-color: #aebcb9;
  }
  
  #home-hero .info .inwrap .headline .words-wrapper b{
    display: inline-block;
      position: absolute;
      white-space: nowrap;
      left: 0;
      top: 0;
      opacity: 0;
  }
    
    #home-hero .info .inwrap .headline .words-wrapper b.is-visible {
      position: relative;
      opacity: 1;
    }
    
    #home-hero .info .inwrap .headline .words-wrapper .is-hidden { 

      opacity: 0;
    } */

/* Contenedor de las palabras: se posiciona relativo y se oculta el desbordamiento */
#home-hero .words-wrapper {
  display: block;
  position: relative;
  height: 1.2em;
  /* Altura aproximada de una línea; ajústala si es necesario */
  overflow: hidden;
  width: 12em;
  margin: 0 auto;
  font-size: 1.1em;
  font-family: 'swis721__bt_expanded_2';
  color: #FFF;
}

/* Cada <b> se posiciona absolutamente para poder animarlo */
#home-hero .words-wrapper b {
  position: absolute;
  left: 0;
  width: 100%;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  -o-transition: transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
}

/* Clase para la frase visible: en su posición normal y totalmente opaca */
#home-hero .words-wrapper b.is-visible {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

/* Clase para las frases ocultas: posicionadas debajo */
#home-hero .words-wrapper b.is-hidden {
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
}

/* Clase para la frase que sale: se desliza hacia arriba */
#home-hero .words-wrapper b.exit {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  opacity: 0;
}

#home-hero .arrow {
  position: absolute;
  width: 100%;
  bottom: 4em;
  left: 0;
  right: 0;
  z-index: 3;
}

#home-hero .arrow .inwrap {
  width: 50%;
  margin: 0 auto;
}

#home-hero .arrow .fa {
  color: #FFF;
}

#home-hero #home-svg {
  position: absolute;
  width: 100%;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 4;
  height: 7em;
}

#home-hero #home-svg .p-curve {
  fill: var(--background-color);
}

#last-works {}

#last-works .box video.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 90;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  /* Por si acaso */
}

#last-works .inwrap {
  width: 90%;
  margin: 0 auto;
  padding: 9em 0 1em;
}

#last-works .inwrap h2 {
  font-family: 'swis721__bt_expanded_2';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* Opcional: Ajusta según tu diseño */
  font-size: 8em;
  line-height: 1;
  margin: 0;
  overflow: visible;
}

#last-works .inwrap h2 span {
  position: relative;
  display: inline-block;
  background: -o-linear-gradient(left, #333 50%, var(--green-light) 50%);
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #333), color-stop(50%, var(--green-light)));
  background: linear-gradient(to right, #333 50%, var(--green-light) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  /* Amplía el fondo para la animación */
  background-position: -200% 0;
  /* Inicia con el color gris oscuro */
  will-change: background-position;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 0.2;
  margin-top: -0.2em;
}

#last-works .inwrap h2 span:nth-child(1) {
  -webkit-transform: translate(-10%, 0);
  -ms-transform: translate(-10%, 0);
  transform: translate(-10%, 0);
}

#last-works .inwrap h2 span:nth-child(2) {
  -webkit-transform: translate(-14%, 0);
  -ms-transform: translate(-14%, 0);
  transform: translate(-14%, 0);
}

#last-works .inwrap .subtitle {
  font-size: 2em;
  margin: 1em auto;
  color: var(--text-title-color);
  text-align: center;
}

#last-works .inwrap .subtitle span {
  position: relative;
  display: inline-block;
  -webkit-transform: translate(0, 30%);
  -ms-transform: translate(0, 30%);
  transform: translate(0, 30%);
  opacity: 0;
  margin-left: 0.5em;
}

/* Ajusta estos valores a tu preferencia, son solo orientativos */
#last-works {
  /* padding: 2em; */
}

#last-works .inwrap {
  max-width: 70em;
  /* Ancho máximo del contenedor */
  margin: 0 auto;
}

#last-works .boxes {
  display: flex;
  /* Usamos flexbox */
  flex-wrap: wrap;
  /* Permite que las cajas salten de línea si no caben */
  gap: 0.4em;
  /* Separación entre cajas */
  justify-content: center;
  /* Opcional, para centrar si sobran espacios */
}

#last-works .box {
  position: relative;
  flex: 0 0 calc(33.3333% - 0.5em);
  /* 3 cajas por fila en escritorio */
  height: 33vh;
  /* Altura fija de ejemplo */
  overflow: hidden;
  -webkit-transform: translate(0, 30%);
  -ms-transform: translate(0, 30%);
  transform: translate(0, 30%);
  opacity: 0;
  border-radius: 1em;
  /* Smooth transition for expansion */

}

/* Expanded state - fullscreen */
#last-works .box.expanded {
  flex: 1 1 100% !important;
  height: 100vh !important;
  z-index: 9999;
  transform: translate(0, 0) !important;
  opacity: 1 !important;
}

/* Hide other boxes when one is expanded */
#last-works .boxes.has-expanded .box:not(.expanded) {
  flex: 0 0 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Mobile: use fixed positioning to escape scroll containers */
@media all and (max-width: 48em) {
  #last-works .box.expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    z-index: 99999 !important;
  }

  #last-works .box.expanded video.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #last-works .box.expanded .audio-controls {
    bottom: 2em;
  }
}

/* Close button for expanded state */
#last-works .box .close-expanded {
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  width: 3em;
  height: 3em;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

#last-works .box .close-expanded:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#last-works .box.expanded .close-expanded {
  display: flex;
  z-index: 100000;
}

/* Hacemos que tanto la imagen como el iframe ocupen toda la caja */
#last-works .box img.cover-image,
#last-works .box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* La imagen se recorta sin deformarse */
#last-works .box img.cover-image {
  object-fit: cover;
  /* Cubre todo el espacio */
  z-index: 1;
  /* Para que quede sobre el iframe */
}

#last-works .box button {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}

#last-works .box:hover button {
  opacity: 1;
}

/* Info del anuncio: centrada y oculta por defecto */
#last-works .box .info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  opacity: 0;
  /* Oculto inicialmente */
  transition: opacity 0.3s;
  /* Transición suave */
  z-index: 200;
  width: 25em;
  line-height: 1.4;
  /* Por encima de la imagen */
}

/* Al hacer hover en la caja, mostramos la info */
#last-works .box:hover .info {
  opacity: 1;
}

#last-works .box .info h3 {
  margin: 0 0 0.2em;
  font-family: 'swis721__bt_expanded_2';
}

/* Audio Controls - 4 track toggle icons */
#last-works .box .audio-controls {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6em;
  z-index: 250;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}

#last-works .box .audio-controls.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

#last-works .box .audio-controls .audio-btn {
  /* Reset inherited styles from #last-works .box button */
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 2.8em !important;
  height: 2.8em !important;
  opacity: 1 !important;
  background: rgba(255, 255, 255, 0.15) !important;
  /* Custom styles */
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.6em;
}

#last-works .box .audio-controls .audio-btn svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

#last-works .box .audio-controls .audio-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: scale(1.1);
}

#last-works .box .audio-controls .audio-btn.active {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--green-light) 100%);
  color: #000;
  box-shadow: 0 0 15px rgba(169, 139, 248, 0.5);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(169, 139, 248, 0.5);
  }

  50% {
    box-shadow: 0 0 25px rgba(128, 239, 243, 0.7);
  }
}

/* Ejemplo de responsive para pantallas pequeñas (opcional) */
@media (max-width: 48em) {
  #last-works .boxes {
    flex-direction: column;
  }

  #last-works .box {
    flex: none;
    margin-bottom: 0em;
    height: 18em;
    /* ajusta la altura a tu gusto */
  }
}

#nosotros {
  position: relative;
}

#nosotros .icon-bg {
  position: absolute;
  width: 77%;
  max-width: 93em;
  top: -26em;
  right: -33em;
  z-index: -1;
  opacity: 0.1;
  -webkit-transform: rotate(-25deg) translate(10%, 40%);
  -ms-transform: rotate(-25deg) translate(10%, 40%);
  transform: rotate(-25deg) translate(10%, 40%);
  opacity: 0;
}

#nosotros .about-photo {
  position: absolute;
  top: 27em;
  right: 5%;
  width: 42%;
  max-width: 47em;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1em;
  z-index: 2;
  box-shadow: 0 1.5em 4em rgba(0, 0, 0, 0.45);
  opacity: 0;
}

/* En desktop el texto se mantiene en la mitad izquierda para no solaparse
   con la foto de la derecha. Los spans son inline-block (para la animación),
   así que hay que limitar también su ancho para que el texto largo fluya
   a más líneas en lugar de extenderse bajo la foto. */
@media all and (min-width: 63.9em) {
  #nosotros .inwrap p.subtitle {
    max-width: 50%;
  }

  #nosotros .inwrap p.subtitle span {
    max-width: 100%;
  }
}

#nosotros .inwrap {
  width: 90%;
  margin: 0 auto;
  padding: 9em 0 9em;
}

#nosotros .inwrap h2 {
  font-family: 'swis721__bt_expanded_2';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  /* Opcional: Ajusta según tu diseño */
  font-size: 9em;
  line-height: 1;
  margin: 0;
}

#nosotros .inwrap h2 span {
  position: relative;
  display: inline-block;
  background: -o-linear-gradient(left, #333 50%, var(--green-light) 50%);
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #333), color-stop(50%, var(--green-light)));
  background: linear-gradient(to right, #333 50%, var(--green-light) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  /* Amplía el fondo para la animación */
  background-position: -200% 0;
  /* Inicia con el color gris oscuro */
  will-change: background-position;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 0.2;
  margin-top: -0.2em;
}

#nosotros .inwrap h2 span:nth-child(1) {

  -webkit-transform: translate(-10%, 0);
  -ms-transform: translate(-10%, 0);
  transform: translate(-10%, 0);
}

#nosotros .inwrap h2 span:nth-child(2) {
  -webkit-transform: translate(-14%, 0);
  -ms-transform: translate(-14%, 0);
  transform: translate(-14%, 0);
}

#nosotros .inwrap .subtitle {
  font-size: 1.5em;
  max-width: 100%;
  margin-top: 1em;
  padding-left: 0.4em;
  color: var(--text-paragraph-color);
}

#nosotros .inwrap .subtitle span {
  position: relative;
  display: inline-block;
  -webkit-transform: translate(0, 30%);
  -ms-transform: translate(0, 30%);
  transform: translate(0, 30%);
  opacity: 0;
}

.premios {
  display: inline-flex !important;
  align-items: center;
  gap: 1em;
  padding: 1em 0;
  margin-top: 1em;
  flex-wrap: wrap;
}

.premios img {
  height: 2em;
  width: auto;
}


#nosotros .inwrap .outro {
  font-size: 3em;
  width: 90%;
  margin-top: 1em;
  color: var(--text-paragraph-color);
  text-align: center;
  max-width: 28em;
  margin: 0em auto 0;
}

#nosotros .inwrap .outro span {
  position: relative;
  display: inline-block;
  -webkit-transform: translate(0, 30%);
  -ms-transform: translate(0, 30%);
  transform: translate(0, 30%);
  opacity: 0;
}

/* ============ SERVICIOS ============ */

#servicios {}

#servicios .inwrap {
  width: 100%;
  margin: 0 auto;
  padding: 9em 0 0em;
  text-align: center;
}

#servicios .inwrap h2 {
  font-family: 'swis721__bt_expanded_2';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 9em;
  line-height: 1;
  margin: 0;
  overflow: visible;
}

#servicios .inwrap h2 span {
  position: relative;
  display: inline-block;
  background: -o-linear-gradient(left, #333 50%, var(--green-light) 50%);
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #333), color-stop(50%, var(--green-light)));
  background: linear-gradient(to right, #333 50%, var(--green-light) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  background-position: -200% 0;
  will-change: background-position;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 0.2;
  margin-top: -0.2em;
}

#servicios .inwrap h2 span:nth-child(1) {
  -webkit-transform: translate(-10%, 0);
  -ms-transform: translate(-10%, 0);
  transform: translate(-10%, 0);
}

#servicios .inwrap h2 span:nth-child(2) {
  -webkit-transform: translate(-14%, 0);
  -ms-transform: translate(-14%, 0);
  transform: translate(-14%, 0);
}

#servicios .boxes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.8em;
  margin-top: 5em;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 4em;
  padding: 0 0.6em;
}

#servicios .box {
  position: relative;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.3333% - 0.6em);
  flex: 0 0 calc(33.3333% - 0.6em);
  height: 20em;
  border-radius: 1em;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  -webkit-transform: translateY(3em);
  -ms-transform: translateY(3em);
  transform: translateY(3em);
  text-align: left;
}

#servicios .box .box-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  -o-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

#servicios .box:hover .box-bg {
  -webkit-transform: scale(1.08);
  -ms-transform: scale(1.08);
  transform: scale(1.08);
}

#servicios .box .box-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.15) 0%, var(--gradient-color) 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.15)), to(var(--gradient-color)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, var(--gradient-color) 100%);
  z-index: 2;
  -webkit-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}

#servicios .box:hover .box-overlay {
  opacity: 0.85;
}

#servicios .box .box-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 1.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

#servicios .box .box-content .icon {
  font-size: 3em;
  color: var(--green-light);
  margin-bottom: 0.2em;
}

#servicios .box .box-content h3 {
  font-family: 'swis721__bt_expanded_2';
  font-size: 1.2em;
  color: #fff;
  margin: 0 0 0.4em;
  line-height: 1.3;
}

#servicios .box .box-content p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: max-height 0.4s ease, opacity 0.3s ease;
  -o-transition: max-height 0.4s ease, opacity 0.3s ease;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

#servicios .box:hover .box-content p {
  max-height: 10em;
  opacity: 1;
}

#servicios .cta-btn {
  color: #80EFF3;
  background-color: transparent;
  padding: 1em 2em;
  border: 0.2em solid #80EFF3;
  border-radius: 3em;
  font-size: 1.5em;
  margin-top: 0em;
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow 0.3s ease-in-out;
  transition: -webkit-box-shadow 0.3s ease-in-out;
  -o-transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  -webkit-transform: translate(0, 30%);
  -ms-transform: translate(0, 30%);
  transform: translate(0, 30%);
  opacity: 0;
  display: inline-block;
}

#servicios .cta-btn:hover {
  -webkit-box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
  box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
}

/* ============ FIN SERVICIOS ============ */

#experiencia .inwrap {
  padding: 40em 0;
}


#phrase {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 25em;
  overflow: hidden;
}

#phrase .scroll {
  white-space: nowrap;
  margin: 0 2em
}

#phrase .scroll .right-to-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2em;
  -webkit-animation: RightToLeft 60s infinite linear;
  animation: RightToLeft 60s infinite linear;
  line-height: 0.3;
}

#phrase .scroll p {
  font-size: 7em;
  color: var(--text-title-color);
  font-family: 'Swis721 Th BT';
  line-height: 100%;
}

#phrase .scroll .left-to-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2em;
  -webkit-animation: LeftToRight 60s infinite linear;
  animation: LeftToRight 60s infinite linear;
  line-height: 0.3;
}

@-webkit-keyframes RightToLeft {
  from {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }

  to {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
  }
}

@keyframes RightToLeft {
  from {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }

  to {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
  }
}

@-webkit-keyframes LeftToRight {
  from {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
  }

  to {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}

@keyframes LeftToRight {
  from {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
  }

  to {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
}

#estudios .inwrap {
  width: 90%;
  margin: 0 auto;
  padding: 12em 0 9em;
  text-align: center;
}

#estudios .inwrap h2 {
  font-family: 'swis721__bt_expanded_2';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* Opcional: Ajusta segÃºn tu diseÃ±o */
  font-size: 9em;
  line-height: 1;
  margin: 0;
  overflow: visible;
}

#estudios .inwrap h2 span {
  position: relative;
  display: inline-block;
  background: -o-linear-gradient(left, #333 50%, var(--green-light) 50%);
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #333), color-stop(50%, var(--green-light)));
  background: linear-gradient(to right, #333 50%, var(--green-light) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  /* AmplÃ­a el fondo para la animaciÃ³n */
  background-position: -200% 0;
  /* Inicia con el color gris oscuro */
  will-change: background-position;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 0.2;
  margin-top: -0.2em;
}

#estudios .inwrap h2 span:nth-child(1) {
  -webkit-transform: translate(-10%, 0);
  -ms-transform: translate(-10%, 0);
  transform: translate(-10%, 0);
}

#estudios .inwrap h2 span:nth-child(2) {
  -webkit-transform: translate(-14%, 0);
  -ms-transform: translate(-14%, 0);
  transform: translate(-14%, 0);
}

#estudios .inwrap .subtitle {
  font-size: 1.5em;
  max-width: 50%;
  margin: 1em auto;
  color: var(--text-title-color);
  text-align: center;
  -webkit-transform: translate(0, 30%);
  -ms-transform: translate(0, 30%);
  transform: translate(0, 30%);
  opacity: 0;
}

#estudios .inwrap .subtitle span {
  position: relative;
  display: inline-block;

  margin-left: 0.5em;
}


#estudios .inwrap .cta-btn {
  color: #80EFF3;
  background-color: transparent;
  padding: 1em 2em;
  border: .2em solid #80EFF3;
  border-radius: 3em;
  font-size: 0.8em;
  margin-top: 1em;
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow .3s ease-in-out;
  transition: -webkit-box-shadow .3s ease-in-out;
  -o-transition: box-shadow .3s ease-in-out;
  transition: box-shadow .3s ease-in-out;
  transition: box-shadow .3s ease-in-out, -webkit-box-shadow .3s ease-in-out;
  display: inline-block;

}

#estudios .inwrap .cta-btn:hover {
  -webkit-box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
  box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px
}

/* ===== Carrusel embebido de Estudios ===== */
#estudios .estudios-carousel {
  position: relative;
  width: 90%;
  max-width: 70em;
  margin: 2.5em auto 0;
}

#estudios .ec-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 1em;
  cursor: grab;
}

#estudios .ec-viewport:active {
  cursor: grabbing;
}

#estudios .ec-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform 0.55s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: transform 0.55s cubic-bezier(0.645, 0.045, 0.355, 1);
  will-change: transform;
}

#estudios .ec-slide {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

#estudios .ec-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

#estudios .ec-nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 3.2em;
  height: 3.2em;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background 0.25s ease;
  -o-transition: background 0.25s ease;
  transition: background 0.25s ease;
}

#estudios .ec-nav:hover {
  background: rgba(0, 0, 0, 0.72);
}

#estudios .ec-prev {
  left: 1em;
}

#estudios .ec-next {
  right: 1em;
}

#estudios .ec-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 0.7em;
  margin-top: 1.4em;
}

#estudios .ec-dots .ec-dot {
  width: 0.7em;
  height: 0.7em;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  -webkit-transition: background 0.25s ease, -webkit-transform 0.25s ease;
  transition: background 0.25s ease, -webkit-transform 0.25s ease;
  -o-transition: background 0.25s ease, transform 0.25s ease;
  transition: background 0.25s ease, transform 0.25s ease;
}

#estudios .ec-dots .ec-dot.active {
  background: var(--green-light);
  -webkit-transform: scale(1.25);
  transform: scale(1.25);
}

@media all and (max-width: 47.9em) {
  #estudios .estudios-carousel {
    width: 100%;
  }

  #estudios .ec-nav {
    width: 2.6em;
    height: 2.6em;
  }
}




#logo-end .inwrap {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#logo-end .inwrap img {
  width: 100%;
  max-width: 21em;
  /* -webkit-transform: translate(0,30%);
          -ms-transform: translate(0,30%);
              transform: translate(0,30%);
      opacity: 0; */
  display: inline-block;
}

#main-footer {
  position: relative;
  margin-top: 4em;
}

#main-footer .inwrap {
  width: 90%;
  margin: 0 auto;
  padding: 1em 0 4em;
}

#main-footer .inwrap .top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

#main-footer .inwrap .top h2 {
  font-family: 'swis721__bt_expanded_2';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  /* Opcional: Ajusta según tu diseño */
  font-size: 8em;
  line-height: 1;
  margin: 0;
}

#main-footer .inwrap .top h2 span {
  position: relative;
  display: inline-block;
  background: -o-linear-gradient(left, #333 50%, var(--text-title-color) 50%);
  background: -webkit-gradient(linear, left top, right top, color-stop(50%, #333), color-stop(50%, var(--text-title-color)));
  background: linear-gradient(to right, #333 50%, var(--text-title-color) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  /* Amplía el fondo para la animación */
  background-position: -200% 0;
  /* Inicia con el color gris oscuro */
  will-change: background-position;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 0.2;
  margin-top: -0.2em;
}

#main-footer .inwrap .top h2 span:nth-child(1) {
  padding-left: 0.1em;
  -webkit-transform: translate(-10%, 0);
  -ms-transform: translate(-10%, 0);
  transform: translate(-10%, 0);
}

#main-footer .inwrap .top h2 span:nth-child(2) {
  -webkit-transform: translate(-14%, 0);
  -ms-transform: translate(-14%, 0);
  transform: translate(-14%, 0);
}

#main-footer .inwrap .top .cta-btn {
  color: #80EFF3;
  background-color: transparent;
  padding: 1em 2em;
  border: 0.2em solid #80EFF3;
  border-radius: 3em;
  font-size: 1.2em;
  margin-top: 0em;
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow 0.3s ease-in-out;
  transition: -webkit-box-shadow 0.3s ease-in-out;
  -o-transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
  -webkit-transform: translate(30%, 0);
  -ms-transform: translate(30%, 0);
  transform: translate(30%, 0);
  opacity: 0;
  display: inline-block;
}

#main-footer .inwrap .top .cta-btn:hover {
  -webkit-box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
  box-shadow: 0 0 5px var(--green-light), 0 0 30px var(--green-light), 0 0 7px var(--green-light), 0 0 100px;
}

#main-footer .inwrap .bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  border-top: 1px solid var(--lines-color);
  border-bottom: 1px solid var(--lines-color);
  padding: 1.5em 0;
  margin: 2em 0;
  flex-wrap: wrap;
  gap: 2em;
}

#main-footer .inwrap .bottom .field {
  line-height: 2.3;
}

#main-footer .inwrap .bottom .field:nth-child(4) {
  /* text-align: right; */
}

#main-footer .inwrap .bottom .field .label {
  color: var(--text-title-color);
  font-family: 'Swis721 Hv BT';
  font-size: 0.9em;
}

#main-footer .inwrap .bottom .field p {
  color: #FFF;
}

#main-footer .inwrap .bottom .field p a {
  color: var(--text-paragraph-color);
}

#main-footer .inwrap .bottom .field p svg {
  height: 1.3em;
}

#main-footer .inwrap .subfooter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  opacity: 0.6;
}

#main-footer .inwrap .subfooter .copyright {
  color: var(--text-paragraph-color);
  font-size: 0.9em;
}

#main-footer .inwrap .subfooter .desarrollo {
  color: var(--text-paragraph-color);
  font-size: 0.9em;
}

#main-footer .inwrap .subfooter .desarrollo a {
  color: var(--text-paragraph-color);
  text-decoration: underline;
}

/* ==========================================================================
     Helper classes
     ========================================================================== */

/*
   * Hide visually and from screen readers
   */

.hidden,
[hidden] {
  display: none !important;
}

/*
   * Hide only visually, but have it available for screen readers:
   * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
   *
   * 1. For long content, line feeds are not interpreted as spaces and small width
   *    causes content to wrap 1 word per line:
   *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
   */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
   * Extends the .sr-only class to allow the element
   * to be focusable when navigated to via the keyboard:
   * https://www.drupal.org/node/897638
   */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
   * Hide visually and from screen readers, but maintain layout
   */

.invisible {
  visibility: hidden;
}

/*
   * Clearfix: contain floats
   *
   * For modern browsers
   * 1. The space content is one way to avoid an Opera bug when the
   *    `contenteditable` attribute is included anywhere else in the document.
   *    Otherwise it causes space to appear at the top and bottom of elements
   *    that receive the `clearfix` class.
   * 2. The use of `table` rather than `block` is only necessary if using
   *    `:before` to contain the top-margins of child elements.
   */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
     EXAMPLE Media Queries for Responsive Design.
     These examples override the primary ('mobile first') styles.
     Modify as content requires.
     ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(-o-min-device-pixel-ratio: 5/4),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
     Print styles.
     Inlined to avoid the additional HTTP request:
     https://www.phpied.com/delay-loading-your-print-css/
     ========================================================================== */

@media print {

  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

}