/* Hallmark · shape: Conversational FAQ (swapped to a service list + FAQ, no project index: no pictures) · genre: modern-minimal · theme: Cobalt (deal 2/3, seed sitio-sobrio-empresa-soporte-eb55·4d795141·2026-12-05·r0), recoloured to the BYTEK brand · job: hire · draw: 596b35
 * hero: Banner on the brand's dark blue · nav: wordmark and a contact line (search-led bar refused: nothing to search) · footer: mast with the legal record · imagery: none, the brand logo is the picture · signature: the vertical BYTEK chip logo, large on #101C2B
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S4 R5 V4 · weakest: P, a sober business-identity page by brief; the argument is the cloud-versus-office rule set as a table */
/* Hallmark · waive 1: Inter is the BYTEK brand face for web (docs/05-marca.md), not a default · waive 79: the gap under the hero is the dark band closing below the logo, kept for brand breathing room · dismissed 41: accent never sits under text; buttons are ink or white */
@import url("./tokens.css");
@import url("./base.css");

@font-face {
  font-family: "Inter";
  src: url("../fuentes/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body { font-size-adjust: from-font; }

/* Saltar al contenido */
.saltar { position: absolute; left: var(--space-md); top: var(--space-md); z-index: var(--z-modal); padding: var(--space-xs) var(--space-md); background: var(--color-paper); color: var(--color-ink); border-radius: var(--radius-input); transform: translateY(-200%); }
.saltar:focus-visible { transform: none; }

/* Botones (teclas) */
.tecla { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: var(--radius-input); background: var(--color-ink); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); text-decoration: none; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.tecla svg { width: 20px; height: 20px; flex: none; }
.tecla:hover { transform: translateY(-1px); }
.tecla:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.tecla:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.tecla--clara { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-paper); }
.tecla--borde { background: transparent; color: var(--color-graphite-ink); border-color: var(--color-graphite-muted); box-shadow: none; }
.tecla--borde:hover { border-color: var(--color-graphite-ink); }

a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 2px; }

/* Banda oscura: navegación y portada */
.banda { background: var(--color-graphite); color: var(--color-graphite-ink); }
.banda h1 { color: var(--color-graphite-ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; border-bottom: var(--rule-hair) solid var(--color-graphite-rule); }
.nav__marca { display: block; padding-block: var(--space-xs); }
.nav__marca img { width: 132px; height: auto; }
.nav__enlaces { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.nav__enlaces a { color: var(--color-graphite-ink); text-decoration-color: transparent; }
.nav__enlaces a:hover { text-decoration-color: var(--color-accent); }
.nav__tel { font-variant-numeric: tabular-nums; }

.portada { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: center; padding-block: var(--space-2xl) var(--space-3xl); }
.portada__texto { display: grid; gap: var(--space-lg); justify-items: start; }
.portada h1 { font-size: var(--text-display-s); max-width: 16ch; }
.portada .lead { color: var(--color-graphite-muted); }
.acciones { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.portada__logo { order: -1; }
.portada__logo img { width: min(220px, 60vw); height: auto; }

@media (min-width: 60rem) {
  .portada { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); padding-block: var(--space-2xl); }
  .portada__logo { order: 0; justify-self: end; }
  .portada__logo img { width: 420px; }
  .nav__marca img { width: 156px; }
}
@media (max-width: 40rem) {
  .nav__enlaces li:not(.nav__tel-item) { display: none; }
}

/* Secciones claras */
.seccion { padding-block: var(--section-gap); border-bottom: var(--rule-hair) solid var(--color-rule); }
.seccion__cabeza { display: grid; gap: var(--space-sm); margin-bottom: var(--space-xl); }
.seccion__cabeza p { color: var(--color-muted); max-width: 52ch; }

/* Servicios: libro mayor de filas con regla fina */
.servicios { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }
.servicio { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.servicio h3 { font-size: var(--text-title); }
.servicio p { color: var(--color-ink-2); max-width: 60ch; }
@media (min-width: 48rem) {
  .servicio { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; }
}

/* Nube u oficina: tabla */
.tabla-envoltura { overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; font-size: var(--text-md); }
.tabla caption { text-align: start; color: var(--color-muted); font-size: var(--text-sm); padding-bottom: var(--space-sm); }
.tabla th, .tabla td { text-align: start; vertical-align: top; padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.tabla thead th { font-weight: 600; font-size: var(--text-sm); color: var(--color-muted); border-bottom-color: var(--color-ink); }
.tabla tbody tr:first-child td { padding-top: var(--space-md); }
.nota { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 60ch; }

/* Preguntas */
.preguntas { display: grid; gap: 0; border-top: var(--rule-hair) solid var(--color-ink); }
.pregunta { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); display: grid; gap: var(--space-xs); }
.pregunta h3 { font-size: var(--text-lg); }
.pregunta p { color: var(--color-ink-2); }
@media (min-width: 48rem) {
  .pregunta { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: baseline; }
}

/* Contacto */
.contacto { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.contacto__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
.contacto__tel { display: inline-block; font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; color: var(--color-ink); text-decoration: none; white-space: nowrap; font-size: clamp(1.75rem, 7vw, 3.75rem); min-width: 0; }
.contacto__tel:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }
.datos { margin: 0; display: grid; gap: var(--space-md); }
.datos div { display: grid; gap: var(--space-3xs); padding-bottom: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.datos dt { font-size: var(--text-sm); color: var(--color-muted); }
.datos dd { margin: 0; font-size: var(--text-lg); }
@media (min-width: 60rem) {
  .contacto__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: start; }
}

/* Pie */
.pie { background: var(--color-graphite); color: var(--color-graphite-muted); padding-block: var(--space-2xl) var(--space-xl); font-size: var(--text-sm); }
.pie__marca img { width: 168px; height: auto; }
.pie__grid { display: grid; gap: var(--space-xl); grid-template-columns: minmax(0, 1fr); }
.legal { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); color: var(--color-graphite-ink); }
.pie__enlaces { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }
.pie a { color: var(--color-graphite-ink); }
.pie__fin { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: var(--rule-hair) solid var(--color-graphite-rule); }
@media (min-width: 60rem) {
  .pie__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--gap-columns); }
}

/* Páginas de texto: privacidad y condiciones */
.documento { padding-block: var(--space-2xl) var(--section-gap-s); }
.documento h1 { font-size: var(--text-display-s); margin-bottom: var(--space-sm); }
.documento .fecha { color: var(--color-muted); margin-bottom: var(--space-xl); }
.documento h2 { font-size: var(--text-xl); margin: var(--space-xl) 0 var(--space-sm); }
.documento p, .documento li { max-width: 68ch; color: var(--color-ink-2); }
.documento p + p { margin-top: var(--space-sm); }
.documento ul { padding-left: 1.25em; display: grid; gap: var(--space-2xs); margin: var(--space-sm) 0 0; }
.nav--simple { min-height: 64px; }
.documento ul + p { margin-top: var(--space-md); }
