/* Fuentes alojadas en el propio sitio (fonts/, licencias SIL OFL en fonts/LICENSE-archivo.txt y fonts/LICENSE-fraunces.txt). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2");
  /* Sin U+0304: si no, el navegador arma «ā» como «a» + macrón suelto con este archivo (no trae posicionamiento de
     marcas); así la «ā» sale entera del archivo latin-ext. */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/archivo-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/archivo-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/archivo-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   JAGĀ · SOLUCIONES INFORMÁTICAS — hub (jagasoluciones.com)
   Identidad propia del paraguas: isotipo del jaguar, Fraunces (display) + Archivo (texto), un solo acento.
   ============================================================ */

/* TEMA:INICIO — B · Noche cálida (contrastes: texto 15,1:1 · atenuado 8,1:1 · acento 8,3:1 · bordes 3,9:1) */
:root {
  color-scheme: dark;
  --bg: #1a1611;
  --surface: #25201a;
  --ink: #f2eadc;
  --muted: #b8ad9b;
  --accent: #e8a23a;
  --accent-hover: #f2b75c;
  --on-accent: #1a1611;
  --line: rgba(242, 234, 220, 0.14);
  --line-strong: #7d7466;
  --shadow: rgba(0, 0, 0, 0.45);
}
/* TEMA:FIN */

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", system-ui, sans-serif;

  /* Capa compartida (jaga-shared.css) */
  --jaga-accent: var(--accent);
  --jaga-on-accent: var(--on-accent);
  --jaga-fg: var(--ink);
  --jaga-fg-muted: var(--muted);
  --jaga-bg: var(--bg);
  --jaga-surface: var(--surface);
  --jaga-border: var(--line-strong);
  --jaga-font-ui: var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* --- Isotipo (un solo <symbol> por página, reutilizado con <use>; .jaga-sprite está en jaga-shared.css) --- */

.lockup { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); text-decoration: none; }
.lockup__mark { flex: none; display: block; width: 37px; height: 36px; color: var(--accent); }
.lockup__name { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1; letter-spacing: -0.01em; }
.lockup__sep { color: var(--muted); margin: 0 -4px; }
.lockup__desc { font-size: 15px; font-weight: 600; line-height: 1.2; }
a.lockup { min-height: 44px; }
a.lockup:hover { color: var(--ink); }
a.lockup:hover .lockup__desc { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Apilado (portada): isotipo / Jagā / Soluciones Informáticas */
.lockup--v { flex-direction: column; gap: 6px; text-align: center; }
.lockup--v .lockup__mark { width: 113px; height: 110px; margin-bottom: 10px; }
.lockup--v .lockup__name { font-size: 52px; }
.lockup--v .lockup__desc { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* --- Cabecera ------------------------------------------------------------- */
.hub-header { border-bottom: 1px solid var(--line); }
.hub-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.hub-header__contact { display: none; }
@media (min-width: 600px) {
  .hub-header__contact {
    display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink);
    text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px;
  }
  .hub-header__contact:hover { color: var(--accent-hover); }
}

/* --- Portada -------------------------------------------------------------- */
.hub-hero { padding: 36px 0 32px; }
.hub-hero__grid { display: grid; gap: 28px; justify-items: center; text-align: center; }
.hub-title {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 12vw, 66px); line-height: 1.04; letter-spacing: -0.02em;
}
.hub-title__w { display: block; }
.hub-title__y { font-size: 0.55em; color: var(--muted); letter-spacing: 0; margin-right: 0.1em; }
.hub-title__dot { color: var(--accent); }
.hub-lead { margin: 18px auto 0; max-width: 34ch; font-size: 19px; line-height: 1.45; color: var(--muted); }

/* Celular: la marca ocupa menos y la primera tarjeta, con su enlace, entra en la primera pantalla (390×844) */
@media (max-width: 599px) {
  .hub-hero { padding: 20px 0; }
  .hub-hero__grid { gap: 18px; }
  .lockup--v { gap: 4px; }
  .lockup--v .lockup__mark { width: 70px; height: 68px; margin-bottom: 4px; }
  .lockup--v .lockup__name { font-size: 40px; }
  .lockup--v .lockup__desc { font-size: 12px; }
  .hub-title { font-size: 38px; }
  .hub-lead { margin-top: 12px; font-size: 17px; }
}

@media (min-width: 900px) {
  .hub-hero { padding: 40px 0 36px; }
  .hub-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; justify-items: stretch; gap: 0; text-align: left; }
  .hub-hero__brand { padding: 4px 48px 4px 0; border-right: 1px solid var(--line); }
  .hub-hero__text { padding-left: 56px; }
  .lockup--v .lockup__mark { width: 164px; height: 160px; }
  .lockup--v .lockup__name { font-size: 62px; }
  .lockup--v .lockup__desc { font-size: 14px; }
  .hub-lead { margin-left: 0; max-width: 44ch; }
}

/* --- Tarjetas por área ---------------------------------------------------- */
.hub-cards { list-style: none; margin: 0; padding: 0 0 56px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hub-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Cada tarjeta anuncia su área con el color de la familia (borde superior y viñetas);
   el texto del enlace sigue en ámbar por contraste. */
.hub-card {
  --area: var(--accent);
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 22px 24px 18px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-top: 4px solid var(--area);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.hub-card--mant { --area: var(--j-mant); }
.hub-card--dd { --area: var(--j-dd); }
.hub-card--sec { --area: var(--j-sec-noche); }
.hub-card:hover { transform: translateY(-2px); border-color: var(--line-strong); border-top-color: var(--area); box-shadow: 0 12px 28px var(--shadow); }
.hub-card__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.15; letter-spacing: -0.01em; }
.hub-card__jaga { color: var(--muted); }
.hub-card__claim { margin: 0; font-size: 17px; line-height: 1.4; }
.hub-card__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 15px; color: var(--muted); }
.hub-card__list li { position: relative; padding-left: 18px; }
.hub-card__list li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 9px; height: 2px; background: var(--area); }
.hub-card__foot { margin: 0; font-size: 14px; color: var(--muted); }
.hub-card__link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 2px solid currentColor;
}
.hub-card:hover .hub-card__link, .hub-card__link:hover { color: var(--accent-hover); }
/* Toda la tarjeta es clicable (sin JS): el enlace se estira sobre ella */
.hub-card__link::after { content: ""; position: absolute; inset: 0; }
.hub-card__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.hub-card:has(.hub-card__link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hub-card:hover { transform: none; } }

/* --- Contacto ------------------------------------------------------------- */
.hub-contact { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.hub-contact .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.hub-contact h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.01em; }
.jaga-btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.jaga-contact .jaga-btn:not(.jaga-btn--primary) { color: var(--ink); }

/* --- Pie ------------------------------------------------------------------ */
.hub-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 14px; color: var(--muted); }
.hub-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.hub-footer .lockup__mark { width: 29px; height: 28px; }
.hub-footer .lockup__name { font-size: 21px; }
.hub-footer .lockup__desc { font-size: 14px; }
.hub-footer p { margin: 0; }

/* --- 404 ------------------------------------------------------------------ */
.hub-404 { padding: 72px 0; }
.hub-404 h1 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.01em; }
.hub-404 p { margin: 0 0 20px; color: var(--muted); }
.hub-404__brands { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hub-404__brands a { display: inline-block; min-height: 44px; line-height: 44px; font-weight: 600; }
