/* Carduvo — sitio público.
   Paleta de la dirección A · Instrumento: menta es la marca y la acción,
   ámbar solo significa "falta un dato". Nada lleva significado solo por color. */

:root {
  --ground:   #0E0E0E;
  --raised:   #161616;
  --raised2:  #1D1D1D;
  --line:     #2A2A2A;
  --lineSoft: #202020;
  --ink:      #EDEDED;
  --ink2:     #9C9C9C;
  --ink3:     #7A7A7A;
  --mint:     #18C08F;
  --mintSoft: rgba(24, 192, 143, .14);
  --amber:    #E6A93C;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.envoltura {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 6rem;
}

/* ---------------------------------------------------------------- cabecera */

.marca {
  display: inline-block;
  margin-bottom: 3rem;
  border-bottom: none;
}

.marca img {
  display: block;
  width: 200px;
  height: auto;
}

@media (max-width: 30rem) {
  .marca img { width: 168px; }
}

/* ------------------------------------------------------------------ tipos */

h1, h2, h3 {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 .75rem;
}

h1 { font-size: 2rem;    font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 600; margin-top: 3rem; }
h3 { font-size: 1rem;    font-weight: 600; margin-top: 2rem; }

p, ul, ol { margin: 0 0 1.15rem; }
ul, ol { padding-left: 1.35rem; }
li { margin-bottom: .5rem; }

a { color: var(--mint); text-decoration: none; border-bottom: 1px solid var(--mintSoft); }
a:hover { border-bottom-color: var(--mint); }

strong { font-weight: 600; color: #fff; }

code {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .875em;
  background: var(--raised2);
  padding: .1em .4em;
  border-radius: 4px;
}

.sub    { color: var(--ink2); }
.fecha  { color: var(--ink3); font-size: .875rem; margin-bottom: 2.5rem; }
.guia   { color: var(--ink2); font-size: 1.0625rem; margin-bottom: 2rem; }

/* ----------------------------------------------------------------- bloques */

.tarjeta {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin: 0 0 1.15rem;
}

.tarjeta > :last-child { margin-bottom: 0; }

.acento {
  border-left: 3px solid var(--mint);
  background: var(--raised);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.15rem;
}

.acento > :last-child { margin-bottom: 0; }

.aviso {
  border-left: 3px solid var(--amber);
  background: var(--raised);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.15rem;
}

.aviso > :last-child { margin-bottom: 0; }

.etiqueta {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: .5rem;
}

/* ------------------------------------------------------------------ tablas */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.15rem;
  font-size: .9375rem;
}

th, td {
  text-align: left;
  padding: .7rem .75rem;
  border-bottom: 1px solid var(--lineSoft);
  vertical-align: top;
}

th {
  font-weight: 600;
  color: var(--ink2);
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tabla-scroll { overflow-x: auto; margin-bottom: 1.15rem; }
.tabla-scroll table { margin-bottom: 0; }

/* --------------------------------------------------------------- pie */

.pie {
  margin-top: 4.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--lineSoft);
  color: var(--ink3);
  font-size: .875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.pie a { color: var(--ink2); border-bottom: none; }
.pie a:hover { color: var(--mint); }

/* --------------------------------------------------------------- portada */

.portada__titulo {
  font-size: clamp(2.25rem, 7vw, 3.25rem);
  margin-bottom: 1rem;
}

.portada__bajada {
  font-size: 1.1875rem;
  color: var(--ink2);
  max-width: 34rem;
  margin-bottom: 2.5rem;
}

.rasgos { display: grid; gap: .9rem; margin-bottom: 3rem; }

@media (min-width: 40rem) {
  .rasgos { grid-template-columns: repeat(2, 1fr); }
}

.rasgo__titulo { font-weight: 600; margin: 0 0 .3rem; }
.rasgo__texto  { color: var(--ink2); font-size: .9375rem; margin: 0; }
