@charset "UTF-8";
:root {
  --verde:#9ec23b;
  --verde-oscuro:#557017;
  --verde-suave:#eef4dd;
  --tinta:#232a1e;
  --gris:#6b7261;
  --gris-oscuro:#5f6655;
  --linea:#e3e7da;
  --fondo:#ffffff;
  --fondo-seccion:#f7f9f3;
  --ahrefs:#e8730a;
  --ahrefs-suave:#fdf1e4;
  --ahrefs-oscuro:#a04b04;
  --error: #db381f;
  --dorado: #ffd166;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--fondo);
  color: var(--tinta);
  font-family: "Barlow", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
body.sesion .chip-user {
  display: inline-flex;
}
body.sesion .btn-panel {
  display: inline-block;
}
body.sesion .salir-link {
  display: inline;
}
body.sesion nav a[href="login.html"]:not(.salir-link), body.sesion nav a.cta {
  display: block !important;
}

.ben {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 16px;
  padding: 20px;
}

.etiqueta-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--verde);
  color: #1c2410;
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.boton {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: var(--tinta);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.boton:hover {
  opacity: 0.9;
}

.boton:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 2px;
}

.franja-sub {
  font-size: 14px;
  color: var(--gris);
  margin-bottom: 20px;
  max-width: 70ch;
}

dialog.modal-tools {
  border: none;
  border-radius: 18px;
  padding: 0;
  width: min(760px, 92vw);
  max-height: 84vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog.modal-tools::backdrop {
  background: rgba(28, 36, 16, 0.55);
}

.modal-inner {
  padding: 26px 28px 22px;
  overflow-y: auto;
  max-height: 84vh;
}

.modal-cab {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 6px;
}

.modal-cab h4 {
  font-size: 19px;
  font-weight: 800;
}

.modal-cab .sub {
  font-size: 13px;
  color: var(--gris);
  margin-top: 2px;
}

.cerrar {
  background: var(--fondo-seccion);
  border: 1px solid var(--linea);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  color: var(--tinta);
  font-family: inherit;
  flex-shrink: 0;
}

.cerrar:hover {
  border-color: var(--verde);
}

.cerrar:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 2px;
}

.mod-seccion {
  margin-top: 18px;
}

.mod-seccion h5 {
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--verde);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  background: var(--fondo-seccion);
  border: 1px solid var(--linea);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
}

.chips span.destacado {
  background: var(--verde-suave);
  border-color: #cdddA0;
}

.chips span.suplemento {
  background: var(--ahrefs-suave);
  border-color: #f0d9bd;
  color: var(--ahrefs-oscuro);
}

.chips span.suplemento small {
  font-weight: 700;
  font-size: 10.5px;
  margin-left: 4px;
}

.mod-nota {
  font-size: 12.5px;
  color: var(--gris);
  margin-top: 18px;
}

.verificada {
  background: var(--verde-suave);
  color: #3a4d12;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
}

footer.pie {
  background: #2b2f26;
  color: #cdd3c4;
  margin-top: 72px;
  padding: 44px 24px 24px;
  z-index: 10 !important;
}

.pie-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}

.pie-desc {
  font-size: 13.5px;
  max-width: 36ch;
  color: #a9b09e;
}

.pie h6 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.pie ul {
  list-style: none;
}

.pie li {
  margin-bottom: 7px;
}

.pie a {
  color: #cdd3c4;
  text-decoration: none;
  font-size: 13.5px;
}

.pie a:hover {
  color: var(--verde);
}

.pie a:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: 2px;
}

.pie-legal {
  max-width: 1120px;
  margin: 32px auto 0;
  padding-top: 18px;
  border-top: 1px solid #3d4237;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #a9b09e;
}

.subir {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--verde);
  color: #1c2410;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(28, 36, 16, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.subir.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.subir:hover {
  background: var(--verde-oscuro);
  color: #fff;
}

.subir:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 3px;
}

dialog.modal {
  border: none;
  border-radius: 18px;
  padding: 0;
  width: min(820px, 92vw);
  max-height: 84vh;
}

dialog.modal::backdrop {
  background: rgba(28, 36, 16, 0.55);
}

.modal-cab {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--linea);
}

.modal-cab h4 {
  font-size: 17px;
  font-weight: 800;
}

.modal-cab .cerrar {
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 17px;
  cursor: pointer;
  font-family: inherit;
  color: var(--gris);
  line-height: 1;
}

.modal-cab .cerrar:hover {
  border-color: var(--verde);
  color: var(--tinta);
}

.modal-cuerpo {
  padding: 20px 24px 26px;
}

.modal-aviso {
  font-size: 12px;
  color: var(--gris);
  margin-bottom: 16px;
}

.cat {
  margin-bottom: 22px;
}

.cat h5 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.cat h5 span {
  color: var(--verde-oscuro);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 6px;
}

.tile {
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 16px 10px;
  text-align: center;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

/* ---------- Responsive tablet (768–1024px) ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-landing {
    padding: 46px 22px 26px;
  }
  .hero-landing h1 {
    font-size: 38px;
  }
  .hero-stats {
    gap: 18px 28px;
  }
  .hero-cols {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 38px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
  }
  .hero-cols .hero-txt .badge-fila {
    justify-content: flex-start;
  }
  .hero-cols h1 {
    margin: 0 0 14px;
  }
  .hero-cols .hero-sub {
    margin: 0 0 24px;
  }
  .hero-cols .hero-cta {
    justify-content: flex-start;
  }
  .hero-cols .hero-stats {
    justify-content: flex-start;
  }
  .hero-visual {
    position: relative;
  }
  .marco-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--linea);
    box-shadow: 0 18px 44px rgba(28, 36, 16, 0.16);
    background: var(--fondo-seccion);
  }
  .marco-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  .marco-img {
    container-type: inline-size;
  }
  .hero-visual .sello-herr {
    position: absolute;
    right: 3%;
    bottom: 0.8%;
    white-space: nowrap;
    line-height: 1;
    background: var(--verde);
    color: #1c2410;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(28, 36, 16, 0.2);
  }
  @supports (font-size: 1cqw) {
    .hero-visual .sello-herr {
      font-size: 2.3cqw;
      padding: 0.85cqw 2.4cqw;
      box-shadow: 0 0.5cqw 1.6cqw rgba(28, 36, 16, 0.2);
    }
  }
}
@media (min-width: 768px) and (max-width: 1024px) and (min-width: 768px) and (max-width: 1024px) {
  .hero-cols {
    gap: 24px;
    grid-template-columns: 1.2fr 0.8fr;
  }
}
@media (min-width: 768px) and (max-width: 1024px) and (max-width: 767px) {
  .hero-cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }
  .hero-cols .hero-cta,
  .hero-cols .hero-stats,
  .hero-cols .hero-txt .badge-fila {
    justify-content: center;
  }
  .hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .beneficios {
    padding: 38px 20px 6px;
  }
  .ben-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .seccion {
    padding: 48px 20px 60px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .card {
    padding: 22px 18px 20px;
  }
  .precio .cifra {
    font-size: 34px;
  }
  .confianza {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .val-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pasos {
    gap: 16px;
  }
  .faq {
    max-width: 720px;
  }
  dialog.modal-tools {
    width: min(680px, 90vw);
  }
}
/* ---------- Responsive móvil (misma página, adaptada) ---------- */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .topbar {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }
  .logo {
    font-size: 16px;
  }
  .topbar nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .topbar nav a {
    padding: 8px 14px;
    font-size: 13px;
  }
  .hero-landing {
    padding: 36px 16px 24px;
  }
  .hero-landing h1 {
    font-size: 29px;
  }
  .hero-sub {
    font-size: 14.5px;
    margin-bottom: 20px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin: 0 auto 22px;
    gap: 10px;
  }
  .btn-hero {
    text-align: center;
    padding: 14px 20px;
  }
  .hero-stats {
    gap: 14px 22px;
  }
  .hero-stats b {
    font-size: 17px;
  }
  .hero-cols {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 38px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
  }
  .hero-cols .hero-txt .badge-fila {
    justify-content: flex-start;
  }
  .hero-cols h1 {
    margin: 0 0 14px;
  }
  .hero-cols .hero-sub {
    margin: 0 0 24px;
  }
  .hero-cols .hero-cta {
    justify-content: flex-start;
  }
  .hero-cols .hero-stats {
    justify-content: flex-start;
  }
  .hero-visual {
    position: relative;
  }
  .marco-img {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--linea);
    box-shadow: 0 18px 44px rgba(28, 36, 16, 0.16);
    background: var(--fondo-seccion);
  }
  .marco-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  .marco-img {
    container-type: inline-size;
  }
  .hero-visual .sello-herr {
    position: absolute;
    right: 3%;
    bottom: 0.8%;
    white-space: nowrap;
    line-height: 1;
    background: var(--verde);
    color: #1c2410;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(28, 36, 16, 0.2);
  }
  @supports (font-size: 1cqw) {
    .hero-visual .sello-herr {
      font-size: 2.3cqw;
      padding: 0.85cqw 2.4cqw;
      box-shadow: 0 0.5cqw 1.6cqw rgba(28, 36, 16, 0.2);
    }
  }
}
@media (max-width: 640px) and (min-width: 768px) and (max-width: 1024px) {
  .hero-cols {
    gap: 24px;
    grid-template-columns: 1.2fr 0.8fr;
  }
}
@media (max-width: 640px) and (max-width: 767px) {
  .hero-cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }
  .hero-cols .hero-cta,
  .hero-cols .hero-stats,
  .hero-cols .hero-txt .badge-fila {
    justify-content: center;
  }
  .hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .beneficios {
    padding: 34px 16px 4px;
  }
  .beneficios h2 {
    font-size: 22px;
  }
  .seccion {
    padding: 40px 16px 54px;
  }
  h1 {
    font-size: 25px;
  }
  .plazas {
    font-size: 12.5px;
  }
  .ruta-registro {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 22px;
    max-width: 760px;
  }
  .ruta-registro .paso-r {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 700;
  }
  .ruta-registro .num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--verde);
    color: #1c2410;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
  }
  .ruta-registro .flecha {
    color: var(--gris);
    font-weight: 800;
  }
  @keyframes resalta {
    0% {
      box-shadow: 0 0 0 0 rgba(158, 194, 59, 0.55);
    }
    100% {
      box-shadow: 0 0 0 22px rgba(158, 194, 59, 0);
    }
  }
  .cards.resalta .card {
    animation: resalta 1.1s ease-out 2;
  }
}
@media (max-width: 640px) and (max-width: 640px) {
  .ruta-registro {
    gap: 6px;
  }
  .ruta-registro .paso-r {
    padding: 6px 11px;
    font-size: 12px;
  }
  .ruta-registro .flecha {
    display: none;
  }
}
@media (max-width: 640px) {
  .tabs {
    gap: 8px;
    row-gap: 18px;
    margin-bottom: 30px;
  }
  .tabs button {
    min-width: calc(50% - 8px);
    padding: 11px 6px 9px;
    font-size: 14px;
  }
  .card {
    padding: 20px 16px 18px;
  }
  .precio .cifra {
    font-size: 33px;
  }
  .addon {
    padding: 12px 13px;
  }
  .addon-fila {
    flex-wrap: wrap;
  }
  .addon-precio {
    font-size: 13px;
  }
  .total .importe {
    font-size: 18px;
  }
  .franja-ahrefs {
    padding: 20px 16px;
  }
  .pasos {
    gap: 14px;
  }
  .valoraciones {
    margin-top: 44px;
  }
  .faq {
    margin-top: 44px;
  }
  .faq summary {
    font-size: 14px;
    padding: 13px 14px;
  }
  .faq .resp {
    font-size: 13.5px;
  }
  .cta-final .cta-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
  }
  .cta-final .mascota-img {
    height: 190px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
  }
  .cta-final .cta-txt h2 {
    margin-bottom: 8px;
  }
}
@media (max-width: 640px) and (max-width: 640px) {
  .cta-final .cta-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cta-final .mascota-img {
    height: 140px;
  }
}
@media (max-width: 640px) {
  .cta-final {
    padding: 36px 18px;
    margin-top: 48px;
  }
  .modal-inner {
    padding: 20px 14px;
    max-height: 88vh;
  }
  dialog.modal-tools {
    max-height: 88vh;
    width: 94vw;
  }
  .subir {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  footer.pie {
    padding: 34px 18px 20px;
  }
}
#planes {
  scroll-margin-top: 16px;
}

#ckVistaIngresar {
  display: none;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear {
  display: none;
}

#ckResIngreso {
  display: none;
  text-align: center;
  color: #1c2410;
}

#ckResIngreso h4 {
  font-size: 19px;
  font-weight: 800;
  margin: 4px 0 6px;
}

@supports (width: 1cqw) {
  .marco-img {
    container-type: inline-size;
  }
  .hero-visual .sello-herr {
    font-size: 2.3cqw;
    padding: 0.85cqw 2.4cqw;
  }
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}
.topbar nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.topbar nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--tinta);
  padding: 11px 20px;
  border-radius: 999px;
}
.topbar a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tinta);
  padding: 8px 16px;
  border-radius: 999px;
}
.topbar a:hover {
  background: var(--verde-suave);
}
.topbar a.cta {
  background: var(--verde);
  color: #1c2410;
}
.topbar a.cta:hover {
  background: var(--verde-oscuro);
  color: #fff;
}

.pago-seguro .logo-pago {
  height: 20px;
  width: auto;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 5px;
  padding: 2px 6px;
  box-sizing: content-box;
}

.pie .logo {
  color: #fff;
  margin-bottom: 10px;
}
.pie .logo .top {
  color: var(--verde);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo img,
.logo svg {
  height: 46px;
  display: block;
}
.logo .top {
  color: var(--verde);
}
.logo a {
  padding: 0;
}

.cabecera {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--fondo);
  transition: box-shadow 0.2s ease;
  padding: 0 !important;
}
.cabecera.con-sombra {
  box-shadow: 0 1px 0 var(--linea), 0 8px 24px rgba(28, 36, 16, 0.06);
}

html {
  scroll-padding-top: var(--alto-cabecera, 90px);
}

.seccion {
  background: var(--fondo-seccion);
  padding: 56px 24px 72px;
}

.centro {
  max-width: 1120px;
  margin: 0 auto;
}

h1,
.titulo-seccion {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.intro {
  text-align: center;
  color: var(--gris);
  max-width: 82ch;
  margin: 0 auto 8px;
  font-size: 15.5px;
}

.plazas {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ahrefs-oscuro);
  margin-bottom: 22px;
}

.plazas b {
  background: var(--ahrefs-suave);
  border-radius: 6px;
  padding: 1px 7px;
}

.valor-real {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 4px;
}

.valor-real s {
  color: #a05252;
  font-weight: 700;
}

.dia {
  display: inline-block;
  background: var(--verde-suave);
  color: #3a4d12;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 6px;
}

.ruta-registro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 22px;
  max-width: 760px;
}

.ruta-registro .paso-r {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.ruta-registro .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--verde);
  color: #1c2410;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.ruta-registro .flecha {
  color: var(--gris);
  font-weight: 800;
}

.btn-hero {
  display: inline-block;
  background: var(--verde);
  color: #1c2410;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.btn-hero:hover {
  background: var(--verde-oscuro);
  color: #fff;
}

.btn-hero.secundario {
  background: #fff;
  border: 1.5px solid var(--linea);
  color: var(--tinta);
}

.btn-hero.secundario:hover {
  border-color: var(--ahrefs);
  color: var(--ahrefs-oscuro);
  background: var(--ahrefs-suave);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px 10px;
  flex-wrap: wrap;
  margin: 10px 0 38px;
}
.tabs button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  border: 1.5px solid var(--linea);
  background: #fff;
  color: var(--tinta);
  padding: 12px 22px 10px;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  min-width: 118px;
  line-height: 1.2;
}
.tabs button:hover {
  border-color: var(--verde);
}
.tabs button.activo {
  background: var(--verde);
  border-color: var(--verde-oscuro);
  color: #1c2410;
  box-shadow: 0 6px 16px rgba(110, 143, 34, 0.22);
}
.tabs button.activo .mejor {
  background: #3a4d12;
}
.tabs button.activo .ahorro {
  color: #3a4d12;
}
.tabs button:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 2px;
}
.tabs .mejor {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: var(--verde-oscuro);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(28, 36, 16, 0.2);
}
.tabs .ahorro {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--verde-oscuro);
  margin-top: 3px;
}

@media (max-width: 576px) {
  .tabs button {
    flex: 1;
  }
}
.cards.resalta .card {
  animation: resalta 1.1s ease-out 2;
}

.pago-seguro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.pago-seguro .logo-pago {
  height: 20px;
  width: 34px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 5px;
  padding: 2px 6px;
  box-sizing: content-box;
}

.pago-seguro small {
  font-size: 11px;
  color: var(--gris);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: 26px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 26px 26px 22px;
  position: relative;
}

.card.destacada {
  border: 2px solid var(--verde);
  box-shadow: 0 12px 32px rgba(110, 143, 34, 0.14);
}

.card h2 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 2px;
}

.card .para {
  font-size: 13.5px;
  color: var(--gris);
  margin-bottom: 14px;
}

.precio {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.precio .cifra {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.precio .periodo {
  font-size: 14px;
  color: var(--gris);
  font-weight: 600;
}

.precio .antes {
  margin-right: 0.35em;
  color: var(--gris);
  font-size: 0.6em;
  text-decoration: line-through;
}

.equivale {
  font-size: 13px;
  color: var(--verde-oscuro);
  font-weight: 700;
  min-height: 20px;
  margin-top: 2px;
}

.chip-creditos {
  display: none;
  margin-top: 10px;
  background: var(--verde-suave);
  color: #3a4d12;
  border: 1px solid #d6e3ad;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.chip-creditos.visible {
  display: block;
}

.lista {
  list-style: none;
  margin: 18px 0 4px;
  font-size: 14px;
}

.lista li {
  padding: 6px 0 6px 26px;
  position: relative;
  border-bottom: 1px solid var(--fondo-seccion);
}

.lista li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--verde-oscuro);
  font-weight: 800;
}

.lista li.mas {
  color: var(--gris);
}

.lista li.mas::before {
  content: "+";
  color: var(--gris);
}

.ver-todo {
  display: inline-block;
  margin: 4px 0 0;
  padding: 8px 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--verde-oscuro);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--linea);
  font-variant-numeric: tabular-nums;
}

.total .texto {
  font-size: 13.5px;
  color: var(--gris);
  font-weight: 600;
}

.total .importe {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total .extra {
  display: block;
  font-size: 11.5px;
  color: var(--gris);
  font-weight: 500;
  text-align: right;
}

.card.destacada .boton {
  background: var(--verde);
  color: #1c2410;
}

.garantia {
  text-align: center;
  font-size: 12px;
  color: var(--gris);
  margin-top: 9px;
}

.val-card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.val-card .estrellas i {
  width: 15px;
  height: 15px;
}

.val-card .titulo-op {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.val-card p {
  font-size: 13px;
  color: #3d4435;
  flex: 1;
}

.val-card .autor {
  font-size: 12.5px;
  color: var(--gris);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.val-card {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ancla-ahrefs {
  margin-top: 8px;
  font-size: 12px;
  color: #8a6a45;
}

.ancla-ahrefs s {
  color: #a05252;
  font-weight: 800;
}

.ancla-ahrefs b {
  color: var(--ahrefs-oscuro);
}

.addon {
  margin-top: 16px;
  border: 1.5px solid #f0d9bd;
  background: var(--ahrefs-suave);
  border-radius: 14px;
  padding: 14px 16px;
}

.addon.upsell {
  border-style: dashed;
}

.addon-cab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.addon-titulo {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ahrefs-oscuro);
}

.addon-sub {
  font-size: 12.5px;
  color: #8a6a45;
  margin-top: 1px;
}

.addon-precio {
  font-size: 14px;
  font-weight: 800;
  color: var(--ahrefs-oscuro);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.addon-info {
  flex: 1;
  min-width: 0;
}

.addon[hidden],
.ck-sup[hidden] {
  display: none;
}

.interruptor {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #e9c69a;
  background: #fff;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.interruptor .bola {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #cf9a5c;
  transition: transform 0.15s ease, background 0.15s ease;
}

.interruptor[aria-checked=true] {
  background: var(--ahrefs);
  border-color: var(--ahrefs);
}

.interruptor[aria-checked=true] .bola {
  transform: translateX(22px);
  background: #fff;
}

.interruptor:focus-visible {
  outline: 2px solid var(--ahrefs);
  outline-offset: 2px;
}

.addon-fila {
  display: flex;
  align-items: center;
  gap: 12px;
}

.addon-periodos {
  display: none;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.addon-periodos.visible {
  display: flex;
}

.addon-periodos button {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid #e9c69a;
  background: #fff;
  color: var(--ahrefs-oscuro);
  padding: 5px 11px;
  cursor: pointer;
}

.addon-periodos button.activo {
  background: var(--ahrefs);
  border-color: var(--ahrefs);
  color: #fff;
}

.addon-nota {
  font-size: 11.5px;
  color: #8a6a45;
  margin-top: 8px;
}

.addon-periodos .sup-ah {
  font-style: normal;
  font-weight: 800;
  font-size: 10px;
  color: #2e7d32;
  margin-left: 5px;
}

.addon-periodos button.activo .sup-ah {
  color: #ffe9d2;
}

.novedad {
  display: flex;
  justify-content: center;
  margin: 14px 0 12px;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.novedad span {
  background: var(--ahrefs-suave);
  color: var(--ahrefs-oscuro);
  border: 1px solid #f3d4b2;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.novedad .sello-tp {
  background: #fff;
  border: 1px solid var(--linea);
  color: var(--tinta);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.novedad .sello-tp i {
  width: 14px;
  height: 14px;
  background: #00b67a;
  display: inline-block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

dialog.checkout {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(920px, 94vw);
  max-height: 95vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  overflow: hidden;
}

dialog.checkout::backdrop {
  background: rgba(28, 36, 16, 0.6);
}

dialog.checkout [hidden] {
  display: none !important;
}

.ck-cupon-msg {
  display: none;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 6px;
}

.ck-cupon-msg.ok {
  display: block;
  color: var(--verde-oscuro);
}

.ck-cupon-msg.mal {
  display: block;
  color: #b04a3a;
}

.ck-periodos .ck-ahorro {
  display: inline-block;
  background: #fff;
  color: #3a4d12;
  border: 1px solid rgba(28, 36, 16, 0.12);
  border-radius: 999px;
  padding: 1.5px 8px;
  font-size: 10px;
  font-weight: 800;
  margin-top: 3px;
  margin-left: 7px;
}

.ck-periodos button.on .ck-ahorro {
  background: var(--verde-suave);
  border-color: #cdddA0;
}

.ck-periodos .ck-ahorro.destacado,
.ck-periodos button.on .ck-ahorro.destacado {
  background: #1c2410;
  color: #fff;
  border-color: #1c2410;
}

.ck-periodos .ck-nota-per {
  display: block;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.7;
  margin-top: 2px;
}

.ck-sup-periodos .ck-ahorro-sup {
  display: inline-block;
  margin-left: 6px;
  font-size: 9.5px;
  font-weight: 800;
  color: #2e7d32;
}

.ck-sup-periodos button.on .ck-ahorro-sup {
  color: #1c2410;
}

.ck-total .fila-t.desc span:last-child {
  color: #3a4d12;
  font-weight: 800;
}

.ck-tabs {
  display: flex;
  background: var(--fondo-seccion);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 16px;
}

.ck-tabs button {
  flex: 1;
  background: none;
  border: none;
  border-radius: 999px;
  padding: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  color: var(--gris);
  cursor: pointer;
}

.ck-tabs button.on {
  background: var(--verde);
  color: #1c2410;
}

.ck-tabs button:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 2px;
}

.ck-campo-pass {
  position: relative;
}

.ck-form .ck-campo-pass input[type=password],
.ck-form .ck-campo-pass input[type=text] {
  padding-right: 80px;
}

.ck-campo-pass .ver-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--verde-oscuro);
  font-family: inherit;
  padding: 6px;
}

.ck-fila-login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}

.ck-fila-login .recordar-ck {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gris);
  font-weight: 600;
}

.ck-fila-login .recordar-ck input {
  accent-color: var(--verde);
  width: 15px;
  height: 15px;
}

.ck-fila-login a {
  color: var(--verde-oscuro);
  font-weight: 700;
  text-decoration: none;
}

.ck-fila-login a:hover {
  text-decoration: underline;
}

#ckResIngreso .ck-bienv-sub {
  font-size: 13.5px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.ck-bienv-lista {
  list-style: none;
  margin: 0 auto 18px;
  font-size: 13.5px;
  text-align: left;
  max-width: 280px;
}

.ck-bienv-lista li {
  padding: 5px 0 5px 26px;
  position: relative;
}

.ck-bienv-lista li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  font-weight: 800;
  color: #fff;
  background: #1c2410;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 7px;
}

.ck-bienv-caja {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
}

.ck-bienv-caja b {
  display: block;
  margin-bottom: 8px;
}

.ck-bienv-caja button {
  background: #1c2410;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.ck-bienv-caja button:hover {
  background: #3a4d12;
}

.ck-nota-dev {
  margin-top: 14px;
  border: 1.5px dashed var(--linea);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--gris);
}

.ck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 95vh;
  min-height: 0;
}
.ck-grid > .ck-form, .ck-grid > .ck-resumen {
  max-height: 92vh;
  min-height: 0;
}

.ck-form {
  padding: 26px 26px 22px;
  overflow-y: auto;
}

.ck-resumen {
  background: var(--verde);
  padding: 22px 24px 30px;
  overflow-y: auto;
  position: relative;
}

.ck-grid > .ck-resumen,
.ck-grid > .ck-form {
  max-height: none;
  overflow: visible;
}

.ck-cerrar {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  color: #1c2410;
}

.ck-cerrar:hover {
  background: #fff;
}

.ck-cerrar:focus-visible {
  outline: 2px solid #1c2410;
  outline-offset: 2px;
}

.ck-form h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
}

.ck-form .ck-sub {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 14px;
}

.ck-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 11px 0 4px;
}

.ck-form input[type=text],
.ck-form input[type=email],
.ck-form input[type=password] {
  width: 100%;
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 12px 12px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--fondo-seccion);
}

.ck-form input:focus {
  outline: 2px solid var(--verde);
  border-color: var(--verde);
}

.ck-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ck-cupon {
  display: flex;
  gap: 8px;
}

.ck-cupon input {
  flex: 1;
}

.ck-cupon button {
  background: var(--verde-suave);
  border: 1px solid #cdddA0;
  color: #3a4d12;
  border-radius: 10px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.ck-cupon button:hover {
  background: var(--verde);
  color: #1c2410;
}

.ck-terminos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--gris);
}

.ck-terminos input {
  accent-color: var(--verde);
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ck-terminos a {
  color: var(--verde-oscuro);
  font-weight: 700;
}

.ck-pagar {
  display: block;
  width: 100%;
  margin-top: 18px;
  background: linear-gradient(180deg, #a9cd48, #8fb232);
  color: #1c2410;
  border: 1px solid #7ea32c;
  border-radius: 13px;
  padding: 17px;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(110, 143, 34, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ck-pagar:hover {
  background: var(--verde-oscuro);
  color: #fff;
  border-color: var(--verde-oscuro);
  transform: translateY(-1px);
  box-shadow: 0 9px 26px rgba(110, 143, 34, 0.5);
}

.ck-pagar:active {
  transform: translateY(0);
}

.ck-pagar:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 2px;
}

.ck-ssl {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--gris);
}

.ck-ssl svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.ck-ok {
  display: none;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--verde-oscuro);
}

.ck-login {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--linea);
  font-size: 13px;
  color: var(--gris);
  text-align: center;
}

.ck-login a {
  color: var(--verde-oscuro);
  font-weight: 800;
}

.ck-resumen h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1c2410;
  margin-bottom: 10px;
}

.ck-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ck-selector button {
  flex: 1;
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(28, 36, 16, 0.15);
  color: #1c2410;
  border-radius: 10px;
  padding: 9px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ck-periodos {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ck-periodos button {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(28, 36, 16, 0.15);
  color: #1c2410;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.ck-periodos button.on {
  background: #fff;
  border-color: #fff;
}

.ck-precio {
  font-size: 38px;
  font-weight: 800;
  color: #1c2410;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 11px;
}

.ck-precio small {
  font-size: 15px;
  font-weight: 700;
}

.ck-upsell {
  font-size: 13px;
  font-weight: 700;
  color: #1c2410;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 6px 11px;
  margin: 0 0 10px;
  display: inline-block;
}

.ck-lista {
  list-style: none;
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #1c2410;
}

.ck-lista li {
  padding: 4px 0 4px 26px;
  position: relative;
}

.ck-lista li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  font-weight: 800;
  color: #fff;
  background: #1c2410;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 7px;
}

.ck-sup {
  background: var(--ahrefs-suave);
  border: 1.5px solid #f0d9bd;
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 11px;
}

.ck-sup-cab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ck-sup-tit {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ahrefs-oscuro);
}

.ck-sup-precio {
  font-size: 13px;
  font-weight: 800;
  color: var(--ahrefs-oscuro);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ck-sup .interruptor {
  width: 46px;
  height: 26px;
}

.ck-sup .interruptor .bola {
  width: 20px;
  height: 20px;
}

.ck-sup .interruptor[aria-checked=true] .bola {
  transform: translateX(19px);
}

.ck-sup-periodos {
  display: none;
  gap: 5px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.ck-sup-periodos.vis {
  display: flex;
}

.ck-sup-periodos button {
  background: #fff;
  border: 1px solid #e9c69a;
  color: var(--ahrefs-oscuro);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.ck-sup-periodos button.on {
  background: var(--ahrefs);
  border-color: var(--ahrefs);
  color: #1c2410;
}

.ck-sup-nota {
  font-size: 11px;
  color: #8a6a45;
  margin-top: 8px;
}

.ck-total {
  border-top: 2px solid rgba(28, 36, 16, 0.25);
  padding-top: 12px;
  color: #1c2410;
}

.ck-total .fila-t {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 2px 0;
  font-variant-numeric: tabular-nums;
}

.ck-total .fila-t.grande {
  font-size: 17px;
  font-weight: 800;
  padding-top: 6px;
}

.ck-total .recurrencia {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.85;
}

.ck-creditos {
  display: none;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1c2410;
  margin-bottom: 12px;
}

.ck-creditos.vis {
  display: block;
}

.ck-creditos {
  margin-bottom: 10px;
}

.ck-paso-tarjeta .ck-selector,
.ck-paso-tarjeta .ck-periodos,
.ck-paso-tarjeta .ck-sup {
  opacity: 0.6;
  pointer-events: none;
}

.ck-tarjeta[hidden],
.ck-volver[hidden] {
  display: none;
}

#ckTarjeta button:not(.ck-volver) {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: var(--tinta);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
#ckTarjeta button:not(.ck-volver):not(:disabled):hover {
  opacity: 0.9;
}
#ckTarjeta button:not(.ck-volver):focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: 2px;
}
#ckTarjeta .ck-volver {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: 0;
  padding: 6px 8px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gris-oscuro);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#ckTarjeta .ck-volver:hover {
  color: var(--tinta);
}
#ckTarjeta .ck-pago-msg.mal {
  color: var(--error);
}
#ckTarjeta #ckFlex .flex-capture h2,
#ckTarjeta #ckFlex .flex-capture pre {
  display: none;
}
#ckTarjeta #ckFlex .flex-capture .field {
  position: relative;
}
#ckTarjeta #ckFlex .flex-capture .field.field-v_pan span.marca, #ckTarjeta #ckFlex .flex-capture .field.field-v_expirydate span.marca, #ckTarjeta #ckFlex .flex-capture .field.field-v_cvv2 span.marca {
  position: absolute;
  right: 15px;
  top: 35px;
}
#ckTarjeta #ckFlex .flex-capture .field.field-v_pan small.error-message, #ckTarjeta #ckFlex .flex-capture .field.field-v_expirydate small.error-message, #ckTarjeta #ckFlex .flex-capture .field.field-v_cvv2 small.error-message {
  color: red;
  font-size: 13px;
  opacity: 0.6;
}
#ckTarjeta #ckFlex .flex-capture button[type=button] {
  background: var(--verde);
  color: #1c2410;
}
#ckTarjeta #ckFlex .flex-capture button[type=button]:disabled {
  opacity: 0.8;
}
#ckTarjeta #ckFlex.ck-flex-cargando .submit button {
  pointer-events: none;
  cursor: progress;
}
#ckTarjeta #ckFlex.ck-flex-cargando .submit button::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(28, 36, 16, 0.25);
  border-top-color: #1c2410;
  border-radius: 50%;
  animation: ckGirar 0.7s linear infinite;
}

/* ===== Checkout escritorio: resumen compacto (cabe sin scroll) + total fijo abajo ===== */
@media (min-width: 761px) {
  dialog.checkout {
    max-height: calc(100vh - 24px);
  }
  .ck-grid {
    grid-template-columns: 0.94fr 1.06fr;
    max-height: calc(100vh - 24px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(28, 36, 16, 0.45) transparent;
  }
  .ck-grid > .ck-form, .ck-grid > .ck-resumen {
    max-height: none;
    overflow: visible;
  }
  .ck-grid > .ck-form {
    min-width: 460px;
  }
  .ck-form {
    padding: 18px 22px 16px;
  }
  .ck-form h3 {
    font-size: 19px;
  }
  .ck-form .ck-sub {
    margin-bottom: 10px;
  }
  .ck-form label {
    margin: 9px 0 4px;
  }
  .ck-form input[type=text],
  .ck-form input[type=email],
  .ck-form input[type=password] {
    padding: 10px 12px;
  }
  .ck-tabs {
    margin-bottom: 12px;
  }
  .ck-tabs button {
    padding: 8px;
  }
  .ck-terminos {
    margin-top: 11px;
  }
  .ck-pagar {
    margin-top: 14px;
    padding: 15px;
  }
  .ck-ssl {
    margin-top: 9px;
  }
  .ck-login {
    margin-top: 10px;
    padding-top: 9px;
  }
  .ck-nota-dev {
    margin-top: 10px;
    padding: 7px 10px;
    font-size: 10.5px;
  }
  .ck-resumen {
    padding: 16px 20px 0;
  }
  .ck-resumen h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .ck-resumen .ck-cerrar {
    position: sticky;
    top: 0;
    float: right;
    margin: -4px -6px 0 0;
    z-index: 3;
  }
  .ck-selector {
    margin-bottom: 6px;
  }
  .ck-selector button {
    padding: 7px;
    font-size: 13.5px;
  }
  .ck-periodos {
    gap: 5px;
    margin-bottom: 9px;
  }
  .ck-periodos button {
    padding: 4px 9px;
    font-size: 11.5px;
  }
  .ck-periodos .ck-ahorro {
    font-size: 9.5px;
    padding: 1px 7px;
    margin-top: 2px;
  }
  .ck-precio {
    font-size: 30px;
    margin-bottom: 7px;
  }
  .ck-upsell {
    padding: 5px 10px;
    margin: 0 0 7px;
    font-size: 12.5px;
  }
  .ck-creditos {
    padding: 5px 10px;
    margin-bottom: 7px;
    font-size: 12px;
  }
  .ck-lista {
    margin: 0 0 7px;
    font-size: 13px;
  }
  .ck-lista li {
    padding: 2px 0 2px 24px;
  }
  .ck-lista li::before {
    top: 4px;
    width: 15px;
    height: 15px;
    font-size: 10px;
  }
  .ck-sup {
    padding: 9px 12px;
    margin-bottom: 8px;
  }
  .ck-sup-tit {
    font-size: 13px;
  }
  .ck-sup-periodos {
    margin-top: 6px;
  }
  .ck-sup-periodos button {
    padding: 3px 9px;
    font-size: 11px;
  }
  .ck-sup-nota {
    margin-top: 5px;
    font-size: 10.5px;
  }
  .ck-total {
    position: sticky;
    bottom: 0;
    background: var(--verde);
    padding: 8px 0 14px;
    z-index: 1;
  }
  .ck-total .fila-t {
    padding: 1px 0;
    font-size: 13px;
  }
  .ck-total .fila-t.grande {
    font-size: 16px;
    padding-top: 4px;
  }
  .ck-total .recurrencia {
    margin-top: 4px;
    font-size: 11.5px;
  }
}
.ck-resumen h3 {
  margin-bottom: 2px;
}

.ck-guia {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(28, 36, 16, 0.8);
}

.ck-paso {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(28, 36, 16, 0.75);
}

.ck-paso-n {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1c2410;
  color: #fff;
  font-size: 9.5px;
  letter-spacing: 0;
}

.ck-radio {
  flex: none;
  box-sizing: border-box;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(28, 36, 16, 0.4);
  border-radius: 50%;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.ck-periodos button, .ck-selector button {
  border: 1.5px solid rgba(28, 36, 16, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  color: #1c2410;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.ck-periodos button:hover, .ck-selector button:hover {
  border-color: rgba(28, 36, 16, 0.5);
  background: rgba(255, 255, 255, 0.7);
}
.ck-periodos button.on, .ck-selector button.on {
  border-color: #1c2410;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 36, 16, 0.14);
}
.ck-periodos button.on .ck-radio, .ck-selector button.on .ck-radio {
  border-color: #1c2410;
  background: #1c2410;
  box-shadow: inset 0 0 0 3px #fff;
}

.ck-selector {
  gap: 6px;
  margin-bottom: 10px;
}
.ck-selector button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 800;
}

.ck-periodos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.ck-periodos button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 5px;
  min-height: 36px;
  padding: 7px 9px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
}
.ck-periodos button:nth-child(5) {
  grid-column: 1/-1;
}
.ck-periodos .ck-pr {
  margin-left: auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ck-periodos .ck-ahorro {
  margin: 0;
  padding: 1.5px 6px;
}
.ck-periodos s.ck-tach {
  margin-left: 0;
}

@keyframes ckPulso {
  0% {
    background: rgba(255, 255, 255, 0.95);
  }
  100% {
    background: transparent;
  }
}
@keyframes ckGirar {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  #ckFlex.ck-flex-cargando .submit button::before {
    animation-duration: 1.8s;
  }
}
.ck-precio.pulso,
.ck-total .fila-t.grande.pulso {
  border-radius: 8px;
  animation: ckPulso 0.7s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .ck-precio.pulso,
  .ck-total .fila-t.grande.pulso {
    animation: none;
  }
}
@media (min-width: 761px) {
  .ck-guia {
    margin-bottom: 8px;
  }
  .ck-selector button {
    padding: 7px 9px;
    font-size: 13px;
  }
  .ck-periodos button {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 12px;
  }
  .ck-resumen .ck-cerrar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 36, 16, 0.18);
  }
}
@media (max-width: 760px) {
  .ck-periodos {
    grid-template-columns: 1fr;
  }
  .ck-periodos button {
    min-height: 40px;
    padding: 8px 10px;
  }
  .ck-selector button {
    gap: 6px;
    padding: 8px 6px;
    font-size: 12.5px;
  }
  .ck-resumen h3,
  .ck-guia {
    padding-right: 46px;
  }
  .ck-sup-periodos button {
    min-height: 34px;
    padding: 6px 11px;
  }
  .ck-terminos input {
    width: 20px;
    height: 20px;
  }
}
body.sesion .ck-tabs,
body.sesion .ck-login,
body.sesion .solo-invitado {
  display: none;
}
body.sesion .como-user {
  display: block;
}

body:not(.sesion) .como-user {
  display: none;
}

.como-user {
  background: var(--verde-suave);
  border: 1px solid #cdddA0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 4px;
}
.como-user .ck-plan-activo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #b9cc86;
}
.como-user .ck-plan-activo[hidden] {
  display: none;
}
.como-user .ck-plan-activo svg {
  flex: 0 0 18px;
  margin-top: 2px;
  color: #557017;
}
.como-user .ck-plan-activo p {
  width: auto;
  margin: 0;
  color: #232a1e;
  font-size: 13px;
  line-height: 1.5;
  text-wrap: pretty;
}
.como-user .ck-plan-activo p[hidden] {
  display: none;
}
.como-user .ck-plan-activo .ck-plan-tit {
  margin-bottom: 2px;
  font-size: 13.5px;
  font-weight: 800;
}
.como-user .ck-plan-activo .ck-plan-linea {
  color: #5f6655;
}
.como-user .ck-plan-activo .ck-plan-cambio {
  margin-top: 6px;
  color: #3a4d12;
  font-weight: 500;
}
.como-user .ck-plan-activo .ck-plan-cambio b {
  font-weight: 700;
}

.ck-precio .ck-precio-bf, .ck-bf-insignia, body.bf .tabs button[data-bf]::before, .bf-etq, .bf-sello {
  background: #111;
  color: #ffd166;
  border-radius: 999px;
  font-weight: 800;
}

.bf-barra {
  display: none;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.bf-barra b {
  color: #ffd166;
}
.bf-barra .cd {
  display: inline-flex;
  gap: 6px;
  margin-left: 12px;
  font-variant-numeric: tabular-nums;
}
.bf-barra .cd > span {
  display: inline-block;
  min-width: 34px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #2a2a2a;
  font-weight: 800;
}
.bf-barra .cd small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.7;
}

.bf-sello {
  display: none;
  padding: 7px 16px;
  font-size: 13.5px;
  letter-spacing: 0.3px;
}

.bf-etq {
  display: none;
  padding: 3px 10px;
  font-size: 12px;
  vertical-align: middle;
}

.bf-mini {
  margin-left: 3px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #111;
  color: #ffd166;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.addon-periodos .sup-ah.bf-mini,
.addon-periodos button.activo .sup-ah.bf-mini,
.ck-sup-periodos .ck-ahorro-sup.bf-mini,
.ck-sup-periodos button.on .ck-ahorro-sup.bf-mini {
  background: #111;
  color: #ffd166;
}

.bf-codigo {
  display: none;
  max-width: 560px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.bf-codigo code {
  margin: 0 6px;
  padding: 4px 12px;
  border-radius: 8px;
  background: #ffd166;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.bf-plazas {
  display: none;
  max-width: 560px;
  margin: -8px auto 18px;
  padding: 14px 18px;
  border: 1.5px solid #111;
  border-radius: 14px;
  background: #fff;
}
.bf-plazas .fila {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}
.bf-plazas .fila span:last-child {
  color: #111;
  font-variant-numeric: tabular-nums;
}
.bf-plazas .barra-p {
  height: 10px;
  margin: 8px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #f0f0ec;
}
.bf-plazas .barra-p i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #111, #444);
  transition: width 0.6s ease;
}
.bf-plazas p {
  margin: 0;
  color: #3d4435;
  font-size: 13px;
  line-height: 1.5;
}
.bf-plazas p + p {
  margin-top: 6px;
}
.bf-plazas p b {
  color: #111;
  font-weight: 700;
}

.bf-plazas.bf-panel {
  max-width: 760px;
}
.bf-plazas.bf-panel .bf-ventajas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.bf-plazas.bf-panel .bf-ventajas li {
  position: relative;
  padding-left: 23px;
  color: #232a1e;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}
.bf-plazas.bf-panel .bf-ventajas li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #111 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 5 8.6 9.4 3.6' fill='none' stroke='%23ffd166' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}
.bf-plazas.bf-panel .bf-tu-plan {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #cddda0;
  border-radius: 10px;
  background: #eef4dd;
}
.bf-plazas.bf-panel .bf-tu-plan svg {
  flex: 0 0 18px;
  margin-top: 2px;
  color: #557017;
}
.bf-plazas.bf-panel .bf-tu-plan p {
  color: #232a1e;
  font-size: 13.5px;
  line-height: 1.5;
}
.bf-plazas.bf-panel .bf-tu-plan .bf-tu-tit {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 800;
}
.bf-plazas.bf-panel .bf-tu-plan .bf-tu-linea {
  margin-top: 0;
  color: #5f6655;
  font-size: 13px;
}
.bf-plazas.bf-panel .bf-tu-plan .bf-tu-cambio {
  margin-top: 6px;
  color: #3a4d12;
  font-weight: 500;
}
.bf-plazas.bf-panel .bf-tu-plan .bf-tu-cambio b {
  font-weight: 700;
}
.bf-plazas.bf-panel .bf-letra {
  margin-top: 10px;
  color: #5f6655;
  font-size: 12.5px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .bf-plazas.bf-panel .bf-ventajas {
    grid-template-columns: 1fr;
  }
}
body.bf .bf-barra,
body.bf .bf-codigo,
body.bf .bf-plazas {
  display: block;
}
body.bf .bf-barra {
  position: sticky;
  top: 0;
  z-index: 41;
}
body.bf .bf-sello,
body.bf .bf-etq.vis {
  display: inline-block;
}
body.bf .solo-sin-bf {
  display: none;
}
body.bf .tabs {
  margin-top: 28px;
}
body.bf .tabs button {
  position: relative;
}
body.bf .tabs button[data-bf]::before {
  content: attr(data-bf);
  position: absolute;
  top: -11px;
  left: 50%;
  padding: 2px 10px;
  font-size: 11px;
  white-space: nowrap;
  transform: translateX(-50%);
}
body.bf .tabs button[data-per=a] .mejor, body.bf .tabs button[data-per=s] .ahorro {
  display: none;
}
body.bf .addon-fila {
  flex-wrap: wrap;
}
body.bf .addon-precio {
  flex-basis: 100%;
  order: 3;
  margin-top: 6px;
  font-size: 15px;
  white-space: normal;
}
body.bf .addon-precio s {
  font-size: 13px;
}
body.bf .addon-precio .bf-mini {
  font-size: 11px;
  vertical-align: middle;
}
body.bf dialog.checkout {
  width: min(940px, 94vw);
}

.ck-bf-aplicado {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #cddda0;
  background: var(--verde-suave);
  color: #1c2410;
}
.ck-bf-aplicado b {
  display: block;
  font-size: 13.5px;
}
.ck-bf-aplicado code {
  padding: 1px 7px;
  border-radius: 6px;
  background: #ffd166;
  color: #111;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.ck-bf-aplicado small {
  display: block;
  margin-top: 2px;
  color: #3a4d12;
  font-size: 12px;
}

.ck-bf-izq {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ck-bf-check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1c2410;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ck-bf-otro,
.ck-bf-volver {
  padding: 4px 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

.ck-bf-otro {
  color: var(--verde-oscuro);
}
.ck-bf-otro:hover {
  color: #1c2410;
}

.ck-bf-volver {
  margin-top: 6px;
  color: #111;
}

body.bf.bf-desc .ck-bf-aplicado {
  display: flex;
}
body.bf.bf-desc #ckCuponWrap {
  display: none;
}
body.bf.bf-desc.bf-otro #ckCuponWrap {
  display: block;
}

.ck-bf-insignia {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: -2px 0 10px;
  padding: 5px 12px;
  font-size: 12px;
}
.ck-bf-insignia.suave {
  border: 1.5px dashed rgba(17, 17, 17, 0.5);
  background: rgba(17, 17, 17, 0.06);
  color: #111;
  line-height: 1.3;
  white-space: normal;
}

.ck-precio .ck-precio-lista {
  margin-right: 6px;
  color: rgba(28, 36, 16, 0.75);
  font-size: 17px;
  font-weight: 700;
  text-decoration: line-through;
}
.ck-precio .ck-precio-bf {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.2px;
  line-height: 1.2;
  vertical-align: middle;
}

.ck-periodos s.ck-tach {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.75;
  display: none;
}
.ck-periodos .ck-ahorro {
  padding: 2px 7px;
  font-size: 10.5px;
}
.ck-periodos .ck-ahorro.ck-ahorro-bf,
.ck-periodos button.on .ck-ahorro.ck-ahorro-bf {
  border-color: #111;
  background: #111;
  color: #ffd166;
}
.ck-periodos button[data-k=a] .ck-ahorro.ck-ahorro-bf {
  border-color: #111;
  background: #111;
  color: #ffd166;
}
.ck-periodos .ck-ahorro.ck-cupo,
.ck-periodos button.on .ck-ahorro.ck-cupo {
  border-color: rgba(17, 17, 17, 0.18);
  background: #fff;
  color: #111;
  margin-left: 5px;
}

.ck-upsell.bf {
  display: block;
  background: #111;
  color: #fff;
  line-height: 1.45;
  white-space: normal;
}
.ck-upsell.bf b {
  color: #ffd166;
}

.ck-upsell-ir {
  margin-left: 8px;
  padding: 3px 10px;
  border: none;
  border-radius: 999px;
  background: #ffd166;
  color: #111;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: middle;
  cursor: pointer;
}
.ck-upsell-ir:hover, .ck-upsell-ir:focus-visible {
  background: #fff;
}

.ck-total .fila-t.bf span:last-child {
  color: #1c2410;
  font-weight: 800;
}
.ck-total .fila-t.bf span:first-child b {
  margin-left: 5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: #111;
  color: #ffd166;
  font-size: 11px;
  display: none;
}
.ck-total .recurrencia {
  opacity: 1;
}

@media (max-width: 760px) {
  .ck-periodos .ck-ahorro {
    font-size: 11px;
  }
  .ck-upsell-ir {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 8px 0 0;
    font-size: 13.5px;
  }
}
@media (max-width: 640px) {
  .bf-barra {
    padding: 6px 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .bf-barra .bf-largo {
    display: none;
  }
  .bf-barra .cd {
    gap: 3px;
    margin-left: 6px;
    vertical-align: middle;
  }
  .bf-barra .cd > span {
    min-width: 0;
    padding: 1px 5px;
    font-size: 11.5px;
    line-height: 1.15;
  }
  .bf-barra .cd small {
    font-size: 7.5px;
  }
  body.bf .addon-precio {
    font-size: 14px;
  }
  .ck-bf-aplicado {
    flex-direction: column;
    align-items: flex-start;
  }
  .ck-bf-otro {
    padding: 8px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-plazas .barra-p i {
    transition: none;
  }
}
/* ===== Vista con sesión iniciada (previsualización de diseño) ===== */
.chip-user {
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 14px;
  color: var(--tinta);
}

.chip-user .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--verde);
  color: #1c2410;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
}
.chip-user .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-panel {
  background: var(--verde);
  color: #1c2410 !important;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}

.btn-panel:hover {
  background: var(--verde-oscuro);
  color: #fff !important;
}

.salir-link {
  color: var(--gris) !important;
  font-size: 13px;
  font-weight: 700;
}

.topbar a.btn-panel {
  background: var(--verde);
  color: #1c2410 !important;
}

.topbar a.btn-panel:hover {
  background: var(--verde-oscuro) !important;
  color: #fff !important;
}

.topbar a.salir-link:hover {
  background: none !important;
  color: var(--tinta) !important;
  text-decoration: underline;
}

.como-user {
  background: var(--verde-suave);
  border: 1px solid #cdddA0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.hero-landing {
  background: linear-gradient(180deg, var(--fondo-seccion) 0%, #fff 100%);
  padding: 54px 24px 30px;
  text-align: center;
}

.hero-landing .badge-fila {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-landing h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 21ch;
  margin: 0 auto 14px;
  text-align: left;
}

.hero-landing h1 em {
  font-style: normal;
  color: var(--verde-oscuro);
}

.hero-sub {
  color: var(--gris);
  font-size: 17px;
  max-width: 58ch;
  margin: 0 auto 24px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-stats div {
  font-size: 13.5px;
  color: var(--gris);
}

.hero-stats b {
  display: block;
  font-size: 20px;
  color: var(--tinta);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hero-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.hero-cols .hero-txt .badge-fila {
  justify-content: flex-start;
}

.hero-cols h1 {
  margin: 0 0 14px;
}

.hero-cols .hero-sub {
  margin: 0 0 24px;
}

.hero-cols .hero-cta {
  justify-content: flex-start;
}

.hero-cols .hero-stats {
  justify-content: flex-start;
}

/* ===== Imagen del hero + sello (versión única) ===== */
.hero-visual {
  position: relative;
  width: 100%;
}

.marco-img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--linea);
  box-shadow: 0 18px 44px rgba(28, 36, 16, 0.16);
  background: #fff;
}

.marco-img img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual .sello-herr {
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  z-index: 2;
  white-space: nowrap;
  line-height: 1;
  background: var(--verde);
  color: #1c2410;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(28, 36, 16, 0.2);
}

.beneficios {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 74px;
}
.beneficios h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}
.beneficios .ben-sub {
  text-align: center;
  color: var(--gris);
  font-size: 14.5px;
  margin-bottom: 26px;
}

.ben-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ben .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--verde-suave);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 10px;
}
.ben b {
  display: block;
  font-size: 15.5px;
  margin-bottom: 4px;
}
.ben p {
  font-size: 13.5px;
  color: var(--gris);
}

.franja-ahrefs {
  max-width: 1120px;
  margin: 46px auto 0;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 28px;
}

.franja-ahrefs h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.franja-ahrefs h3 span {
  color: var(--ahrefs);
}

.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.paso {
  border-left: 3px solid var(--ahrefs);
  padding-left: 14px;
}

.paso b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.paso p {
  font-size: 13.5px;
  color: var(--gris);
}

.nota-legal {
  font-size: 11.5px;
  color: var(--gris);
  margin-top: 20px;
  max-width: 90ch;
}

.valoraciones, .faq, .franja-ahrefs, .confianza {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.confianza {
  max-width: 1120px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.confianza div {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
}

.confianza b {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.confianza p {
  color: var(--gris);
  font-size: 12.5px;
}

.valoraciones {
  max-width: 1120px;
  margin: 56px auto 0;
}

.val-cab {
  text-align: center;
  margin-bottom: 24px;
}

.val-cab h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.val-linea {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.estrellas {
  display: inline-flex;
  gap: 3px;
}

.estrellas i {
  width: 22px;
  height: 22px;
  background: #00b67a;
  display: inline-block;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.val-linea b {
  font-size: 17px;
}

.val-linea .fuente {
  font-size: 13.5px;
  color: var(--gris);
}

.val-linea a {
  color: var(--verde-oscuro);
  font-weight: 700;
}

.val-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.valoraciones h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.valoraciones .val-sub {
  text-align: center;
  color: var(--gris);
  font-size: 14px;
  margin-bottom: 24px;
}

.val-estrellas {
  color: var(--verde);
  font-size: 15px;
  letter-spacing: 2px;
}

.val-texto {
  font-size: 13.5px;
  color: #3d4435;
  flex: 1;
}

.val-autor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.val-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--verde-suave);
  color: var(--verde-oscuro);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.val-autor b {
  display: block;
  font-size: 13px;
}

.val-autor small {
  color: var(--gris);
  font-size: 11.5px;
}

.faq {
  max-width: 820px;
  margin: 56px auto 0;
}
.faq h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}
.faq .faq-sub {
  text-align: center;
  color: var(--gris);
  font-size: 14px;
  margin-bottom: 24px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq details[open] {
  border-color: var(--verde);
}
.faq details[open] summary::after {
  content: "−" !important;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 600;
  color: var(--verde-oscuro);
  line-height: 1;
  flex-shrink: 0;
}
.faq summary:focus-visible {
  outline: 2px solid var(--verde-oscuro);
  outline-offset: -2px;
}
.faq .resp {
  padding: 2px 18px 18px;
  font-size: 14px;
  color: #3d4435;
  line-height: 1.6;
}
.faq .resp p a {
  color: #3d5f0f;
  text-underline-offset: 0.15em;
}
.faq .resp p + p {
  margin-top: 8px;
}
.faq details.ahrefs summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ahrefs);
  flex-shrink: 0;
}
.faq summary span {
  flex: 1;
}

#faq {
  scroll-margin-top: 16px;
}

.cta-final .cta-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.cta-final .mascota-img {
  height: 190px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.cta-final .cta-txt h2 {
  margin-bottom: 8px;
}

.cta-final {
  background: #2b2f26;
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  margin-top: 64px;
}

.cta-final h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cta-final p {
  color: #cdd3c4;
  font-size: 15.5px;
  margin-bottom: 22px;
}

.cta-final .btn-hero {
  box-shadow: 0 8px 22px rgba(158, 194, 59, 0.28);
}

.cta-final small {
  display: block;
  margin-top: 12px;
  color: #a9b09e;
  font-size: 12.5px;
}

@keyframes resalta {
  0% {
    box-shadow: 0 0 0 0 rgba(158, 194, 59, 0.55);
  }
  100% {
    box-shadow: 0 0 0 22px rgba(158, 194, 59, 0);
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .logo svg {
    height: 40px;
  }
  .hero-cols {
    gap: 24px;
    grid-template-columns: 1.2fr 0.8fr;
  }
}
@media (max-width: 767px) {
  .hero-cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }
  .hero-cols .hero-cta,
  .hero-cols .hero-stats,
  .hero-cols .hero-txt .badge-fila {
    justify-content: center;
  }
  .hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
}
@media (max-width: 900px) {
  .ben-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .ben-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .cta-final .cta-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cta-final .mascota-img {
    height: 140px;
  }
}
@media (max-width: 640px) {
  .ruta-registro {
    gap: 6px;
  }
  .ruta-registro .paso-r {
    padding: 6px 11px;
    font-size: 12px;
  }
  .ruta-registro .flecha {
    display: none;
  }
}
@media (max-width: 767px) {
  .cards {
    grid-template-columns: minmax(0, 430px);
  }
}
@media (max-width: 760px) {
  .pasos {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .confianza {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1200px) {
  .val-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .val-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .val-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .val-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .pie-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .pie-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .subir {
    transition: none;
  }
  html {
    scroll-behavior: auto !important;
  }
}
@media (max-width: 760px) {
  dialog.checkout {
    max-height: 94vh;
    width: 96vw;
  }
  .ck-grid {
    grid-template-columns: 1fr;
    max-height: 94vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .ck-resumen {
    order: -1;
    padding: 20px 18px 16px;
    overflow: visible;
    max-height: none;
  }
  .ck-form {
    padding: 20px 18px 18px;
    overflow: visible;
    max-height: none;
  }
  .ck-precio {
    font-size: 32px;
  }
  .ck-cerrar {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: #fff;
    box-shadow: 0 4px 12px rgba(28, 36, 16, 0.25);
  }
}
@media (max-width: 767px) {
  .hero-visual {
    max-width: 340px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .topbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
  }
  .topbar .logo {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    line-height: 0;
  }
  .topbar .logo a {
    display: block;
    padding: 0;
    line-height: 0;
  }
  .topbar .logo img,
  .topbar .logo svg {
    display: block;
    width: auto;
    max-width: 100%;
    height: 32px;
  }
  .topbar nav {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    gap: 2px;
  }
  .topbar nav a {
    padding: 8px 10px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .topbar nav a.cta,
  .topbar nav a.btn-panel {
    padding: 8px 14px;
  }
  .topbar nav a.salir-link {
    padding: 8px 6px;
    font-size: 12.5px;
  }
  .topbar .chip-user {
    gap: 0;
    font-size: 0;
  }
  .topbar .chip-user .avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .topbar {
    padding: 8px 10px;
  }
  .topbar .logo img,
  .topbar .logo svg {
    height: 28px;
  }
  .topbar nav a {
    padding: 8px;
    font-size: 13px;
  }
  .topbar nav a.cta,
  .topbar nav a.btn-panel {
    padding: 8px 12px;
  }
}