/* General Styles */

* {
  font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden; /* 🔹 evita scroll horizontal */
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center; /* centramos verticalmente todo */
  padding: 10px 20px;
  position: fixed; /* 🔹 cambia de sticky a fixed */
  top: 0;
  left: 0;
  width: 100%; /* 🔹 ocupa todo el ancho */
  background-color: #fff;
  height: 70px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
}

.navbar .logo {
  height: 38px;
  margin-left: 100px;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-right: 80px;
}

.navbar nav a {
  text-decoration: none;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}

/* Enlace activo (Partners) con degradado */
.navbar nav a.active-link {
  background: linear-gradient(90deg, #6B01D1, #F2787A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* BOTÓN DOBLE (Log In / Sign Up) */
.toggle-button {
  display: flex;
  border: 2px solid rgba(107, 1, 209, 0.2);
  border-radius: 28px;
  overflow: hidden;
  width: 230px;
  height: 30px;
  background: #fff;
  padding: 2px;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px; /* 👈 este ajuste lo alinea perfectamente con los links */
}

.toggle-button .option {
  flex: 1;
  text-align: center;          /* 🔹 Nuevo: centra el texto dentro del enlace */
  text-decoration: none;       /* 🔹 Nuevo: quita el subrayado del <a> */
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: #000;
  line-height: 30px;           /* 🔹 Nuevo: centra verticalmente el texto */
}

.toggle-button .option.active {
  background: linear-gradient(90deg, #F2787A, #6B01D1);
  height: 30px;
  color: #fff;
}

.toggle-button .option:hover:not(.active) {
  background-color: rgba(107, 1, 209, 0.05);
}

.toggle-button .option:focus {
  outline: none;
}








/* ========== RESET & TOKENS ========== */


:root{
  --purple:#6B01D1;
  --orange:#F2787A;
  --ink:#0b0b0f;
  --text:#0f0f12;
  --muted:#6b6f76;
  --line:#e9e9ee;
  --bg:#ffffff;
  --bg-dark:#0b0b0f;
  --radius:20px;
  --shadow:0 10px 30px rgba(10,10,20,.15);
  --grad:linear-gradient(90deg,var(--purple),var(--orange));
}

html,body{ height:100%; }
body{
  margin:0;
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

/* Container */
.wrap{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  padding:.85rem 1.1rem;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  transition:.25s ease;
  border:1px solid transparent;
}
.btn--primary{ background:var(--grad); color:#fff; box-shadow:var(--shadow); }
.btn--primary:hover{ transform:translateY(-2px); }
.btn--ghost{
  color:var(--text);
  border:1px solid var(--line);
  background:#fff;
}
.btn--ghost:hover{ border-color:transparent; background:#f7f7fb; }

/* Gradient text helper */
.grad{
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* ========== HERO ========== */
/* Contenedor principal del hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* altura completa de la ventana */
  display: flex;
  align-items: center; /* 🔹 cambia de flex-end a center para centrar verticalmente */
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 3rem; /* mantiene padding lateral */
}

/* Fondo del hero */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.25) 100%),
    var(--hero) center center / cover no-repeat; /* 🔹 centra y ajusta la imagen sin distorsión */
  background-color: #000; /* fallback por si la imagen tarda en cargar */
  z-index: 0;
}

/* Contenedor del texto */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  text-align: left;
  /* padding opcional si quieres separar del borde superior/inferior */
}

/* Título principal */
.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 6.2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
  height: 400px;
  text-transform: uppercase;
  text-shadow: 0 0 2px rgba(255,255,255,0.6), 0 10px 30px rgba(0,0,0,.45);
}

.hero__title span {
  display: block;
}

/* 🔹 Mejora para pantallas pequeñas */
@media (max-height: 600px) {
  .hero {
    height: 100dvh; /* 🔹 usa altura dinámica del viewport para móviles con barra inferior */
  }

  .hero__title {
    font-size: clamp(1.8rem, 6vw, 4.5rem);
  }
}


/* ========== INTRO ======== */
.intro {
  padding: 5rem 0 3rem;
  background: #fff;
}

.intro__inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.intro__title {
 font-size: clamp(2rem, 3vw, 2.8rem); /* 🔹 un poco más grande que antes */
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1.5rem; /* 🔹 espacio moderado debajo del título */
}

.intro__title .grad {
  background: linear-gradient(45deg, #6b01d1, #f2787a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.intro__text {
  color: #606470;
  font-size: clamp(0.875rem, 1.35vw, 1.1rem);
  line-height: 0.8;
}

.intro__text--part {
  display: block; /* 🔹 fuerza el salto de línea entre las partes */
}


/* ========== CAROUSEL ========== */
.carousel {
  padding: 0.5rem 0 3.6rem;
}
.carousel .wrap {
  position: relative;
}

.carousel__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.carousel__viewport {
  position: relative;
  height: 600px; /* 🔹 más alto que antes */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  background:
    var(--img); /* !!!! */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1rem, 4vw, 2rem);
  color: #fff;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s ease, transform .6s ease;
}

.slide__title {
  font-size: 3rem;
  margin: 0 0 .3rem;
  font-weight: 700;
}

.slide__copy {
  margin: 0;
  max-width: 300px; /* 🔹 menos ancho que antes */
  line-height: 1.6; /* 🔹 un poco más de espacio entre líneas para mejor lectura */
  color: #f0f1f6;
}

/* Toggle visibility */
#slide-1:checked ~ .carousel__viewport .slide:nth-of-type(1) { opacity:1; transform:none; }
#slide-2:checked ~ .carousel__viewport .slide:nth-of-type(2) { opacity:1; transform:none; }
#slide-3:checked ~ .carousel__viewport .slide:nth-of-type(3) { opacity:1; transform:none; }
#slide-4:checked ~ .carousel__viewport .slide:nth-of-type(4) { opacity:1; transform:none; }

/* Dots modernos */
.carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.dot {
  width: 8px;  /* más pequeño */
  height: 8px;
  border-radius: 50%;
  background: #c0c0c0; /* gris para los inactivos */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Dot activo */
#slide-1:checked ~ .carousel__dots .dot:nth-child(1),
#slide-2:checked ~ .carousel__dots .dot:nth-child(2),
#slide-3:checked ~ .carousel__dots .dot:nth-child(3),
#slide-4:checked ~ .carousel__dots .dot:nth-child(4) {
  background: #000; /* negro para el activo */
}


/* Arrows */
.arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center; /* 🔹 centra el ícono dentro del círculo */
  background: #EFEFEF; /* 🔹 fondo gris */
  color: #000; /* 🔹 iconos negros */
  border-radius: 50%;
  font-size: 28px; /* 🔹 un poco más grande */
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease;
  position: absolute;
  top: 50%;               /* Centrado vertical */
  transform: translateY(-50%);
}

.arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Flechas a los lados del rectángulo */
.arrow--prev { left: -60px; }
.arrow--next { right: -60px; }

/* Ocultar todas las filas y mostrar según el slide */
.carousel__arrows .arrows__row { display: none; }
#slide-1:checked ~ .carousel__arrows .arrows__row:nth-child(1) { display: flex; }
#slide-2:checked ~ .carousel__arrows .arrows__row:nth-child(2) { display: flex; }
#slide-3:checked ~ .carousel__arrows .arrows__row:nth-child(3) { display: flex; }
#slide-4:checked ~ .carousel__arrows .arrows__row:nth-child(4) { display: flex; }



/* ========== HOW IT WORKS ========== */
.how-it-works {
  background-color: #0B0C10;
  color: #FAFAFA;
  padding: 6rem 2rem;
  width: 100%;          /* siempre 100% del viewport */
  overflow-x: hidden;    /* 🔹 elimina cualquier overflow horizontal */
}

.how-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.how-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.how-header p {
  font-size: 1.2rem;
  color: #CBD5E1;
}

/* Steps */
.how-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;    /* límite para centrar contenido */
  margin: 0 auto 8rem;
  flex-wrap: wrap;
  position: relative;
}

.how-step.reverse {
  flex-direction: row-reverse;
}

.how-text {
  flex: 1 1 400px;
}

.how-step.reverse .how-text {
  text-align: right;      /* 🔹 alinea texto a la derecha */
}

.how-step.reverse .how-text p {
  text-align: right;      /* 🔹 alinea texto a la derecha */
  margin-left: 32px;  
}

.how-step.reverse .how-text .highlight {
  text-align: right;      /* 🔹 alinea texto a la derecha */
  margin-left: 32px;  
}

.how-text h3 {
  font-size: 2.3rem;       /* 🔹 antes 2rem */
  font-weight: 700;        /* más ligero que 800 si quieres */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.how-text p {
  font-size: 1.05rem;      /* un poquito más grande */
  max-width: 380px;        /* 🔹 limita ancho para que no se extienda */
  margin-bottom: 1rem;
  text-align: left;        /* por defecto a la izquierda */
}

.how-text .highlight {
  font-weight: 600;
  color: #FAFAFA;
  display: block;
  margin-top: 0.5rem;
  max-width: 380px;        /* 🔹 igual que el párrafo */
}

.how-img {
  flex: 1 1 60%;
  max-width: none;      /* 🔹 que no limite la imagen */
  text-align: center;
  position: relative;
}

.how-img img {
  width: 110%;          /* sobresalir un poco */
  max-width: none;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
  .how-step {
    flex-direction: column;
    text-align: center;
  }
  .how-step.reverse {
    flex-direction: column;
  }
  .how-text {
    order: 2;
  }
  .how-img {
    order: 1;
  }
}








/* ===== EARLY PARTNERS SECTION ===== */
.early-partners {
  padding: 5rem 0 3rem;
  background: #fff;
}

/* --- Copia exacta del estilo de tu intro --- */
.intro__inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.intro__title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1.5rem;
}

.intro__title .grad {
  background: linear-gradient(45deg, #6b01d1, #f2787a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.intro__text {
  color: #606470;
  font-size: clamp(0.875rem, 1.35vw, 1.1rem);
  line-height: 0.8;
}

.intro__text--part {
  display: block;
}

/* --- Tarjetas --- */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 360px; /* 🔹 Más grandes */
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-content {
  position: absolute;
  bottom: 0.4rem; /* 🔹 texto más cerca del borde inferior */
  left: 0.8rem;   /* 🔹 menos margen lateral */
  right: 0.8rem;
  z-index: 2;
  color: #000000;
  text-align: left;
  padding: 0;
}

.card-content h3 {
  font-size: 0.95rem; /* 🔹 más pequeño */
  font-weight: 600;   /* 🔹 un poco más fino pero aún legible */
  margin-bottom: 0.3rem;
  color: #000000;
}

.card-content p {
  font-size: 0.8rem;  /* 🔹 más pequeño */
  line-height: 1.3;
  color: #000000;
  max-width: 95%;     /* 🔹 más aire visual */
}


/* --- Botón --- */
.get-started-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.get-started-btn {
  background: linear-gradient(90deg, #6B01D1, #F2787A);
  color: white;
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.get-started-btn:hover {
  opacity: 0.9;
}
















#who-we-are {
  position: relative;
  width: 100%;
  background: #fff;
  padding: 4rem 0;
  overflow-x: hidden;
}

.who-wrapper {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.who-header {
  text-align: center;
  margin-bottom: 5rem;
}

.who-title {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, #6B01D1, #F2787A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.who-subtitle {
  color: #4F4F4F;
  font-size: 1.2rem;
  max-width: 750px;
  margin: 1rem auto 0 auto;
}

/* Sección principal */
.who-section {
  position: relative;
  height: 80vh; /* espacio natural para el scroll */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen sticky */
.who-image {
  position: sticky;
  top: 10%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.who-image img {
  width: 700px;
  max-width: 90%;
  height: auto;
}

/* Textos */
.who-text {
  position: absolute;
  width: 18%;
  max-width: 400px;
  line-height: 1.6;
  transition: opacity 0.6s ease, transform 0.6s ease;
  opacity: 0;
}

.who-text-left {
  left: 8%;
  text-align: left;
}

.who-text-right {
  right: 8%;
  text-align: right;
}

/* Botón */
.get-started-container2 {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.get-started-btn2 {
  background: linear-gradient(90deg, #6B01D1, #F2787A);
  color: white;
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.get-started-btn2:hover {
  opacity: 0.9;
}














/* ===== FAQS ===== */
.faqs {
  padding: 3rem 2rem; /* antes 6rem */
  background-color: #fff;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.faqs__title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #6B01D1, #F2787A);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.faqs__grid {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.faq__col {
  flex: 1;
  min-width: 300px;
}

/* --- Cada bloque FAQ --- */
.faq {
  border-bottom: 1px solid #ddd;
  padding: 1.2rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq summary {
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Icono de flecha */
.faq summary::after {
  content: "▾";
  font-size: 1.1rem;
  color: #555;
  transition: transform 0.3s ease;
}

/* Rotación al abrir */
.faq[open] summary::after {
  transform: rotate(180deg);
}

/* Contenido desplegable */
.faq__body {
  max-height: 0;
  overflow: hidden;
  color: #4F4F4F;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.4s ease;
  padding-right: 1.2rem;
}

/* Cuando está abierto */
.faq[open] .faq__body {
  max-height: 200px;
  margin-top: 0.8rem;
}

/* Hover efecto sutil */
.faq:hover summary {
  color: #6B01D1;
  transition: color 0.2s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .faqs__grid {
    flex-direction: column;
  }
  .faq__col {
    width: 100%;
  }
}


/* ===== GO OFFLINE GO AUTSAI ===== */
/* Sección Intro */
.intro-section {
  position: relative;
  background: linear-gradient(90deg, #6B01D1, #F2787A); 
  border-radius: 30px;
  padding: 40px;
  text-align: center;
  color: white;
  max-width: 90%;
  margin: 0 auto; /* Eliminé el margen superior */
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  height: 400px;
  top: 130px;
}


.intro-section p { /* Asegurándonos de que el texto dentro de la intro-section sea centrado */
    font-size: 1.5rem; /* Aumentamos el tamaño de la fuente */
    font-weight: bold; /* Hacemos el texto más destacado */
    text-align: center; /* Centramos el texto */
    line-height: 1.4; /* Un poco más de espacio entre líneas para mayor claridad */
    margin: 0 auto; /* Asegura que el texto esté centrado dentro de la sección */
    max-width: 80%; /* Limitamos el ancho del texto para que no se extienda demasiado */
}

.final-section {
  margin-top: 100;
}

/* Contenido interno */
.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra horizontalmente */
  justify-content: center; /* Centra verticalmente */
  gap: 30px; /* Aumenta el espacio entre los elementos */
  height: 100%; /* Asegura que ocupa toda la altura de la sección */
}

  /* Texto de misión */
  .mission-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
  
.intro-title {
  font-size: 3rem; /* Mantiene el tamaño del título */
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}
  
  
/* Botón */
.get-started-button {
    background-color: white;
    color: #6B01D1;
    border: none;
    border-radius: 50px; /* Bordes redondeados */
    padding: 18px 40px; /* Menos largo y más ajustado */
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 200px; /* Ajusta el ancho al contenido */
    text-align: center; /* Asegura que el texto esté centrado */
}

.get-started-button:hover {
  transform: scale(1.05); /* Efecto de escala al pasar el mouse */
}
  
  /* Sección Imagen */
  .imagen-end {
    background-image: url('images/end.jpg'); /* Ruta de la imagen */
    background-size: cover; /* Hace que la imagen cubra completamente el contenedor */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    width: 100%; /* Asegúrate de que ocupe todo el ancho del contenedor */
    height: 100vh; /* O toda la altura necesaria */
    display: block; /* Para asegurarte de que sea un elemento bloque */
    position: relative; /* Para que la intro-section se superponga correctamente */
    z-index: 1; /* Coloca la imagen en el fondo */
}
  
  /* Footer */
/* CSS */
footer {
  background-color: #000;
  color: #fff;
  padding: 50px 0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.logo2 {
  height: 80px;
  margin-top: 40px;
  margin-right: 20px;
  margin-left: 140px;
}

.app-stores {
  display: flex;
  justify-content: flex-end;
  margin-right: 160px;
  flex-grow: 1;
}

.app-store-logo,
.google-play-logo {
  height: 50px;
  margin-left: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.contact-us, .support, .follow-us {
  flex-basis: 30%;
}

h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

p {
  margin-bottom: 10px;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.support a {
  display: block;
  margin-bottom: 10px; /* Agrega espacio entre los enlaces */
}

a:hover {
  color: #ccc;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
}

.social-icons a {
  margin-right: 20px;
}

.social-icons img {
  height: 32px;
}

.separator {
  width: 100%;
  height: 1px;
  background-color: #444;
  margin: 40px 0;
}

.copyright {
  text-align: center;
}
  .imagen-completa {
    width: 100%; /* La imagen ocupará el 100% del ancho de su contenedor */
    height: 100vh; /* La imagen ocupará el 100% de la altura de la pantalla */
    object-fit: cover; /* Ajusta la imagen para cubrir el área sin deformarse */
    display: block; /* Asegura que la imagen sea un bloque y no se despliegue en línea */
}









































/* Media Queries para pantallas pequeñas (Móviles y tablets pequeñas) */
@media (max-width: 768px) {
  /* Ajustar la barra de navegación */
  .navbar {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
      position: relative;
  }

    /* Ajustar el logo */
    .navbar .logo {
      position: absolute;
      left: -60px; /* Movido más a la izquierda */
      top: 52%;
      transform: translateY(-50%);
    }

    .navbar .get-started {
      display: none !important;
  }
  

  .navbar .menu-toggle {
        display: block;
        font-size: 2rem;
        cursor: pointer;
        position: absolute;
        right: 60px;
        top: 20px;
        z-index: 1001; /* Asegura que esté por encima del contenido */
  }



  .menu-toggle {
    width: 30px;
    height: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
  }
  
  .menu-toggle span {
    height: 3px;
    width: 100%;
    background: black;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Animación del ícono cuando el menú está abierto */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }




/* Menú para móviles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -120%;
  width: 80%;
  height: 100vh;
  background:  rgb(241, 241, 241);
  box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu.show {
  right: -58%;
}

.mobile-menu a {
  font-size: 1.2rem;
  color: black;
  margin: 12px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: #555;
}
  

  /* === Hero section === */
  .hero {
    /* Reduce padding and stack content */
    padding: 0 1.5rem;
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
  }
  .hero__title {
    font-size: clamp(1.8rem, 6vw, 3rem);
    height: auto;
    margin-bottom: 1rem;
  }

  /* === Intro section === */
  .intro {
    padding: 3rem 1rem;
  }
  .intro__text {
    line-height: 1.3;
  }

  /* === Carousel === */
  .carousel__viewport {
    /* Reduce height for small screens */
    height: 280px;
  }
  .slide__title {
    font-size: 1.6rem;
  }
  .slide__copy {
    max-width: 220px;
    font-size: 0.9rem;
  }
  /* Hide arrows on mobile to conserve space */
  .arrow {
    display: none;
  }

  /* === How it works === */
  .how-it-works {
    padding: 4rem 1rem;
  }
  .how-step {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .how-text {
    flex: 1 1 auto;
    text-align: left;
  }
  .how-text h3 {
    font-size: 1.8rem;
  }
  .how-text p,
  .how-text .highlight {
    max-width: none;
    text-align: left;
  }
  .how-img img {
    width: 100%;
  }

  /* === Early partners cards === */
  .cards-container {
    grid-template-columns: 1fr;
  }
  .card {
    height: 280px;
  }
  .card-content h3 {
    font-size: 1rem;
  }
  .card-content p {
    font-size: 0.85rem;
  }

  /* === Who we are section === */
  .who-section {
    /* Allow natural height instead of fixed 80vh */
    height: auto;
    padding: 2rem 0;
  }
  .who-image {
    /* Remove sticky positioning on mobile */
    position: static;
    margin-bottom: 2rem;
  }
  .who-text {
    position: static;
    width: 100%;
    max-width: none;
    opacity: 1;
    margin-bottom: 2rem;
  }
  .who-text-left,
  .who-text-right {
    text-align: left;
  }

  /* === FAQs === */
  .faqs {
    padding: 2rem 1rem;
  }
  .faq summary {
    font-size: 1rem;
  }
  .faq__body {
    font-size: 0.85rem;
  }

  /* === Go offline / final section === */
  .intro-section {
    padding: 2rem 1rem;
    height: auto;
    top: 50px;
  }
  .intro-title {
    font-size: 2.2rem;
  }
  .mission-text {
    font-size: 1rem;
  }
  .get-started-button {
    width: auto;
    padding: 14px 28px;
    font-size: 1rem;
  }
  .imagen-end {
    height: 50vh;
  }

  /* === Footer === */
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .logo2 {
    margin: 0 0 10px 0;
    height: 64px;
  }
  .app-stores {
    margin: 0;
    justify-content: flex-start;
  }
  .container {
    flex-direction: column;
    gap: 2rem;
  }
}
