:root {
  --bg: #0b0f14;
  --fg: #e9eef4;
  --muted: #a7b0bb;
  --accent: #86A8CF;
  --accent-2: #C38EB4;
  --accent-3: #26425A;
  --surface: #10151c;
  --radius: 16px;
  --phoneW: clamp(200px, 15vw, 290px);
  --screenTop: 0%;
  --screenBottom: 0%;
  --phonePeek: 10svh;
  --c1: #0d1117;
  --white: #fff;
  --txt-dark: #0d1117
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --fg: #0d1117;
    --muted: #5b6672;
    --surface: #f3f5f7;
  }

}

* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html,
body {
  height: 100%
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

.white {
  color: white;
}

.center {
  text-align: center;
}

.cta {
  font-size: 48px;
  font-weight: 200;
}

.cta-important {
  font-size: 48px;
  font-weight: 600;
}

.snap-container {
  scroll-snap-type: y mandatory;
}

.panel {
  min-height: 100svh;
  min-height: 100dvh;
  min-height: 100vh;
  display: grid;
  place-items: center;

  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gradent {
  background: url('assets/bg-gradent.jpg') center/cover no-repeat;
  overflow: hidden;
}

.fix-white {
  background: #fff;
}

.container {
  width: min(1100px, 100%);
  margin-inline: auto;
}

h1,
h2 {
  margin: 0 0 12px
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1
}

h2 {
  font-size: clamp(24px, 4vw, 36px)
}

.lead {
  font-size: 1.125rem;
}


/*****************************/
/* LANG SWITCH */
/*****************************/
.lang-switch {
  display: flex;
  gap: .5rem;
  align-items: center;
  font-weight: 600;
}

.lang-switch .sep {
  opacity: .5;
}

.lang-switch a {
  text-decoration: none;
  opacity: .8;
}

.lang-switch a[aria-current="page"] {
  opacity: 1;
  border-bottom: 2px solid currentColor;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Ajustes responsive: muestra en móvil dentro del menú, ocúltalo en desktop si quieres */
@media (max-width: 900px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }
}

/*****************************/
/* NAVBAR */
/*****************************/
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(20px);
  background-color: rgba(10, 13, 16, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.navbar-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 10px;
  margin: 0 auto 16px;
  text-align: center;
}

.logo-area-menu .logo {
  height: 48px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 32px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #86A8CF;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.logo-area-menu {
  border: 1 solid red;
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-menu.show {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: 0;
    color: #fff;
    z-index: 10001;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;

    background: linear-gradient(160deg, #0d2648, #04132c);

    color: #fff;

    z-index: 999999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow: auto;

    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu a {
    position: relative;
    width: 100%;
    font-size: clamp(26px, 6vw, 40px);
    font-weight: 300;
    color: currentColor;
    text-decoration: none;
    padding: 14px 28px 14px 0;
  }

  .mobile-menu a+a {
    border-top: 1px solid rgba(0, 0, 0, .15);
  }

  .mobile-menu a::after {
    content: "→";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: .7;
    font-size: 1.1em;
  }

  .mobile-menu .lang-switch a::after {
    content: none;
  }
}


/*****************************/
/* VINCULATE */
/*****************************/
.vinculate {
  background: url('assets/callback/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.vinculate .container {
  position: relative;
  z-index: 1;
  color: white;
}

.vinculate h1 {
  font-weight: 400;
  font-size: 3rem;
}

.vinculate p {
  /* font-weight: 400; */
  font-size: 2rem;
}

.vinculate .hide {
  display: none;
}

.vinculate .lead {
  font-size: 1.20rem;
  margin-left: 10px;
  margin-right: 10px;
}



/*****************************/
/* HERO */
/*****************************/
.hero {
  background: url('assets/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;

  color: white;
}

.stores {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  width: 240px;
  height: 64px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.badge.apple {
  background-image: url("assets/app-store.svg");
  background-size: 80% auto;
}

.badge.google {
  background-image: url("assets/google-play.svg");
  background-size: 90% auto;
}

@media (max-width:560px) {
  .badge {
    width: 220px;
    height: 56px;
  }

  .stores {
    gap: 10px;
  }

}

/*****************************/
/* GALERÍA */
/*****************************/
#gallery {
  position: relative;

  overflow: visible;
}

.no-snap {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.cta-below {
  position: relative;

  z-index: 1;

  text-align: center;
  margin-top: calc(var(--phonePeek) + 1rem);
}

.phone-mock {
  position: absolute;
  top: -10svh;

  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screens {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;


  transform: translateX(-50%);
  width: var(--phoneW);
  overflow: hidden;
  border-radius: 48px;
  aspect-ratio: auto;
  z-index: 1;
}

.phone-frame {
  width: var(--phoneW);
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-spacer {
  width: var(--phoneW);
  aspect-ratio: 9 / 19.5;

  margin: 0 auto;
  pointer-events: none;
}

.phone-left,
.phone-rigth {
  position: absolute;
  top: 0svh;

  width: clamp(180px, 13vw, 240px);

  z-index: 1;

  pointer-events: none;
}

.phone-left img,
.phone-rigth img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-left {
  left: 31%;
  transform: translateX(-50%) scale(0.75);
  opacity: 0.9;
}

.phone-rigth {
  right: 31%;
  transform: translateX(50%) scale(0.75);
  opacity: 0.9;
}

#video .video-container {
  width: 100%;
  padding: 24px 16px;
  color: var(--txt-dark)
}

.cta-video {
  position: relative;
  z-index: 3;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 32px;
  text-align: center;

  max-width: 1024px;
  margin: 0 auto 24px;
  text-align: left;
}

.cta-video .important {
  font-size: 48px;
  font-weight: 600;
  display: block;
}

.comment {
  margin-top: 16px;

  font-size: 0.9rem;

  color: var(--muted);

  text-align: center;
}

.video-frame {
  display: none;
}

.video-showcase {
  width: 100%;
  position: relative;
}

.video-showcase video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;

  z-index: 1;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .cta-video {
    max-width: 1024px;
    margin: 0 auto 24px;
    text-align: left;
  }

  .video-showcase {
    max-width: 1024px;
    margin: 0 auto;
  }

  .video-showcase {
    --frame-ratio: 2.03 / 1;
    --screen-top: 0%;
    --screen-left: 0%;
    --screen-right: 2.4%;
    --screen-bottom: 2.4%;

    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: var(--frame-ratio);

    position: relative;
  }

  .video-showcase .video-frame {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
  }

  .video-showcase video {
    position: absolute;
    width: 96%;
    height: 92%;
    object-fit: contain;
    object-position: center;
    background: #000;
    border-radius: 40px;
    left: 2.1%;
    top: 5%;
    z-index: 2;
  }

}

/*****************************/
/* MODOS */
/*****************************/
.phone-compare.pc {
  display: block;
}

.phone-compare.tablet,
.phone-compare.mobile {
  display: none;
}

.cta-modos {
  font-size: 36px;
  font-weight: 200;
  color: #fff;
  text-align: right;
  width: 100%;
}

.cta-modos .important {
  font-size: 48px;
  font-weight: 600;
}

:root {
  --split: 50;
  --screenInsetX: 0%;
  --screenInsetY: 0%;
  --screenRadius: 11.2%;
}

.modes-wrap {
  position: relative;
  margin: 40px auto 0;
}

.mode-label {
  position: absolute;
  bottom: -36px;
  font-weight: 300;
  font-size: clamp(16px, 2.6vw, 28px);
  color: #fff;
  opacity: .9;
  pointer-events: none;
}

.mode-label.left {
  left: 6px;
}

.mode-label.right {
  right: 6px;
}

.phone-compare {
  position: relative;
  width: var(--phoneW);
  margin: 0 auto;
}

.phone-compare .phone-frame {
  width: var(--phoneW);
  height: auto;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

#mode .compare-screens {
  position: absolute;
  inset: var(--screenInsetY) var(--screenInsetX);
  overflow: hidden;
  border-radius: var(--screenRadius);
  z-index: 1;
}

#mode .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mode .shot-light {
  clip-path: inset(0 calc(100% - (var(--split) * 1%)) 0 0);
  transition: clip-path .08s linear;
}

#mode .divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--split) * 1%);
  width: 0px;
  height: 50%;
  transform: translateX(-0.5px);
  background: rgba(255, 255, 255, .82);
  z-index: 2;
}

#mode .compare-range {
  position: absolute;
  inset: var(--screenInsetY) var(--screenInsetX);
  opacity: 0;
  cursor: col-resize;
  z-index: 4;
}

.mode-label {
  position: absolute;
  bottom: -36px;
  font-weight: 200;
  font-size: 48px;
  color: #fff;
  pointer-events: none;
}

.mode-label.left {
  left: 0px;
}

.mode-label.right {
  right: 0px;
  font-weight: 600;
  color: #edc008;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .cta-modos {
    text-align: right;
    padding-right: 24px;
    padding-left: 16px;
  }

  .phone-compare.pc {
    display: none;
  }

  .phone-compare.tablet {
    display: block;
  }

  .mode-label {
    display: none;
  }

  .two-phones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(16px, 4vw, 48px);
    margin-top: 8px;
  }

  .phone-unit {
    position: relative;
    width: var(--phoneW);
  }

  .phone-unit .phone-frame {
    width: var(--phoneW);
    height: auto;
    position: relative;
    z-index: 2;
    pointer-events: none;
    display: block;
    margin: 0 auto;
  }

  .mode-caption {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: 300;
    font-size: clamp(16px, 2.6vw, 22px);
    color: #fff;
    opacity: .9;
  }

  .mode-caption.dark {
    font-weight: 600;
    color: #edc008;
  }

}

@media (max-width: 767.98px) {
  .cta-modos {
    text-align: center;

    padding-inline: 16px;
  }

  .phone-compare.pc,
  .phone-compare.tablet {
    display: none;
  }

  .phone-compare.mobile {
    display: block;
  }

  .mode-label {
    display: none;
  }

}

/*****************************/
/* PRICING */
/*****************************/
.pricing-section {
  background: var(--white);
}

.cta-pricing {
  font-size: 28px;
  font-weight: 200;
  margin-top: 56px;
  color: var(--txt-dark);
}

.cta-pricing .important {
  font-size: 36px;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
  width: min(1100px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

.pricing-box {
  background: #f0f5f7;
  color: var(--txt-dark);
  border-radius: 20px;
  padding: 20px;

  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-box:hover {
  transform: translateY(-10px);
}

.pricing-box h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.price {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--c2);
}

.pricing-box ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.pricing-box ul li {
  margin: 10px 0;
}

.pricing-box button {
  padding: 10px 20px;
  background: var(--c1);
  color: var(--dark);
  border: none;
  border-radius: 10px;
  cursor: not-allowed;
  font-weight: bold;
  opacity: 0.7;
  width: 100%;
}

.pricing-box.basic button {
  background: transparent;
  border: 2px solid var(--c1);
  color: var(--c1);
  opacity: 1;
}

.ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  background: #72b4c9;
  padding: 6px 14px;
  font-size: 1rem;
  border-radius: 0 0 10px 0;
}

.note {
  max-width: 900px;
  margin: 22px auto 0;
  font-size: .92rem;
  text-align: center;

  color: var(--txt-dark);
  padding-bottom: 14px;
}

 .nextTime {
   font-size: 1.1rem;
   margin-bottom: 20px;
   width: 100%;
   text-align: center;
   color: #26659c;
   font-weight: 600;
 }

@media (min-width: 768px) {
  .cta-pricing {
    font-size: 32px;
    margin-top: 72px;
  }

  .cta-pricing .important {
    font-size: 44px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 820px;
  }

  .pricing-box {
    padding: 24px;
    background-color: #f0f5f7;
  }

  .pricing-box h3 {
    font-size: 1.6rem;
  }

  .price {
    font-size: 1.3rem;
  }

  .pricing-grid .pricing-box:nth-child(3) {
    grid-column: 1 / -1;

    max-width: 400px;

    margin: 0 auto;
  }

}

@media (min-width: 992px) {
  .cta-pricing {
    font-size: 36px;
    margin-top: 80px;
  }

  .cta-pricing .important {
    font-size: 48px;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 1000px;
  }

  .pricing-box {
    padding: 30px;
    background-color: #f0f5f7;
  }

  .pricing-box h3 {
    font-size: 1.8rem;
  }

  .price {
    font-size: 1.5rem;
  }

}

@media (min-width: 768px) and (max-width: 991.98px) {
  .pricing-grid>.pricing-box:last-child {
    grid-column: 1 / -1;

    justify-self: center;

    max-width: 420px;
  }

}

@media (min-width: 992px) {
  .pricing-grid>.pricing-box:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }

}

/*****************************/
/* FAQS */
/*****************************/
.cta-faqs {
  font-size: 28px;
  font-weight: 200;
  color: #fff;
  margin-top: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.cta-faqs .important {
  font-size: 36px;
  font-weight: 600;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  width: 100%;
  text-align: left;
  border-radius: 10px;
}

.faq-item:hover {
  border-color: var(--c1);
  transform: translateY(-4px);
}

.faq-item strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}

.faq-item p {
  font-weight: 200;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #fff;
}

@media (min-width: 768px) {
  .cta-faqs {
    font-size: 32px;
    margin-top: 36px;
    margin-bottom: 50px;
  }

  .cta-faqs .important {
    font-size: 44px;
  }

  .faq-item {
    padding: 24px;
    margin-bottom: 18px;
  }

  .faq-item strong {
    font-size: 1.05rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }

}

@media (min-width: 992px) {
  .cta-faqs {
    font-size: 36px;
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .cta-faqs .important {
    font-size: 48px;
  }

  .faq-item {
    padding: 24px 28px;
    margin-bottom: 20px;
  }

  .faq-item strong {
    font-size: 1.1rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }

}

/*****************************/
/* INTEGRACIONES */
/*****************************/
.integrations {
  padding: 2.5rem 0;
  text-align: center;
  background-color: var(--white);
}

.integrations h2 {
  padding-bottom: 8px;
  font-weight: 200;
  font-size: 1.6rem;
  color: #0d1117;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;

  flex-wrap: wrap;
}

.logos img {
  opacity: 0.8;
  height: 64px;

  width: auto;
}

@media (min-width: 768px) {
  .integrations {
    padding: 3.5rem 0;
  }

  .integrations h2 {
    font-size: 2rem;
  }

  .logos {
    gap: 3rem;
  }

  .logos img {
    height: 76px;
  }

}

@media (min-width: 992px) {
  .integrations {
    padding: 4rem 0;
  }

  .integrations h2 {
    font-size: 2.25rem;
  }

  .logos {
    gap: 4rem;
  }

  .logos img {
    height: 88px;
  }

}

/*****************************/
/* FOOTER */
/*****************************/
.site-footer {
  text-align: center;
  background-color: var(--white);
  color: var(--muted);
  padding: 28px 12px;
}

.footer-links {
  margin-bottom: 8px;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--fg);
}
