/* =========================
   Reset y base
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Raleway', sans-serif;
  background-color: #F8FAFC; /* gris claro */
  color: #1E293B;            /* gris oscuro */
  line-height: 1.6;
}

/* =========================
   Modal de Integrantes - Diseño Compacto
========================= */
.integrantes-modal .modal-content {
  max-width: 600px;
  padding: 25px;
}

.integrantes-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.integrantes-fila {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.integrante {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 160px;
}

.integrante:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.1);
}

.integrante-foto {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #6C63FF;
  margin-bottom: 12px;
}

.integrante-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.integrante-info h4 {
  color: #1E293B;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
}

.integrante-info p {
  color: #64748B;
  font-size: 0.8rem;
  margin: 0;
  font-weight: 500;
}

/* Responsive para modal de integrantes */
@media (max-width: 768px) {
  .integrantes-modal .modal-content {
    padding: 20px 15px;
    max-width: 90%;
  }

  .integrantes-fila {
    gap: 15px;
  }

  .integrante {
    width: 140px;
    padding: 12px;
  }

  .integrante-foto {
    width: 60px;
    height: 60px;
  }

  .integrante-info h4 {
    font-size: 0.85rem;
  }

  .integrante-info p {
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .integrantes-fila {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .integrante {
    width: 130px;
    padding: 10px;
  }

  .integrante-foto {
    width: 55px;
    height: 55px;
  }

  .integrantes-modal .modal-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .integrantes-grid {
    gap: 15px;
  }

  .integrantes-fila {
    gap: 10px;
  }

  .integrante {
    width: 120px;
    padding: 8px;
  }

  .integrante-info h4 {
    font-size: 0.8rem;
  }

  .integrante-info p {
    font-size: 0.7rem;
  }
}

/* Ajustes específicos para la segunda fila con 2 integrantes */
.integrantes-fila:last-child {
  justify-content: center;
  gap: 40px;
}

@media (max-width: 768px) {
  .integrantes-fila:last-child {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .integrantes-fila:last-child {
    gap: 20px;
  }
}

/* =========================
   Menú Hamburguesa
========================= */

/* Botón hamburguesa (oculto en desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #1E293B;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: center;
}

/* Menú móvil (oculto por defecto) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100vh;
  background: #fff;
  z-index: 100;
  flex-direction: column;
  padding: 80px 20px 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

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

.mobile-nav-link {
  padding: 15px 0;
  text-decoration: none;
  color: #1E293B;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid #eee;
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: #6C63FF;
}

/* Overlay para fondo oscuro al abrir menú */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.overlay.active {
  display: block;
}

/* Estados activos del botón hamburguesa */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  /* Ocultar navegación normal en móviles */
  header nav {
    display: none;
  }

  /* Mostrar botón hamburguesa en móviles */
  .hamburger {
    display: flex;
  }

  /* Mostrar menú móvil cuando está activo */
  .mobile-menu {
    display: flex;
  }

  /* Ajustar header para móviles */
  header {
    padding: 15px 20px;
  }
}

/* =========================
   Header
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo { height: 50px; }

header nav a {
  color: #1E293B;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
header nav a:hover { color: #6C63FF; }

header .login { height: 36px; cursor: pointer; }

/* =========================
   Hero
========================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 70px 10%;
  background: linear-gradient(135deg, #6C63FF 40%, #5146d9 100%);
  color: #fff;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-text {
  flex: 1;
  max-width: 50%;
  padding-right: 40px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  animation: float 3s ease-in-out infinite;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: slideIn 1.2s ease-in-out;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s, color 0.3s, border-color 0.3s;
  text-align: center;
  min-width: 160px;
}

.btn-primary { background-color: #FF7A30; color: #fff; }
.btn-primary:hover { background-color: #e8661c; transform: scale(1.05); }

.btn-outline { border: 2px solid #FF7A30; color: #FF7A30; }
.btn-outline:hover { background-color: #FF7A30; color: #fff; transform: scale(1.05); }

/* Media Queries para Responsividad */
@media (max-width: 1200px) {
  .hero {
    padding: 60px 5%;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 5%;
    min-height: auto;
  }

  .hero-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .hero-image {
    width: 100%;
  }

  .hero-image img {
    max-width: 320px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-image img {
    max-width: 280px;
  }

  .hero-buttons a {
    padding: 10px 20px;
    min-width: auto;
  }
}

/* Animaciones existentes (se mantienen igual) */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* =========================
   Secciones generales
========================= */
.section {
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.section-title {
  flex: 1;
  font-size: 2.2rem;
  font-weight: 800;
  color: #6C63FF;
  text-align: left;
  margin: 0;
}

.section-content { flex: 2; text-align: left; }

/* =========================
   Servicios (cards)
========================= */
.cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.card img { height: 70px; margin-bottom: 15px; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.card-btn {
  margin-top: 15px;
  padding: 10px 18px;
  background-color: #9c75c1; /* color unificado */
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.card-btn:hover { background-color: #7b5b99; transform: scale(1.05); }
/* Contenedor de la sección */
.section {
  padding: 60px 5% 30px;
}

.section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Título */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #6C63FF;
  text-align: center;           /* centrado para evitar el vacío lateral */
  margin: 0 0 26px;
}

/* Grid de cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas desktop */
  gap: 26px;
  align-items: stretch; /* que todas estiren igual */
}

/* Card base */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(30,41,59,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  padding: 26px 22px 70px;      /* espacio para botón */
  min-height: 280px;            /* iguala altura mínima */
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
  border-color: rgba(108,99,255,.35);     /* anillo morado sutil */
}

.card img.card-icon,
.card > img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 4px auto 12px;
  filter: grayscale(10%) contrast(1.05);  /* look parejo */
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1E293B;
  margin: 6px 0 10px;
}

.card p {
  color: #394B61;
  line-height: 1.45;
  margin: 0 0 10px;
}

/* Footer/botón anclado al fondo de cada card */
.card-footer {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: grid;
  place-items: center;
}

/* Botón de card */
.card-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: #6C63FF;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(108,99,255,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.card-btn:hover {
  background: #5146d9;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(108,99,255,.35);
}

/* Variante outline (si quieres diferenciar “Ver Integrantes”) */
.card-btn.is-outline {
  background: #fff;
  color: #6C63FF;
  border: 2px solid #6C63FF;
  box-shadow: none;
}
.card-btn.is-outline:hover {
  background: #6C63FF;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .servicios-section {
    flex-direction: column;
    text-align: center;
  }

  .servicios-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
  }

  .servicios-section .section-content {
    width: 100%;
  }

  .cards-container {
    justify-content: center;
  }
}

/* Mostrar 2 cards por fila en tablets */
@media (max-width: 768px) and (min-width: 641px) {
  .servicios-section {
    padding: 60px 5%;
  }

  .servicios-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card {
    min-height: 250px;
  }
}

/* Mostrar 1 card por fila en móviles pequeños */
@media (max-width: 640px) {
  .servicios-section .section-title {
    font-size: 1.6rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .card {
    max-width: 100%;
    min-height: 220px;
  }
}

/* =========================
   Nosotros / App
========================= */
.nosotros-content,
.app-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.nosotros-content img,
.app-content img {
  max-width: 380px;
  border-radius: 12px;
  animation: fadeIn 1.8s ease-in-out;
}

.nosotros-text,
.app-content div {
  max-width: 500px;
  text-align: left;
}

/* Botón App */
.btn-app {
  display: inline-block;
  margin-top: 20px;
  background-color: #3BB273; /* verde menta */
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}
.btn-app:hover { background-color: #2d8655; transform: scale(1.05); }

/* =========================
   Video Introductorio
========================= */
.intro-video { padding: 80px 10%; text-align: center; }

.intro-video h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #6C63FF;
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.video-container iframe { width: 100%; height: 100%; border: none; }

/* =========================
   Contacto
========================= */
.contacto-content {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contacto-content div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacto-content img { height: 30px; }

/* =========================
   Footer
========================= */
footer {
  background-color: #1E293B;
  color: #FDFDFD;
  text-align: center;
  padding: 20px;
}

/* =========================
   Asistente flotante
========================= */
.asistente-boton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #6C63FF;
  color: white;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s, background 0.3s;
  z-index: 999
}
.asistente-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998; /* Debajo del asistente pero encima del contenido */
}
.asistente-boton:hover {
  background-color: #5146d9;
  transform: rotate(20deg) scale(1.1); }

.asistente-contenedor {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  animation: fadeIn 0.5s ease-in-out;
  z-index: 1000;
}

.asistente-header {
  background-color: #6C63FF;
  color: white;
  padding: 10px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asistente-mensajes { padding: 15px; }

.hero, .section, .intro-video, footer {
  position: relative;
  z-index: 1;
}

.asistente-mensajes button {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  background-color: #FF7A30;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.asistente-mensajes button:hover { background-color: #e8661c; transform: translateY(-3px); }

.respuesta-bot { margin-top: 12px; font-style: italic; color: #1E293B; }

.asistente-overlay.active {
  display: block;
}
/* =========================
   Modal
========================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-align: left;
  animation: modalFadeIn 0.4s ease;
}

.modal-content h3 {
  text-align: center;
  color: #6C63FF;
  margin-bottom: 20px;
}

.modal-content ul { list-style: none; padding: 0; }

.modal-content li {
  padding: 8px 0;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
}
.modal-content li:last-child { border-bottom: none; }

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}
.close:hover { color: #000; }

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ===== Carrusel de logos ===== */
.empresas { flex-direction: column; align-items: center; }
.empresas .section-title { text-align: center; margin-bottom: 20px; }

.carousel {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  padding: 10px 0;
}

.carousel-track {
  list-style: none;
  padding: 0;
  margin: 0;
    scroll-behavior: smooth;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: transform .45s ease;
  will-change: transform;
}
/* Asegurar que cada <li> no se encoja */
.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;

}

/* Cards (blancas con sombra) */
.logo-card {
  width: 180px;       /* ajusta si quieres más grande/pequeño */
  height: 130px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: grid;
  place-items: center;
  padding: 16px;      /* borde interior para respirar */
  overflow: hidden;   /* evita que la imagen se salga */
}
.logo-card img {
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  filter: saturate(0.85) contrast(1.05);
}

/* Responsivo: cantidad visible aproximada */
@media (max-width: 1100px) { .logo-card { width: 200px; } }
@media (max-width: 900px)  { .logo-card { width: 180px; height: 110px; } }
@media (max-width: 640px)  { .logo-card { width: 160px; height: 100px; } }

/* Flechas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #1E293B;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  cursor: pointer;
  font-size: 26px;
  line-height: 0;
  display: grid; place-items: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  z-index: 2;
}
.carousel-btn:hover { transform: translateY(-50%) scale(1.06); }
.carousel-btn:active { transform: translateY(-50%) scale(0.98); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* CTA centrado */
.empresas-cta { margin-top: 24px; text-align: center; }
/* ===== Footer ===== */
.site-footer{
  background:#fff;
  border-top:1px solid rgba(30,41,59,0.08);
  padding:40px 10% 28px;
  color:#1E293B;
}

.footer-top{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}

.footer-title{
  font-weight:800;
  color:#1E293B;
  text-align:center;
}

.store-badges{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.store-badges .badge{
  display:inline-block;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition:transform .2s ease, box-shadow .2s ease;
  background:#fff;
}
.store-badges .badge img{ display:block; height:44px; }
.store-badges .badge:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.16); }

.footer-social{
  display:flex;
  gap:16px;
  margin-top:6px;
}
.social-btn{
  width:40px; height:40px;
  border-radius:50%;
  background:#E5E7EB;
  display:grid; place-items:center;
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.social-btn svg{ width:20px; height:20px; fill:#6B7280; }
.social-btn:hover{
  background:#6C63FF22;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(108,99,255,.25);
}
.social-btn:hover svg{ fill:#6C63FF; }

.footer-divider{
  border:0;
  height:1px;
  background:rgba(30,41,59,0.08);
  margin:28px 0;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 18px;
  text-align:center;
}
.footer-links a{
  color:#1E293B;
  text-decoration:none;
  font-weight:600;
  transition:color .2s ease;
}
.footer-links a:hover{ color:#6C63FF; }
.footer-links .dot{ color:#94A3B8; }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

/* Country */
.country-btn{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(30,41,59,.12);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.country-btn:hover{
  border-color:#6C63FF;
  box-shadow:0 8px 22px rgba(108,99,255,.15);
}
.country-btn svg{ width:18px; height:18px; fill:#64748B; }

/* Marca */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.brand span{ color:#64748B; font-weight:600; }

/* Responsive */
@media (max-width: 900px){
  .site-footer{ padding:36px 6% 24px; }
  .brand{ margin-left:0; }
  .footer-bottom{ justify-content:center; }
}

/* Botón "Ver Aplicación" */
.btn-ver-app {
  --bg: #c36dd4;
  --bg-hover: #5678b3;
  --focus-ring: rgba(108,99,255,.35);

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-hover) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  margin-top: 24px;

  box-shadow: 0 8px 20px rgba(255,122,48,.3);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-ver-app:hover {
  transform: translateY(-2px);
  background: var(--bg-hover);
  box-shadow: 0 12px 26px rgba(255,122,48,.35);
}

.btn-ver-app:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(255,122,48,.25);
}

.btn-ver-app:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-ring), 0 8px 20px rgba(255,122,48,.3);
}

/* Icono flecha dentro del botón */
.btn-ver-app .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  line-height: 0;
}
/* Botón outline para "Ver todas las empresas" */
.btn-outline {
  --color: #c36dd4; /* morado principal */
  --color-hover: #5678b3;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--color);
  background: transparent;
  color: var(--color);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;

  transition: all .2s ease;
}

.btn-outline:hover {
  background: var(--color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108,99,255,.25);
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(108,99,255,.2);
}

.btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108,99,255,.35);
}

.roles-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 10%;
  flex-wrap: wrap;
}

.role-card {
  flex: 1 1 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.role-card h3 {
  margin: 0;
  z-index: 2;
}

.role-card .arrow {
  font-size: 2rem;
  z-index: 2;
}

/* Fondos específicos */
.role-card.emprendedor {
  background-image: linear-gradient(rgba(108, 99, 255, 0.6), rgba(108, 99, 255, 0.6)), url("public/assets/img/emprendedor.jpg");
}

.role-card.colaborador {
  background-image: linear-gradient(rgba(255, 122, 48, 0.6), rgba(255, 122, 48, 0.6)), url("public/assets/img/colaborador.jpg");
}

.role-content {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
}

.role-icon {
  width: 80px;   /* tamaño del ícono */
  height: 60px;
  object-fit: contain;
  border-radius: 20px; /* opcional */
}

/* Ajustes visuales del modal de planes */
.plans-note{
  margin: 6px 0 10px;
  color: #475569;
}

.plan-block { margin-top: 10px; }
.plan-block h5{
  margin: 8px 0 6px;
  font-weight: 800;
  color: #1E293B;
}

.rule{
  margin-top: 10px;
  padding: 10px;
  background: #F8FAFF;
  border: 1px solid rgba(108,99,255,.25);
  border-radius: 10px;
}
.badge{
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #6C63FF;
  background: #ECEBFF;
  border: 1px solid #6C63FF;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.rule p{ margin: 6px 0 0; color:#334155; }

.fine-print{
  margin-top: 12px;
  font-size: 12.5px;
  color: #64748B;
}

/* =========================
   Estilos MEJORADOS y RESPONSIVOS para Modal de Planes
========================= */
#modalPlanes .modal-content {
  max-width: 800px;
  width: 90%;
  padding: 30px 20px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#modalPlanes .modal-content h3 {
  text-align: center;
  color: #6C63FF;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

#modalPlanes .plan-subtitle {
  text-align: center;
  color: #64748B;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Contenedor de planes mejorado */
#modalPlanes .plans-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 15px;
  padding-bottom: 10px;
}

/* Tarjeta de plan mejorada */
#modalPlanes .plan-card {
  position: relative;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: #fff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.1);
  margin-bottom: 20px;
}

#modalPlanes .plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Badge "Recomendado" mejorado */
#modalPlanes .plan-badge {
  position: absolute;
  top: 3px;
  right: 8px;
  background: linear-gradient(135deg, #FF7A30, #FF5E00);
  color: white;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(255, 122, 48, 0.25);
}

/* Encabezado del plan */
#modalPlanes .plan-header {
  padding: 20px 20px 15px;
  text-align: center;
  background: linear-gradient(to bottom, #F8FAFF, #FFFFFF);
  border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

#modalPlanes .plan-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 12px;
}

#modalPlanes .plan-price {
  margin-bottom: 8px;
}

#modalPlanes .price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #6C63FF;
  display: block;
  line-height: 1;
}

#modalPlanes .plan-card.premium .price-amount {
  color: #FF7A30;
}

#modalPlanes .price-interval {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
}

/* Características del plan */
#modalPlanes .plan-features {
  padding: 20px;
}

#modalPlanes .plan-role {
  margin-bottom: 15px;
}

#modalPlanes .plan-role:last-child {
  margin-bottom: 0;
}

#modalPlanes .plan-role h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #6C63FF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#modalPlanes .plan-card.premium .plan-role h5 {
  color: #FF7A30;
}

#modalPlanes .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
}

#modalPlanes .feature-icon {
  color: #6C63FF;
  font-weight: bold;
  font-size: 1rem;
  min-width: 18px;
  margin-top: 2px;
}

#modalPlanes .plan-card.premium .feature-icon {
  color: #FF7A30;
}

#modalPlanes .feature-item span:last-child {
  color: #1E293B;
  line-height: 1.4;
}

#modalPlanes .feature-item strong {
  color: #6C63FF;
  font-weight: 700;
}

#modalPlanes .plan-card.premium .feature-item strong {
  color: #FF7A30;
}

/* Nota del plan */
#modalPlanes .plan-note {
  padding: 12px 20px 0;
  border-top: 1px solid rgba(108, 99, 255, 0.1);
}

#modalPlanes .plan-note small {
  color: #64748B;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* CTA del plan */
#modalPlanes .plan-cta {
  padding: 20px 20px 25px;
  text-align: center;
}

#modalPlanes .btn-plan {
  display: inline-block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

#modalPlanes .btn-plan:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

#modalPlanes .btn-plan:hover:after {
  transform: translateX(0);
}

#modalPlanes .btn-free {
  background: linear-gradient(135deg, #6C63FF, #5146d9);
  color: white;
  box-shadow: 0 6px 15px rgba(108, 99, 255, 0.25);
}

#modalPlanes .btn-free:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(108, 99, 255, 0.35);
}

#modalPlanes .btn-premium {
  background: linear-gradient(135deg, #FF7A30, #e8661c);
  color: white;
  box-shadow: 0 6px 15px rgba(255, 122, 48, 0.25);
}

#modalPlanes .btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 122, 48, 0.35);
}

/* Botón de cerrar mejorado */
#modalPlanes .close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.6rem;
  font-weight: 300;
  color: #64748B;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#modalPlanes .close:hover {
  color: #1E293B;
  background: rgba(108, 99, 255, 0.1);
  transform: rotate(90deg);
}

/* Media queries para responsividad */
@media (max-width: 900px) {
  #modalPlanes .plans-container {
    flex-direction: column;
    align-items: center;
  }

  #modalPlanes .plan-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  #modalPlanes .modal-content {
    width: 95%;
    padding: 25px 15px 20px;
  }

  #modalPlanes .modal-content h3 {
    font-size: 1.5rem;
  }

  #modalPlanes .plan-card {
    min-width: 260px;
  }

  #modalPlanes .price-amount {
    font-size: 1.8rem;
  }

  #modalPlanes .close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
  }

  #modalPlanes .plan-header,
  #modalPlanes .plan-features,
  #modalPlanes .plan-cta {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 480px) {
  #modalPlanes .modal-content {
    padding: 20px 12px 15px;
    border-radius: 12px;
  }

  #modalPlanes .modal-content h3 {
    font-size: 1.3rem;
  }

  #modalPlanes .plan-subtitle {
    font-size: 0.9rem;
  }

  #modalPlanes .plan-title {
    font-size: 1.2rem;
  }

  #modalPlanes .price-amount {
    font-size: 1.6rem;
  }

  #modalPlanes .feature-item {
    font-size: 0.85rem;
  }
}

/* --- Contacto --- */
.contact-band{
  padding:36px 5% 10px;
}
.contact-band .section-title{
  text-align:center;
  color:#6C63FF;
  font-weight:800;
  margin:0 0 14px;
}
.contact-grid{
  max-width:900px;
  margin:0 auto 16px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.contact-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid rgba(30,41,59,.1);
  border-radius:14px;
  text-decoration:none;
  color:#1E293B;
  background:#F8FAFC;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  border-color:rgba(108,99,255,.35);
}
.contact-card img{ width:38px; height:38px; border-radius:8px; object-fit:cover; }
.contact-card .label{ display:block; color:#64748B; font-size:.9rem; }

/* --- Top: stores + redes --- */
.footer-top{
  padding:12px 5% 22px;
  text-align:center;
}
.footer-title{ font-weight:800; margin:8px 0 10px; }
.store-badges{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.badge img{ height:44px; border-radius:10px; box-shadow:0 6px 16px rgba(0,0,0,.08); }

.footer-social{ margin-top:12px; display:flex; gap:10px; justify-content:center; }
.social-btn{ width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#F3F4FF; color:#6C63FF; transition:transform .2s ease }
.social-btn:hover{ transform:translateY(-2px) }
.social-btn svg{ width:20px; fill:#6C63FF }

/* Divider */
.footer-divider{ border:none; border-top:1px solid rgba(30,41,59,.08); margin:10px 5%; }

/* Links legales */
.footer-links{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; padding:4px 5% 8px; }
.footer-links a{ color:#1E293B; text-decoration:none; }
.footer-links a:hover{ color:#6C63FF; }
.footer-links .dot{ color:#94A3B8 }

/* Bottom */
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 5% 22px;
}
.country-btn{
  display:flex; align-items:center; gap:8px; padding:8px 12px;
  border:1px solid rgba(30,41,59,.12); background:#fff; border-radius:999px; cursor:pointer;
}
.country-btn svg{ width:18px; fill:#64748B }
.brand{ display:flex; align-items:center; gap:10px; color:#64748B }

/* Responsive */
@media (max-width: 720px){
  .contact-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; gap:10px; }
}