@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #4b5563;
  --accent: #ff6a00; /* naranja fuerte */
  --card: #ffffff;
  --border: #fed7aa;
  --bg-gradient: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-gradient, linear-gradient(180deg, #ffffff 0%, #fff7ed 100%));
  transition: background 0.3s ease, color 0.3s ease;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-light .site-header {
  background: rgba(255,255,255,0.9);
}
.site-header .container { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; height: 72px; position: relative; }
.logo { font-weight: 800; letter-spacing: 0.5px; text-decoration: none; color: var(--text); transition: color 0.3s ease; }
.logo span { color: var(--accent); transition: color 0.3s ease; }
.nav { display: none; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s;
  color: var(--text);
  padding: 0;
}

.theme-toggle-btn:hover {
  background: rgba(249, 115, 22, 0.08);
  border-color: var(--accent);
  transform: scale(1.05);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 100; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
.btn { display: inline-block; background: var(--accent); color: #000; font-weight: 700; padding: 14px 24px; border-radius: 12px; text-decoration: none; font-size: 15px; transition: all 0.2s; }
.btn:hover { background: #e55a00; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent); }

.hero { padding: 140px 0 120px; }
.hero h1 { font-size: 52px; line-height: 1.2; margin: 0 0 28px; }
.hero .subtitle { color: var(--muted); margin: 0 0 40px; font-size: 18px; line-height: 1.7; }
.cta-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); }
.hero-visual { position: relative; height: 280px; }
.orb { position: absolute; right: 0; top: 0; width: 220px; height: 220px; background: radial-gradient(closest-side, rgba(255,106,0,0.7), rgba(255,106,0,0) 70%); filter: blur(6px); border-radius: 50%; }
.card-mock { position: absolute; left: 20px; bottom: 10px; width: 240px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.card-mock .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; margin-bottom: 10px; }
.card-mock .line { height: 10px; background: #ffe7d2; border-radius: 6px; margin: 8px 0; }

.grid { margin: 96px 0; }
.grid h2 { font-size: 32px; margin: 0 0 40px; line-height: 1.3; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.product a { color: var(--text); text-decoration: none; }
.product a:hover { text-decoration: underline; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 80; }
.modal[hidden] { display: none; }
.modal.show { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); }
.modal-card { position: relative; background: #ffffff; border: 1px solid var(--border); border-radius: 20px; max-width: 800px; width: 92%; padding: 40px; z-index: 1; }
.modal-card h3 { margin: 0 0 20px; font-size: 24px; line-height: 1.3; }
.modal-card .muted { color: var(--muted); margin-bottom: 24px; display: block; }
.modal-card ul { margin: 20px 0; padding-left: 24px; color: var(--muted); line-height: 1.7; }
.modal-card ul li { margin-bottom: 8px; }
.modal-close { position: absolute; top: 8px; right: 10px; background: transparent; color: var(--muted); border: none; font-size: 22px; cursor: pointer; }
.tabs { display: flex; gap: 16px; margin-bottom: 32px; }
.tab { background: #ffffff; border: 1px solid var(--border); color: var(--muted); padding: 14px 20px; border-radius: 12px; cursor: pointer; font-size: 15px; transition: all 0.2s; }
.tab:hover { background: #fff7ed; color: var(--text); }
.tab.active { color: #000; background: var(--accent); border-color: var(--accent); }
.tab-panel[hidden] { display: none !important; }

.slider { position: relative; overflow: hidden; margin-top: 24px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
.slides .card { scroll-snap-align: start; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #ffffff; border: 1px solid var(--border); color: var(--text); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
#prev { left: 8px; } #next { right: 8px; }

.accordion .item { background: var(--card); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 20px; }
.accordion .q { padding: 24px 28px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.accordion .a { padding: 0 28px 28px; color: var(--muted); display: none; line-height: 1.7; }
.accordion .item.open .a { display: block; }

.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 24px; }
.form input, .form textarea { width: 100%; background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; color: var(--text); font-size: 15px; transition: border-color 0.2s, background 0.2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff7ed; }
.form textarea { min-height: 140px; resize: vertical; }
.form-status { margin-left: 16px; color: var(--muted); margin-top: 8px; display: block; }
/* Botón CTA en formularios */
.cta, button[type="submit"] { 
  background: var(--accent); 
  color: #000; 
  font-weight: 700; 
  padding: 16px 32px; 
  border: none; 
  border-radius: 12px; 
  cursor: pointer; 
  font-size: 16px; 
  transition: all 0.2s;
  margin-top: 12px;
  width: auto;
  display: inline-block;
}
.cta:hover, button[type="submit"]:hover { 
  background: #e55a00; 
  transform: translateY(-1px); 
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3); 
}
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; min-height: 160px; }
.card h3 { margin: 0 0 16px; font-size: 20px; line-height: 1.4; }
.card p { margin: 0 0 12px; color: var(--muted); line-height: 1.7; }
.card ul { margin: 16px 0 0; padding-left: 24px; color: var(--muted); line-height: 1.7; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 12px; right: 12px; background: var(--accent); color: #000; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }

.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { background: #fff7ed; border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center; }
.stat .num { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.stat .label { color: var(--muted); font-size: 15px; }

.contact-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; }
.contact-fab a { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(0,0,0,0.35); transition: transform 0.2s, box-shadow 0.2s; }
.contact-fab a:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5), 0 12px 32px rgba(0,0,0,0.4); }
.contact-fab a svg { width: 28px; height: 28px; }

.site-footer { border-top: 1px solid var(--border); padding: 60px 0; margin-top: 80px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.footer-grid h3 { margin: 0 0 20px; color: var(--text); font-size: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-grid a:hover { color: var(--text); }

@media (max-width: 640px) {
  .site-header .container { grid-template-columns: 1fr auto; }
  .mobile-menu-toggle { display: flex; }
  .nav { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(17,17,17,0.10);
  }
  .nav.active { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav-cta { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(17,17,17,0.10);
  }
  .nav-cta.active { display: flex; }
  .nav-cta .btn { width: 100%; text-align: center; }
  .nav-cta #nav-whatsapp { display: flex; }
  .nav-cta #crm-link { display: flex; }
  .hero { padding: 100px 0 80px; }
  .hero h1 { font-size: 36px; line-height: 1.2; margin-bottom: 20px; }
  .hero .subtitle { font-size: 16px; margin-bottom: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .container { padding: 0 20px; }
  .grid { margin: 64px 0; }
  .grid h2 { margin-bottom: 32px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card { padding: 24px; min-height: 140px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { padding: 24px; }
  .modal-card { padding: 28px; }
  .accordion .q { padding: 20px 24px; }
  .accordion .a { padding: 0 24px 24px; }
  .quote-grid { gap: 20px; }
  .card.compact { padding: 24px; }
  .row.three { grid-template-columns: 1fr; gap: 16px; }
  .cta-final { padding: 36px 24px; }
}

@media (min-width: 900px) { .nav { display: flex; } }

.gradient-text { background: linear-gradient(90deg, #111111 0%, #ff6a00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Testimonios y CTA final */
.testimonial { display: grid; gap: 12px; }
.testimonial .name { color: var(--text); font-weight: 700; font-size: 16px; }
.testimonial .role { color: var(--muted); font-size: 14px; }
.testimonial .quote { color: var(--muted); line-height: 1.7; margin-top: 4px; }

.cta-final { background: linear-gradient(180deg, #ffffff, #fff7ed); border: 1px solid var(--border); border-radius: 20px; padding: 48px 32px; text-align: center; }
.cta-final h2 { margin: 0 0 16px; font-size: 28px; }
.cta-final p { color: var(--muted); margin: 0 0 32px; font-size: 16px; line-height: 1.6; }

/* Cotizador */
.quote-wrap { width: 100%; max-width: 100%; margin: 0; }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 24px; width: 100%; }
.quote-wrap .card { width: 100%; }
.card.compact { padding: 28px; }
.grid #cotizador .card { margin: 0; }
.grid#cotizador, #cotizador.grid { margin-top: 48px; }
.input { width: 100%; background: #ffffff; border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 16px 18px; font-size: 15px; transition: border-color 0.2s, background 0.2s; }
.input:focus { outline: none; border-color: var(--accent); background: #fff7ed; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.row.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.label { display:block; color: var(--muted); margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.form .row { margin-bottom: 20px; }
.form select, .form input[type=number] { width: 100%; background: #ffffff; color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: 15px; transition: border-color 0.2s, background 0.2s; }
.form select:focus, .form input[type=number]:focus { outline: none; border-color: var(--accent); background: #fff7ed; }
.quote-line { display:flex; justify-content: space-between; align-items:center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 20px 0; }
.quote-breakdown { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }
.tags.selectable { margin-top: 12px; }
.tags.selectable label { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border: 1px solid var(--border); padding: 10px 14px; border-radius: 999px; color: var(--muted); margin: 6px 6px 6px 0; white-space: nowrap; cursor: pointer; transition: all 0.2s; }
.tags.selectable label:hover { background: #fff7ed; border-color: var(--accent); }
.tags.selectable label input[type="checkbox"] { margin: 0; cursor: pointer; }
.hint { display:inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; background: #fff7ed; border: 1px solid var(--border); color: var(--muted); font-size: 12px; cursor: help; margin-left: 6px; }

@media (min-width: 900px) {
  /* Mantener el cotizador a ancho completo en desktop para alinearlo con Casos de éxito */
  .quote-grid { grid-template-columns: 1fr; }
  #cotizador .card.compact { margin-left: 0; margin-right: 0; }
}

/* Notas y logos */
.note { margin-top: 12px; background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: grid; gap: 8px; }
.bullets { margin: 0; padding-left: 18px; color: var(--muted); }
.logos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.logo-chip { background: #ffffff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* Testimonios Hero Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.testimonial-stars {
  font-size: 18px;
  margin-bottom: 16px;
  color: #ffd700;
}

.testimonial-text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-author strong {
  color: var(--text);
  font-size: 16px;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 14px;
}

/* Productos SaaS Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.15);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-height: 80px;
  padding: 12px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.product-card:hover .product-icon {
  background: rgba(249, 115, 22, 0.14);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-logo {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.product-card:hover .product-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(255, 106, 0, 0.2));
}

/* Ajustes para tema claro */
.theme-light .product-icon {
  background: rgba(249, 115, 22, 0.08);
  border-color: var(--border);
}

.theme-light .product-card:hover .product-icon {
  background: rgba(249, 115, 22, 0.14);
}

.theme-light .product-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.theme-light .product-card:hover .product-logo {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.product-card h3 {
  font-size: 24px;
  margin: 0 0 16px;
  text-align: center;
  color: var(--text);
}

.product-description {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: center;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-features li {
  color: var(--muted);
  font-size: 14px;
  padding-left: 24px;
  position: relative;
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}

.product-cta {
  text-align: center;
  margin-top: auto;
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testimonial-card,
  .product-card {
    padding: 24px;
  }
}

/* Estilos de Autenticación */
.auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 16px 16px 0 0;
}

.auth-tab.active {
  color: var(--text);
  background: rgba(255, 106, 0, 0.1);
  border-bottom: 2px solid var(--accent);
}

.auth-tab:hover:not(.active) {
  color: var(--text);
  background: rgba(249, 115, 22, 0.08);
}

.auth-form {
  padding: 32px;
}

.auth-form h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff7ed;
}

.form-group input::placeholder {
  color: var(--muted);
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-primary:hover {
  background: #e55a00;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
}

.auth-message {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.auth-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.auth-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.auth-close:hover {
  color: var(--text);
  background: rgba(249, 115, 22, 0.12);
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .auth-modal {
    margin: 10px;
    max-width: none;
  }
  
  .auth-form {
    padding: 20px;
  }
  
  .auth-tab {
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* -------------------------------------------------------------------------- */
/* 2026 visual refresh: landing minimalista/dinamica (sin cambios funcionales) */
/* -------------------------------------------------------------------------- */

:root {
  --accent-2: #f97316;
  --accent-3: #fb923c;
  --surface-soft: #fffaf3;
  --surface-strong: #ffffff;
  --hero-shadow: 0 26px 70px rgba(17, 17, 17, 0.1);
  --card-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 540px at 92% -8%, rgba(249, 115, 22, 0.18), transparent 65%),
    radial-gradient(980px 420px at -8% 18%, rgba(251, 146, 60, 0.12), transparent 62%),
    linear-gradient(180deg, #fffefb 0%, #fff6ea 44%, #ffffff 100%);
}

.site-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.05);
}

.logo {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.08rem;
}

.hero {
  padding: 152px 0 128px;
}

.hero h1 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero .subtitle {
  max-width: 56ch;
  font-size: 1.03rem;
  color: #4b5563;
}

.hero-visual {
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 237, 0.95));
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--hero-shadow);
  backdrop-filter: blur(10px);
}

.card-mock {
  left: 26px;
  bottom: 24px;
  width: 280px;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.1);
}

.grid h2,
.cta-final h2,
.modal-card h3 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.card,
.steps li,
.accordion .item,
.stat,
.testimonial-card,
.modal-card,
.quote-line,
.note,
.logo-chip {
  background: var(--surface-strong);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
}

.card,
.steps li,
.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.steps li:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.15);
}

.btn {
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.26);
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-3) 100%);
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.32);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(6px);
}

.tag,
.tabs .tab,
.tags.selectable label {
  border-radius: 999px;
  border-color: rgba(17, 17, 17, 0.1);
  background: var(--surface-soft);
}

.tabs .tab.active {
  border-radius: 999px;
  color: #111111;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.site-footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 244, 231, 0.6));
}

@keyframes landingReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.grid,
.cta-final,
.site-footer {
  animation: landingReveal 0.7s ease both;
}

@media (max-width: 768px) {
  .hero {
    padding: 118px 0 86px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .card-mock {
    width: calc(100% - 52px);
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 132px 0 96px;
  }

  .hero .subtitle {
    max-width: 50ch;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(255, 255, 255, 0.9);
  }

  .hero h1 {
    letter-spacing: -0.02em;
  }

  .hero .subtitle {
    font-size: 0.97rem;
  }

  .card,
  .steps li,
  .testimonial-card,
  .modal-card {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .grid,
  .cta-final,
  .site-footer,
  .card,
  .steps li,
  .testimonial-card,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}


