@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;
  }
}
* {
  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.55;
  font-size: 15px;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

/* ===== 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;
}

.aviso {
  border-left: 3px solid var(--ahrefs);
  background: var(--ahrefs-suave);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 14px;
  margin: 14px 0;
}

.aviso-verde {
  border-left: 3px solid var(--verde);
  background: var(--verde-suave);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 14px;
  margin: 14px 0;
}

.hero {
  background: var(--fondo-seccion);
  padding: 46px 24px 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.hero p {
  color: var(--gris);
  max-width: 64ch;
  margin: 0 auto;
  font-size: 15.5px;
}

.indice-legal {
  position: sticky;
  top: var(--alto-cabecera, 90px);
  background: var(--fondo);
  border-bottom: 1px solid var(--linea);
  padding: 10px 24px;
  z-index: 20;
}
.indice-legal ul {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}
.indice-legal a {
  display: inline-block;
  background: var(--fondo-seccion);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--tinta);
  text-decoration: none;
}
.indice-legal a:hover {
  border-color: var(--verde);
  color: var(--verde-oscuro);
}

.cuerpo {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}
.cuerpo.ancho {
  max-width: 1000px;
}

.prosa h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 30px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--linea);
}
.prosa h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.prosa h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 18px 0 6px;
}
.prosa p {
  margin-bottom: 10px;
  font-size: 15px;
  color: #2f3628;
}
.prosa ul,
.prosa ol {
  margin: 8px 0 12px 22px;
  font-size: 15px;
  color: #2f3628;
}
.prosa li {
  margin-bottom: 6px;
}
.prosa a {
  color: var(--verde-oscuro);
  font-weight: 700;
}
.prosa b {
  font-weight: 800;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}

.logo svg {
  height: 46px;
  display: block;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo a {
  color: inherit;
  text-decoration: none;
}
.logo .top {
  color: var(--verde);
}

.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 nav a:hover {
  background: var(--verde-suave);
}
.topbar nav a.cta {
  background: var(--verde);
  color: #1c2410;
}
.topbar nav a.cta:hover {
  background: var(--verde-oscuro);
  color: #fff;
}

.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;
  }
}
.seccion-legal {
  scroll-margin-top: 70px;
}
.seccion-legal > h2.titulo-bloque {
  font-size: 23px;
  font-weight: 800;
  margin: 44px 0 4px;
  padding-top: 30px;
  border-top: 2px solid var(--verde);
}
.seccion-legal:first-of-type > h2.titulo-bloque {
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
}
.seccion-legal .fecha {
  font-size: 12.5px;
  color: var(--gris);
  margin-bottom: 14px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .logo svg {
    height: 40px;
  }
  .hero {
    padding: 40px 22px 34px;
  }
  .cuerpo {
    padding: 30px 22px 54px;
  }
  .cuerpo.ancho {
    max-width: 920px;
  }
  .tarjetas {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .form {
    padding: 22px 20px;
  }
  .indice-legal ul {
    max-width: 760px;
  }
  .pie-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@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 {
    padding: 32px 16px 26px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .cuerpo {
    padding: 24px 16px 46px;
  }
  .tarjetas {
    gap: 12px;
    margin: 20px 0;
  }
  .form {
    padding: 18px 14px;
  }
  .boton {
    display: block;
    width: 100%;
    text-align: center;
  }
  .indice-legal {
    padding: 8px 10px;
  }
  .indice-legal ul {
    gap: 6px;
  }
  .indice-legal a {
    font-size: 11.5px;
    padding: 5px 10px;
  }
  .seccion-legal > h2.titulo-bloque {
    font-size: 20px;
  }
  .prosa h3 {
    font-size: 15px;
  }
  .subir {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .pie {
    padding: 34px 18px 20px;
  }
  .pie-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .tarjetas {
    grid-template-columns: 1fr;
  }
}
@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;
  }
}