@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/shared/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/shared/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/shared/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/shared/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #001A33;
  --navy-soft: #4A5E72;
  --line: rgba(0, 26, 51, .14);
  --cyan: #00C8FF;
  --cyan-ink: #006F99;
  --coral: #D9432F;
  --ice: #EAF6FC;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.625rem, 5.4vw, 2.75rem); line-height: 1.15; max-width: 26ch; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan-ink); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.375rem; padding: .75rem 1.5rem; border: 0; border-radius: .5rem; cursor: pointer;
  font: 500 1.0625rem/1.2 var(--heading); text-align: center; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.btn__icon { width: 1.375rem; height: 1.375rem; flex: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--cyan-ink); }
.btn--whatsapp { background: var(--whatsapp); color: var(--navy); }
.btn--whatsapp:hover { background: #1FB457; }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { background: rgba(0, 26, 51, .06); }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.topbar { background: var(--ice); padding-block: 1rem .25rem; }
.topbar a { display: inline-block; }

.footer { background: var(--navy); color: #B9CBDB; padding-block: 2.5rem; font-size: .9375rem; }
.footer .wrap { display: grid; gap: 1rem; }
.footer__links { display: grid; gap: .25rem; }
.footer__links a { display: inline-block; padding-block: .375rem; color: var(--white); text-underline-offset: .2em; }
.footer p { max-width: 44rem; }

/* Raíz: lista de recursos */
.hub { background: var(--ice); padding-block: 1.5rem 4rem; }
.hub h1 { font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.08; max-width: 18ch; }
.hub__lead { margin-top: 1rem; max-width: 36rem; color: var(--navy-soft); font-size: 1.125rem; }
.hub__list { margin-top: 2.5rem; display: grid; gap: 1rem; }
.hub__item a {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: center;
  padding: 1rem; border-radius: .75rem; background: var(--white); text-decoration: none;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s;
}
.hub__item a:hover { box-shadow: 0 0 0 2px var(--cyan-ink); }
.hub__item img { border-radius: .25rem; }
.hub__item h2 { font-size: 1.25rem; line-height: 1.25; max-width: none; }
.hub__item p { margin-top: .25rem; color: var(--navy-soft); font-size: .9375rem; }

/* Páginas de texto */
.doc { padding-block: 2rem 4rem; }
.doc h1 { font-size: clamp(1.875rem, 6vw, 2.75rem); line-height: 1.15; }
.doc h2 { margin-top: 2.25rem; font-size: 1.375rem; }
.doc p, .doc li { margin-top: .75rem; max-width: 42rem; color: var(--navy-soft); }
.doc ul { list-style: disc; padding-left: 1.25rem; }
.doc strong { color: var(--navy); }

@media (min-width: 48rem) {
  .hub__item a { grid-template-columns: 7rem 1fr; padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
