:root {
  --navy: #0f2742;
  --blue: #1463ff;
  --blue-soft: #eaf2ff;
  --green: #38d86f;
  --green-dark: #109846;
  --coral: #ff7a59;
  --text: #223044;
  --muted: #67758a;
  --line: #dfe8f4;
  --bg: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 39, 66, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-pad { padding: 86px 0; }
.soft-bg { background: var(--bg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(5vw, 56px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(223, 232, 244, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-weight: 900;
}
.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-cta {
  color: var(--navy);
  background: var(--green);
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(56, 216, 111, 0.18), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(20, 99, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 850;
  letter-spacing: 0.02em;
}
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.5rem, 5.8vw, 5.6rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -0.04em; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.hero-text {
  max-width: 650px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: 0 12px 28px rgba(56, 216, 111, 0.28); }
.btn-primary:hover { background: #41ee7c; }
.btn-secondary { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-chat { background: var(--coral); color: var(--white); box-shadow: 0 12px 28px rgba(255, 122, 89, 0.28); }
.btn-chat:hover { background: #ff8f6f; }
.btn.full { width: 100%; }
.trust-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.trust-list li {
  padding: 9px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}
.phone {
  width: min(320px, 76vw);
  min-height: 610px;
  padding: 16px;
  border-radius: 42px;
  background: #10263f;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}
.phone-top {
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  margin: 2px auto 14px;
}
.app-screen {
  min-height: 560px;
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  overflow: hidden;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.app-bar strong {
  color: var(--white);
  background: var(--blue);
  padding: 8px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.receipt-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(15, 39, 66, 0.08);
}
.receipt-line {
  height: 9px;
  width: 72%;
  border-radius: 999px;
  background: #d8e1ed;
  margin-bottom: 10px;
}
.receipt-line.wide { width: 92%; }
.receipt-line.short { width: 48%; }
.receipt-total {
  margin-top: 16px;
  padding: 12px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.capture-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.capture-buttons span {
  padding: 12px 8px;
  border-radius: 14px;
  text-align: center;
  color: var(--navy);
  background: #eef7f2;
  font-weight: 850;
  font-size: 0.85rem;
}
.expense-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.expense-row b { color: var(--navy); }
.mini-screen {
  position: absolute;
  width: 170px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(15, 39, 66, 0.14);
}
.mini-screen small { color: var(--muted); display: block; }
.mini-screen strong { color: var(--navy); font-size: 1.35rem; display: block; margin: 4px 0 10px; }
.mini-screen p { color: var(--muted); margin: 0; }
.screen-one { left: 0; bottom: 95px; }
.screen-two { right: 2px; top: 90px; }
.bars { display: flex; gap: 7px; align-items: end; height: 52px; }
.bars i { flex: 1; border-radius: 999px; background: linear-gradient(180deg, var(--blue), var(--green)); }
.bars i:nth-child(1) { height: 35%; }
.bars i:nth-child(2) { height: 72%; }
.bars i:nth-child(3) { height: 48%; }
.bars i:nth-child(4) { height: 90%; }

.two-col {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.align-start { align-items: start; }
.text-block p, .section-intro {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 16px;
}
.center-head {
  text-align: center;
  max-width: 790px;
}
.section-intro { margin: 18px auto 0; max-width: 720px; }
.section-intro.left { margin-left: 0; }

.steps-grid, .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.benefits-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 28px rgba(15, 39, 66, 0.06);
}
.card p { color: var(--muted); margin: 14px 0 0; }
.step-number, .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.icon { background: #eafbf0; color: var(--green-dark); }

.audience-list {
  display: grid;
  gap: 14px;
}
.audience-list div {
  display: grid;
  gap: 5px;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.audience-list strong { color: var(--navy); }
.audience-list span { color: var(--muted); }

.reassurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.reassurance-card {
  padding: 36px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15, 39, 66, 0.07);
}
.reassurance-card.dark {
  background: var(--navy);
}
.reassurance-card.dark h2, .reassurance-card.dark p { color: var(--white); }
.reassurance-card p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.demo-section { background: linear-gradient(135deg, #10263f 0%, #123a5e 55%, #0f2742 100%); }
.demo-section h2, .demo-section .eyebrow { color: var(--white); }
.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.demo-copy p { color: rgba(255,255,255,0.78); font-size: 1.1rem; }
.phone-contact {
  margin-top: 24px;
  font-weight: 800;
}
.phone-contact a { color: var(--green); }
.form-card {
  padding: 30px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
label { display: block; color: var(--navy); font-weight: 800; margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.1); }
textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 8px 0 16px;
}
.consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.form-message {
  display: none;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 750;
}
.form-message.error { color: #9f1f1f; background: #fff0f0; border: 1px solid #ffd3d3; }
.form-message.success { color: #0e6f36; background: #ebfff3; border: 1px solid #b9f0cf; }
.form-message.is-visible { display: block; }
.form-note { color: var(--muted); text-align: center; font-size: 0.92rem; margin: 14px 0 0; }

.site-footer {
  padding: 34px 0;
  color: rgba(255,255,255,0.72);
  background: #081827;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.site-footer strong { color: var(--white); }
.site-footer p { margin: 6px 0 0; }



/* Bloque enlace a la página central de soluciones */
.ecosystem-section {
  background: var(--white);
  padding-top: 34px;
}
.ecosystem-box {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 34px;
  align-items: center;
  padding: 46px;
  border: 1px solid rgba(223, 232, 244, 0.9);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 15%, rgba(20, 99, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 85%, rgba(56, 216, 111, 0.10), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 18px 45px rgba(15, 39, 66, 0.08);
}
.ecosystem-icon {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15, 39, 66, 0.08);
  font-size: 2.6rem;
  font-weight: 900;
}
.ecosystem-content h2 {
  max-width: 820px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}
.ecosystem-text {
  max-width: 860px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 1.05rem;
}
.ecosystem-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 30px;
}
.ecosystem-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.ecosystem-item:first-child { padding-left: 0; }
.ecosystem-item:last-child { border-right: 0; padding-right: 0; }
.ecosystem-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}
.ecosystem-item:nth-child(1) .ecosystem-item-icon {
  background: #fff1ec;
  color: var(--coral);
}
.ecosystem-item:nth-child(3) .ecosystem-item-icon {
  background: #eefbea;
  color: var(--green-dark);
}
.ecosystem-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}
.ecosystem-item strong { color: var(--navy); }
.ecosystem-cta {
  min-width: min(100%, 330px);
  gap: 16px;
}
.ecosystem-note {
  margin: 22px 0 0;
  color: var(--text);
  font-weight: 700;
}
.ecosystem-note::before {
  content: "♡";
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.08);
}
.ecosystem-helper {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.ecosystem-helper::before {
  content: "↪";
  margin-right: 8px;
  color: var(--blue);
}


.consent a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.success-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 10px;
}
.success-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eafbf0;
  color: var(--green-dark);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}
.success-panel h3 {
  margin-bottom: 10px;
}
.success-panel p {
  margin: 0 0 12px;
  color: var(--muted);
}
.success-panel .success-small {
  font-size: 0.94rem;
}

@media (max-width: 960px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .hero-grid, .two-col, .demo-grid, .reassurance-grid { grid-template-columns: 1fr; }
  .ecosystem-box { grid-template-columns: 1fr; }
  .ecosystem-summary { grid-template-columns: 1fr; gap: 16px; }
  .ecosystem-item { padding: 0; border-right: 0; }
  .hero-visual { min-height: 520px; }
  .phone { min-height: 520px; }
  .app-screen { min-height: 472px; }
  .steps-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .section-pad { padding: 62px 0; }
  .site-header { padding: 12px 14px; }
  .brand small { display: none; }
  .nav-cta { padding: 9px 12px; font-size: 0.86rem; }
  h1 { font-size: clamp(2.25rem, 14vw, 3.8rem); }
  .hero { min-height: auto; }
  .hero-grid { gap: 32px; }
  .hero-visual { min-height: 500px; overflow: hidden; }
  .phone { width: 282px; min-height: 520px; transform: rotate(-2deg); }
  .mini-screen { width: 145px; }
  .screen-one { left: -6px; bottom: 38px; }
  .screen-two { right: -6px; top: 45px; }
  .steps-grid, .benefits-grid, .footer-grid { grid-template-columns: 1fr; }
  .card, .form-card, .reassurance-card { padding: 22px; border-radius: 22px; }
  .ecosystem-box { padding: 26px; border-radius: 24px; }
  .ecosystem-icon { width: 68px; height: 68px; font-size: 2rem; }
  .ecosystem-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .ecosystem-item-icon { width: 36px; height: 36px; border-radius: 13px; }
  .ecosystem-cta { width: 100%; }
}
