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

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

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

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

.com .btn .com__ico {
  width: 18px;
  height: 18px;
}

.com__marco {
  display: grid;
  grid-template-columns: var(--com-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;
}

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

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

.com__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;
}

.com__indice ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: com;
}

.com__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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.com__pasarelas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: var(--sp-4);
  padding: 0;
  list-style: none;
}

.com__pasarelas li {
  padding: .35rem .85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  color: var(--ink-2);
  font-size: .78rem;
}

.com__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.com__cifras {
  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;
}

.com__cifras 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);
}

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

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

.com__cifras b {
  display: block;
  margin-bottom: .25rem;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: var(--step-1);
  line-height: 1.2;
}

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

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

.com__incluye .com__ico {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto var(--sp-2);
  color: var(--brand);
}

.com__incluye h3 {
  margin-bottom: .4rem;
  font-size: .9rem;
  line-height: 1.25;
}

.com__incluye p {
  color: var(--ink-3);
  font-size: .78rem;
  line-height: 1.45;
}
.com__doble {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: var(--sp-4);
  align-items: start;
}

.com__lista {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: 0;
  list-style: none;
}

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

.com__lista .com__ico {
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  color: var(--brand);
}

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

.com__pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  padding: 0;
  list-style: none;
  counter-reset: paso;
  text-align: center;
}

.com__paso { position: relative; }

.com__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;
}

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

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

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

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

.com__planes-nota {
  max-width: none;
  margin: var(--sp-4) 0 0;
  color: var(--ink-3);
  font-size: var(--step--1);
  line-height: 1.5;
  text-align: center;
}

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

.com__fichas li {
  display: flex;
  gap: .5rem;
  align-items: center;
  padding: .7rem .8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: .8rem;
  line-height: 1.25;
}

.com__fichas .com__ico {
  width: 20px;
  height: 20px;
  color: var(--brand);
}

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

.com__voz { padding: var(--sp-5); }

.com__voz blockquote {
  display: flex;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
  color: var(--ink);
  font-size: var(--step-1);
  line-height: 1.5;
}

.com__voz .com__ico {
  width: 35px;
  height: 35px;
  color: var(--brand);
}

.com__firma b {
  display: block;
  font-family: var(--f-display);
  font-size: var(--step--1);
}

.com__firma span {
  color: var(--ink-3);
  font-size: var(--step--1);
}

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

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

.com__faq summary {
  display: flex;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: var(--step-0);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.com__faq summary .com__ico {
  width: 18px;
  height: 18px;
  color: var(--brand);
  transition: transform .2s ease;
}

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

.com__faq p {
  padding: 0 var(--sp-3) var(--sp-3);
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.6;
}

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

.com__cierre .com__ico {
  width: 80px;
  height: 80px;
  flex: none;
  align-self: flex-start;
  color: var(--brand);
}

.com__cierre-texto {
  flex: 1 1 18rem;
  min-width: 0;
}

.com__cierre h2 {
  margin-bottom: .35rem;
  font-size: 1.6rem;
  width: 90%;
}

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

@media (max-width: 1100px) {
  .com__cifras {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--sp-4);
  }

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

  .com__incluye { grid-template-columns: repeat(3, 1fr); }
}

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

  .com__lateral { display: none; }

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

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

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

  .com__paso::after { content: none; }
}

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

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

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

  .com__pasarelas,
  .com__acciones { justify-content: center; }

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

  .com__incluye li:nth-child(5),
  .com__incluye li:last-child { display: none; }
  .com__pasos,
  .com__voces { grid-template-columns: minmax(0, 1fr); }

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

  .com__cifras .com__ico { width: 44px; height: 44px; }

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

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

  .com__cierre h2 { width: auto; }

  .com .btn {
    justify-content: center;
    text-align: center;
  }
}
