:root {
  --ink: #0b1f16;
  --ink-soft: #3c4a44;
  --muted: #7a8a84;
  --line: #e4e9e6;
  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --green-deep: #0a3570;
  --green: #0f6fe0;
  --green-soft: #e8f2ff;
  --cyan: #00d9c3;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(16, 64, 44, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#sistemas, #checkwhats { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.brand span.accent { color: var(--green); }

nav.links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
}

nav.links a:hover { color: var(--green-deep); }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn.primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 64, 44, 0.25);
}

.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16, 64, 44, 0.3); }

.btn.ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn.ghost:hover { border-color: var(--green-deep); color: var(--green-deep); }

/* Section titles */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 800;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
  margin: 0;
}

/* Modules grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 174, 98, 0.35);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  overflow: hidden;
}

.card .icon.img-icon {
  background: transparent;
  padding: 0;
}

.card .icon.img-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.card h3 {
  font-size: 17.5px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat { text-align: center; }
.stat .n { font-size: 32px; font-weight: 800; color: var(--green-deep); letter-spacing: -0.02em; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* CTA band */
.band {
  background: linear-gradient(135deg, var(--green-deep), #062043);
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 auto;
}

.band h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 14px; letter-spacing: -0.02em; }
.band p { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 28px; }

.band .btn.primary { background: #fff; color: var(--green-deep); box-shadow: none; }
.band .btn.ghost { border-color: rgba(255,255,255,0.35); color: #fff; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  background: var(--bg-alt);
}

.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.foot-brand img { width: 24px; height: 24px; border-radius: 6px; }

.foot-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.foot-links a:hover { color: var(--green-deep); }

.foot-copy {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 24px;
}

/* Simple page (soporte / privacidad) */
.simple-hero {
  padding: 64px 0 36px;
}

.simple-hero .kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.simple-hero h1 {
  font-size: clamp(30px, 4.6vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 800;
}

.simple-hero p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 600px;
  line-height: 1.6;
}

.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 90px;
}

.content-wrap h2 {
  font-size: 21px;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}

.content-wrap h2:first-of-type { margin-top: 0; }

.content-wrap p, .content-wrap li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.content-wrap ul { padding-left: 20px; }
.content-wrap li { margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}

@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--bg-alt);
}

.contact-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-card .value {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--green-deep);
}

.contact-card .value a:hover { text-decoration: underline; }

.note-box {
  border: 1px solid rgba(31,174,98,0.3);
  background: var(--green-soft);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--green-deep);
  margin: 24px 0;
}

.update-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}
