/* NASDA S.A. — estilos del sitio
   Marca: concepto A1 · Nodo. Tipografías: Space Grotesk (títulos) + Inter (texto). */

:root {
  --ink: #0A1A2F;
  --blue: #1D5FD1;
  --blue-dark: #123F94;
  --blue-soft: #EAF1FD;
  --green: #2FB67C;
  --green-text: #17855A;
  --green-light: #5FD39E;
  --mist: #F5F7FA;
  --line: #E3E8EF;
  --muted: #4A5568;
  --muted-2: #5A6578;
  --on-dark: #C9D6E8;
  --on-dark-2: #B7C3D4;
  --radius: 20px;
  --max: 1200px;
  --font-head: "Space Grotesk", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--green { background: var(--green); color: #06231A; }
.btn--green:hover { background: #29a36f; color: #06231A; }
.btn--ghost-dark { border-color: rgba(255,255,255,.28); color: #fff; font-weight: 600; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 96px 0 104px; }
.hero__copy { flex: 1 1 520px; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  font-size: 14px; color: var(--on-dark);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero__lead { max-width: 560px; font-size: 19px; color: var(--on-dark); margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.panel {
  flex: 1 1 400px; min-width: 0; max-width: 500px;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.panel__dots { display: flex; gap: 6px; }
.panel__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.panel__dots span:last-child { background: var(--green); }
.panel__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.row {
  display: flex; align-items: center; gap: 14px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none;
}
.row__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.row__icon svg { width: 22px; height: 22px; }
.row__text { flex: 1; min-width: 0; }
.row__text strong { display: block; font-size: 15px; }
.row__text span { font-size: 14px; color: var(--muted); }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #F1F4F8; color: #33415C; white-space: nowrap; }
.row--zenda { background: #FAF8F3; border-color: #E8E1CF; color: #22271F; }
.row--zenda:hover { color: #22271F; border-color: #D6CDB6; }
.row--zenda .row__icon { background: #fff; }
.row--zenda .row__text span { color: #56664A; }
.row--zenda .chip { background: #E5B664; color: #2B3226; font-weight: 700; }


/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.1; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head > div { max-width: 640px; }
.section-head > p { max-width: 400px; color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; padding: 88px 0 0; }
.pillar .pillar__num { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--green-text); margin-bottom: 12px; }
.pillar h3 { font-weight: 600; font-size: 24px; margin-bottom: 10px; letter-spacing: -0.01em; }
.pillar p { color: var(--muted); }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-weight: 600; font-size: 23px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -0.01em; }
.card > p { color: var(--muted); margin-bottom: 20px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.checks li { display: flex; gap: 10px; }
.checks svg { flex: none; width: 20px; height: 20px; color: var(--green-text); margin-top: 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- Banda Zenda ---------- */
.zenda-band { background: #FAF8F3; border-block: 1px solid #ECE6D6; color: #22271F; }
.zenda-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 88px 0; }
.zenda-band__copy { flex: 1 1 480px; min-width: 0; }
.zenda-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.zenda-brand img { width: 36px; height: 36px; }
.zenda-brand strong { font-family: var(--font-head); font-size: 24px; }
.zenda-brand span { font-size: 13px; color: #56664A; }
.zenda-band h2 span { color: #56664A; }
.zenda-band__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A6420; margin-bottom: 12px; }
.zenda-band__lead { max-width: 540px; font-size: 18px; color: #3F4838; margin: 18px 0 24px; }
.zenda-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 560px; margin-bottom: 28px; }
.zenda-pillars div { background: #fff; border: 1px solid #ECE6D6; border-radius: 16px; padding: 16px 18px; }
.zenda-pillars strong { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 4px; }
.zenda-pillars div:first-child strong { color: #3A4233; }
.zenda-pillars div:last-child strong { color: #8A6420; }
.zenda-pillars span { font-size: 14px; line-height: 1.5; color: #4C5644; }
.btn--gold { background: #E5B664; color: #2B3226; border-radius: 999px; min-height: 50px; }
.btn--gold:hover { background: #dba94f; color: #2B3226; }
.btn--cream-ghost { border-color: #D6CDB6; color: #22271F; border-radius: 999px; min-height: 50px; font-weight: 600; }
.btn--cream-ghost:hover { border-color: #22271F; color: #22271F; }
.zenda-mock { flex: 1 1 380px; min-width: 0; max-width: 460px; display: grid; gap: 12px; }
.zenda-mock__balance { background: #3A4233; color: #FAF8F3; border-radius: 18px; padding: 24px; }
.zenda-mock__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #C8D0BC; margin-bottom: 6px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.zenda-mock__amount { font-size: 34px; font-weight: 700; color: #E5B664; line-height: 1.2; }
.zenda-mock__note { font-size: 13px; color: #C8D0BC; }
.zenda-mock__bars { background: #fff; border: 1px solid #ECE6D6; border-radius: 18px; padding: 20px; display: grid; gap: 14px; }
.bar__top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.bar__top span { color: #56664A; }
.bar__track { height: 8px; border-radius: 99px; background: #EFEBE0; overflow: hidden; }
.bar__fill { height: 100%; border-radius: 99px; }

/* ---------- Método ---------- */
.method { background: var(--ink); color: #fff; }
.method .eyebrow { color: var(--green-light); }
.method__lead { font-size: 18px; color: var(--on-dark-2); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-top: 1px solid rgba(255,255,255,.16); margin-top: 52px; }
.step { padding: 28px 28px 8px 0; }
.step .step__num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--green-light); margin-bottom: 18px; }
.step h3 { font-weight: 600; font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--on-dark-2); font-size: 15px; }

/* ---------- Casos ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case__media { position: relative; aspect-ratio: 3 / 2; background: var(--blue-soft); overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case:hover .case__media img { transform: scale(1.04); }
.case__badge { position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--blue-dark); box-shadow: 0 4px 12px rgba(10,26,47,.15); }
.case__body { padding: 22px; }
.case__body h3 { font-weight: 600; font-size: 20px; margin-bottom: 8px; letter-spacing: -0.01em; }
.case__body p { font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .case__media img { transition: none; } }

/* ---------- Contacto ---------- */
.contact { background: var(--mist); border-top: 1px solid var(--line); }
.contact__inner { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__copy { flex: 1 1 420px; min-width: 0; }
.contact__lead { max-width: 460px; font-size: 18px; color: var(--muted); margin: 18px 0 32px; }
.contact__items { display: grid; gap: 12px; max-width: 420px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.contact-item:hover { border-color: var(--blue); color: var(--ink); }
.contact-item svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.contact-item small { display: block; font-size: 13px; color: var(--muted-2); }

.form { flex: 1 1 440px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  min-height: 46px; padding: 10px 14px; border: 1px solid #CBD3DE; border-radius: 10px; background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,95,209,.18); }
.form__note { font-size: 13px; color: var(--muted-2); }
.form__status { font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: var(--green-text); }
.form__status.is-error { color: #B42318; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer__brand img { height: 32px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .hero__inner { padding: 64px 0 72px; gap: 40px; }
  .section { padding: 72px 0; }
  .pillars { padding-top: 64px; gap: 32px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .card, .form { padding: 24px; }
  .row .chip { display: none; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Campo trampa anti-spam (oculto para personas) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
