@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

/* =====================================================================
   AUTOMOTORES PARAGUAY - Hoja de estilos del sitio publico
   Estetica: portal editorial automotor. Grafito + acento rojo.
   ===================================================================== */

:root {
  --grafito:      #0f1115;
  --grafito-2:    #1a1d24;
  --grafito-3:    #262a33;
  --azul:         #1d4ed8;
  --azul-osc:     #172554;
  --rojo:         #dc2626;
  --rojo-osc:     #b91c1c;
  --naranja:      #ea580c;
  --verde:        #16a34a;
  --tinta:        #15181e;
  --gris:         #5b6271;
  --gris-claro:   #eef0f3;
  --gris-borde:   #e2e5ea;
  --fondo:        #f4f5f7;
  --blanco:       #ffffff;
  --display:      'Barlow Condensed', 'Arial Narrow', sans-serif;
  --texto:        'Barlow', system-ui, -apple-system, sans-serif;
  --sombra:       0 1px 3px rgba(15,17,21,.08), 0 6px 20px rgba(15,17,21,.06);
  --sombra-alta:  0 10px 40px rgba(15,17,21,.16);
  --radio:        8px;
}

* { box-sizing: border-box; }

body {
  font-family: var(--texto);
  background: var(--fondo);
  color: var(--tinta);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--grafito);
}

a { color: var(--azul); text-decoration: none; }
a:hover { color: var(--rojo); }
img { max-width: 100%; }

.container { max-width: 1200px; }

/* ---------- Botones ---------- */
.btn-accent {
  background: var(--rojo);
  border: 1px solid var(--rojo);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  transition: background .15s ease, transform .1s ease;
}
.btn-accent:hover { background: var(--rojo-osc); border-color: var(--rojo-osc); color: #fff; transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); }
.btn-lg { padding: .8rem 1.8rem; font-size: 1.05rem; }

/* =====================================================================
   TOPBAR
   ===================================================================== */
.ap-topbar {
  background: var(--grafito);
  color: #aab1c0;
  font-size: .82rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--grafito-3);
}
.ap-topbar__slogan i { color: var(--rojo); }
.ap-topbar__links { display: flex; gap: 1.1rem; align-items: center; }
.ap-topbar__links a { color: #c5cbd6; font-weight: 500; }
.ap-topbar__links a:hover { color: #fff; }
.ap-topbar__premium {
  background: linear-gradient(135deg, var(--naranja), var(--rojo));
  color: #fff !important;
  padding: .2rem .65rem;
  border-radius: 20px;
  font-weight: 700;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.ap-header {
  background: var(--grafito);
  border-bottom: 3px solid var(--rojo);
  position: sticky;
  top: 0;
  z-index: 200;
}
.ap-header .navbar { padding: .7rem 0; }

.ap-logo { display: flex; align-items: center; gap: .55rem; }
.ap-logo__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--rojo);
  color: #fff;
  border-radius: 8px;
  font-size: 1.5rem;
}
.ap-logo__text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.55rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1;
}
.ap-logo__text strong { color: var(--rojo); font-weight: 800; }

.ap-header .navbar-nav .nav-link {
  color: #d4d8e0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: .4rem .85rem !important;
  border-radius: 5px;
  transition: color .15s, background .15s;
}
.ap-header .navbar-nav .nav-link:hover { color: #fff; background: var(--grafito-3); }
.nav-link--tools { color: #fff !important; }
.nav-link--tools i { color: var(--rojo); }
.ap-header .navbar-toggler {
  border: 1px solid var(--grafito-3);
  color: #fff;
  font-size: 1.3rem;
  padding: .2rem .55rem;
}

.ap-search { display: flex; position: relative; }
.ap-search input {
  border: 1px solid var(--grafito-3);
  background: var(--grafito-2);
  color: #fff;
  border-radius: 6px;
  padding: .45rem .9rem;
  min-width: 220px;
  font-size: .92rem;
}
.ap-search input::placeholder { color: #6b7280; }
.ap-search input:focus { outline: none; border-color: var(--rojo); background: var(--grafito-3); }
.ap-search button {
  background: var(--rojo);
  border: none;
  color: #fff;
  border-radius: 6px;
  margin-left: .35rem;
  padding: 0 .9rem;
}
.ap-search button:hover { background: var(--rojo-osc); }
.ap-search--page { max-width: 520px; margin: 0 0 1.5rem; }
.ap-search--page input { background: #fff; color: var(--tinta); border-color: var(--gris-borde); }
.ap-search--page input::placeholder { color: var(--gris); }

/* =====================================================================
   ESTRUCTURA
   ===================================================================== */
.ap-main { min-height: 60vh; padding-bottom: 2rem; }
.ap-body { padding: 1.8rem 0; }

/* ---------- Encabezados de seccion ---------- */
.ap-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 1.6rem 0 1.1rem;
}
.ap-section-head h1, .ap-section-head h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0;
  padding-left: .7rem;
  border-left: 5px solid var(--rojo);
  line-height: 1;
}
.ap-section-head h2 i { color: var(--rojo); -webkit-text-fill-color: var(--rojo); }
.ap-section-head a {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--gris);
}
.ap-section-head a:hover { color: var(--rojo); }
.ap-section-head--page {
  border-bottom: 1px solid var(--gris-borde);
  padding-bottom: .8rem;
  margin-top: 0;
}
.ap-section-head--page h1 { font-size: 2rem; }
.ap-section-intro { color: var(--gris); margin: -.3rem 0 1.3rem; }
.ap-section-center { text-align: center; font-size: 1.8rem; text-transform: uppercase; margin: 2.5rem 0 1.4rem; }
.ap-section-block { margin-top: 2rem; }

/* =====================================================================
   HERO
   ===================================================================== */
.ap-hero { padding: 1.8rem 0 .4rem; }
.ap-hero__side { display: flex; flex-direction: column; gap: .85rem; height: 100%; } 
.ap-hero__main { display: flex; flex-direction: column; gap: .85rem; height: 100%; }

/* =====================================================================
   TARJETAS DE NOTICIA
   ===================================================================== */
.ap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.ap-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ap-grid--2 { grid-template-columns: repeat(2, 1fr); }

.ap-card {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sombra);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ap-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); }
.ap-card__img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.ap-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ap-card:hover .ap-card__img img { transform: scale(1.05); }
.ap-card__cat {
  position: absolute; top: .6rem; left: .6rem;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: .2rem .55rem;
  border-radius: 3px;
}
.ap-card__sponsor {
  position: absolute; top: .6rem; right: .6rem;
  background: rgba(15,17,21,.85);
  color: #f5c451;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 3px;
}
.ap-card__body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; flex: 1; }
.ap-card__title { font-size: 1.08rem; line-height: 1.25; margin: 0 0 .4rem; }
.ap-card__title a { color: var(--grafito); }
.ap-card__title a:hover { color: var(--rojo); }
.ap-card__excerpt { color: var(--gris); font-size: .92rem; margin: 0 0 .6rem; }
.ap-card__meta {
  margin-top: auto;
  display: flex; gap: .9rem;
  color: var(--gris);
  font-size: .8rem;
  padding-top: .5rem;
  border-top: 1px solid var(--gris-claro);
}
.ap-card__meta i { color: var(--rojo); }

.ap-card--big .ap-card__img { aspect-ratio: 16/9; }
.ap-card--big .ap-card__title { font-size: 1.7rem; }
.ap-card--big .ap-card__body { padding: 1.1rem 1.2rem 1.3rem; }

/* ---------- Lista compacta ---------- */
.ap-list { list-style: none; margin: 0; padding: 0; }
.ap-list li { border-bottom: 1px solid var(--gris-claro); }
.ap-list li:last-child { border-bottom: none; }
.ap-list a {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem 0;
}
.ap-list__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--gris-borde);
  width: 1.4rem; text-align: center;
  flex-shrink: 0;
}
.ap-list li:nth-child(1) .ap-list__num,
.ap-list li:nth-child(2) .ap-list__num,
.ap-list li:nth-child(3) .ap-list__num { color: var(--rojo); }
.ap-list a img { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.ap-list__title { font-size: .9rem; line-height: 1.3; color: var(--tinta); font-weight: 500; }
.ap-list a:hover .ap-list__title { color: var(--rojo); }

/* =====================================================================
   WIDGETS / SIDEBAR
   ===================================================================== */
.ap-widget {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1rem 1.1rem;
  margin-bottom: 1.3rem;
  box-shadow: var(--sombra);
}
.ap-widget__title {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 .7rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--grafito);
}
.ap-widget__title i { color: var(--rojo); }
.ap-widget--cta {
  background: linear-gradient(150deg, var(--grafito), var(--grafito-2));
  border: none;
  color: #cdd2dc;
  text-align: center;
}
.ap-widget--cta h3 { color: #fff; font-size: 1.2rem; text-transform: uppercase; }
.ap-widget--cta h3 i { color: #f5c451; }
.ap-widget--cta p { font-size: .9rem; margin: .5rem 0 .9rem; }

.ap-brands-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.ap-brands-cloud a {
  background: var(--gris-claro);
  color: var(--grafito);
  font-family: var(--display);
  font-weight: 600;
  font-size: .85rem;
  padding: .25rem .6rem;
  border-radius: 4px;
}
.ap-brands-cloud a:hover { background: var(--rojo); color: #fff; }

/* =====================================================================
   HERRAMIENTAS RAPIDAS
   ===================================================================== */
.ap-tools-quick { padding: .8rem 0; }
.ap-tools-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .8rem;
}
.ap-tool-card {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1rem .7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  box-shadow: var(--sombra);
  transition: transform .15s ease, border-color .15s ease;
}
.ap-tool-card:hover { transform: translateY(-3px); border-color: var(--rojo); }
.ap-tool-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 1.35rem;
}
.ap-tool-card__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: .86rem;
  color: var(--grafito);
  line-height: 1.15;
  text-transform: uppercase;
}
.ap-tools-grid--full { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.ap-tools-grid--full .ap-tool-card { padding: 1.5rem 1.1rem; }
.ap-tool-card--soon h3 { font-size: 1.05rem; text-transform: uppercase; margin: .3rem 0 0; }
.ap-tool-card--soon p { font-size: .85rem; color: var(--gris); margin: 0; }
.ap-tool-card__soon {
  background: var(--gris-claro);
  color: var(--gris);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 12px;
  margin-top: .3rem;
}
.ap-tools-hero { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.ap-tools-hero h1 { font-size: 2.2rem; text-transform: uppercase; margin: .6rem 0 .5rem; }
.ap-tools-hero p { color: var(--gris); }

/* =====================================================================
   BADGES / CAJAS
   ===================================================================== */
.ap-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--grafito);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .6px;
  padding: .3rem .8rem;
  border-radius: 20px;
}
.ap-badge i { color: var(--rojo); }
.ap-badge--gold { background: linear-gradient(135deg, var(--naranja), var(--rojo)); }
.ap-badge--gold i { color: #fff; }

.ap-cta-box, .ap-note-box {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.6rem;
  margin-top: 2rem;
  box-shadow: var(--sombra);
}
.ap-cta-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(150deg, var(--grafito), var(--grafito-2));
  border: none;
}
.ap-cta-box h2 { color: #fff; text-transform: uppercase; margin: 0 0 .3rem; }
.ap-cta-box p { color: #aab1c0; margin: 0; }
.ap-note-box {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff7ed;
  border-color: #fed7aa;
}
.ap-note-box i { color: var(--naranja); font-size: 1.4rem; }
.ap-note-box p { margin: 0; color: #9a3412; }

/* =====================================================================
   BREADCRUMB
   ===================================================================== */
.ap-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--gris-borde);
  font-size: .84rem;
  padding: .55rem 0;
}
.ap-breadcrumb a { color: var(--gris); }
.ap-breadcrumb a:hover { color: var(--rojo); }
.ap-breadcrumb span { color: var(--grafito); font-weight: 600; }
.ap-breadcrumb i { color: var(--gris-borde); font-size: .7rem; }

/* =====================================================================
   PAGINACION
   ===================================================================== */
.ap-paginacion { margin: 1.8rem 0 .5rem; }
.ap-paginacion ul { display: flex; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.ap-paginacion a, .ap-paginacion span {
  display: grid; place-items: center;
  min-width: 38px; height: 38px;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--grafito);
}
.ap-paginacion a:hover { border-color: var(--rojo); color: var(--rojo); }
.ap-paginacion .activa span { background: var(--rojo); border-color: var(--rojo); color: #fff; }

/* =====================================================================
   ORDEN (tabs)
   ===================================================================== */
.ap-orden { display: flex; gap: .3rem; }
.ap-orden a {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--gris);
  padding: .3rem .8rem;
  border-radius: 5px;
  border: 1px solid var(--gris-borde);
  background: #fff;
}
.ap-orden a.activo { background: var(--grafito); color: #fff; border-color: var(--grafito); }

/* =====================================================================
   COMPARTIR
   ===================================================================== */
.ap-share {
  display: flex; align-items: center; gap: .5rem;
  margin: 1.1rem 0;
  flex-wrap: wrap;
}
.ap-share span { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: .85rem; color: var(--gris); }
.ap-share a, .ap-share__copy {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: #fff;
  border: none;
  font-size: 1.05rem;
}
.ap-share .wa { background: #25d366; }
.ap-share .fb { background: #1877f2; }
.ap-share .tw { background: #000; }
.ap-share .tg { background: #0088cc; }
.ap-share__copy { background: var(--gris); cursor: pointer; }
.ap-share a:hover, .ap-share__copy:hover { opacity: .85; color: #fff; }

/* =====================================================================
   ARTICULO
   ===================================================================== */
.ap-article {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.6rem;
  box-shadow: var(--sombra);
}
.ap-article__sponsor-tag {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .75rem;
  padding: .25rem .7rem;
  border-radius: 4px;
  margin-bottom: .8rem;
}
.ap-article__cat {
  display: inline-block;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .5px;
  padding: .25rem .7rem;
  border-radius: 4px;
}
.ap-article__title {
  font-size: 2.3rem;
  line-height: 1.1;
  margin: .7rem 0 .5rem;
}
.ap-article__lead {
  font-size: 1.15rem;
  color: var(--gris);
  font-weight: 500;
  line-height: 1.5;
}
.ap-article__meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid var(--gris-claro);
  border-bottom: 1px solid var(--gris-claro);
  font-size: .85rem;
  color: var(--gris);
  margin: .8rem 0;
}
.ap-article__meta i { color: var(--rojo); }
.ap-article__brand { color: var(--azul); font-weight: 600; }
.ap-article__image { margin: 1rem 0; }
.ap-article__image img { width: 100%; border-radius: var(--radio); }
.ap-article__content { font-size: 1.05rem; line-height: 1.75; color: #2a2e38; }
.ap-article__content p { margin: 0 0 1.1rem; }
.ap-article__content h2, .ap-article__content h3 { margin: 1.6rem 0 .7rem; }
.ap-article__content img { border-radius: var(--radio); margin: 1rem 0; }
.ap-article__content a { text-decoration: underline; }
.ap-article__source {
  background: var(--gris-claro);
  border-left: 4px solid var(--gris);
  padding: .7rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: .9rem;
  color: var(--gris);
  margin: 1.2rem 0;
}
.ap-article__source i { color: var(--rojo); }

/* ---------- CTA ClasiCar ---------- */
.ap-clasicar-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem;
  background: linear-gradient(135deg, var(--azul-osc), var(--azul));
  color: #fff;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radio);
  margin: 1.6rem 0;
}
.ap-clasicar-cta h4 { color: #fff; text-transform: uppercase; margin: 0 0 .25rem; }
.ap-clasicar-cta p { margin: 0; color: #cdd9f5; font-size: .92rem; }

/* ---------- Relacionados ---------- */
.ap-related { margin-top: 2rem; }
.ap-related h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  padding-left: .6rem;
  border-left: 5px solid var(--rojo);
  margin-bottom: 1rem;
}

/* ---------- Marca header ---------- */
.ap-brand-head {
  display: flex; align-items: center; gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--sombra);
}
.ap-brand-head img { max-height: 64px; max-width: 140px; object-fit: contain; }
.ap-brand-head__icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--grafito);
  color: var(--rojo);
  border-radius: 10px;
  font-size: 1.8rem;
}
.ap-brand-head h1 { font-size: 2rem; text-transform: uppercase; margin: 0; }
.ap-brand-head__country { color: var(--gris); font-size: .9rem; }

/* =====================================================================
   PREMIUM
   ===================================================================== */
.ap-premium-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}
.ap-premium-hero h1 { font-size: 2.4rem; text-transform: uppercase; margin: .7rem 0 .5rem; }
.ap-premium-hero p { color: var(--gris); font-size: 1.05rem; }

.ap-premium-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1rem;
}
.ap-benefit {
  display: flex; gap: .8rem; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.1rem;
  box-shadow: var(--sombra);
}
.ap-benefit i { color: var(--rojo); font-size: 1.6rem; }
.ap-benefit h3 { font-size: 1.05rem; text-transform: uppercase; margin: 0 0 .2rem; }
.ap-benefit p { font-size: .88rem; color: var(--gris); margin: 0; }

.ap-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.ap-plan {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.6rem 1.3rem;
  text-align: center;
  box-shadow: var(--sombra);
  position: relative;
}
.ap-plan--destacado {
  border: 2px solid var(--rojo);
  box-shadow: var(--sombra-alta);
}
.ap-plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--rojo);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .72rem;
  padding: .2rem .8rem;
  border-radius: 12px;
}
.ap-plan__name { font-size: 1.3rem; text-transform: uppercase; margin: 0 0 .6rem; }
.ap-plan__price { display: flex; align-items: baseline; justify-content: center; gap: .25rem; }
.ap-plan__currency { font-family: var(--display); font-weight: 700; color: var(--gris); }
.ap-plan__amount { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--grafito); line-height: 1; }
.ap-plan__period { color: var(--gris); font-size: .9rem; margin: .1rem 0; }
.ap-plan__usd { color: var(--gris); font-size: .82rem; }
.ap-plan__features { list-style: none; padding: 0; margin: 1rem 0; text-align: left; }
.ap-plan__features li { padding: .35rem 0; font-size: .9rem; border-bottom: 1px solid var(--gris-claro); }
.ap-plan__features i { color: var(--verde); margin-right: .4rem; }

/* =====================================================================
   PUBLICIDAD
   ===================================================================== */
.ap-publi-hero, .ap-tools-hero { text-align: center; }
.ap-publi-hero { max-width: 760px; margin: 0 auto 2rem; }
.ap-publi-hero h1 { font-size: 2.3rem; text-transform: uppercase; margin: .6rem 0 .5rem; }
.ap-publi-hero p { color: var(--gris); }
.ap-publi-espacios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.ap-espacio {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: var(--sombra);
}
.ap-espacio i { color: var(--rojo); font-size: 1.9rem; }
.ap-espacio h3 { font-size: 1.05rem; text-transform: uppercase; margin: .5rem 0 .3rem; }
.ap-espacio p { font-size: .86rem; color: var(--gris); margin: 0; }

.ap-check-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.ap-check-list li { padding: .35rem 0; font-size: .92rem; color: #cdd2dc; }
.ap-check-list i { color: #4ade80; margin-right: .4rem; }

/* =====================================================================
   FORMULARIOS
   ===================================================================== */
.ap-form-card {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.6rem;
  box-shadow: var(--sombra);
}
.ap-form-card h2 { font-size: 1.4rem; text-transform: uppercase; margin: 0 0 1.1rem; }
.ap-form-card h2 i { color: var(--rojo); }
.ap-form .form-label { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: .85rem; color: var(--grafito); }
.ap-form .form-control, .ap-form .form-select {
  border: 1px solid var(--gris-borde);
  border-radius: 6px;
  padding: .55rem .8rem;
}
.ap-form .form-control:focus, .ap-form .form-select:focus {
  border-color: var(--rojo);
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}
.ap-contact-info {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.3rem;
  box-shadow: var(--sombra);
}
.ap-contact-info h3 { font-size: 1.15rem; text-transform: uppercase; margin: 0 0 .8rem; }
.ap-contact-info p { margin: .45rem 0; color: var(--tinta); }
.ap-contact-info i { color: var(--rojo); width: 1.2rem; }

/* =====================================================================
   AUTENTICACION
   ===================================================================== */
.ap-auth { display: flex; justify-content: center; padding: 1.5rem 0; }
.ap-auth__card {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra-alta);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
}
.ap-auth__head { text-align: center; margin-bottom: 1.3rem; }
.ap-auth__head .ap-logo__icon { margin: 0 auto .6rem; width: 54px; height: 54px; font-size: 1.8rem; }
.ap-auth__head h1 { font-size: 1.7rem; text-transform: uppercase; margin: 0; }
.ap-auth__head p { color: var(--gris); font-size: .9rem; margin: .2rem 0 0; }
.ap-auth__link { font-size: .85rem; color: var(--gris); }
.ap-auth__foot {
  text-align: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gris-claro);
  font-size: .9rem;
  color: var(--gris);
}

/* =====================================================================
   PANEL DE USUARIO
   ===================================================================== */
.ap-panel-head {
  display: flex; align-items: center; gap: 1.1rem;
  background: linear-gradient(150deg, var(--grafito), var(--grafito-2));
  border-radius: var(--radio);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.ap-panel-avatar {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--rojo);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
}
.ap-panel-head h1 { color: #fff; text-transform: uppercase; margin: 0 0 .3rem; font-size: 1.7rem; }
.ap-panel-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--grafito-3);
  color: #cdd2dc;
  font-size: .8rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 12px;
}
.ap-panel-badge--premium { background: linear-gradient(135deg, var(--naranja), var(--rojo)); color: #fff; }

/* =====================================================================
   PAGINA ESTATICA
   ===================================================================== */
.ap-page {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 2rem;
  box-shadow: var(--sombra);
}
.ap-page__title {
  font-size: 2rem;
  text-transform: uppercase;
  padding-bottom: .7rem;
  border-bottom: 3px solid var(--rojo);
  margin: 0 0 1.3rem;
}
.ap-page__content { font-size: 1.03rem; line-height: 1.75; color: #2a2e38; }
.ap-page__content h2, .ap-page__content h3 { margin: 1.5rem 0 .6rem; }
.ap-page__content p { margin: 0 0 1rem; }
.ap-page__updated { color: var(--gris); font-size: .85rem; margin-top: 1.5rem; }

.ap-search-count { color: var(--gris); margin-bottom: 1rem; }
.ap-search-count strong { color: var(--rojo); }

/* =====================================================================
   404
   ===================================================================== */
.ap-404 { text-align: center; padding: 2.5rem 1rem; }
.ap-404__code {
  font-family: var(--display);
  font-weight: 800;
  font-size: 7rem;
  line-height: 1;
  color: var(--rojo);
}
.ap-404 h1 { font-size: 2rem; text-transform: uppercase; }
.ap-404 p { color: var(--gris); }
.ap-404__actions { display: flex; gap: .7rem; justify-content: center; margin-top: 1.2rem; }

/* =====================================================================
   ESTADO VACIO
   ===================================================================== */
.ap-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border: 1px dashed var(--gris-borde);
  border-radius: var(--radio);
  color: var(--gris);
}
.ap-empty i { font-size: 2.6rem; color: var(--gris-borde); }
.ap-empty p { margin: .7rem 0; }

/* =====================================================================
   BANNERS
   ===================================================================== */
.ap-banner { position: relative; display: inline-block; max-width: 100%; }
.ap-banner img { border-radius: 4px; }
.ap-banner__label {
  position: absolute; top: 2px; right: 2px;
  background: rgba(15,17,21,.6);
  color: #fff;
  font-size: .58rem;
  text-transform: uppercase;
  padding: 1px 4px;
  border-radius: 2px;
}
.ap-banner--sticky_mobile .ap-banner__label { display: none; }

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.ap-newsletter {
  background: linear-gradient(135deg, var(--rojo), var(--naranja));
  padding: 1.8rem 0;
  color: #fff;
  margin-top: 2rem;
}
.ap-newsletter h3 { color: #fff; text-transform: uppercase; margin: 0 0 .3rem; }
.ap-newsletter p { margin: 0; color: rgba(255,255,255,.9); }
.ap-newsletter__form { display: flex; gap: .5rem; }
.ap-newsletter__form input {
  flex: 1;
  border: none;
  border-radius: 6px;
  padding: .65rem .9rem;
}
.ap-newsletter__form .btn {
  background: var(--grafito);
  border: none;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  padding: .65rem 1.3rem;
}
.ap-newsletter__form .btn:hover { background: #000; color: #fff; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.ap-footer {
  background: var(--grafito);
  color: #9aa1af;
  padding: 2.5rem 0 1.2rem;
  font-size: .9rem;
}
.ap-footer h5 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.ap-footer ul { list-style: none; padding: 0; margin: 0; }
.ap-footer ul li { margin-bottom: .4rem; }
.ap-footer ul a { color: #9aa1af; }
.ap-footer ul a:hover { color: var(--rojo); }
.ap-logo--footer .ap-logo__text { font-size: 1.3rem; }
.ap-footer__desc { margin: .8rem 0; line-height: 1.6; }
.ap-footer__social { display: flex; gap: .5rem; }
.ap-footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--grafito-3);
  color: #fff;
  border-radius: 6px;
  font-size: 1.05rem;
}
.ap-footer__social a:hover { background: var(--rojo); color: #fff; }
.ap-footer__bottom {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--grafito-3);
  font-size: .82rem;
  color: #6b7280;
}
.ap-footer__bottom a { color: #9aa1af; }

/* =====================================================================
   STICKY MOBILE / WHATSAPP
   ===================================================================== */
.ap-sticky-mobile {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--gris-borde);
  padding: .4rem;
  text-align: center;
  z-index: 300;
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
}
.ap-sticky-mobile__close {
  position: absolute; top: -26px; right: 6px;
  width: 26px; height: 26px;
  background: var(--grafito);
  color: #fff;
  border: none;
  border-radius: 50% 50% 0 0;
  font-size: 1rem;
  line-height: 1;
}
.ap-whatsapp-float {
  position: fixed; bottom: 18px; right: 18px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.7rem;
  box-shadow: var(--sombra-alta);
  z-index: 250;
}
.ap-whatsapp-float:hover { color: #fff; transform: scale(1.06); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
  .ap-header { position: static; }
  .ap-search { margin-top: .7rem; }
  .ap-search input { min-width: 0; width: 100%; }
  .ap-tools-grid { grid-template-columns: repeat(3, 1fr); }
  .ap-premium-benefits, .ap-publi-espacios { grid-template-columns: repeat(2, 1fr); }
  .ap-clasicar-cta, .ap-cta-box { flex-direction: column; text-align: center; }
}
@media (max-width: 575px) {
  .ap-grid, .ap-grid--3, .ap-grid--2 { grid-template-columns: 1fr; }
  .ap-tools-grid, .ap-tools-grid--full { grid-template-columns: repeat(2, 1fr); }
  .ap-premium-benefits, .ap-publi-espacios { grid-template-columns: 1fr; }
  .ap-card--big .ap-card__title { font-size: 1.3rem; }
  .ap-article { padding: 1.1rem; }
  .ap-article__title { font-size: 1.6rem; }
  .ap-section-head h1, .ap-section-head--page h1 { font-size: 1.5rem; }
  .ap-404__code { font-size: 4.5rem; }
  .ap-topbar__slogan { display: none; }
}

/* =====================================================================
   FASE 3 - HERRAMIENTAS PARA CONDUCTORES
   ===================================================================== */

/* ---- Tarjetas del hub (enlace) ---- */
.ap-tool-card--link {
  text-decoration: none;
  color: inherit;
  position: relative;
}
.ap-tool-card--link h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  text-transform: uppercase;
  margin: .3rem 0 0;
  color: var(--grafito);
}
.ap-tool-card--link p { font-size: .85rem; color: var(--gris); margin: 0; }
.ap-tool-card__go {
  font-family: var(--display);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  color: var(--rojo);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}
.ap-tool-card__tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--azul);
  background: #e8efff;
  border-radius: 12px;
  padding: .12rem .5rem;
}

/* ---- Layout de cada herramienta ---- */
.ap-tool-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 1.6rem;
  align-items: start;
}
.ap-tool-main {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 1.5rem;
}
.ap-tool-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.3rem;
  border-bottom: 2px solid var(--gris-borde);
}
.ap-tool-head__ic {
  width: 56px; height: 56px;
  flex: 0 0 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--tc, var(--rojo));
  color: #fff;
  font-size: 1.6rem;
}
.ap-tool-head h1 {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 0 0 .15rem;
}
.ap-tool-head p { margin: 0; color: var(--gris); font-size: .9rem; }

/* ---- Formularios de herramienta ---- */
.ap-tool-form { margin-bottom: 1.2rem; }
.ap-tool-form .form-label {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .25rem;
}
.ap-field-hint {
  display: block;
  font-size: .78rem;
  color: var(--gris);
  margin-top: .25rem;
}

/* ---- Resultados ---- */
.ap-tool-result {
  background: var(--gris-claro);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 1.2rem;
  margin-top: 1.2rem;
}
.ap-tool-result__label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--gris);
  margin-bottom: .5rem;
}
.ap-tool-bignum {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--grafito);
  line-height: 1.1;
  margin-bottom: .8rem;
}
.ap-tool-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  margin-bottom: 1rem;
}
.ap-tool-stats > div {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: 6px;
  padding: .6rem .7rem;
}
.ap-tool-stats span {
  display: block;
  font-size: .76rem;
  color: var(--gris);
  text-transform: uppercase;
}
.ap-tool-stats strong {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--grafito);
}
.ap-tool-table-wrap { overflow-x: auto; }
.ap-tool-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .86rem;
}
.ap-tool-table th, .ap-tool-table td {
  padding: .5rem .6rem;
  border-bottom: 1px solid var(--gris-borde);
  text-align: right;
}
.ap-tool-table th:first-child, .ap-tool-table td:first-child { text-align: left; }
.ap-tool-table thead th {
  background: var(--grafito);
  color: #fff;
  text-transform: uppercase;
  font-size: .76rem;
}
.ap-tool-table__sep { text-align: center !important; color: var(--gris); }
.ap-tool-hint { font-size: .82rem; color: var(--gris); margin: .4rem 0 0; }
.ap-tool-disclaimer {
  display: flex;
  gap: .5rem;
  font-size: .8rem;
  color: var(--gris);
  background: #fff;
  border-left: 3px solid var(--naranja);
  padding: .6rem .8rem;
  margin: 1rem 0 0;
  border-radius: 4px;
}
.ap-tool-disclaimer i { color: var(--naranja); }

/* ---- Panel lateral de herramientas ---- */
.ap-tool-aside-nav {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 1rem;
}
.ap-tool-aside-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .55rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--tinta);
  font-size: .86rem;
  font-weight: 500;
}
.ap-tool-aside-link:hover { background: var(--gris-claro); }
.ap-tool-aside-link.activo {
  background: var(--grafito);
  color: #fff;
}
.ap-tool-aside-ic { font-size: 1.05rem; }

/* ---- Tasador: rango de precios ---- */
.ap-tasador-rango {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
}
.ap-tasador-rango__item {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: 8px;
  padding: .9rem .6rem;
  text-align: center;
}
.ap-tasador-rango__item span {
  display: block;
  font-size: .76rem;
  text-transform: uppercase;
  color: var(--gris);
}
.ap-tasador-rango__item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--grafito);
  margin: .15rem 0;
}
.ap-tasador-rango__item small { color: var(--gris); font-size: .78rem; }
.ap-tasador-rango__item--medio {
  background: var(--grafito);
  border-color: var(--grafito);
}
.ap-tasador-rango__item--medio span,
.ap-tasador-rango__item--medio small { color: #aab1c0; }
.ap-tasador-rango__item--medio strong { color: #fff; font-size: 1.35rem; }

/* ---- Comparador ---- */
.ap-compare-table td, .ap-compare-table th { text-align: center; }
.ap-compare-table__lbl {
  text-align: left !important;
  font-weight: 600;
  background: var(--gris-claro);
}

/* ---- Checklist ---- */
.ap-checklist-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grafito);
  color: #fff;
  border-radius: 8px;
  padding: .6rem 1rem;
  margin-bottom: 1rem;
  position: sticky;
  top: .5rem;
  z-index: 5;
}
.ap-checklist-live span { font-size: .8rem; text-transform: uppercase; }
.ap-checklist-live strong { font-family: var(--display); font-size: 1.5rem; }
.ap-checklist-live.es-bajo strong { color: #4ade80; }
.ap-checklist-live.es-medio strong { color: #fbbf24; }
.ap-checklist-live.es-alto strong { color: #f87171; }
.ap-checklist-group {
  border: 1px solid var(--gris-borde);
  border-radius: 8px;
  padding: .5rem 1rem 1rem;
  margin-bottom: 1rem;
}
.ap-checklist-group legend {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--rojo);
  width: auto;
  padding: 0 .4rem;
  margin: 0;
}
.ap-checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--gris-borde);
}
.ap-checklist-item:last-child { border-bottom: 0; }
.ap-checklist-item__txt { font-size: .88rem; }
.ap-checklist-opts { display: flex; gap: .3rem; flex: 0 0 auto; }
.ap-checklist-opt {
  cursor: pointer;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--gris-borde);
  border-radius: 6px;
  padding: .25rem .5rem;
  color: var(--gris);
  user-select: none;
}
.ap-checklist-opt input { display: none; }
.ap-checklist-opt--bien:has(input:checked) {
  background: var(--verde); color: #fff; border-color: var(--verde);
}
.ap-checklist-opt--regular:has(input:checked) {
  background: var(--naranja); color: #fff; border-color: var(--naranja);
}
.ap-checklist-opt--mal:has(input:checked) {
  background: var(--rojo); color: #fff; border-color: var(--rojo);
}
.ap-checklist-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.ap-checklist-result {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.ap-checklist-score {
  text-align: center;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: .8rem 1.1rem;
}
.ap-checklist-score__num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
}
.ap-checklist-score__lbl {
  font-size: .76rem;
  text-transform: uppercase;
  font-weight: 700;
}
.ap-checklist-score__txt p { margin: 0 0 .2rem; font-weight: 600; }
.ap-checklist-score__txt small { color: var(--gris); }
.ap-checklist-result--bajo  { border-left: 4px solid var(--verde); }
.ap-checklist-result--medio { border-left: 4px solid var(--naranja); }
.ap-checklist-result--alto  { border-left: 4px solid var(--rojo); }
.ap-checklist-result--bajo  .ap-checklist-score__num { color: var(--verde); }
.ap-checklist-result--medio .ap-checklist-score__num { color: var(--naranja); }
.ap-checklist-result--alto  .ap-checklist-score__num { color: var(--rojo); }

/* ---- Recordatorios ---- */
.ap-rec-list { display: flex; flex-direction: column; gap: .6rem; }
.ap-rec-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-left: 4px solid var(--gris-borde);
  border-radius: 8px;
  padding: .7rem .9rem;
}
.ap-rec-item--proximo { border-left-color: var(--naranja); }
.ap-rec-item--vencido { border-left-color: var(--rojo); }
.ap-rec-item__ic {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  display: grid; place-items: center;
  background: var(--gris-claro);
  border-radius: 8px;
  color: var(--grafito);
  font-size: 1.1rem;
}
.ap-rec-item__body { flex: 1; }
.ap-rec-item__body strong { font-size: .92rem; }
.ap-rec-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  font-size: .8rem;
  color: var(--gris);
  margin-top: .15rem;
}
.ap-rec-item__aviso { font-weight: 700; color: var(--grafito); }
.ap-rec-item--proximo .ap-rec-item__aviso { color: var(--naranja); }
.ap-rec-item--vencido .ap-rec-item__aviso { color: var(--rojo); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .ap-tool-layout { grid-template-columns: 1fr; }
  .ap-tool-stats { grid-template-columns: 1fr; }
  .ap-tasador-rango { grid-template-columns: 1fr; }
  .ap-checklist-item { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .ap-checklist-result { flex-direction: column; text-align: center; }
}

/* =====================================================================
   FASE 4 - CHECKOUT, PAGOS Y SUSCRIPCIONES
   ===================================================================== */

.ap-checkout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.6rem;
  align-items: start;
}
.ap-checkout__main {
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 1.6rem;
}
.ap-checkout__title {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
}

/* ---- Resumen lateral ---- */
.ap-checkout__resumen {
  background: var(--grafito);
  color: #fff;
  border-radius: var(--radio);
  padding: 1.2rem;
}
.ap-checkout__resumen h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 .8rem;
  color: #aab1c0;
}
.ap-checkout__plan {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem;
  border-bottom: 1px solid #2c313c;
  padding-bottom: .7rem;
  margin-bottom: .7rem;
}
.ap-checkout__plan span { font-weight: 600; }
.ap-checkout__plan strong {
  font-family: var(--display);
  font-size: 1.4rem;
}
.ap-checkout__dias { font-size: .85rem; color: #aab1c0; margin: 0; }
.ap-checkout__resumen .ap-field-hint { color: #8b93a3; }

/* ---- Seleccion de medio de pago ---- */
.ap-pay-methods { display: flex; flex-direction: column; gap: .7rem; }
.ap-pay-method {
  display: flex;
  align-items: center;
  gap: .9rem;
  border: 2px solid var(--gris-borde);
  border-radius: 10px;
  padding: .9rem 1rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.ap-pay-method:hover { border-color: var(--gris); }
.ap-pay-method:has(input:checked) {
  border-color: var(--rojo);
  background: #fef2f2;
}
.ap-pay-method input { accent-color: var(--rojo); width: 18px; height: 18px; }
.ap-pay-method__ic {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: grid; place-items: center;
  background: var(--grafito);
  color: #fff;
  border-radius: 9px;
  font-size: 1.3rem;
}
.ap-pay-method__txt strong { display: block; font-size: .98rem; }
.ap-pay-method__txt small { color: var(--gris); font-size: .82rem; }

/* ---- Cajas de pago (etapa B) ---- */
.ap-pay-box {
  border: 1px solid var(--gris-borde);
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}
.ap-pay-box h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}
.ap-pay-box--upload { background: var(--gris-claro); }
.ap-pay-qr {
  text-align: center;
  margin: 1rem 0;
}
.ap-pay-qr img {
  max-width: 240px;
  width: 100%;
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow: var(--sombra);
}
.ap-pay-data {
  list-style: none;
  padding: 0;
  margin: .8rem 0;
}
.ap-pay-data li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .8rem;
  background: var(--gris-claro);
  border-radius: 6px;
  margin-bottom: .4rem;
}
.ap-pay-data span { color: var(--gris); text-transform: uppercase; font-size: .78rem; }
.ap-pay-data strong { font-family: var(--display); font-size: 1.05rem; }
.ap-pay-instr {
  background: var(--gris-claro);
  border-left: 3px solid var(--azul);
  padding: .7rem .9rem;
  border-radius: 4px;
  font-size: .9rem;
  white-space: pre-line;
}
.ap-pay-box--upload .ap-pay-instr { background: #fff; }
.ap-pay-msg { font-size: .9rem; margin-top: .6rem; font-weight: 600; }
.ap-pay-msg.es-ok { color: var(--verde); }
.ap-pay-msg.es-error { color: var(--rojo); }

/* ---- Etiqueta de estado ---- */
.ap-estado-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 12px;
  margin-top: .8rem;
}
.ap-estado-tag--pendiente { background: #fef3c7; color: #92400e; }

/* ---- Paginas de resultado de pago ---- */
.ap-pago-final {
  max-width: 540px;
  margin: 1rem auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 2.4rem 1.6rem;
}
.ap-pago-final i { font-size: 3.4rem; }
.ap-pago-final--ok i { color: var(--verde); }
.ap-pago-final--wait i { color: var(--naranja); }
.ap-pago-final h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: .6rem 0 .4rem;
}
.ap-pago-final p { color: var(--gris); margin: 0 0 1.3rem; }
.ap-pago-final__acciones {
  display: flex;
  gap: .7rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .ap-checkout { grid-template-columns: 1fr; }
}

/* ---- Panel: lista de pagos del usuario ---- */
.ap-panel-pagos { list-style: none; padding: 0; margin: 0; }
.ap-panel-pagos li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--gris-borde);
}
.ap-panel-pagos li:last-child { border-bottom: 0; }
.ap-panel-pagos strong { display: block; font-size: .88rem; }
.ap-panel-pagos small { color: var(--gris); font-size: .78rem; }
.ap-panel-pagos__est {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 12px;
  white-space: nowrap;
}

/* =====================================================================
   FASE 5 - CONTENIDO PATROCINADO (PUBLINOTAS)
   ===================================================================== */

.ap-sponsored-block { margin-top: 1.5rem; }
.ap-sponsored-head {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.ap-sponsored-head i { color: var(--naranja); }

.ap-card--sponsor {
  border: 1px solid #fed7aa;
  background: #fffbf5;
}
.ap-card__sponsor-flag {
  position: absolute;
  top: .6rem; left: .6rem;
  background: var(--naranja);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: .2rem .55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.ap-card__by {
  font-size: .76rem;
  color: var(--naranja);
  font-weight: 600;
  margin-top: .35rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* =====================================================================
   FASE 6 - PWA E INTEGRACION CON CLASICAR
   ===================================================================== */

/* ---- Tarjeta de instalacion de la app ---- */
.ap-install-card {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 130%);
  z-index: 1080;
  width: calc(100% - 24px);
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: .8rem;
  background: var(--grafito);
  color: #fff;
  border-radius: 12px;
  padding: .8rem 1rem;
  box-shadow: var(--sombra-alta);
  transition: transform .3s ease;
}
.ap-install-card.visible { transform: translate(-50%, 0); }
.ap-install-card__ic {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: grid; place-items: center;
  background: var(--rojo);
  border-radius: 9px;
  font-size: 1.25rem;
}
.ap-install-card__txt { flex: 1; line-height: 1.25; }
.ap-install-card__txt strong { display: block; font-size: .95rem; }
.ap-install-card__txt small { color: #aab1c0; font-size: .78rem; }
.ap-install-card__btn {
  background: var(--rojo);
  color: #fff;
  border: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .82rem;
  padding: .5rem .9rem;
  border-radius: 7px;
  cursor: pointer;
}
.ap-install-card__btn:hover { background: var(--rojo-osc); }
.ap-install-card__close {
  background: transparent;
  border: 0;
  color: #8b93a3;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .2rem;
}

/* ---- Bloque CTA de ClasiCar ---- */
.ap-clasicar-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--grafito-2), var(--grafito));
  border-radius: var(--radio);
  padding: 1.2rem 1.3rem;
  margin: 1.2rem 0;
}
.ap-clasicar-box__tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .76rem;
  color: #fff;
  background: var(--rojo);
  padding: .15rem .55rem;
  border-radius: 4px;
}
.ap-clasicar-box__txt h3 {
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: .45rem 0 .2rem;
}
.ap-clasicar-box__txt p { color: #aab1c0; margin: 0; font-size: .9rem; }

/* ---- Listado de avisos de ClasiCar (sidebar) ---- */
.ap-clasicar-list { list-style: none; padding: 0; margin: 0 0 .8rem; }
.ap-clasicar-list li { margin-bottom: .5rem; }
.ap-clasicar-list a {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--tinta);
}
.ap-clasicar-list img,
.ap-clasicar-list__ph {
  width: 56px; height: 44px;
  flex: 0 0 56px;
  object-fit: cover;
  border-radius: 6px;
}
.ap-clasicar-list__ph {
  display: grid; place-items: center;
  background: var(--gris-claro);
  color: var(--gris);
}
.ap-clasicar-list__t { font-size: .84rem; line-height: 1.25; font-weight: 500; }
.ap-clasicar-list a:hover .ap-clasicar-list__t { color: var(--rojo); }

@media (max-width: 560px) {
  .ap-clasicar-box { flex-direction: column; align-items: flex-start; }
  .ap-clasicar-box .btn { width: 100%; }
}

/* =====================================================================
   FASE 6 - PAGINA /autos-en-venta (avisos de ClasiCar)
   ===================================================================== */

.ap-autos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ap-auto-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.ap-auto-card:hover {
  transform: translateY(-3px);
  border-color: var(--rojo);
}
.ap-auto-card__img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--gris-claro);
  overflow: hidden;
}
.ap-auto-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ap-auto-card__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--gris);
  font-size: 2.4rem;
}
.ap-auto-card__flag {
  position: absolute;
  bottom: .55rem; left: .55rem;
  background: var(--grafito);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.ap-auto-card__body {
  padding: .8rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.ap-auto-card__body strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--grafito);
}
.ap-auto-card__go {
  margin-top: auto;
  font-size: .82rem;
  color: var(--rojo);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}

@media (max-width: 1024px) { .ap-autos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .ap-autos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .ap-autos-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   BOTON "CONTINUAR CON GOOGLE"
   ===================================================================== */

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: .65rem 1rem;
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  transition: box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.btn-google:hover {
  background: #f8f9fb;
  box-shadow: 0 1px 3px rgba(60,64,67,.16), 0 4px 8px rgba(60,64,67,.08);
  color: #1f1f1f;
}
.btn-google:active { background: #f1f3f4; }
.btn-google__ic {
  width: 18px; height: 18px;
  display: inline-block;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3c-1.6 4.7-6.1 8-11.3 8-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34.1 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/><path fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34.1 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/><path fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2c-2 1.5-4.5 2.4-7.2 2.4-5.2 0-9.6-3.3-11.3-7.9l-6.6 5.1C9.6 39.6 16.2 44 24 44z'/><path fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.3-2.2 4.2-4.1 5.6l6.2 5.2c-.4.4 6.6-4.8 6.6-14.8 0-1.3-.1-2.4-.4-3.5z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.ap-auth__divider {
  position: relative;
  text-align: center;
  margin: .8rem 0 1rem;
  color: var(--gris);
  font-size: .82rem;
}
.ap-auth__divider::before,
.ap-auth__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 60px);
  height: 1px;
  background: var(--gris-borde);
}
.ap-auth__divider::before { left: 0; }
.ap-auth__divider::after  { right: 0; }
.ap-auth__divider span { background: #fff; padding: 0 .4rem; }

/* =====================================================================
   HEADER - DROPDOWNS DE NAVEGACION
   ===================================================================== */

.ap-dropdown {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(15, 17, 21, .25);
  padding: .45rem .35rem;
  min-width: 220px;
  margin-top: .3rem !important;
}
.ap-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 500;
  font-size: .92rem;
  padding: .55rem .8rem;
  border-radius: 6px;
  color: var(--tinta, #1a1a1a);
}
.ap-dropdown .dropdown-item:hover,
.ap-dropdown .dropdown-item:focus {
  background: var(--rojo, #dc2626);
  color: #fff;
}
.ap-dropdown .dropdown-item i { font-size: .95rem; opacity: .8; }
.ap-dropdown .dropdown-divider { margin: .35rem .5rem; opacity: .35; }

/* Indicador de enlace externo */
.ap-extern {
  font-size: .72rem !important;
  opacity: .55;
  margin-left: .2rem;
}

/* Apertura por hover en desktop (mas comodo que click) */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu { display: block; }
  .navbar-nav .dropdown > .dropdown-toggle:active { pointer-events: none; }
}

/* =====================================================================
   BLOQUE DE CREDITOS / ATRIBUCION (notas generadas con IA)
   Estilo discreto, recuadro gris al estilo Diario Paraguayo.
   ===================================================================== */

.ap-articulo-creditos {
  margin: 1.8rem 0 1rem;
  padding: .85rem 1rem;
  background: #f4f5f7;
  border: 1px solid #e4e6ea;
  border-radius: 6px;
  color: #5b6271;
  font-size: .87rem;
  line-height: 1.55;
}

/* El icono queda oculto en la variante discreta. */
.ap-articulo-creditos__icono { display: none; }

.ap-articulo-creditos__cuerpo { flex: 1; min-width: 0; }
.ap-articulo-creditos__cuerpo p {
  margin: 0 0 .35rem;
  color: #5b6271;
}
.ap-articulo-creditos__cuerpo p:last-of-type { margin-bottom: 0; }
.ap-articulo-creditos__cuerpo strong {
  color: #2b303b;
  font-weight: 600;
}

.ap-articulo-creditos__sub {
  font-style: italic;
  font-size: .82rem !important;
  color: #7a8190 !important;
}

.ap-articulo-creditos__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .25rem;
  color: #5b6271 !important;
  text-decoration: underline !important;
  font-size: .85rem;
  font-weight: 500;
  background: transparent;
  padding: 0;
}
.ap-articulo-creditos__link:hover {
  color: var(--rojo, #dc2626) !important;
}
.ap-articulo-creditos__link i { font-size: .8rem; opacity: .7; }

/* =====================================================================
   CUERPO DEL ARTICULO - TEXTO JUSTIFICADO (uniforme para todas las notas)
   ===================================================================== */

.ap-article__content p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-spacing: .01em;
}

/* En pantallas muy chicas, justify puede dejar huecos feos.
   Volvemos a alineacion izquierda para ancho < 480px. */
@media (max-width: 480px) {
  .ap-article__content p { text-align: left; hyphens: manual; }
}

/* =====================================================================
   FLASH MESSAGES (banner de exito/error/aviso en la cabecera publica)
   ===================================================================== */

.ap-flash {
  position: relative;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 3rem 1.15rem 1.25rem;
  border: 1px solid transparent;
  border-left-width: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  animation: ap-flash-in .35s ease-out;
}

.ap-flash__icon { font-size: 1.55rem; flex-shrink: 0; line-height: 1; }
.ap-flash__msg  { flex: 1; min-width: 0; }

.ap-flash.alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #16a34a;
  color: #14532d;
}
.ap-flash.alert-success .ap-flash__icon { color: #16a34a; }

.ap-flash.alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #dc2626;
  color: #7f1d1d;
}
.ap-flash.alert-danger .ap-flash__icon { color: #dc2626; }

.ap-flash.alert-warning {
  background: #fefce8;
  border-color: #fde68a;
  border-left-color: #ca8a04;
  color: #713f12;
}
.ap-flash.alert-warning .ap-flash__icon { color: #ca8a04; }

.ap-flash.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  border-left-color: #1d4ed8;
  color: #1e3a8a;
}
.ap-flash.alert-info .ap-flash__icon { color: #1d4ed8; }

.ap-flash .btn-close {
  position: absolute; right: .8rem; top: 50%;
  transform: translateY(-50%);
  opacity: .55;
}
.ap-flash .btn-close:hover { opacity: 1; }

@keyframes ap-flash-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   BLOQUE DE CREDITO DE COTIZACION (proveida por cambios.com.py)
   ===================================================================== */

.ap-cotiz-credito {
  margin: 1.2rem 0;
  padding: .85rem 1rem;
  background: #f4f5f7;
  border: 1px solid #e4e6ea;
  border-left: 3px solid var(--naranja, #ea580c);
  border-radius: 6px;
  font-size: .88rem;
  line-height: 1.55;
  color: #2b303b;
}
.ap-cotiz-credito i { color: var(--naranja, #ea580c); margin-right: .3rem; }
.ap-cotiz-credito strong { color: var(--rojo, #dc2626); }
.ap-cotiz-credito__attr {
  display: inline-block;
  margin-top: .25rem;
  font-style: italic;
  color: #5b6271;
  font-size: .82rem;
}
.ap-cotiz-credito__attr a {
  color: var(--rojo, #dc2626);
  text-decoration: underline;
  font-weight: 500;
}
.ap-cotiz-credito__attr a:hover { color: var(--naranja, #ea580c); }
