@import url("./styles.css");

.page-lola a,
.page-lola button,
.page-lola summary,
.page-lola [role="button"],
.page-lola [data-menu-open],
.page-lola [data-menu-close],
.page-lola [data-nav-link],
.page-lola [data-nav-mobile-link] {
  cursor: pointer;
}

.page-lola {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.page-lola button:disabled,
.page-lola [aria-disabled="true"] {
  cursor: not-allowed;
}

.page-lola .sticky-tab,
.page-lola .sticky-tab *,
.page-lola .automation-item,
.page-lola .automation-item *,
.page-lola .interface-toggle,
.page-lola .interface-toggle *,
.page-lola .homepad-option,
.page-lola .homepad-option *,
.page-lola .contacta-card,
.page-lola .contacta-card *,
.page-lola .contacta-pill,
.page-lola .contacta-pill * {
  cursor: pointer;
}

.page-lola .hero-image {
  object-position: center;
}

.page-lola #hero.smart-hero .hero-image {
  z-index: 0;
}

.page-lola #hero.smart-hero {
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  display: block;
  padding: 0;
}

.page-lola #hero.smart-hero .smart-hero-overlay {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.page-lola #hero.smart-hero .smart-hero-topfade {
  height: 128px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.page-lola #hero.smart-hero .smart-hero-content-wrap {
  padding: 0 16px 112px;
}

.page-lola #hero.smart-hero .smart-hero-content {
  width: 100%;
  max-width: none;
}

.page-lola #hero.smart-hero .smart-hero-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  outline: 2px solid var(--white);
  outline-offset: -2px;
  padding: 12px 24px 14px;
  color: var(--white);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

.page-lola #hero.smart-hero .smart-hero-title {
  margin: 24px 0 0;
  max-width: none;
  color: var(--white);
  font-size: 30px;
  line-height: 40px;
  font-weight: 400;
}

.page-lola #hero.smart-hero .smart-hero-copy {
  margin: 24px 0 0;
  max-width: none;
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
}

.page-lola #hero.smart-hero .smart-hero-scroll-wrap {
  padding: 0 16px 40px;
}

.page-lola #hero.smart-hero .smart-hero-scroll {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
}

.page-lola #hero.smart-hero .smart-hero-scroll-topfade {
  height: 128px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.page-lola .carousel-lola .lola-main {
  flex-basis: 268.75px;
  height: 185px;
}

.page-lola .carousel-lola .lola-side {
  flex-basis: 218px;
  height: 150px;
}

.page-lola .section-carousel .carousel-track {
  align-items: flex-end;
}

.page-lola .section-accordion .media-column .media-card img {
  object-position: center;
}

.page-lola #hub .media-card img {
  object-position: left center;
}

.page-lola a.contacta-pill-link {
  position: relative;
  border: none;
  border-radius: 999px;
  background: var(--white);
  padding: 16px 28px 16px 64px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: padding 0.3s ease;
}

.page-lola a.contacta-pill-link .contacta-pill-icon {
  position: absolute;
  left: 2px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: left center;
}

.page-lola a.contacta-pill-link .contacta-pill-circle {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--alabaster);
}

.page-lola a.contacta-pill-link .contacta-pill-arrow {
  position: relative;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url(/assets/images/icons/icon-arrow-right.svg) no-repeat center / contain;
  mask: url(/assets/images/icons/icon-arrow-right.svg) no-repeat center / contain;
  transform: none;
  color: var(--black);
}

.page-lola a.contacta-pill-link .contacta-pill-text {
  transition: transform 0.3s ease;
}

.page-lola a.contacta-pill-link .contacta-pill-icon-right {
  left: auto;
  right: 2px;
  opacity: 0;
  transform: translate(-6px) scale(0.6);
  transform-origin: right center;
}

.page-lola a.contacta-pill-link .contacta-pill-icon-right .contacta-pill-circle {
  background: #beb4ad;
}

.page-lola a.contacta-pill-link .contacta-pill-icon-right .contacta-pill-arrow {
  color: var(--white);
}

.page-lola a.contacta-pill-link:hover {
  padding-left: 28px;
  padding-right: 64px;
}

.page-lola a.contacta-pill-link:hover .contacta-pill-icon {
  transform: translate(-6px) scale(0);
  opacity: 0;
}

.page-lola a.contacta-pill-link:hover .contacta-pill-icon-right {
  opacity: 1;
  transform: translate(0) scale(1);
}

.page-lola a.contacta-pill-link:hover .contacta-pill-text {
  transform: translate(-6px);
}

.page-lola a.contacta-pill-link:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.45);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .page-lola #hero.smart-hero {
    min-height: 1080px;
  }

  .page-lola #hero.smart-hero .smart-hero-overlay {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  }

  .page-lola #hero.smart-hero .smart-hero-topfade {
    height: 224px;
  }

  .page-lola #hero.smart-hero .smart-hero-content-wrap {
    padding: 0 32px 192px;
  }

  .page-lola #hero.smart-hero .smart-hero-title {
    font-size: 72px;
    line-height: 72px;
  }

  .page-lola #hero.smart-hero .smart-hero-copy {
    max-width: 578px;
    font-size: 20px;
    line-height: 28px;
  }

  .page-lola #hero.smart-hero .smart-hero-scroll-wrap {
    padding: 0 32px 77px;
  }

  .page-lola #hero.smart-hero .smart-hero-scroll-topfade {
    height: 224px;
  }
}

@media (min-width: 1024px) {
  .page-lola #hero.smart-hero {
    min-height: 640px;
  }

  .page-lola #hero.smart-hero .smart-hero-content-wrap {
    padding-bottom: 112px;
  }

  .page-lola #hero.smart-hero .smart-hero-content {
    max-width: 500px;
  }

  .page-lola #hero.smart-hero .smart-hero-title {
    font-size: 56px;
    line-height: 72.8px;
  }

  .page-lola #hero.smart-hero .smart-hero-copy {
    max-width: 100%;
    font-size: 18px;
    line-height: 24px;
  }

  .page-lola #hero.smart-hero .smart-hero-scroll-wrap {
    padding-bottom: 61px;
  }
}

@media (min-width: 1280px) {
  .page-lola #hero.smart-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .page-lola #hero.smart-hero .smart-hero-content-wrap {
    padding-bottom: 192px;
  }

  .page-lola #hero.smart-hero .smart-hero-content {
    max-width: 885px;
  }

  .page-lola #hero.smart-hero .smart-hero-title {
    font-size: 96px;
    line-height: 115.2px;
  }

  .page-lola #hero.smart-hero .smart-hero-copy {
    max-width: 576px;
    font-size: 20px;
    line-height: 28px;
  }

  .page-lola #hero.smart-hero .smart-hero-scroll-wrap {
    padding-inline: 32px;
    padding-bottom: 79px;
  }

  .page-lola #hero.smart-hero .smart-hero-scroll {
    font-size: 18px;
    line-height: 24px;
  }
}

.page-lola a.contacta-pill-link.contacta-pill-link-inverse {
  background: var(--alabaster);
}

.page-lola
  a.contacta-pill-link.contacta-pill-link-inverse
  .contacta-pill-circle {
  background: var(--white);
}

.page-lola
  a.contacta-pill-link.contacta-pill-link-inverse
  .contacta-pill-icon-right
  .contacta-pill-circle {
  background: var(--white);
}

.page-lola
  a.contacta-pill-link.contacta-pill-link-inverse
  .contacta-pill-icon-right
  .contacta-pill-arrow {
  color: var(--black);
}

.section-automation .automation-item {
  cursor: pointer;
  outline: none;
}

.section-automation .text-column {
  gap: 20px;
}

.section-automation h2 {
  font-size: 19px;
}

.section-automation .automation-item h3 {
  font-size: 15px;
  line-height: 1.35;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

.section-automation .automation-item.open h3 {
  color: var(--black);
}

.section-automation .accordion-list {
  gap: 20px;
}

.section-automation .automation-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition:
    max-height 0.34s ease,
    opacity 0.24s ease,
    transform 0.3s ease;
}

.section-automation .automation-item.open p {
  max-height: 160px;
  opacity: 1;
  transform: translateY(0);
}

.section-automation .accordion-item.open h3 {
  margin-bottom: 12px;
}

.section-automation .automation-item:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.5);
  outline-offset: 4px;
}

.section-automation .automation-media {
  position: relative;
  overflow: hidden;
}

.section-automation .automation-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.section-automation .automation-image-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.015);
  transition:
    opacity 0.34s ease,
    transform 0.45s ease,
    filter 0.45s ease;
  will-change: opacity, transform, filter;
}

.section-automation .automation-image-layer.is-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .section-automation .automation-image-layer {
    transition: none;
  }
}

.section-interface {
  background: var(--white);
}

.interface-frame {
  position: relative;
  min-height: 620px;
  padding: 12px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.interface-bg,
.interface-mask {
  position: absolute;
  inset: 0;
}

.interface-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.interface-bg.is-active {
  opacity: 1;
}

.interface-mask {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.5) 80%
  );
  opacity: 1;
  transition: opacity 0.24s ease;
}

.interface-frame[data-interface-theme="dark"] .interface-mask {
  opacity: 0;
}

.interface-panel {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  width: min(100%, 645px);
  border-radius: 12px;
  background: var(--alabaster);
  min-height: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.interface-toggle {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 70px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(7px);
}

.interface-toggle-thumb {
  position: absolute;
  top: 8px;
  left: 8px;
  height: calc(100% - 16px);
  width: 0;
  border-radius: 30px;
  background: var(--white);
  transform: translateX(0);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    width 0.2s ease;
  will-change: transform, width;
  pointer-events: none;
}

.interface-toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 30px;
  padding: 11px 20px;
  font: 500 14px/1.3 "Geist", sans-serif;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.interface-toggle button.active {
  background: transparent;
  color: var(--black);
}

.interface-copy {
  width: min(100%, 457px);
  color: var(--black);
}

.interface-copy h2 {
  margin: 0 0 20px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 400;
}

.interface-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--gray-600);
}

.interface-device {
  width: min(100%, 290px);
  border-radius: 2px;
  background: var(--black);
  padding: 8px;
}

.interface-device-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.interface-device-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.interface-device-image.is-active {
  opacity: 1;
}

.section-homepad {
  background: var(--white);
}

.homepad-header {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.homepad-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
}

.homepad-stage {
  position: relative;
  border-radius: 16px;
  background: var(--alabaster);
  min-height: 500px;
  padding: 32px 16px;
  display: grid;
  gap: 40px;
  justify-items: center;
  align-content: center;
}

.homepad-device {
  width: min(100%, 340px);
  border-radius: 2px;
  background: var(--black);
  padding: 8px;
  filter: drop-shadow(20px 50px 38px rgba(0, 0, 0, 0.25));
}

.homepad-device img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.homepad-options {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.homepad-option {
  border: 0;
  border-radius: 50px;
  padding: 10px 24px 10px 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--black);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.homepad-option.active {
  background: var(--white);
}

.homepad-option:focus-visible {
  outline: 2px solid rgba(17, 17, 17, 0.45);
  outline-offset: 2px;
}

.homepad-option span {
  font-size: 16px;
  line-height: 1.4;
}

.option-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--alabaster);
  display: grid;
  place-items: center;
}

.option-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.page-lola .section-functionalities {
  background: var(--white);
}

.function-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.function-head h2 {
  margin: 0;
}

.page-lola .function-grid {
  gap: 16px;
  align-items: flex-start;
}

.page-lola .function-item {
  flex: 0 0 120px;
  display: grid;
  grid-template-rows: 112px auto;
  align-content: flex-start;
  align-items: flex-start;
}

.page-lola .function-item p {
  align-self: start;
  font-size: 14px;
  line-height: 1.4;
}

.page-lola .icon-box img {
  width: 56px;
  height: 56px;
  opacity: 0.9;
}

.page-lola .section-lola .pill,
.page-lola .section-compat .pill {
  width: fit-content;
}

.page-lola .footer-top .logo {
  width: 104px;
}

@media (min-width: 768px) {
  .page-lola .section-functionalities .container {
    display: grid;
    row-gap: 64px;
  }

  .function-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    margin-bottom: 0;
  }

  .page-lola .function-head .desktop-only {
    margin: 0 0 0 auto;
    width: max-content;
    justify-self: end;
    align-self: center;
  }
}

@media (max-width: 1023px) {
  .function-head .desktop-only {
    display: none;
  }

  .interface-panel {
    margin-top: 68px;
  }

  .interface-device {
    align-self: center;
  }

  .page-lola .hero h1 {
    max-width: 328px;
  }

  .page-lola .section-functionalities .cta-inline {
    margin-top: 24px;
  }
}

@media (min-width: 1024px) {
  .page-lola .carousel-lola .lola-main {
    flex-basis: 1075px;
    height: 740px;
  }

  .page-lola .carousel-lola .lola-side {
    flex-basis: 872px;
    height: 600px;
  }

  .section-automation .text-column {
    gap: 56px;
  }

  .section-automation h2 {
    font-size: 51px;
  }

  .section-automation .accordion-list {
    gap: 24px;
  }

  .section-automation .automation-item h3 {
    font-size: 27px;
    line-height: 1.3;
  }

  .section-automation .automation-item p {
    font-size: 18px;
  }

  .section-automation .accordion-item.open h3 {
    margin-bottom: 16px;
  }

  .section-interface {
    padding: 96px 0;
  }

  .interface-frame {
    min-height: max(
      620px,
      calc(var(--viewport-minus-sticky-height, calc(100svh - var(--sticky-menu-height, 96px))) - 22px)
    );
    padding: 16px;
  }

  .interface-toggle {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
  }

  .interface-toggle button {
    padding: 13px 24px;
    font-size: 16px;
  }

  .interface-panel {
    margin-top: 0;
    padding: 72px 132px 72px 56px;
  }

  .interface-copy h2 {
    margin-bottom: 32px;
    font-size: 56px;
  }

  .interface-copy p {
    font-size: 18px;
    color: var(--gray-600);
  }

  .homepad-header {
    grid-template-columns: minmax(0, 783px) auto;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 16px;
  }

  .homepad-header h2 {
    font-size: 40px;
  }

  .homepad-stage {
    min-height: 706px;
    padding: 48px;
    gap: 120px;
  }

  .homepad-options {
    gap: 16px;
  }

  .homepad-option span {
    font-size: 18px;
  }

  .page-lola .section-functionalities .container {
    row-gap: 64px;
  }

  .function-head {
    margin-bottom: 0;
  }

  .page-lola .function-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: visible;
  }

  .page-lola .function-item {
    min-width: 0;
  }

  .page-lola .function-item p {
    font-size: 20px;
  }
}
