/* Tokens extraídos del Figma (Nahuel SEED 2026 › SEED Gov, nodo 10624:1056) */
:root {
  --ink: #1d1d1f;
  --text-muted: #86868b;
  --slate-600: #475569;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --border: #e2e8f0;
  --soft: #f5f5f7;
  --off: #fbfbfd;
  --blue: #1754cf;
  --white: #fff;
  --wrap: 1104px;
  --gutter: 24px;
  --font: "Public Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section-pad { padding: 128px 0; }
.bg-soft { background: var(--soft); }
.center { text-align: center; }

.h2 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 9999px; font-family: inherit; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12px; letter-spacing: 0.025em; }
.btn--lg { height: 48px; padding: 0 32px; font-size: 14px; letter-spacing: 0.025em; }
.btn--primary { background: var(--blue); color: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.btn--hero-shadow, .hero .btn--primary { box-shadow: 0 4px 6px rgba(0,0,0,.1), 0 10px 15px rgba(0,0,0,.1); }
.btn--primary:hover { background: #1348b3; }
.btn--dark { height: 56px; padding: 0 40px; font-size: 18px; letter-spacing: 0.025em; background: var(--ink); color: var(--white); box-shadow: 0 25px 50px rgba(0,0,0,.25); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226,232,240,.5); }
.nav__inner { height: 64px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: 832px; display: flex; align-items: center; overflow: hidden;
  background-image: repeating-linear-gradient(to right, rgba(172,172,172,.24) 0 1px, transparent 1px 64px); }
.hero__inner { width: 100%; position: relative; }
.hero__title { font-size: clamp(44px, 7.5vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -0.05em; }
.hero__title .muted { color: var(--slate-400); }
.hero__lead { margin-top: 32px; max-width: 672px; font-size: clamp(18px, 2vw, 24px); line-height: 1.333; font-weight: 300; color: var(--text-muted); }
.hero__ctas { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }

/* Problem */
.problem { padding: 96px 0; border-top: 1px solid var(--off); }
.problem__grid { display: grid; grid-template-columns: 423px 1fr; gap: 64px; }
.problem__list { display: flex; flex-direction: column; gap: 48px; }
.problem__item { border-left: 1px solid var(--border); padding: 8px 0 8px 32px; }
.problem__item h3 { font-size: 20px; line-height: 28px; font-weight: 500; margin-bottom: 12px; }
.problem__item p { font-size: 18px; line-height: 29.25px; font-weight: 300; color: var(--text-muted); max-width: 583px; }

/* Services */
.services .h2 { margin-bottom: 64px; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.card { position: relative; background: var(--white); border: 1px solid var(--off); border-radius: 16px; padding: 32px; min-height: 320px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.card h3 { font-size: 24px; line-height: 30px; font-weight: 700; margin-bottom: 16px; }
.card p { font-size: 14px; line-height: 22.75px; color: var(--text-muted); }
.card__icon { margin-top: auto; align-self: flex-end; padding-top: 32px; box-sizing: content-box; }

/* Approach */
.approach__grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 0 48px; }
.pillar:not(:last-child) { border-right: 1px solid var(--border); }
.pillar__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 44px; border-radius: 9999px; background: var(--off); }
.pillar h3 { margin-top: 28px; font-size: 20px; line-height: 28px; font-weight: 700; }
.pillar p { margin-top: 12px; font-size: 16px; line-height: 26px; font-weight: 300; color: var(--text-muted); max-width: 272px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split__side { padding: 96px; min-height: 600px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.split__side + .split__side { border-left: 1px solid var(--border); }
.split__side--soft { background: var(--soft); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 24px; }
.tag--blue { background: rgba(23,84,207,.1); color: var(--blue); }
.tag--gray { background: var(--border); color: var(--slate-600); }
.split__title { font-size: clamp(28px, 3vw, 36px); line-height: 1.111; font-weight: 700; margin-bottom: 16px; }
.split__lead { font-size: 18px; line-height: 28px; font-weight: 300; color: var(--text-muted); max-width: 448px; margin-bottom: 32px; }
.checklist { display: flex; flex-direction: column; gap: 11.5px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; color: var(--slate-600); }
.checklist li::before { content: ""; width: 10px; height: 8px; flex: none; background: var(--blue);
  -webkit-mask: url(assets/check.svg) no-repeat center / contain; mask: url(assets/check.svg) no-repeat center / contain; }
.checklist--gray li::before { background: var(--slate-400); }

/* Logos */
.logos { padding: 96px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos__label { text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-400); }
.logos__row { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 24px 40px; opacity: .6; }
.logos__row li { font-size: 20px; line-height: 28px; font-weight: 700; color: #1e293b; filter: grayscale(1); transition: opacity .2s; }
/* Logos oficiales: se muestran en un solo color para que la fila sea pareja */
.logos__row img { display: block; height: auto; filter: brightness(0); }

/* CTA */
.cta { padding: 128px 0 96px; text-align: center; }
.cta__title { font-size: clamp(56px, 10vw, 128px); line-height: 1; font-weight: 700; letter-spacing: -0.05em; margin-bottom: 32px; }
.cta__title .accent { color: var(--blue); }

/* Footer */
.footer { padding-bottom: 48px; }
.footer__top { border-top: 1px solid var(--border); padding-top: 48px; padding-bottom: 56px; display: grid; grid-template-columns: 1fr 240px 240px; gap: 48px; }
.footer__brand img { height: 26px; width: auto; }
.footer__brand p { margin-top: 24px; max-width: 320px; font-size: 14px; line-height: 20px; color: var(--text-muted); }
.footer__col h5 { font-size: 16px; line-height: 24px; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { font-size: 14px; line-height: 20px; color: var(--text-muted); transition: color .15s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--off); padding-top: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; line-height: 16px; color: var(--slate-400); }
.footer__bottom div { display: flex; gap: 16px; }
.footer__bottom a:hover { color: var(--ink); }

/* Contact modal */
html.modal-open { overflow: hidden; }
.modal { width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 25px 50px rgba(0,0,0,.25); overflow: auto; }
.modal::backdrop { background: rgba(29,29,31,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__panel { position: relative; padding: 48px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: var(--soft); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.modal__close:hover { background: var(--border); }
.modal__title { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; }
.modal__lead { margin-top: 12px; font-size: 16px; line-height: 26px; font-weight: 300; color: var(--text-muted); max-width: 520px; }
.modal__done { text-align: center; padding: 24px 0 8px; }
.modal__done .modal__lead { margin: 12px auto 32px; }
.modal__check { display: inline-block; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 9999px; background: rgba(23,84,207,.1) url(assets/check.svg) no-repeat center / 20px; }

.form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.field__label i { font-style: normal; color: var(--blue); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 120px; line-height: 24px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,84,207,.15); }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: #dc2626; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--border); border-radius: 9999px; font-size: 14px; line-height: 20px; color: var(--slate-600); background: var(--white); transition: all .15s; }
.chip:hover span { border-color: var(--slate-400); }
.chip input:checked + span { background: rgba(23,84,207,.1); border-color: var(--blue); color: var(--blue); font-weight: 500; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(23,84,207,.25); }
.was-validated .chips:has(input[type=radio]:invalid) span { border-color: #fca5a5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 14px; line-height: 20px; }
.form__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.form__alt { font-size: 14px; color: var(--text-muted); }
.form__alt a { color: var(--blue); }
.form__alt a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .split__side { padding: 72px 48px; }
}
@media (max-width: 860px) {
  .nav__inner { padding: 0 var(--gutter); }
  .nav__links { display: none; }
  .hero { min-height: auto; padding: 120px 0 96px; }
  .section-pad { padding: 88px 0; }
  .problem { padding: 72px 0; }
  .problem__grid { grid-template-columns: 1fr; gap: 40px; }
  .approach__grid { margin-top: 48px; grid-template-columns: 1fr; gap: 40px; }
  .pillar { padding: 0 0 40px; }
  .pillar:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--border); }
  .pillar p { max-width: none; }
  .split { grid-template-columns: 1fr; }
  .split__side { min-height: auto; padding: 72px var(--gutter); }
  .split__side + .split__side { border-left: 0; border-top: 1px solid var(--border); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .h2 { font-size: 30px; line-height: 36px; }
  .services .h2 { margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .modal { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .modal__panel { padding: 64px 20px 32px; }
  .modal__title { font-size: 28px; line-height: 34px; }
  .form__row { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; }
  .services__grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .hero__ctas .btn { width: 100%; }
  .btn--dark { font-size: 16px; padding: 0 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
