:root {
  --beige: #f2f5ee !important;
  --black: #073b3a !important;
  --sage: #afc9b7 !important;
  --sage-dark: #39796f !important;
  --red: #0e8078 !important;
}

.text-\[\#4C0016\],
.text-\[\#60A905\],
.text-\[\#662C00\],
.text-\[\#F4A804\] {
  color: #0e8078 !important;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #6f9f94;
  outline-offset: 4px;
}

html[data-ifaire="ready"] body {
  background: #f2f5ee;
}

html[data-ifaire="ready"],
html[data-ifaire="ready"] body {
  max-width: 100vw;
  overflow-x: clip !important;
}

html[data-ifaire="ready"] ::selection {
  color: #f2f5ee;
  background: #073b3a;
}

nav.fixed.top-0 {
  border-bottom: 1px solid rgba(7, 59, 58, .1);
  background: rgba(242, 245, 238, .92);
  box-shadow: 0 .35rem 1.2rem rgba(7, 59, 58, .06);
  backdrop-filter: blur(14px);
}

.ifaire-language-switcher {
  position: fixed;
  top: 1.35vw;
  right: 20vw;
  left: auto;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: .14rem;
  padding: .25rem;
  transform: none;
  border: 2px solid #073b3a;
  border-radius: 999px;
  background: rgba(242, 245, 238, .94);
  box-shadow: 0 .28rem 0 #afc9b7;
  backdrop-filter: blur(10px);
}

.ifaire-language-switcher :is(button, a) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0 .38rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #073b3a;
  font-family: var(--font-mouse-memoirs), Impact, "Arial Narrow", sans-serif;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.ifaire-language-switcher :is(button, a):hover {
  transform: translateY(-1px);
}

.ifaire-language-switcher button[aria-pressed="true"],
.ifaire-language-switcher a[aria-current="page"] {
  background: #afc9b7;
  color: #073b3a;
}

.ifaire-language-switcher :is(button, a):focus-visible {
  outline: 3px solid #0e8078;
  outline-offset: 2px;
}

.ifaire-language-separator {
  color: #0e8078;
  font-size: .85rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.bg-red {
  background-color: #0e8078 !important;
}

.text-red {
  color: #0e8078 !important;
}

.border-red {
  border-color: #0e8078 !important;
}

.hover\:bg-red:hover,
.group:hover .group-hover\:bg-red {
  background-color: #0e8078 !important;
}

html[data-ifaire="ready"] [role="dialog"][aria-label="Page loading"] {
  display: none !important;
}

.ifaire-brand-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: .7vw !important;
  white-space: nowrap;
}

.ifaire-brand-mark {
  width: 3.6vw !important;
  height: 3.6vw !important;
  flex: 0 0 auto;
  object-fit: contain !important;
}

.ifaire-brand-name {
  display: inline-block;
  font-family: "Arial Black", Arial, Helvetica, sans-serif !important;
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .82;
}

.ifaire-footer-wordmark {
  font-size: 24vw !important;
  font-family: "Arial Black", Arial, Helvetica, sans-serif !important;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .62 !important;
  z-index: 20 !important;
}

.ifaire-footer-wordmark > span[aria-hidden="true"] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ifaire-footer-juggle {
  --juggle-scale: .76;
  z-index: 5 !important;
}

.ifaire-no-face > div:nth-child(-n + 2) {
  display: none !important;
}

.ifaire-process-copy {
  position: relative;
  z-index: 40 !important;
}

.ifaire-process-prop {
  z-index: 30 !important;
  pointer-events: none;
}

#servicios,
#servicios-movil {
  --sage: #c7ddd7 !important;
  --sage-dark: #39796f !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(242, 245, 238, .62), transparent 30%),
    linear-gradient(155deg, #dbe9e4 0%, #c8ded8 48%, #bad4ce 100%) !important;
}

#servicios h2,
#servicios-movil h2 {
  color: #073b3a !important;
  -webkit-text-stroke: .45vw #f2f5ee !important;
  text-shadow: none;
}

#servicios .text-sage-dark,
#servicios .text-black,
#servicios-movil .text-black {
  color: #073b3a !important;
}

#servicios path[stroke],
#servicios-movil path[stroke] {
  stroke: #5d988f !important;
  stroke-opacity: .58 !important;
}

#servicios .country-label,
#servicios-movil .country-label {
  color: #0b756e !important;
  -webkit-text-stroke-color: #f2f5ee !important;
}

#servicios .ifaire-route-van--desktop {
  /* The original plane artwork points down; the generated van points right. */
  rotate: 90deg !important;
  transform: scale(1.08) !important;
  transform-origin: center !important;
}

#servicios-movil .ifaire-route-van--mobile {
  /* The mobile route turns its wrapper 90 degrees; keep the van upright. */
  rotate: -90deg !important;
  transform: scale(1.12) !important;
  transform-origin: center !important;
}

.ifaire-cursor path {
  stroke: #073b3a !important;
  opacity: .24 !important;
}

.ifaire-cursor-point--hidden {
  display: none !important;
}

.ifaire-cursor-point:not(.ifaire-cursor-point--hidden) > div {
  width: clamp(1.75rem, 2.2vw, 2.5rem) !important;
  height: clamp(1.75rem, 2.2vw, 2.5rem) !important;
  overflow: hidden;
  padding: .3vw;
  border: 2px solid #073b3a !important;
  border-radius: 999px;
  background: #f2f5ee !important;
  box-shadow: 0 .2vw 0 #c7ddd7;
}

.ifaire-cursor-point:not(.ifaire-cursor-point--hidden) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (min-width: 768px) {
  #inicio > div:first-child {
    position: static !important;
  }

  #inicio > div:first-child > h1 {
    font-size: min(30vw, 43vh) !important;
    line-height: .8 !important;
  }

  #inicio > p {
    position: absolute !important;
    top: 78% !important;
    left: 50% !important;
    width: 96% !important;
    margin-top: 0 !important;
    font-size: clamp(72px, 7.2vw, 112px) !important;
    line-height: .78 !important;
    translate: -50% -50% !important;
    transform: none !important;
  }

  #inicio > div:last-child {
    z-index: 30 !important;
  }

  #inicio > div:nth-child(2) {
    top: 61% !important;
    width: min(40vw, 60vh) !important;
    height: min(40vw, 60vh) !important;
    translate: -50% -50% !important;
    transform: none !important;
  }

  #inicio > div:first-child > p:first-of-type {
    top: 48% !important;
    right: auto !important;
    bottom: auto !important;
    left: 7% !important;
  }

  #inicio > div:first-child > p:last-of-type {
    top: 48% !important;
    right: 7% !important;
    bottom: auto !important;
    left: auto !important;
  }

  .ifaire-process-prop--1 {
    right: -5vw !important;
    left: auto !important;
  }

  .ifaire-process-prop--2 {
    right: auto !important;
    left: -7vw !important;
  }

  .ifaire-process-prop--3 {
    right: -4vw !important;
    left: auto !important;
  }

  .ifaire-process-prop--4 {
    right: auto !important;
    left: -6vw !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  nav.fixed.top-0 {
    padding: 1vw 2.5vw !important;
  }

  nav > div {
    gap: 1vw !important;
  }

  nav > div > a[href="#metodo"] {
    padding: .55vw 1.8vw !important;
    font-size: 1.55vw !important;
  }

  nav button {
    gap: .6vw !important;
    padding: .55vw 1.5vw !important;
    border-width: .15vw !important;
  }

  nav button span {
    font-size: 1.55vw !important;
  }

  .ifaire-language-switcher {
    top: 1.25vw;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .ifaire-brand-lockup {
    gap: 1vw !important;
    font-size: 3.4vw !important;
    line-height: .8 !important;
  }

  .ifaire-brand-mark {
    width: 6.5vw !important;
    height: 6.5vw !important;
  }

  .ifaire-brand-name {
    width: 17vw;
    white-space: normal;
  }

  #inicio {
    height: 100vh !important;
    min-height: 620px;
    padding-top: 8vw !important;
  }

  #inicio > div:last-child {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 2vw !important;
    padding: 2vw 2.5vw !important;
  }

  #inicio > div:last-child > div {
    width: 34vw !important;
  }

  #inicio > div:last-child p {
    width: 100% !important;
    font-size: clamp(14px, 1.6vw, 18px) !important;
    line-height: 1.05 !important;
  }

  #inicio > div:last-child > div:last-child p {
    text-align: right !important;
  }

  #inicio > div:nth-child(2) {
    top: 61% !important;
  }

  #inicio > div:first-child > p {
    font-size: 3vw !important;
  }

  #inicio > div:first-child > p:first-of-type {
    top: 48% !important;
    right: auto !important;
    bottom: auto !important;
    left: 6vw !important;
  }

  #inicio > div:first-child > p:last-of-type {
    top: 48% !important;
    right: 6vw !important;
    bottom: auto !important;
    left: auto !important;
  }
}

@media (max-width: 767px) {
  .ifaire-language-switcher {
    top: 2.4vw;
    right: 29vw;
    left: auto;
    gap: 0;
    padding: .12rem;
    transform: none;
    box-shadow: 0 .2rem 0 #afc9b7;
  }

  .ifaire-language-switcher :is(button, a) {
    min-width: 1.65rem;
    min-height: 2rem;
    padding: 0 .12rem;
    font-size: .8rem;
  }

  .ifaire-language-separator {
    font-size: .62rem;
  }

  nav > div > a[href="#metodo"] {
    display: none !important;
  }

  nav.fixed.top-0 > div > a {
    display: none !important;
  }

  .ifaire-footer-wordmark {
    font-size: 25vw !important;
  }

  .ifaire-footer-juggle {
    --juggle-scale: .58;
  }

  .ifaire-brand-lockup {
    gap: 1.5vw !important;
    font-size: 5.2vw !important;
    line-height: .78 !important;
  }

  .ifaire-brand-mark {
    width: 9vw !important;
    height: 9vw !important;
  }

  .ifaire-brand-name {
    width: 22vw;
    white-space: normal;
  }

  #inicio > div:first-child {
    display: block !important;
    width: 100% !important;
    padding-inline: 4vw;
  }

  #inicio > div:first-child > h1 {
    width: 100%;
    font-size: 23vw !important;
    line-height: .82 !important;
    white-space: nowrap;
  }

  #inicio > div:first-child > p {
    position: absolute !important;
    z-index: 2 !important;
    width: fit-content;
    max-width: 86vw;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #39796f !important;
    font-size: 5vw !important;
    line-height: .9 !important;
  }

  #inicio > div:first-child > p:first-of-type {
    top: -15vw !important;
    right: auto !important;
    bottom: auto !important;
    left: 5vw !important;
    transform: rotate(-7deg) !important;
  }

  #inicio > div:first-child > p:last-of-type {
    top: auto !important;
    right: 5vw !important;
    bottom: -18vw !important;
    left: auto !important;
    transform: rotate(7deg) !important;
  }

  #inicio > p {
    top: 143vw !important;
    margin-top: 0 !important;
    font-size: 19vw !important;
    line-height: 1.15 !important;
    translate: 0 -50% !important;
  }

  .ifaire-process {
    box-sizing: border-box;
    min-height: 132vw;
    padding: 8vw 2.5vw 14vw !important;
    scroll-margin-top: 22vw;
  }

  .ifaire-process > p:first-child {
    position: relative;
    z-index: 40;
    margin-bottom: 8vw;
    font-size: 7.2vw !important;
  }

  .ifaire-process-copy {
    position: relative;
    z-index: 40 !important;
    margin-top: 0 !important;
    gap: 0 !important;
  }

  .ifaire-process-copy > p {
    width: 88vw !important;
    font-size: 18vw !important;
    line-height: .79 !important;
  }

  .ifaire-process-prop {
    z-index: 30 !important;
    pointer-events: none;
  }

  .ifaire-process-prop img {
    filter: drop-shadow(0 2vw 2vw rgba(7, 59, 58, .18));
  }

  .ifaire-process-prop--1 {
    top: 30vw !important;
    right: -17vw !important;
    left: auto !important;
    width: 31vw !important;
  }

  .ifaire-process-prop--2 {
    top: 78vw !important;
    bottom: auto !important;
    left: -18vw !important;
    width: 32vw !important;
  }

  .ifaire-process-prop--3 {
    top: auto !important;
    right: -16vw !important;
    bottom: 4vw !important;
    left: auto !important;
    width: 31vw !important;
  }

  .ifaire-process-prop--4 {
    top: 23vw !important;
    right: auto !important;
    left: -18vw !important;
    width: 34vw !important;
  }

  #servicios-movil .pointer-events-none.absolute:has(.ifaire-route-van--mobile) {
    z-index: 2 !important;
  }

  #servicios-movil > div.flex.flex-col.relative > div.z-10 > p:first-child,
  #servicios-movil > div.flex.flex-col.relative > div.z-10 > p:last-child {
    box-sizing: border-box;
    padding: 1.3vw 3vw;
    border-radius: 999px;
    background: rgba(242, 245, 238, .94);
    box-shadow: 0 .8vw 0 rgba(57, 121, 111, .16);
  }
}
