.adm {
  --adm-nav: 232px;

  background: var(--bg);
  color: var(--ink);
}

.adm [id] { scroll-margin-top: calc(var(--hdr-alto) + var(--sp-3)); }

.adm .btn {
  padding: .6rem 1rem;
  border-radius: var(--r-sm);
  font-size: var(--step--1);
}

.adm .btn .adm__ico {
  width: 18px;
  height: 18px;
}

.adm__marco {
  display: grid;
  grid-template-columns: var(--adm-nav) minmax(0, 1fr);
  gap: var(--sp-4);
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  padding-block: var(--sp-5) var(--sp-6);
  align-items: start;
}

.adm__lateral {
  position: sticky;
  top: calc(var(--hdr-alto) + var(--sp-3));
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.adm__indice {
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.adm__indice-titulo {
  margin-bottom: var(--sp-2);
  padding-inline: .6rem;
  color: var(--brand);
  font-family: var(--f-display);
  font-size: var(--step--1);
  font-weight: 700;
}

.adm__indice ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: adm;
}

.adm__indice a {
  display: flex;
  gap: .5rem;
  padding: .5rem .6rem;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.adm__indice a::before {
  counter-increment: adm;
  content: counter(adm, decimal-leading-zero) ".";
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: .78em;
  padding-top: .15em;
}

.adm__indice a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.adm__indice a.esta-aqui {
  background: var(--brand-tint);
  color: var(--ink);
  font-weight: 600;
}

.adm__indice a.esta-aqui::before { color: var(--brand); }

.adm__aviso {
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-align: center;
}

.adm__aviso .adm__ico {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto var(--sp-2);
  color: var(--brand);
}

.adm__aviso b {
  display: block;
  margin-bottom: var(--sp-3);
  font-family: var(--f-display);
  font-size: var(--step-0);
  line-height: 1.3;
}

.adm__aviso .btn {
  white-space: normal;
  line-height: 1.25;
}

.adm__seccion { padding-block: 40px 0; }
.adm__seccion:first-child { padding-top: 0; }

.adm__titulo {
  margin-bottom: var(--sp-4);
  color: var(--brand);
  font-family: var(--f-display);
  font-size: var(--step-1);
  font-weight: 700;
}

.adm__ico {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adm__caja {
  padding: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.adm__hero-arte {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

.adm__hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr);
  gap: var(--sp-4);
  align-items: center;
  padding-block: 40px var(--sp-4);
}

.adm__hero .eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-3);
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--brand);
  color: var(--brand);
}

.adm__hero .eyebrow::before { content: none; }

.adm__hero h1 {
  margin-bottom: var(--sp-3);
  font-size: clamp(var(--step-2), 2.6vw, var(--step-3));
}

.adm__hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.adm__hero .lede {
  margin-bottom: var(--sp-4);
  font-size: var(--step-0);
}

.adm__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.adm__sellos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  padding: 0;
  list-style: none;
}

.adm__sellos li {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: .78rem;
  line-height: 1.3;
}

.adm__sellos .adm__ico {
  width: 18px;
  height: 18px;
  margin-top: .05rem;
  color: var(--brand);
}

.adm__tipos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  padding: 0;
  list-style: none;
}

.adm__tipos .adm__ico {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: var(--sp-3);
  color: var(--brand);
}

.adm__tipos h3 {
  margin-bottom: .4rem;
  font-size: var(--step-0);
}

.adm__tipos p {
  color: var(--ink-3);
  font-size: .8rem;
  line-height: 1.45;
}

.adm__banda {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: var(--sp-4) 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  list-style: none;
}

.adm__banda li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 .6rem;
  align-items: start;
  padding-inline: var(--sp-3);
}

.adm__banda li + li { border-left: 1px solid var(--line); }

.adm__banda .adm__ico {
  width: 34px;
  height: 34px;
  grid-row: 1 / span 2;
  color: var(--brand);
}

.adm__banda h3 {
  margin-bottom: .25rem;
  font-size: .88rem;
  line-height: 1.2;
}

.adm__banda p {
  color: var(--ink-3);
  font-size: .78rem;
  line-height: 1.4;
}
.adm__pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  padding: 0;
  list-style: none;
  counter-reset: paso;
  text-align: center;
}

.adm__paso { position: relative; }

.adm__paso::before {
  counter-increment: paso;
  content: counter(paso);
  display: grid;
  place-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto var(--sp-2);
  background: var(--brand);
  border-radius: var(--r-full);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
}

.adm__paso::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 26px);
  width: calc(100% - 52px);
  border-top: 1px dashed var(--brand-deep);
}

.adm__paso:last-child::after { content: none; }

.adm__paso h3 {
  margin-bottom: .4rem;
  font-size: var(--step-0);
}

.adm__paso p {
  color: var(--ink-3);
  font-size: var(--step--1);
  line-height: 1.45;
}

.adm__doble {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--sp-4);
  align-items: start;
}

.adm__tecnos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.adm__tecnos li {
  padding: var(--sp-3) .5rem;
}

.adm__tecnos img,
.adm__tecnos .adm__ico {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto var(--sp-2);
}

.adm__tecnos img { filter: brightness(0) invert(1); opacity: .85; }

.adm__tecnos .adm__ico { color: var(--brand); }

.adm__tecnos b {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--f-display);
  font-size: .88rem;
}

.adm__tecnos span {
  color: var(--ink-3);
  font-size: .74rem;
  line-height: 1.4;
}

.adm__seo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem var(--sp-3);
  padding: var(--sp-4) var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  list-style: none;
}

.adm__seo li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: .82rem;
  line-height: 1.4;
}

.adm__seo .adm__ico {
  width: 17px;
  height: 17px;
  margin-top: .15rem;
  color: var(--ok);
}

.adm__faq {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.adm__faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.adm__faq summary {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 18px;
  gap: .6rem;
  align-items: center;
  padding: var(--sp-3);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.adm__faq summary::-webkit-details-marker { display: none; }

.adm__faq summary .adm__ico {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

.adm__faq summary .adm__chevron {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
}

.adm__faq details[open] summary .adm__chevron { transform: rotate(180deg); }

.adm__faq p {
  padding: 0 var(--sp-3) var(--sp-3) calc(var(--sp-3) + 20px + .6rem);
  color: var(--ink-3);
  font-size: .8rem;
  line-height: 1.55;
}

.adm__cierre {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-4);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
}

.adm__cierre-texto { flex: 1 1 22rem; }

.adm__cierre h2 {
  margin-bottom: .35rem;
  font-size: 1.6rem;
}

.adm__cierre p {
  margin: 0;
  color: var(--ink-3);
  font-size: var(--step--1);
}

.adm__cierre-accion {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: flex-start;
}
@media (max-width: 1100px) {
  .adm__tipos { grid-template-columns: repeat(3, 1fr); }

  .adm__banda {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--sp-4);
  }

  .adm__banda li:nth-child(odd) { border-left: 0; }

  .adm__banda li:nth-child(even) { border-left: 1px solid var(--line); }
}

@media (max-width: 1023px) {
  .adm__marco {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-4);
  }

  .adm__lateral { display: none; }

  .adm__hero { grid-template-columns: minmax(0, 1fr); }

  .adm__pasos { grid-template-columns: repeat(2, 1fr); }

  .adm__paso::after { content: none; }

  .adm__doble { grid-template-columns: minmax(0, 1fr); }

}

@media (max-width: 767px) {
  .adm__hero { text-align: center; }

  .adm__hero h1 { font-size: 1.9rem; }

  .adm__hero .lede { font-size: 1rem; }

  .adm__acciones { justify-content: center; }

  .adm__sellos { display: none; }

  .adm__tipos { grid-template-columns: repeat(2, 1fr); }

  .adm__tipos li:last-child { display: none; }

  .adm__banda li { grid-template-columns: 44px minmax(0, 1fr); }

  .adm__banda .adm__ico { width: 44px; height: 44px; }

  .adm__pasos { grid-template-columns: minmax(0, 1fr); }
  .adm__seo { grid-template-columns: minmax(0, 1fr); }

  .adm__tecnos { grid-template-columns: repeat(2, 1fr); }

  .adm__cierre {
    justify-content: center;
    text-align: center;
  }

  .adm__cierre-accion { align-items: center; }
  .adm .btn {
    justify-content: center;
    text-align: center;
  }
}
