/* ============================================================
   EspaZIP — Recursos / Blog
   Réplica de los diseños "diseño web5 blog" adaptada a escala
   web real (los mockups venían a escala póster ~1366px).
   Paleta propia del blog: azul #181DC8 · naranja #FF7101 · tinta #0A0F47
   Tipografía: Coolvetica (subsets extraídos del PDF de diseño)
   ============================================================ */

/* ----------------------------- Fuentes -------------------------- */
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaLt-Regular.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaLt-Italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaBk-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaBk-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaRg-Regular.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaRg-Italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaRg-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaHv-Regular.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Coolvetica"; src: url("../fonts/CoolveticaHv-Italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
/* Respaldo: Coolvetica Regular completa para glifos fuera de los subsets */
@font-face { font-family: "Coolvetica FB"; src: url("../fonts/Coolvetica-Fallback.woff") format("woff"); font-display: swap; }

:root {
  --bg-blue:   #181DC8;
  --bg-orange: #FF7101;
  --bg-ink:    #0A0F47;
  --bg-gray:   #F2F2F2;
  --bg-gray-2: #F9F9F9;
  --bg-hover:  #F7F7F7;
  --bg-font:   "Coolvetica", "Coolvetica FB", "Fredoka", "Arial", sans-serif;
}

/* ----------------------------- Base ----------------------------- */
.bg-container { max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.bg-main { font-family: var(--bg-font); font-weight: 300; color: var(--bg-ink); }
.bg-main * { box-sizing: border-box; }

/* Flecha → (glifo uniE003 de Coolvetica) en listas y píldoras */
.bg-arrows { list-style: none; padding: 0; margin: 0 0 22px; }
.bg-arrows li { position: relative; padding-left: 24px; }
.bg-arrows li::before { content: "\e003"; position: absolute; left: 0; top: 0; }

/* ------------------------ Hero de categoría --------------------- */
.bg-cat-hero {
  position: relative;
  background: #fff url("../assets/blog/cat-hero.webp") no-repeat center 58% / cover;
  height: clamp(300px, 44vw, 600px);
}
.bg-cat-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.bg-cat-hero .bg-container { height: 100%; display: flex; align-items: flex-start; justify-content: flex-end; }
.bg-cat-hero .copy { text-align: right; padding-top: clamp(20px, 4vw, 56px); position: relative; z-index: 1; }
.bg-cat-hero .slogan {
  font-family: var(--bg-font); font-weight: 700; font-style: normal;
  color: var(--bg-blue); font-size: clamp(26px, 3.1vw, 42px); line-height: 1.2; margin: 0 0 10px;
}
.bg-cat-hero .copy .sub {
  font-weight: 300; color: var(--bg-blue);
  font-size: clamp(14px, 1.25vw, 17px); margin: 0;
}

/* --------------------------- Buscador ZIP ----------------------- */
.bg-search {
  background: var(--bg-gray-2); border-radius: 22px;
  box-shadow: 0 12px 30px rgba(10, 15, 71, 0.10);
  display: flex; align-items: center; gap: 16px;
  padding: 26px 34px 26px 30px;
  max-width: 860px; margin: 0 auto;
}
.bg-search .bg-pin { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bg-search .bg-pin svg { width: 56px; height: 56px; display: block; }
.bg-search input[type="text"] {
  width: 200px; flex-shrink: 1; min-width: 110px;
  background: var(--bg-gray); border: none; outline: none;
  border-radius: 10px; height: 52px; padding: 0 18px;
  font: italic 400 17px/1 var(--bg-font); color: var(--bg-ink);
}
.bg-search input::placeholder { color: #7d8790; font-style: italic; }
.bg-search .select-wrap { position: relative; flex-shrink: 1; width: 200px; background: var(--bg-gray); border-radius: 10px; }
.bg-search .select-wrap::after {
  content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8a929a;
  background: none; pointer-events: none;
}
.bg-search .select-wrap::before {
  content: ""; position: absolute; right: 18px; top: calc(50% - 2px); transform: rotate(45deg); z-index: 1;
  width: 5px; height: 5px; border-right: 2px solid #8a929a; border-bottom: 2px solid #8a929a;
  margin-top: -1px; pointer-events: none;
}
.bg-search select {
  appearance: none; -webkit-appearance: none; width: 100%;
  background: transparent; border: none; outline: none; cursor: pointer;
  height: 52px; padding: 0 44px 0 18px;
  font: italic 400 17px/1 var(--bg-font); color: var(--bg-ink);
}
.bg-search .submit {
  flex: 1; min-width: 190px; height: 52px; border: none; cursor: pointer;
  background: var(--bg-orange); color: #fff; border-radius: 10px;
  font: italic 800 17px/1 var(--bg-font);
  box-shadow: 0 8px 18px rgba(255, 113, 1, 0.35);
  transition: background 220ms ease;
}
.bg-search .submit:hover { background: #e56501; }
/* Variante de post: solo ZIP + botón azul */
.bg-search.bg-search-post { max-width: 700px; padding: 26px 48px; gap: 20px; }
.bg-search.bg-search-post .bg-pin svg { width: 50px; height: 50px; }
.bg-search.bg-search-post .submit {
  background: var(--bg-blue); box-shadow: 0 8px 18px rgba(24, 29, 200, 0.30);
}
.bg-search.bg-search-post .submit:hover { background: #1216a3; }

.bg-search-note {
  text-align: center; font: italic 400 12px/1.4 var(--bg-font);
  color: var(--bg-blue); margin: 16px 0 0;
}

/* --------------------- Título de categoría ---------------------- */
.bg-cat-title {
  font: italic 800 36px/1.1 var(--bg-font); color: var(--bg-blue);
  text-align: center; text-transform: uppercase; margin: 96px 0 0;
}
.bg-cat-rule { border: none; border-top: 1px solid #E4E4E4; margin: 28px auto 0; max-width: 1120px; }

/* ----------------------- Tarjetas de posts ---------------------- */
.bg-post-grid {
  max-width: 1010px; margin: 40px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.bg-card {
  background: var(--bg-gray); border-radius: 20px;
  box-shadow: 0 16px 26px rgba(10, 15, 71, 0.14);
  display: flex; flex-direction: column;
}
.bg-card .photo {
  width: 100%; aspect-ratio: 542 / 240; object-fit: cover;
  border-radius: 20px; display: block;
  box-shadow: 0 8px 16px rgba(10, 15, 71, 0.20);
}
.bg-card .title { padding: 20px 24px 32px; }
.bg-card .title a {
  font: italic 400 17px/1.35 var(--bg-font); color: var(--bg-blue);
  text-decoration: underline; text-underline-offset: 3px;
}
.bg-card .title a:hover { opacity: .75; }

/* --------------------------- Paginación ------------------------- */
.bg-pagination { display: flex; justify-content: center; gap: 10px; margin: 52px 0 0; }
.bg-pagination .page {
  width: 44px; height: 44px; border-radius: 9px;
  background: #FBFBFB; box-shadow: 0 3px 9px rgba(10, 15, 71, 0.12), inset 0 0 0 1px #ECECEC;
  display: flex; align-items: center; justify-content: center;
  font: 500 17px/1 var(--bg-font); color: #666666; text-decoration: none;
}

/* ------------------- Formulario de contacto --------------------- */
.bg-contact { background: var(--bg-gray); padding: 56px 24px 64px; margin-top: 88px; }
.bg-contact#contacto { background: var(--bg-gray) !important; }
.bg-contact .bg-contact-title {
  font: 800 34px/1.15 var(--bg-font); color: var(--bg-blue);
  text-align: center; text-transform: uppercase; margin: 0 0 36px;
}
.bg-contact form { max-width: 600px; margin: 0 auto; }
.bg-contact label { display: block; margin-bottom: 20px; }
.bg-contact .lbl { font: 400 18px/1 var(--bg-font); color: var(--bg-blue); margin: 0 0 10px 26px; }
.bg-contact input {
  width: 100%; height: 54px; border: none; outline: none;
  background: #fff; border-radius: 27px; padding: 0 26px;
  font: 300 16px/1 var(--bg-font); color: var(--bg-ink);
}
.bg-contact input:focus { box-shadow: 0 0 0 2px var(--bg-blue); }
.bg-contact .submit-row { text-align: center; margin-top: 36px; }
.bg-contact .bg-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 440px; max-width: 100%; height: 54px; border: none; cursor: pointer;
  background: var(--bg-orange); color: #fff; border-radius: 27px;
  font: italic 500 20px/1 var(--bg-font);
  box-shadow: 0 12px 22px rgba(255, 113, 1, 0.35);
  transition: background 220ms ease;
}
.bg-contact .bg-submit:hover { background: #e56501; }
.bg-contact .bg-submit img { width: 22px; height: 22px; object-fit: contain; }
.bg-contact .tp-form-msg { text-align: center; font-family: var(--bg-font); font-size: 15px; }

/* --------------------------- Hero de post ----------------------- */
.bg-post-hero {
  position: relative;
  background-repeat: no-repeat; background-size: cover; background-position: center;
  height: clamp(300px, 41vw, 560px);
}
.bg-post-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.bg-back {
  position: absolute; left: 24px; top: 24px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: block;
}
.bg-back img { width: 100%; height: 100%; transform: scaleX(-1); display: block; filter: drop-shadow(0 4px 9px rgba(10,15,71,.25)); }
.bg-back:hover { opacity: .85; }
.bg-post-hero .bg-container { height: 100%; position: relative; }
.bg-post-title {
  position: absolute; top: 16%; left: 60px; max-width: 560px;
  background: var(--bg-blue); border-radius: 26px;
  padding: 14px 26px 16px;
  font: 700 clamp(24px, 2.9vw, 38px)/1.2 var(--bg-font); color: #fff; margin: 0;
}
.bg-post-title.centered { left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 48px); }

/* Encabezado naranja de introducción (título del artículo) */
.bg-post-sub {
  font: italic 800 clamp(20px, 2.6vw, 34px)/1.2 var(--bg-font); color: var(--bg-orange);
  text-align: center; text-transform: uppercase;
  max-width: 820px; margin: 20px auto 0; position: relative; z-index: 1;
}
.bg-post-sub.sm { font-size: clamp(19px, 2.4vw, 31px); max-width: 880px; }
/* En posts sin píldora, el encabezado se monta sobre el degradado del hero */
.bg-post-sub.on-hero { margin-top: clamp(-58px, -4.4vw, -20px); }

/* ------------------------- Cuerpo del post ---------------------- */
.bg-article { padding-top: 56px; }
.bg-article > .bg-container > p,
.bg-body p { font: 300 18px/1.45 var(--bg-font); color: var(--bg-ink); margin: 0 0 22px; }
.bg-article .bg-arrows, .bg-body .bg-arrows { font: 300 18px/1.45 var(--bg-font); color: var(--bg-ink); }

.bg-h2 {
  font: italic 800 32px/1.2 var(--bg-font); color: var(--bg-orange);
  text-transform: uppercase; margin: 64px 0 26px;
}
.bg-h2.blue { color: var(--bg-blue); }
.bg-h3 {
  font: italic 500 22px/1.25 var(--bg-font); color: var(--bg-orange);
  text-transform: uppercase; margin: 56px 0 22px;
}

/* Prefijo "PASO n:" azul dentro de encabezados naranjas */
.bg-h3 .paso { color: var(--bg-blue); }
/* Sub-etiqueta azul dentro del texto (p. ej. Phishing / Malware) */
.bg-sublabel { font: 300 18px/1.45 var(--bg-font); color: var(--bg-blue); margin: 22px 0 0; }
.bg-sublabel + p { margin-top: 0; }

/* Imagen dentro del artículo (recorte apaisado exacto del diseño) */
.bg-img { display: block; margin: 40px auto; border-radius: 26px; width: 100%; max-width: 826px; aspect-ratio: 934 / 663; object-fit: cover; }

/* Píldoras azules (beneficios) */
.bg-pills {
  list-style: none; padding: 0; max-width: 800px; margin: 36px auto 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 15px;
}
.bg-pills li {
  background: var(--bg-blue); color: #fff; border-radius: 18px;
  min-height: 72px; display: flex; align-items: center;
  padding: 15px 20px;
  font: 300 16px/1.35 var(--bg-font);
}
.bg-pills li span { position: relative; padding-left: 20px; display: block; }
.bg-pills li span::before { content: "\e003"; position: absolute; left: 0; top: 0; }

/* Banda azul a todo lo ancho (texto izq. + foto der.) */
.bg-blue-band {
  background: var(--bg-blue); color: #fff; margin: 72px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.bg-blue-band .txt {
  padding: 56px 16px 52px calc(max((100% - 1168px) / 2, 0px) + 24px);
  grid-column: 1;
  position: relative; z-index: 2;
}
.bg-blue-band .txt h2 {
  font: italic 800 32px/1.2 var(--bg-font); color: #fff;
  text-transform: uppercase; margin: 0 0 24px;
  width: max-content; max-width: 176%;
}
.bg-blue-band .txt p { font: 300 18px/1.45 var(--bg-font); color: #fff; margin: 0 0 20px; }
.bg-blue-band .txt p:last-child { margin-bottom: 0; }
.bg-blue-band .txt .bg-arrows { font: 300 18px/1.45 var(--bg-font); color: #fff; margin: 0 0 20px; }
.bg-blue-band .txt .bg-arrows li { padding-left: 24px; }
.bg-blue-band .photo {
  position: relative; min-height: 100%;
  background-size: cover; background-position: center;
}
.bg-blue-band .photo::before {
  content: ""; position: absolute; inset: 0 auto 0 -1px; width: 150px;
  background: linear-gradient(to right, var(--bg-blue), rgba(24, 29, 200, 0));
}
/* Banda azul sin foto (texto a todo lo ancho) */
.bg-blue-band.full { display: block; }
.bg-blue-band.full .txt { padding-right: calc(max((100% - 1168px) / 2, 0px) + 24px); }
.bg-blue-band.full .txt p, .bg-blue-band.full .txt .bg-arrows { font-size: 18px; }

/* Tarjeta CONCLUSIÓN (azul o naranja) */
.bg-conclusion {
  background: var(--bg-blue); border-radius: 28px; color: #fff;
  max-width: 1120px; margin: 72px auto 0; padding: 30px 40px 36px;
}
.bg-conclusion.orange { background: var(--bg-orange); }
.bg-conclusion h2 {
  font: italic 800 25px/1.25 var(--bg-font); color: #fff;
  text-transform: uppercase; margin: 0 0 18px;
}
.bg-conclusion p { font: 300 18px/1.45 var(--bg-font); color: #fff; margin: 0 0 20px; }
.bg-conclusion p:last-child { margin-bottom: 0; }

/* Caja gris destacada (radio grande) */
.bg-gray-box {
  background: var(--bg-gray); border-radius: 28px;
  max-width: 958px; margin: 72px auto;
  padding: 40px 48px 44px;
  box-shadow: 0 16px 30px rgba(10, 15, 71, 0.12);
}
.bg-gray-box .bg-h3 { margin: 0 0 20px; }
.bg-gray-box p { font: 300 18px/1.45 var(--bg-font); color: var(--bg-ink); margin: 0 0 20px; max-width: 730px; }
.bg-gray-box p:last-child { margin-bottom: 0; }
.bg-gray-box .bg-arrows { font: 300 18px/1.45 var(--bg-font); color: var(--bg-ink); margin: 0; max-width: 730px; }
.bg-gray-box .bg-sublabel { max-width: 730px; }

/* Dos tarjetas grises lado a lado */
.bg-gray-duo {
  max-width: 1120px; margin: 48px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.bg-gray-duo .box {
  background: var(--bg-gray); border-radius: 28px;
  padding: 40px 32px 36px;
  box-shadow: 0 16px 30px rgba(10, 15, 71, 0.12);
}
.bg-gray-duo .box .bg-h3 { margin: 0 0 20px; }
.bg-gray-duo .box p { font: 300 18px/1.45 var(--bg-font); color: var(--bg-ink); margin: 0; }
.bg-gray-duo .box .bg-arrows { font: 300 18px/1.45 var(--bg-font); color: var(--bg-ink); }

/* Tabla de velocidades */
.bg-table { width: 100%; max-width: 924px; margin: 44px auto 0; border-collapse: collapse; }
.bg-table th {
  font: 400 20px/1.2 var(--bg-font); color: var(--bg-blue); text-align: left;
  padding: 0 0 16px 12px;
}
.bg-table td {
  font: italic 300 17px/1.3 var(--bg-font); color: var(--bg-ink);
  border-top: 1.5px solid #C9C9C9;
  padding: 14px 0 14px 12px;
}
.bg-table tr:last-child td { border-bottom: 1.5px solid #C9C9C9; }

/* ------------------------------ CTA ----------------------------- */
.bg-cta { padding: 96px 24px 0; }
.bg-cta-title {
  font: 800 clamp(26px, 3.1vw, 42px)/1.2 var(--bg-font); color: var(--bg-orange);
  text-align: center; text-transform: uppercase; margin: 0 0 16px;
}
.bg-cta-sub { font: 400 20px/1.3 var(--bg-font); color: var(--bg-blue); text-align: center; margin: 0 0 40px; }
.bg-cta-habla { font: 400 20px/1.3 var(--bg-font); color: var(--bg-orange); text-align: center; margin: 64px 0 0; }
.bg-cta-phone-row { text-align: center; margin: 22px 0 0; }
.bg-cta-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--bg-blue); color: #fff; border-radius: 26px;
  min-width: 420px; max-width: 100%; height: 52px; padding: 0 32px;
  font: italic 800 16px/1 var(--bg-font); text-decoration: none;
  box-shadow: 0 10px 20px rgba(24, 29, 200, 0.30);
  transition: background 220ms ease;
}
.bg-cta-phone:hover { background: #1216a3; opacity: 1; }
.bg-cta-phone svg { width: 22px; height: 22px; flex-shrink: 0; }
.bg-cta + .tp-footer, .bg-after-footer { margin-top: 96px; }

/* ------------------------ Responsive ---------------------------- */
@media (max-width: 880px) {
  .bg-article > .bg-container > p, .bg-body p,
  .bg-article .bg-arrows, .bg-body .bg-arrows,
  .bg-gray-box p, .bg-gray-box .bg-arrows, .bg-gray-duo .box p,
  .bg-gray-duo .box .bg-arrows, .bg-sublabel { font-size: 17px; }
  .bg-h2 { font-size: 27px; margin: 52px 0 22px; }
  .bg-h3 { font-size: 20px; margin: 48px 0 18px; }
  .bg-blue-band .txt h2 { font-size: 25px; }
  .bg-blue-band .txt p, .bg-blue-band .txt .bg-arrows,
  .bg-blue-band.full .txt p, .bg-blue-band.full .txt .bg-arrows { font-size: 17px; }
  .bg-conclusion h2 { font-size: 22px; }
  .bg-conclusion p { font-size: 17px; }
  .bg-cat-title { font-size: 30px; margin-top: 72px; }
  .bg-contact .bg-contact-title { font-size: 28px; }
  .bg-cta-sub, .bg-cta-habla { font-size: 18px; }
  .bg-table th { font-size: 18px; }
  .bg-table td { font-size: 16px; }
  .bg-search { padding: 20px 22px; gap: 12px; }
  .bg-search .bg-pin svg { width: 46px; height: 46px; }
  .bg-search input[type="text"], .bg-search select { font-size: 16px; height: 48px; }
  .bg-search .select-wrap { width: 170px; }
  .bg-search input[type="text"] { width: 170px; }
  .bg-search .submit { font-size: 16px; height: 48px; }
  .bg-pills li { font-size: 15px; min-height: 60px; }
  .bg-card .title a { font-size: 16px; }
  .bg-post-grid { gap: 32px; }
}

@media (max-width: 640px) {
  /* Hero de categoría: texto a la derecha (como en escritorio), más pequeño en
     móvil para que quede compacto y no se monte sobre la mujer, con halo blanco
     para que sea legible donde la cruza */
  .bg-cat-hero .slogan { font-size: clamp(18px, 5vw, 26px); line-height: 1.15; }
  .bg-cat-hero .copy .sub { font-size: clamp(11px, 2.3vw, 14px); }
  .bg-cat-hero .slogan,
  .bg-cat-hero .copy .sub {
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.95);
  }
  .bg-article { padding-top: 40px; }
  .bg-article > .bg-container > p, .bg-body p,
  .bg-article .bg-arrows, .bg-body .bg-arrows,
  .bg-gray-box p, .bg-gray-box .bg-arrows, .bg-gray-duo .box p,
  .bg-gray-duo .box .bg-arrows, .bg-sublabel { font-size: 16px; margin-bottom: 18px; }
  .bg-sublabel { margin-top: 18px; margin-bottom: 0; }
  .bg-arrows li { padding-left: 22px; }
  .bg-h2 { font-size: 22px; margin: 44px 0 16px; }
  .bg-h3 { font-size: 18px; margin: 40px 0 14px; }
  .bg-img { border-radius: 18px; margin: 28px auto; }
  .bg-post-title { border-radius: 18px; padding: 10px 18px 12px; left: 24px; max-width: calc(100% - 48px); top: 18%; }
  .bg-back { left: 14px; top: 14px; width: 38px; height: 38px; }
  .bg-post-sub { margin-top: 12px; }
  .bg-post-sub.on-hero { margin-top: -10px; }
  .bg-pills { grid-template-columns: 1fr; gap: 12px; margin: 24px auto 18px; }
  .bg-pills li { font-size: 15px; min-height: 0; padding: 14px 18px; border-radius: 14px; }
  .bg-blue-band { grid-template-columns: 1fr; margin-top: 44px; }
  .bg-blue-band .txt { padding: 32px 24px; }
  .bg-blue-band .txt h2 { font-size: 21px; margin-bottom: 16px; width: auto; max-width: 100%; }
  .bg-blue-band .txt p, .bg-blue-band .txt .bg-arrows,
  .bg-blue-band.full .txt p, .bg-blue-band.full .txt .bg-arrows { font-size: 16px; margin-bottom: 16px; }
  .bg-blue-band .photo { min-height: 260px; }
  .bg-blue-band .photo::before { inset: -1px 0 auto 0; width: auto; height: 100px; background: linear-gradient(to bottom, var(--bg-blue), rgba(24,29,200,0)); }
  .bg-conclusion { border-radius: 20px; padding: 22px 20px 26px; margin-top: 44px; }
  .bg-conclusion h2 { font-size: 19px; margin-bottom: 12px; }
  .bg-conclusion p { font-size: 16px; margin-bottom: 16px; }
  .bg-gray-box { border-radius: 20px; padding: 26px 22px; margin: 44px auto; }
  .bg-gray-duo { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .bg-gray-duo .box { border-radius: 20px; padding: 26px 22px; }
  .bg-table { margin-top: 28px; }
  .bg-table th { font-size: 16px; padding: 0 0 12px 10px; }
  .bg-table td { font-size: 15px; padding: 12px 0 12px 10px; }
  .bg-cat-title { font-size: 26px; margin-top: 52px; }
  .bg-cat-rule { margin-top: 20px; }
  .bg-post-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .bg-card { border-radius: 16px; }
  .bg-card .photo { border-radius: 16px; }
  .bg-card .title { padding: 16px 20px 26px; }
  .bg-card .title a { font-size: 16px; }
  .bg-pagination { margin-top: 36px; }
  .bg-pagination .page { width: 40px; height: 40px; font-size: 16px; }
  .bg-search { flex-wrap: wrap; padding: 18px 18px; gap: 10px; border-radius: 16px; }
  .bg-search .bg-pin { display: none; }
  .bg-search input[type="text"] { width: 100%; flex: 1 1 120px; font-size: 15px; height: 46px; padding: 0 16px; }
  .bg-search .select-wrap { width: 100%; flex: 1 1 120px; }
  .bg-search select { font-size: 15px; height: 46px; padding: 0 40px 0 16px; }
  .bg-search .submit { flex: 1 1 100%; min-width: 0; font-size: 15px; height: 46px; }
  .bg-search-note { font-size: 11px; margin-top: 12px; }
  .bg-contact { padding: 36px 24px 44px; margin-top: 56px; }
  .bg-contact .bg-contact-title { font-size: 22px; margin-bottom: 22px; }
  .bg-contact .lbl { font-size: 16px; margin: 0 0 8px 20px; }
  .bg-contact input { height: 50px; border-radius: 25px; padding: 0 20px; font-size: 15px; }
  .bg-contact label { margin-bottom: 16px; }
  .bg-contact .submit-row { margin-top: 24px; }
  .bg-contact .bg-submit { width: 100%; height: 52px; font-size: 18px; border-radius: 26px; }
  .bg-contact .bg-submit img { width: 20px; height: 20px; }
  .bg-cta { padding-top: 60px; }
  .bg-cta-sub { font-size: 16px; margin-bottom: 24px; }
  .bg-cta-habla { font-size: 17px; margin-top: 40px; }
  .bg-cta-phone { min-width: 0; width: 100%; height: 50px; font-size: 15px; gap: 10px; }
  .bg-cta + .tp-footer, .bg-after-footer { margin-top: 56px; }
}
