/* =========================================================
   VARIABLES & BASE
   ========================================================= */
:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --green: #16A34A;
  --green-dark: #15803D;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-muted: #475569;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-eyebrow.light {
  color: #93C5FD;
  background: rgba(147, 197, 253, 0.14);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(22, 163, 74, 0.45);
}

.btn-primary:hover {
  background-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(22, 163, 74, 0.55);
}

.btn-secondary {
  background-color: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.35);
}

.btn-secondary:hover {
  background-color: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-dark {
  background-color: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  background-color: var(--bg-light);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.brand strong {
  color: #60A5FA;
  font-weight: 800;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #1D4ED8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: #CBD5E1;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.24), transparent 50%),
              linear-gradient(180deg, var(--navy) 0%, #111C34 100%);
  color: var(--white);
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.text-accent {
  color: #60A5FA;
}

.hero-subtitle {
  color: #CBD5E1;
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-subtitle strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-mini-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #94A3B8;
  font-size: 0.88rem;
}

.hero-mini-perks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-mini-perks svg {
  color: #4ADE80;
}

/* Mockup de ventana de software */
.hero-visual {
  position: relative;
}

.window-frame {
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  background: #1E293B;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #22C55E; }

.window-title {
  font-size: 0.78rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-body {
  background: #F8FAFC;
  min-height: 300px;
}

.app-screenshot {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Fallback visual del POS cuando aún no está la imagen */
.mockup-fallback {
  padding: 18px;
  color: var(--navy);
  font-size: 0.85rem;
}

.mock-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.mock-search {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748B;
}

.mock-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mock-shortcuts span {
  background: #E2E8F0;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.mock-shortcuts span.accent {
  background: #DCFCE7;
  color: #166534;
}

.mock-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.8fr;
  padding: 9px 12px;
  border-top: 1px solid #F1F5F9;
  align-items: center;
}

.mock-head {
  background: #F1F5F9;
  border-top: none;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mock-row span:last-child {
  text-align: right;
  font-weight: 600;
}

.mock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
}

.mock-footer small {
  font-size: 0.68rem;
  color: #94A3B8;
  letter-spacing: 0.06em;
}

.mock-total {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #4ADE80;
}

.mock-pay-pill {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.floating-chip {
  position: absolute;
  bottom: -18px;
  left: -16px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-icon {
  font-size: 1.3rem;
}

.floating-chip strong {
  display: block;
  font-size: 0.86rem;
}

.floating-chip span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* =========================================================
   FRANJA DE CONFIANZA
   ========================================================= */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon.green {
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
}

.trust-item strong {
  display: block;
  font-size: 0.94rem;
  color: var(--navy);
}

.trust-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* =========================================================
   FUNCIONES
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.shortcut-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.shortcut-pills span {
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 8px;
  border-radius: 6px;
}

kbd {
  font-family: 'Inter', monospace;
  font-weight: 700;
  font-size: 0.75rem;
  background: var(--navy);
  color: var(--white);
  padding: 2px 5px;
  border-radius: 4px;
  margin-right: 3px;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.91rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 9px;
}

/* =========================================================
   CÓMO FUNCIONA (3 PASOS)
   ========================================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.steps-cta {
  text-align: center;
  margin-top: 38px;
}

/* =========================================================
   PLANES Y PRECIOS
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.22);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}

.plan-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tag-green { background: #DCFCE7; color: #166534; }
.tag-blue { background: #DBEAFE; color: #1E40AF; }
.tag-dark { background: #E2E8F0; color: var(--navy); }

.pricing-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 44px;
}

.plan-price {
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
}

.price-period {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--navy-light);
  padding-left: 24px;
  position: relative;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* =========================================================
   FAQ ACORDEÓN
   ========================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--blue);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 10px;
  left: 4px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 4px;
  left: 10px;
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  padding: 46px 40px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 14px;
}

.contact-info > p {
  color: #CBD5E1;
  font-size: 0.98rem;
  margin-bottom: 28px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  border-radius: 12px;
  transition: background-color var(--transition), border-color var(--transition);
}

.channel-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.channel-card.whatsapp .channel-icon {
  background: rgba(22, 163, 74, 0.2);
  color: #4ADE80;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.22);
  color: #93C5FD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-card small {
  display: block;
  color: #94A3B8;
  font-size: 0.78rem;
}

.channel-card strong {
  color: var(--white);
  font-size: 0.95rem;
  word-break: break-all;
}

.guarantee-box {
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #DCFCE7;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.contact-form-card {
  background: var(--white);
  padding: 44px 40px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.select-highlight {
  animation: pulseSelect 1.1s ease;
}

@keyframes pulseSelect {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55); border-color: var(--green); }
  100% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); }
}

.form-alert {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.form-alert.success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.form-alert.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 12px;
  max-width: 340px;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}

/* =========================================================
   ANIMACIONES AL SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .hero-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .steps-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-chip {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 24px;
    gap: 14px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 8px 4px;
  }

  .section {
    padding: 64px 0;
  }

  .features-grid,
  .steps-grid,
  .pricing-grid,
  .trust-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-card {
    padding: 32px 22px;
  }
}

/* =========================================================
   CORRECCIONES RESPONSIVE PARA CELULAR
   ========================================================= */
html,
body {
  overflow-x: clip;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hero-content,
.hero-visual,
.contact-info,
.contact-form-card {
  min-width: 0;
}

.window-frame,
.window-body {
  max-width: 100%;
}

.window-body {
  min-height: 0;
}

.window-title {
  min-width: 0;
  flex: 1;
}

.hero-badge {
  max-width: 100%;
  line-height: 1.4;
}

.badge-dot {
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .hero-grid,
  .contact-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .hero-badge {
    border-radius: 14px;
    padding: 8px 14px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .floating-chip {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   CAPTURA MÁS GRANDE EN PC + VISOR PANTALLA COMPLETA (LIGHTBOX)
   ========================================================= */
@media (min-width: 993px) {
  .hero .container {
    max-width: 1260px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.15fr);
    gap: 40px;
  }

  .floating-chip {
    bottom: -30px;
    left: 14px;
  }
}

.window-body {
  position: relative;
  overflow: hidden;
}

.app-screenshot {
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.window-body:hover .app-screenshot {
  transform: scale(1.015);
}

.zoom-bar-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.24);
  color: #E2E8F0;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.zoom-bar-btn:hover {
  background: var(--blue);
  color: var(--white);
}

.zoom-hint-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: zoom-in;
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.zoom-hint-pill:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox-modal[hidden] {
  display: none;
}

.lightbox-modal.open {
  opacity: 1;
}

.lightbox-inner {
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #E2E8F0;
}

.lightbox-caption {
  font-size: 0.92rem;
  font-weight: 600;
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: transparent;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 95vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  background: var(--white);
}

/* =========================================================
   ARREGLO DE TEXTOS CORTADOS EN TARJETAS DE CONTACTO (MÓVIL)
   ========================================================= */
.contact-channels .channel-card > div:last-child {
  min-width: 0;
  flex: 1;
}

.contact-channels .channel-card strong {
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .contact-info {
    padding: 28px 20px;
  }

  .contact-channels .channel-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .contact-channels .channel-card strong {
    font-size: 0.86rem;
  }
}
