/* ==========================
   Variables globales
========================== */
:root {
  /* ── Colores de marca (unificados con index.html) ── */
  --brand:       #007A4D;
  --brand-light: #00A86B;
  --brand-d:     #005C38;
  --green-l:     #4AE0A0;

  /* ── Fondos oscuros (header / footer) ── */
  --dark:        #090F1A;
  --dark-2:      #0D1524;

  /* ── UI ── */
  --bg:     #f9fafb;
  --text:   #0D1524;
  --muted:  #64748B;
  --card:   #ffffff;
  --line:   rgba(0,0,0,0.07);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* ── Tipografía ── */
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* ── Radios ── */
  --radius:    14px;
  --radius-lg: 20px;
}

/* ==========================
   Reset bÃ¡sico
========================== */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
}
a {
  text-decoration: none;
  color: inherit;
}

/* ==========================
   Layout base
========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ==========================
   Header
========================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 40px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 12px;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 48px;
  width: auto;
}

.desktop-menu {
  display: flex;
  gap: 28px;
}

.desktop-menu a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--text);
  transition: color 0.2s;
}

.desktop-menu a:hover {
  color: var(--brand);
}

.nav-right .btn-login {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-right .btn-login:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.mobile-dropdown {
  display: none;
  flex-direction: column;
   align-items: flex-end;   /* ðŸ‘ˆ alinea todo hacia la derecha */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.2s ease-in-out;
}

.mobile-dropdown a {
  padding: 12px 24px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s;
}

.mobile-dropdown a:hover {
  background: #f3f4f6;
}

.mobile-dropdown.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================
   Responsive
========================== */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: 12px;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 12px 20px;
  }

  .logo img {
    height: 40px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .btn-login {
    font-size: 14px;
    padding: 8px 14px;
  }
  
  /* CorrecciÃ³n hero CTA */
.cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center; /* ðŸ‘ˆ centra los botones */
}
/* Centrar las etiquetas (badges) */
.trust {
  justify-content: center; /* ðŸ‘ˆ centra los chips */
  text-align: center;
}

/* Asegurar que ambos botones tengan mismo ancho */
.cta a {
  flex: 1 1 100%;       /* ðŸ‘ˆ cada botÃ³n ocupa todo el ancho disponible */
  text-align: center;   /* texto centrado */
  max-width: 320px;     /* ðŸ‘ˆ opcional: limita el ancho mÃ¡ximo en mobile */
}


}

  
/* ===================== CONTACTO ===================== */
.contact-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 0 0 22px 22px;
  margin-bottom: 40px;
}

.contact-hero h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 22px;
}

.btn-whatsapp.big {
  background: #25D366;
  color: #fff;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-block;
  box-shadow: var(--shadow);
  transition: background 0.2s;
}

.btn-whatsapp.big:hover {
  background: #20bd5a;
}

/* Otras formas de contacto */
.contact-info {
  margin: 50px auto;
  text-align: center;
}

.contact-info h2 {
  color: var(--brand);
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);  /* ðŸ‘ˆ siempre 4 columnas en desktop */
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr); /* ðŸ‘ˆ en tablets: 2 y 2 */
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr; /* ðŸ‘ˆ en mobile: una sola columna */
  }
}


.info-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.info-card .icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--brand);
}

.info-card p {
  font-size: 14px;
  color: var(--text);
}

.info-card a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

/* Mapa */
.map {
  margin: 60px auto;
  max-width: 900px;
}

.map h2 {
  text-align: center;
  margin-bottom: 16px;
  color: var(--brand);
}

.map iframe {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

  
  
/* ===================== FUNCIONALIDADES ===================== */

/* Hero */
.features-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 0 0 22px 22px;
  margin-bottom: 24px;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.features-hero h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
.features-hero p {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 22px;
}

/* Listas de funcionalidades */
.features-list {
  margin-bottom: 4px;
}
.features-list .grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.features-list h2 {
  font-size: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 6px;
}

/* Tarjetas */
.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(to bottom, var(--brand), var(--brand-light)) 1;
}
.feature-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
.feature-card h3 {
  margin: 2px 0;
  color: var(--brand);
  font-size: 15px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

/* Badges de estado */
.features-list .feature-status {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  padding: 4px 10px 4px 22px; /* espacio para ï¿½ï¿½cono */
  margin-top: 6px;
  line-height: 1.2;
  white-space: nowrap;
  position: relative;
}

/* Disponible */
.features-list .feature-status.available {
  background: #d1fae5;
  color: #065f46;
}

/* En desarrollo */
.features-list .feature-status.dev {
  background: #F1F5F9;
  color: #64748B;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Prï¿½ï¿½ximamente */
.features-list .feature-status.soon {
  background: #e5e7eb;
  color: #374151;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}


/* Secciï¿½ï¿½n destacada */
.features-highlight {
  background: var(--brand);
  color: #fff;
  padding: 42px 18px;
  text-align: center;
  border-radius: 16px;
  margin: 50px auto;
  max-width: 1000px;
  box-shadow: var(--shadow);
}
.features-highlight h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.features-highlight p {
  font-size: 15px;
  margin-bottom: 18px;
  opacity: 0.95;
}

/* ===================== HERO COMPARACIONES ===================== */
.comparaciones-hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 0 0 22px 22px;
  margin-bottom: 40px;
}
.comparaciones-hero h1 {
  font-size: 28px;
  margin-bottom: 12px;
}
.comparaciones-hero p {
  font-size: 16px;
  opacity: 0.95;
  margin: 0 auto;
  line-height: 1.5;
  max-width: 700px;
}

/* ===================== TABLA COMPARATIVA ===================== */
.comparison-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th,
.comparison-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}
.comparison-table th {
  background: #f9fafb;
  color: var(--brand);
}
.comparison-table td:first-child {
  font-weight: bold;
  text-align: left;
  color: var(--muted);
}
.check { color: #059669; font-weight: bold; }
.x { color: #dc2626; font-weight: bold; }

/* ===================== TARJETAS ===================== */
.comparaciones .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto 40px;
}
.comparaciones .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.comparaciones .card h2 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}
.section-title {
  font-size: 14px;
  font-weight: 700;
  margin: 10px 0 6px;
  color: var(--muted);
}
.comparaciones ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comparaciones li {
  font-size: 15px;
  margin: 6px 0;
  line-height: 1.4;
}
.comparaciones .ventajas li::before {
  content: "✔ ";
  color: var(--brand);
  font-weight: bold;
}
.comparaciones .limitaciones li::before {
  content: "✖ ";
  color: #dc2626;
  font-weight: bold;
}

/* ===================== BILLPY CARD ===================== */
.comparaciones .billpy-card {
  background: linear-gradient(135deg, #006045, #00b97f);
  color: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  text-align: center;
  grid-column: 1 / -1; /* ocupa toda la fila */
}
.comparaciones .billpy-logo {
  max-width: 160px;
  margin: 0 auto 16px;
  display: block;
}
.comparaciones .billpy-claim {
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 600;
}
.comparaciones .billpy-benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  max-width: 600px;
  text-align: left;
}
.comparaciones .billpy-benefits li {
  margin: 6px 0;
  font-size: 15px;
}
.btn-billpy {
  background: #fff;
  color: var(--brand);
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .comparaciones .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparaciones .billpy-card {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .comparaciones .grid {
    grid-template-columns: 1fr;
  }
}

/* Ajustes responsive para tabla */
@media (max-width: 768px) {
  .comparison-table {
    font-size: 12px;            /* ðŸ‘ˆ texto mÃ¡s chico */
  }
  .comparison-table th,
  .comparison-table td {
    padding: 6px 4px;           /* ðŸ‘ˆ menos espacio */
    white-space: normal;        /* ðŸ‘ˆ permite salto de lÃ­nea */
    word-break: break-word;     /* ðŸ‘ˆ corta palabras largas si hace falta */
  }
}


/* ==========================
   Footer
========================== */
.mini-footer {
  background: var(--dark);
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  margin-top: 40px;
}

.mini-footer .wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
}

.powered {
  color: #e0e0e0;
}

.powered a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.powered a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .mini-footer .wrap {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}