/*
  GUIAS 2026
  Capa visual premium para todas las guias de detalle.
*/

/* Boton AliExpress verde para product-cards */
.guide-page .button-cta-ali {
  min-height: 3.75rem;
  padding: 1rem 1.75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #34d399, #16a34a);
  border-color: rgba(22, 163, 74, 0.18);
  color: #062514 !important;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24);
  margin-top: 0.5rem;
}

.guide-page .button-cta-ali:hover,
.guide-page .button-cta-ali:focus-visible {
  box-shadow: 0 18px 32px rgba(22, 163, 74, 0.3);
  transform: none;
}

:root {
  --guide-bg: #ecf2f8;
  --guide-text: #0f2648;
  --guide-muted: rgba(15, 38, 72, 0.76);
  --guide-line: rgba(15, 38, 72, 0.14);
  --guide-amber: #f59e0b;
  --guide-cyan: #40c4ff;
  --guide-green: #56c271;
  --guide-rose: #ff8c6b;
}

body.guide-page {
  position: relative;
  background:
    radial-gradient(1200px 680px at 82% -12%, rgba(245, 158, 11, 0.1), transparent 62%),
    radial-gradient(960px 520px at -12% 24%, rgba(31, 86, 166, 0.1), transparent 62%),
    var(--guide-bg);
}

body.guide-page::before,
body.guide-page::after {
  content: '';
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

body.guide-page::before {
  top: 14vh;
  left: -130px;
  background: radial-gradient(circle, rgba(64, 196, 255, 0.34), transparent 68%);
}

body.guide-page::after {
  right: -110px;
  bottom: 8vh;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 70%);
}

.guide-page .site-header .container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin: 0 auto;
}

.guide-page .site-header .header-inner {
  min-height: 82px;
}

.guide-page main {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

.guide-page main > .hero.section {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/linear-actuator-la37.avif') center/cover;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.guide-page main > .hero.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.guide-page main > .hero.section .guide-shell {
  position: relative;
  z-index: 1;
  padding: 1.3rem 0 0.3rem;
}

.guide-page main > .hero.section .hero-shell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(4, 12, 26, 0.42);
  padding: clamp(1.1rem, 2.1vw, 1.8rem);
}

.guide-page main > .hero.section h1 {
  color: #fff;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 4.9vw, 3.5rem);
  line-height: 1.03;
}

.guide-page main > .hero.section .hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  max-width: 76ch;
}

.guide-page main > .hero.section .hero-meta-chip {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #ffdc9f;
}

.guide-page--mesa main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/deskline-motorhousing-system.avif') center/cover;
}

.guide-page--puerta main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/puerta-automatica-01.png') center 32%/cover;
}

.guide-page--cama main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/3-Fold-Sofa-Bed-Lifting-Mechanism-Frame-Space-Saving-Mechanism-with-Gas-Spring-Multi-functional-Folding-Furniture-Hardware.jpg_300x300.avif') center/cover;
}

.guide-page--ventana main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/croquis_medio_centrado.png') center/cover;
}

.guide-page--porton main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/sync_control_2_optical_actuators_bb.webp') center/cover;
}

.guide-page--invernadero main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/able-nordic-actuators-close-up.jpg') center/cover;
}

.guide-page--solar main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/placa-solar-01.png') center 18%/cover;
}

.guide-page--paso-a-paso main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/actuador_paso_a_paso.png') center/cover;
}

.guide-page--1000n main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/linear-actuator-la37.avif') center/cover;
}

.guide-page--peso main > .hero.section,
.guide-page--como-elegir main > .hero.section {
  background:
    linear-gradient(135deg, rgba(7, 18, 38, 0.9) 0%, rgba(15, 37, 71, 0.88) 100%),
    url('../images/Actuador_Mejorado.png') center/cover;
}

.guide-page .section {
  position: relative;
  margin-top: 1.1rem;
}

.guide-page .section + .section {
  margin-top: 1.35rem;
}

.guide-page #contenido + #faq {
  margin-top: 2.6rem;
}

.guide-page #contenido .container > * + * {
  margin-top: 1.3rem;
}

.guide-page #contenido .container > .section-header + * {
  margin-top: 0;
}

.guide-page #contenido .section-cta,
.guide-page #contenido .internal-link-block,
.guide-page #contenido .media-showcase {
  margin-top: 0;
}

.guide-page #contenido .media-showcase + *,
.guide-page #contenido .guide-visual-grid + * {
  margin-top: 1.9rem;
}

.guide-page #contenido .table-wrap + .section-cta {
  margin-top: 1rem;
}

.guide-page .section .container {
  position: relative;
  z-index: 1;
}

.guide-page #respuesta-rapida::before,
.guide-page #contenido::before,
.guide-page #ejemplos::before,
.guide-page #errores-comunes::before,
.guide-page #faq::before,
.guide-page #conclusion::before {
  content: '';
  position: absolute;
  inset: 1rem 1.25rem;
  border-radius: 34px;
  pointer-events: none;
}

.guide-page #respuesta-rapida::before {
  background:
    radial-gradient(circle at 8% 18%, rgba(86, 194, 113, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}

.guide-page #contenido::before {
  background:
    radial-gradient(circle at 90% 14%, rgba(64, 196, 255, 0.12), transparent 22%),
    radial-gradient(circle at 8% 82%, rgba(245, 158, 11, 0.08), transparent 20%);
}

.guide-page #ejemplos::before {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 140, 107, 0.12), transparent 20%),
    radial-gradient(circle at 88% 26%, rgba(64, 196, 255, 0.12), transparent 20%);
}

.guide-page #errores-comunes::before {
  background:
    radial-gradient(circle at 90% 22%, rgba(255, 140, 107, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.guide-page #faq::before {
  inset: 2.55rem 1.25rem 1rem;
  background:
    radial-gradient(circle at 10% 22%, rgba(18, 87, 163, 0.12), transparent 22%),
    radial-gradient(circle at 86% 80%, rgba(86, 194, 113, 0.1), transparent 20%);
}

.guide-page--peso #faq::before {
  inset: 2.2rem 1.25rem 1rem;
}

.guide-page--peso #faq .section-header {
  margin-bottom: 1.05rem;
}

.guide-page--como-elegir #faq::before {
  inset: 2.3rem 1.25rem 1rem;
}

.guide-page--como-elegir #faq .section-header {
  margin-bottom: 1.05rem;
}

.guide-page #conclusion::before {
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.16), transparent 22%),
    radial-gradient(circle at 12% 84%, rgba(64, 196, 255, 0.1), transparent 18%);
}

.guide-page .section-header .section-title,
.guide-page .card h3,
.guide-page .highlight h2,
.guide-page .mid-recommendation-body h3,
.guide-page .decision-rapida-kicker {
  color: var(--guide-text);
}

.guide-page .card,
.guide-page .highlight,
.guide-page .mid-recommendation,
.guide-page .decision-rapida,
.guide-page .table-wrap,
.guide-page .cta,
.guide-page .section-cta,
.guide-page .internal-link-block,
.guide-page .link-bridge,
.guide-page .note-box,
.guide-page .inline-cta {
  border-radius: 20px;
}

.guide-page .card,
.guide-page .table-wrap,
.guide-page .internal-link-block,
.guide-page .inline-cta,
.guide-page .link-bridge,
.guide-page .note-box {
  border: 1px solid var(--guide-line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.99) 100%);
  box-shadow: 0 12px 28px rgba(15, 38, 72, 0.09);
}

.guide-page .card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.guide-page .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 38, 72, 0.14);
}

.guide-page #contenido .guide-grid-2,
.guide-page #contenido .guide-visual-grid {
  gap: 1rem;
  align-items: stretch;
}

.guide-page #contenido .guide-visual-grid > *,
.guide-page #contenido .guide-grid-2 > * {
  width: 100%;
  height: 100%;
}

.guide-page .highlight {
  border: 1px solid rgba(245, 158, 11, 0.32);
  background: linear-gradient(145deg, #fff7e7 0%, #fffdf8 100%);
  box-shadow: 0 16px 36px rgba(245, 158, 11, 0.18);
}

.guide-page .badge,
.guide-page .mid-recommendation-badge {
  background: linear-gradient(135deg, #f59e0b, #d67f00);
  color: #0b1222;
  font-weight: 800;
}

.guide-page .section-label,
  position: relative;
.guide-page .section-kicker,
.guide-page .card-tag {
  color: #c97700;
}

.guide-page p,
.guide-page li,
.guide-page .section-cta-text,
.guide-page .guide-section-card p,
.guide-page .hero-meta,
.guide-page .hero-meta-chip {
  color: var(--guide-muted);
}

.guide-page .button.button-cta,
.guide-page .button.button-primary,
.guide-page .button.button-lg,
.guide-page .button.button-large {
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #d97a00);
  color: #0b1222 !important;
  border: none;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.3);
}

.guide-page .button.button-cta:hover,
.guide-page .button.button-primary:hover,
.guide-page .button.button-lg:hover,
.guide-page .button.button-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(245, 158, 11, 0.38);
}

.guide-page .section-cta {
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.94));
}

.guide-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.35rem;
  padding: 0.95rem;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px rgba(4, 12, 26, 0.18);
  backdrop-filter: blur(14px);
}

.guide-kpi-item {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 1rem 1rem 1rem 1.05rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.94));
  box-shadow: 0 16px 32px rgba(7, 18, 38, 0.18);
}

.guide-kpi-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 22px 0 0 22px;
}

.guide-kpi-item::after {
  position: absolute;
  right: 0.9rem;
  top: 0.72rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(15, 38, 72, 0.07);
}

.guide-kpi-item:nth-child(1) {
  background: linear-gradient(165deg, rgba(247, 252, 255, 0.97), rgba(234, 246, 255, 0.94));
}

.guide-kpi-item:nth-child(1)::before {
  background: linear-gradient(180deg, #40c4ff, #0b74b8);
}

.guide-kpi-item:nth-child(1)::after {
  content: '01';
}

.guide-kpi-item:nth-child(2) {
  background: linear-gradient(165deg, rgba(247, 255, 249, 0.97), rgba(236, 250, 241, 0.94));
}

.guide-kpi-item:nth-child(2)::before {
  background: linear-gradient(180deg, #56c271, #1f8d4c);
}

.guide-kpi-item:nth-child(2)::after {
  content: '02';
}

.guide-kpi-item:nth-child(3) {
  background: linear-gradient(165deg, rgba(255, 251, 244, 0.97), rgba(255, 243, 227, 0.95));
}

.guide-kpi-item:nth-child(3)::before {
  background: linear-gradient(180deg, #f59e0b, #c97700);
}

.guide-kpi-item:nth-child(3)::after {
  content: '03';
}

.guide-kpi-item strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.4rem;
  color: #0f2648;
  margin-bottom: 0.08rem;
  letter-spacing: -0.02em;
}

.guide-kpi-item span {
  max-width: 22ch;
  color: rgba(15, 38, 72, 0.76);
  font-size: 0.98rem;
  line-height: 1.55;
}

.guide-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.guide-media-card {
  border: 1px solid var(--guide-line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 255, 0.98) 100%);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 38, 72, 0.1);
}

.guide-media-card figure {
  margin: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(230px, auto) 1fr;
}

.guide-media-card img {
  width: 100%;
  height: clamp(230px, 24vw, 280px);
  object-fit: cover;
  display: block;
}

.guide-media-card figcaption {
  padding: 0.9rem 1rem 1rem;
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--guide-muted);
}

.guide-decision-panel {
  border: 1px solid rgba(15, 38, 72, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f5faff 100%);
  box-shadow: 0 14px 30px rgba(15, 38, 72, 0.09);
  padding: 1.15rem 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.guide-decision-panel h3 {
  margin: 0;
  color: #0f2648;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.42rem;
}

.guide-decision-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.48rem;
}

.guide-decision-panel li {
  color: rgba(15, 38, 72, 0.82);
  line-height: 1.62;
}

.media-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 1.35rem;
  align-items: center;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(15, 38, 72, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(64, 196, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 249, 255, 0.98) 100%);
  box-shadow: 0 20px 42px rgba(15, 38, 72, 0.12);
}

.media-showcase-copy {
  display: grid;
  align-content: center;
  gap: 0.8rem;
  padding: 0.3rem 0.4rem 0.3rem 0.25rem;
}

.media-showcase-kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.24);
  color: #a76000;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-showcase-copy h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.08;
  color: #0b2344;
}

.media-showcase-copy p {
  margin: 0;
  color: rgba(15, 38, 72, 0.82);
  line-height: 1.65;
}

.media-showcase-points {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.media-showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 38, 72, 0.08);
  color: #173252;
  line-height: 1.5;
  box-shadow: 0 10px 22px rgba(15, 38, 72, 0.06);
}

.media-showcase-points li::before {
  content: '✦';
  flex: 0 0 1.2rem;
  color: #c97700;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 0.08rem;
}

.media-showcase-frame {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-showcase--solar {
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.82fr);
  align-items: stretch;
}

.media-showcase--solar .media-showcase-copy {
  min-height: 0;
  align-content: start;
  gap: 1rem;
  padding-right: 0.75rem;
}

.media-showcase--solar .media-showcase-copy p {
  font-size: 1.08rem;
  line-height: 1.7;
}

.media-showcase--solar .media-showcase-points {
  margin-top: 0.2rem;
}

.media-showcase--solar .media-showcase-points li {
  padding: 0.92rem 1rem;
}

.media-showcase--solar .media-showcase-frame {
  height: 100%;
  align-items: stretch;
}

.media-showcase--solar .media-showcase-image-link {
  max-width: 540px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-showcase--solar .media-showcase-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
}

.media-showcase-image-link {
  display: block;
  width: 100%;
  max-width: 620px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-showcase--silencioso-frame-center .media-showcase-frame {
  justify-content: flex-end;
  padding-right: 0.75rem;
}

.media-showcase--silencioso-frame-center .media-showcase-image-link {
  width: 88%;
  max-width: 540px;
}

.media-showcase--paso-frame .media-showcase-frame {
  justify-content: flex-end;
  padding-right: 0.75rem;
}

.media-showcase--paso-frame .media-showcase-image-link {
  width: 88%;
  max-width: 540px;
}

.media-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(15, 38, 72, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.media-showcase-image-link:hover .media-showcase-image,
.media-showcase-image-link:focus-visible .media-showcase-image {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(15, 38, 72, 0.22);
  filter: saturate(1.03);
}

.guide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(7, 18, 38, 0.82);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.guide-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.guide-lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
}

.guide-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 3rem);
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  background: #f4f8fc;
}

.guide-lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 18, 38, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.media-showcase-placeholder {
  position: relative;
  min-height: 320px;
  display: grid;
  place-content: center;
  gap: 0.65rem;
  padding: 1rem;
  text-align: center;
  border-radius: 22px;
  border: 1px solid rgba(18, 87, 163, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(237, 246, 255, 0.98) 100%);
  overflow: hidden;
}

.media-showcase-placeholder::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.media-showcase-placeholder-tag {
  justify-self: center;
  display: inline-flex;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #d67f00);
  color: #0b1222;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.24);
}

.media-showcase-placeholder strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.05;
  color: #0f2648;
}

.media-showcase-placeholder span:last-child {
  max-width: 30ch;
  margin: 0 auto;
  color: rgba(15, 38, 72, 0.74);
  line-height: 1.55;
}

.media-showcase-placeholder--image {
  min-height: 0;
  grid-template-rows: 1fr;
  align-content: stretch;
  gap: 0;
  padding: 0.85rem;
  aspect-ratio: 4 / 3;
}

.media-showcase-placeholder--image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 30px rgba(15, 38, 72, 0.14);
}

.media-showcase-frame figcaption {
  padding: 0 0.2rem;
  color: rgba(15, 38, 72, 0.72);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .guide-visual-grid {
    grid-template-columns: 1fr;
  }

  .guide-kpi-strip {
    grid-template-columns: 1fr;
  }

  .media-showcase {
    grid-template-columns: 1fr;
  }

  .media-showcase--solar .media-showcase-copy,
  .media-showcase--solar .media-showcase-image-link {
    min-height: 0;
    height: auto;
  }

  .media-showcase--solar {
    align-items: center;
  }

  .media-showcase--solar .media-showcase-frame {
    height: auto;
    align-items: center;
  }

  .media-showcase--solar .media-showcase-image {
    height: auto;
  }
}

.guide-page .comparison-table thead th {
  background: #0f2648;
  color: #fff;
}

.guide-page .comparison-table tbody tr:nth-child(2n) {
  background: rgba(15, 38, 72, 0.04);
}

.guide-page .table-wrap {
  margin-top: 1.15rem;
  padding: 0.65rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(64, 196, 255, 0.09), transparent 28%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(242, 248, 255, 0.98) 100%);
}

.guide-page .comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.guide-page .comparison-table thead th {
  padding: 1.15rem 0.95rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.guide-page .comparison-table thead th:first-child {
  border-top-left-radius: 18px;
}

.guide-page .comparison-table thead th:last-child {
  border-top-right-radius: 18px;
  border-right: 0;
}

.guide-page .comparison-table tbody td {
  padding: 1.45rem 0.95rem;
  border-top: 1px solid rgba(15, 38, 72, 0.1);
  vertical-align: middle;
  line-height: 1.55;
}

.guide-page .comparison-table tbody tr {
  transition: background-color 180ms ease, transform 180ms ease;
}

.guide-page .comparison-table tbody tr:hover {
  background: rgba(64, 196, 255, 0.05);
}

.guide-page .comparison-table td:first-child {
  min-width: 220px;
}

.guide-page .comparison-table td:last-child,
.guide-page .comparison-table th:last-child {
  width: 1%;
  white-space: nowrap;
}

.guide-page .comparison-table td .button {
  min-height: 3.05rem;
  padding: 0.78rem 1.12rem;
  font-size: 0.93rem;
  line-height: 1.2;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.26);
}

.guide-page .comparison-table td .button:hover,
.guide-page .comparison-table td .button:focus-visible {
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.32);
}

.guide-page .product-card-featured {
  border: 1px solid rgba(245, 158, 11, 0.38);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.18);
}

.guide-page .btn-microcopy {
  color: rgba(15, 38, 72, 0.64) !important;
}

@media (max-width: 768px) {
  .guide-page main > .hero.section .guide-shell {
    padding-top: 0.45rem;
  }

  .guide-page main > .hero.section .hero-shell {
    padding: 1rem;
    border-radius: 16px;
  }

  .guide-page .section-cta {
    padding: 0.85rem;
  }

  .guide-media-card img {
    height: 210px;
  }

  .guide-page .table-wrap {
    padding: 0.4rem;
    border-radius: 22px;
  }

  .guide-page .comparison-table thead th,
  .guide-page .comparison-table tbody td {
    padding: 1rem 0.8rem;
  }

  .guide-page .comparison-table td .button {
    min-height: 2.85rem;
    padding: 0.72rem 0.95rem;
    font-size: 0.88rem;
  }
}

/* ============================================================
   GUIAS 2026 — PULIDO FINAL DE CONTRASTE Y UI
   ============================================================ */
:root {
  --guide-surface: rgba(255, 255, 255, 0.98);
  --guide-surface-soft: rgba(246, 250, 255, 0.96);
  --guide-surface-strong: #ffffff;
  --guide-border-strong: rgba(15, 38, 72, 0.16);
  --guide-shadow-lg: 0 18px 42px rgba(15, 38, 72, 0.12);
  --guide-link: #1257a3;
  --guide-link-hover: #0b3f7b;
}

.guide-page {
  color: var(--guide-text);
}

.guide-page p,
.guide-page li,
.guide-page .section-cta-text,
.guide-page .guide-section-card p,
.guide-page .guide-kpi-item span,
.guide-page .guide-media-card figcaption,
.guide-page .faq-answer p,
.guide-page .card p,
.guide-page .highlight p,
.guide-page .mid-recommendation-body p,
.guide-page .decision-rapida-list li,
.guide-page .link-bridge p,
.guide-page .inline-cta p,
.guide-page .note-box p,
.guide-page .footer-copy,
.guide-page .footer-legal p {
  color: rgba(15, 38, 72, 0.82);
}

.guide-page strong,
.guide-page b,
.guide-page .guide-section-card h3,
.guide-page .card h3,
.guide-page .guide-decision-panel h3,
.guide-page .comparison-table td strong {
  color: #0b2344;
}

.guide-page main a:not(.button) {
  color: var(--guide-link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}

.guide-page main a:not(.button):hover,
.guide-page main a:not(.button):focus-visible {
  color: var(--guide-link-hover);
}

.guide-page .section-header {
  margin-bottom: 1.5rem;
}

.guide-page #contenido .container > .section-header:not(:first-child) {
  margin-top: 2rem;
}

.guide-page #contenido .container > .section-cta + .section-header,
.guide-page #contenido .container > .table-wrap + .section-header,
.guide-page #contenido .container > .card + .section-header,
.guide-page #contenido .container > .guide-decision-panel + .section-header {
  margin-top: 2.15rem;
}

.guide-page #contenido .container > .guide-grid-2 + .section-cta,
.guide-page #contenido .container > .table-wrap + .card,
.guide-page #contenido .container > .card + .section-cta,
.guide-page #contenido .container > .guide-decision-panel + .section-cta {
  margin-top: 1.35rem;
}

.guide-page #faq .container {
  display: block;
}

.guide-page #faq .section-header {
  margin-bottom: 1.7rem;
}

.guide-page #faq .faq {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.guide-page #faq .faq-item {
  border-radius: 22px;
}

.guide-page #faq .faq-question {
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
}

.guide-page #faq .faq-question > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
  white-space: normal;
}

.guide-page #faq .faq-icon {
  flex: 0 0 auto;
  margin-top: 0.08rem;
}

.guide-page #faq .faq-answer-inner {
  padding: 0 1.15rem 1.1rem;
}

.guide-page .section-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #a76000;
}

.guide-page .section-title {
  max-width: 18ch;
  color: #0d2748;
  letter-spacing: -0.02em;
}

.guide-page .card,
.guide-page .table-wrap,
.guide-page .internal-link-block,
.guide-page .inline-cta,
.guide-page .link-bridge,
.guide-page .note-box,
.guide-page .guide-decision-panel,
.guide-page .guide-media-card {
  background: linear-gradient(160deg, var(--guide-surface) 0%, var(--guide-surface-soft) 100%);
  border: 1px solid var(--guide-border-strong);
  box-shadow: var(--guide-shadow-lg);
}

.guide-page .card::after,
.guide-page .internal-link-block::after,
.guide-page .inline-cta::after,
.guide-page .guide-media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 32%, rgba(18, 87, 163, 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.guide-page .card:hover,
.guide-page .guide-media-card:hover,
.guide-page .link-bridge:hover {
  box-shadow: 0 22px 46px rgba(15, 38, 72, 0.16);
}

.guide-page .highlight {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(145deg, #fff7e5 0%, #fffdf7 100%);
  border: 1px solid rgba(245, 158, 11, 0.36);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.14);
}

.guide-page .highlight::after {
  content: '';
  position: absolute;
  right: -56px;
  top: -44px;
  width: 180px;
  height: 180px;
  border-radius: 36px;
  transform: rotate(24deg);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.guide-page .highlight-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.3rem;
}

.guide-page .highlight-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #173252;
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-page .highlight-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.8rem;
  margin-top: 0.35rem;
  width: 100%;
}

.guide-page .highlight-actions .button,
.guide-page .internal-link-actions .button,
.guide-page .conclusion-nav-actions .button {
  justify-content: center;
}

.guide-page .highlight-actions .button {
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
}

.guide-page .highlight-actions .btn-microcopy {
  display: none;
}

.guide-page .highlight-actions .button-secondary,
.guide-page .internal-link-actions .button-secondary,
.guide-page .conclusion-nav-actions .button-secondary,
.guide-page .conclusion-marketplaces-actions .button-secondary {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 38, 72, 0.12);
  color: #0f2648 !important;
  box-shadow: 0 10px 24px rgba(15, 38, 72, 0.08);
}

.guide-page .highlight-actions .button-secondary {
  background: linear-gradient(135deg, #34d399, #16a34a);
  border: 1px solid rgba(22, 163, 74, 0.18);
  color: #062514 !important;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24);
}

.guide-page .highlight-actions .button-secondary:hover,
.guide-page .highlight-actions .button-secondary:focus-visible,
.guide-page .internal-link-actions .button-secondary:hover,
.guide-page .internal-link-actions .button-secondary:focus-visible,
.guide-page .conclusion-nav-actions .button-secondary:hover,
.guide-page .conclusion-nav-actions .button-secondary:focus-visible,
.guide-page .conclusion-marketplaces-actions .button-secondary:hover,
.guide-page .conclusion-marketplaces-actions .button-secondary:focus-visible {
  box-shadow: 0 16px 28px rgba(15, 38, 72, 0.12);
}

.guide-page .highlight-actions .button-secondary:hover,
.guide-page .highlight-actions .button-secondary:focus-visible {
  box-shadow: 0 18px 32px rgba(22, 163, 74, 0.3);
}

.guide-page .guide-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.guide-page .guide-anchor-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 38, 72, 0.1);
  box-shadow: 0 10px 22px rgba(15, 38, 72, 0.08);
  color: #173252 !important;
  font-weight: 800;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
}

.guide-page .guide-anchor-link:hover,
.guide-page .guide-anchor-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 38, 72, 0.12);
}

.guide-page .highlight-head {
  align-items: flex-start;
}

.guide-page .badge,
.guide-page .mid-recommendation-badge {
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.22);
}

.guide-page .mid-recommendation,
.guide-page .decision-rapida {
  border-width: 1px;
  border-color: rgba(245, 158, 11, 0.34);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.12);
}

.guide-page .decision-rapida {
  background:
    radial-gradient(circle at top center, rgba(245, 158, 11, 0.12), transparent 40%),
    linear-gradient(135deg, #fffaf0 0%, #fff7ea 100%);
}

.guide-page .decision-rapida-kicker,
.guide-page .mid-recommendation-body h3,
.guide-page .highlight h2 {
  color: #0b2344;
}

.guide-page .section-cta {
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.11), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(245, 158, 11, 0.26);
  box-shadow: 0 12px 26px rgba(15, 38, 72, 0.08);
  justify-content: space-between;
}

.guide-page #respuesta-rapida .card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 249, 255, 0.98) 100%);
}

.guide-page #respuesta-rapida .card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #f59e0b, #c9e66a 88%);
}

.guide-page #respuesta-rapida .quick-answer-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.guide-page #respuesta-rapida .quick-answer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 38, 72, 0.09);
  box-shadow: 0 10px 20px rgba(15, 38, 72, 0.06);
  color: #173252;
  line-height: 1.55;
}

.guide-page #respuesta-rapida .quick-answer-list li::before {
  content: '★';
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-grid;
  place-items: center;
  margin-top: 0.08rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #40c4ff, #1257a3);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(18, 87, 163, 0.24);
}

.guide-page .guide-section-card {
  position: relative;
  padding-top: 1.15rem;
  overflow: hidden;
}

.guide-page .guide-grid-2 > :nth-child(1) {
  background:
    radial-gradient(circle at top right, rgba(64, 196, 255, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(242, 249, 255, 0.99) 100%);
}

.guide-page .guide-grid-2 > :nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(86, 194, 113, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 252, 246, 0.99) 100%);
}

.guide-page .guide-grid-2 > :nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 250, 242, 0.99) 100%);
}

.guide-page .guide-grid-2 > :nth-child(4) {
  background:
    radial-gradient(circle at top right, rgba(255, 140, 107, 0.14), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 246, 242, 0.99) 100%);
}

.guide-page .guide-grid-2 > :nth-child(1) .guide-card-kicker {
  color: #0b74b8;
  background: rgba(64, 196, 255, 0.12);
  border-color: rgba(64, 196, 255, 0.18);
}

.guide-page .guide-grid-2 > :nth-child(2) .guide-card-kicker {
  color: #1f8d4c;
  background: rgba(86, 194, 113, 0.12);
  border-color: rgba(86, 194, 113, 0.18);
}

.guide-page .guide-grid-2 > :nth-child(3) .guide-card-kicker {
  color: #b26d00;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.2);
}

.guide-page .guide-grid-2 > :nth-child(4) .guide-card-kicker {
  color: #c65d3f;
  background: rgba(255, 140, 107, 0.12);
  border-color: rgba(255, 140, 107, 0.2);
}

.guide-page .guide-card-kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(18, 87, 163, 0.08);
  border: 1px solid rgba(18, 87, 163, 0.12);
  color: #1257a3;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-page .content-list li strong {
  color: #0d2748;
}

.guide-page .guide-examples {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.05rem;
}

.guide-page .example-card {
  overflow: hidden;
}

.guide-page .guide-examples > :nth-child(1) {
  transform: rotate(-0.7deg);
}

.guide-page .guide-examples > :nth-child(2) {
  transform: translateY(0.35rem);
}

.guide-page .guide-examples > :nth-child(3) {
  transform: rotate(0.7deg);
}

.guide-page .guide-examples > :nth-child(1) .media-frame {
  background: linear-gradient(180deg, rgba(64, 196, 255, 0.16), rgba(255, 255, 255, 0));
}

.guide-page .guide-examples > :nth-child(2) .media-frame {
  background: linear-gradient(180deg, rgba(255, 140, 107, 0.16), rgba(255, 255, 255, 0));
}

.guide-page .guide-examples > :nth-child(3) .media-frame {
  background: linear-gradient(180deg, rgba(86, 194, 113, 0.16), rgba(255, 255, 255, 0));
}

.guide-page .example-body {
  display: grid;
  gap: 0.5rem;
}

.guide-page .example-tag,
.guide-page .internal-link-kicker {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #a76000;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-page .internal-link-block {
  display: grid;
  gap: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(18, 87, 163, 0.08), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 249, 255, 0.98) 100%);
}

.guide-page .internal-link-block--next-step {
  background:
    radial-gradient(circle at 88% 22%, rgba(245, 158, 11, 0.18), transparent 26%),
    radial-gradient(circle at 12% 86%, rgba(245, 158, 11, 0.08), transparent 22%),
    linear-gradient(160deg, rgba(255, 250, 241, 0.99) 0%, rgba(255, 246, 229, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.24);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.12);
}

.guide-page #siguiente-paso {
  margin-top: 0.95rem;
}

.guide-page #siguiente-paso .internal-link-block--next-step {
  gap: 1.1rem;
  padding: 1.25rem 1.2rem;
}

.guide-page #siguiente-paso .internal-link-block--next-step .section-title {
  max-width: none;
  margin: 0;
  font-size: clamp(1.2rem, 2.25vw, 1.9rem);
  line-height: 1.1;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .guide-page #siguiente-paso .internal-link-block--next-step .section-title {
    white-space: normal;
  }
}

.guide-page #siguiente-paso .internal-link-block--next-step > p:last-child {
  margin: 0;
}

.guide-page #siguiente-paso .internal-link-block--next-step .button {
  min-width: 0;
}

.guide-page .errores-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-page .error-card {
  position: relative;
  overflow: hidden;
  border-left-width: 0;
  padding-left: 1.2rem;
}

.guide-page .error-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #ff8c6b, #ef4444);
}

.guide-page .error-card:nth-child(2n) {
  background:
    radial-gradient(circle at top right, rgba(255, 140, 107, 0.12), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(255, 248, 246, 0.98));
}

.guide-page .error-card:nth-child(2n + 1) {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(255, 251, 245, 0.98));
}

.guide-page .internal-link-actions,
.guide-page .conclusion-nav-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.8rem;
}

.guide-page .internal-link-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 3.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.guide-page .internal-link-actions .btn-microcopy {
  display: none;
}


.guide-page #conclusion .container {
  display: grid;
  gap: 1.55rem;
}

.guide-page .conclusion {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem 1.45rem;
  border-radius: 24px;
  border: 1px solid rgba(18, 87, 163, 0.14);
  background:
    radial-gradient(circle at top right, rgba(18, 87, 163, 0.12), transparent 30%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.99) 0%, rgba(241, 248, 255, 0.99) 100%);
  box-shadow: 0 18px 38px rgba(15, 38, 72, 0.1);
}

.guide-page .conclusion::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #1257a3, #6db6ff);
}

.guide-page .conclusion::after {
  content: '';
  position: absolute;
  top: -42px;
  right: -34px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 87, 163, 0.12), transparent 68%);
  pointer-events: none;
}

.guide-page .conclusion p:first-of-type {
  font-size: 1.03rem;
  line-height: 1.72;
}

.guide-page .conclusion-nav-actions {
  margin-top: 0.2rem;
}

.guide-page .conclusion-nav-actions .button {
  min-width: 220px;
}

.guide-page .conclusion-marketplaces {
  position: relative;
  overflow: hidden;
  gap: 1rem;
  margin-top: 0.65rem;
  padding: 1.35rem 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background:
    radial-gradient(circle at 90% 18%, rgba(245, 158, 11, 0.18), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(245, 158, 11, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(255, 251, 243, 0.99) 0%, rgba(255, 247, 232, 0.98) 100%);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.12);
}

.guide-page .conclusion-marketplaces::before {
  content: 'Opciones de compra';
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.24);
  color: #a76000;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-page .conclusion-marketplaces-copy {
  font-weight: 700;
  color: #18314f;
  font-size: 1rem;
  line-height: 1.65;
}

.guide-page .faq-item:nth-child(1) {
  background:
    radial-gradient(circle at top right, rgba(64, 196, 255, 0.12), transparent 24%),
    linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
}

.guide-page .faq-item:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(86, 194, 113, 0.12), transparent 24%),
    linear-gradient(160deg, #ffffff 0%, #f7fcf8 100%);
}

.guide-page .faq-item:nth-child(3) {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 24%),
    linear-gradient(160deg, #ffffff 0%, #fffaf3 100%);
}

.guide-page .conclusion-marketplaces-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guide-page .purchase-option-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 100%;
  padding: 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 38, 72, 0.12);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 28px rgba(15, 38, 72, 0.08);
}

.guide-page .purchase-option-card--amazon {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 248, 234, 0.98) 100%);
}

.guide-page .purchase-option-card--ali {
  background:
    radial-gradient(circle at top right, rgba(18, 87, 163, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(242, 248, 255, 0.98) 100%);
}

.guide-page .purchase-option-card--amazon::after,
.guide-page .purchase-option-card--ali::after {
  content: '';
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  transform: rotate(18deg);
  opacity: 0.4;
  pointer-events: none;
}

.guide-page .purchase-option-card--amazon::after {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), transparent 68%);
}

.guide-page .purchase-option-card--ali::after {
  background: linear-gradient(135deg, rgba(64, 196, 255, 0.18), transparent 68%);
}

.guide-page .purchase-option-label {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 38, 72, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #0f2648;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-page .purchase-option-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.1;
}

.guide-page .purchase-option-card p {
  margin: 0;
}

.guide-page .purchase-option-card .button {
  width: 100%;
  margin-top: 0.2rem;
  justify-content: center;
}

.guide-page .purchase-option-card--ali .button-secondary {
  background: linear-gradient(135deg, #34d399, #16a34a);
  border: 1px solid rgba(22, 163, 74, 0.18);
  color: #062514 !important;
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24);
}

.guide-page .purchase-option-card--ali .button-secondary:hover,
.guide-page .purchase-option-card--ali .button-secondary:focus-visible {
  box-shadow: 0 18px 32px rgba(22, 163, 74, 0.3);
}

@media (min-width: 820px) {
  .guide-page #respuesta-rapida .quick-answer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-page #respuesta-rapida .quick-answer-list li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .guide-page .guide-examples > :nth-child(1),
  .guide-page .guide-examples > :nth-child(2),
  .guide-page .guide-examples > :nth-child(3) {
    transform: none;
  }

  .guide-page .errores-grid {
    grid-template-columns: 1fr;
  }

  .guide-page .guide-examples {
    grid-template-columns: 1fr;
  }

  .guide-page .internal-link-actions,
  .guide-page .conclusion-nav-actions,
  .guide-page .conclusion-marketplaces-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guide-page .highlight-actions {
    grid-template-columns: 1fr;
  }

  .guide-page .section-cta {
    align-items: stretch;
  }

  .guide-page .highlight-actions .button,
  .guide-page .internal-link-actions .button,
  .guide-page .conclusion-nav-actions .button,
  .guide-page .purchase-option-card .button,
  .guide-page .conclusion-marketplaces-actions .button {
    width: 100%;
    min-width: 0;
  }
}

.guide-page .section-cta .button {
  flex: 0 0 auto;
}

.guide-page .btn-microcopy {
  color: rgba(15, 38, 72, 0.72) !important;
}

.guide-page .comparison-table {
  overflow: hidden;
  border-radius: 18px;
}

.guide-page .comparison-table thead th {
  background: linear-gradient(135deg, #0c2343, #173a66);
  color: #f8fbff;
  border-bottom: 0;
}

.guide-page .comparison-table tbody td,
.guide-page .comparison-table tbody th {
  color: #18314f;
  background: transparent;
  border-color: rgba(15, 38, 72, 0.1);
}

.guide-page .comparison-table tbody tr:nth-child(2n) {
  background: rgba(18, 87, 163, 0.04);
}

.guide-page .comparison-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.08);
}

.guide-page .table-wrap {
  padding: 0.55rem;
}

.guide-page .faq {
  gap: 0.95rem;
}

.guide-page #faq .section-header {
  position: relative;
  margin-bottom: 2rem;
}

.guide-page #faq .section-label {
  position: relative;
  z-index: 2;
  margin-bottom: 0.55rem;
}

.guide-page #faq .faq {
  margin-top: 0.35rem;
}

.guide-page .faq-item {
  border: 1px solid var(--guide-border-strong);
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 12px 28px rgba(15, 38, 72, 0.09);
}

.guide-page .faq-question {
  padding: 1.08rem 1.15rem;
  color: #0c2548;
  background: transparent;
  font-size: 1.16rem;
}

.guide-page .faq-question:hover,
.guide-page .faq-question:focus-visible {
  background: rgba(18, 87, 163, 0.05);
  outline: none;
}

.guide-page .faq-answer-inner {
  border-top: 1px solid rgba(15, 38, 72, 0.08);
  padding-top: 0.95rem;
}

.guide-page .faq-icon {
  color: #cb7900;
  font-weight: 900;
}

.guide-page .sticky-recommendation {
  border: 1px solid rgba(15, 38, 72, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(242, 248, 255, 0.96));
  box-shadow: 0 24px 48px rgba(15, 38, 72, 0.22);
  bottom: 5.9rem;
}

.guide-page .sticky-recommendation-product {
  color: #0b2344;
}

.guide-page .sticky-recommendation-rating {
  color: #1a2e44;
}

.guide-page .sticky-cta-bottom-label {
  color: #ffffff;
}

.guide-page .sticky-recommendation-label {
  color: #111111;
  background: rgba(245, 158, 11, 0.42);
  border: 1px solid rgba(245, 158, 11, 0.58);
}

.guide-page .sticky-cta-bottom {
  background: rgba(9, 18, 30, 0.98);
  border-top-color: rgba(245, 158, 11, 0.5);
}

.guide-page .guide-media-card figcaption,
.guide-page .footer-copy,
.guide-page .footer-legal p,
.guide-page .footer-nav a {
  color: rgba(255, 255, 255, 0.74);
}

.guide-page .footer-nav a:hover,
.guide-page .footer-nav a:focus-visible {
  color: #f7c35d;
}

.guide-page .site-footer {
  border-top: 1px solid rgba(245, 158, 11, 0.12);
}

@media (max-width: 900px) {
  .guide-page .section-title {
    max-width: none;
  }

  .guide-page .section-cta {
    align-items: stretch;
  }

  .guide-page .section-cta .button {
    width: 100%;
  }

  .guide-page .sticky-recommendation {
    bottom: 6.15rem;
  }
}

@media (max-width: 640px) {
  .guide-page .faq-question {
    font-size: 1.02rem;
  }

  .guide-page .table-wrap {
    padding: 0.35rem;
  }

  .guide-page .sticky-recommendation {
    bottom: 6.35rem;
    box-shadow: 0 18px 36px rgba(15, 38, 72, 0.2);
  }
}

/* Bloques afiliados insertados dentro de guias: recuperar contraste correcto */
.guide-page .affiliate-cta-title,
.guide-page .affiliate-cta-title a,
.guide-page .affiliate-cta-topline,
.guide-page .affiliate-cta-copy {
  color: #ffffff !important;
}

.guide-page .affiliate-cta-text,
.guide-page .affiliate-cta-note,
.guide-page .affiliate-cta-feature,
.guide-page .affiliate-cta-orb,
.guide-page .affiliate-cta-trust-chip,
.guide-page .affiliate-cta-meta span {
  color: rgba(255, 255, 255, 0.82) !important;
}

.guide-page .affiliate-cta-kicker {
  color: #fbbf24 !important;
}

.guide-page a.affiliate-cta-button,
.guide-page a.affiliate-cta-button:hover,
.guide-page a.affiliate-cta-button:focus-visible {
  text-decoration: none !important;
}

.guide-page .affiliate-cta-button--amazon {
  color: #09111f !important;
}

.guide-page .affiliate-cta-button--ali {
  color: #052817 !important;
}

/* ============================================================
   GUIA PESO — Refuerzo visual especifico
   ============================================================ */
.guide-page--peso main > .hero.section::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 18%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 68%);
  pointer-events: none;
}

.guide-page--peso main > .hero.section .hero-shell {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(64, 196, 255, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.06);
}

.guide-page--peso main > .hero.section h1 {
  max-width: 11ch;
}

.guide-page--peso main > .hero.section .hero-subtitle {
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.68;
}

.guide-page--peso main > .hero.section .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.guide-page--peso #respuesta-rapida .card {
  box-shadow: 0 20px 40px rgba(15, 38, 72, 0.12);
}

.guide-page--peso #respuesta-rapida .card::after {
  content: '';
  position: absolute;
  right: -34px;
  top: -30px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 70%);
  pointer-events: none;
}

.guide-page--peso #respuesta-rapida .quick-answer-list li {
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.guide-page--peso #contenido .guide-grid-2 {
  gap: 1.15rem;
}

.guide-page--peso .guide-section-card {
  position: relative;
  min-height: 100%;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 24px;
  overflow: hidden;
}

.guide-page--peso .guide-section-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 24px 0 0 24px;
}

.guide-page--peso .guide-grid-2 > :nth-child(1)::before {
  background: linear-gradient(180deg, #40c4ff, #1257a3);
}

.guide-page--peso .guide-grid-2 > :nth-child(2)::before {
  background: linear-gradient(180deg, #56c271, #1f8d4c);
}

.guide-page--peso .guide-grid-2 > :nth-child(3)::before {
  background: linear-gradient(180deg, #f59e0b, #c97700);
}

.guide-page--peso .guide-grid-2 > :nth-child(4)::before {
  background: linear-gradient(180deg, #ff8c6b, #c65d3f);
}

.guide-page--peso .guide-section-card h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-size: 1.42rem;
}

.guide-page--peso .guide-grid-2 > :nth-child(1) h3::before,
.guide-page--peso .guide-grid-2 > :nth-child(2) h3::before,
.guide-page--peso .guide-grid-2 > :nth-child(3) h3::before,
.guide-page--peso .guide-grid-2 > :nth-child(4) h3::before {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 38, 72, 0.16);
}

.guide-page--peso .guide-grid-2 > :nth-child(1) h3::before {
  content: '01';
  background: linear-gradient(135deg, #40c4ff, #1257a3);
}

.guide-page--peso .guide-grid-2 > :nth-child(2) h3::before {
  content: '02';
  background: linear-gradient(135deg, #56c271, #1f8d4c);
}

.guide-page--peso .guide-grid-2 > :nth-child(3) h3::before {
  content: '03';
  background: linear-gradient(135deg, #f59e0b, #c97700);
}

.guide-page--peso .guide-grid-2 > :nth-child(4) h3::before {
  content: '04';
  background: linear-gradient(135deg, #ff8c6b, #c65d3f);
}

.guide-page--peso .guide-section-card .content-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.guide-page--peso .guide-section-card .content-list li {
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 38, 72, 0.08);
  box-shadow: 0 10px 18px rgba(15, 38, 72, 0.05);
}

.guide-page--peso #faq .faq {
  position: relative;
}

.guide-page--peso #faq .faq::before {
  content: 'Preguntas clave';
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.36rem 0.74rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(18, 87, 163, 0.16);
  color: #1257a3;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-page--peso .faq-item {
  overflow: hidden;
}

.guide-page--peso .faq-question {
  font-size: 1.12rem;
  font-weight: 800;
}

.guide-page--peso .conclusion {
  border-color: rgba(245, 158, 11, 0.18);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(64, 196, 255, 0.12), transparent 24%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 250, 255, 0.99) 100%);
}

.guide-page--peso .conclusion::before {
  background: linear-gradient(180deg, #f59e0b, #1257a3);
}

.guide-page--peso .inline-cta {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(255, 255, 255, 0.98));
}

.guide-page--peso .inline-cta::before {
  content: 'Siguiente paso';
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.7rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: #a76000;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-page--peso .inline-cta p:first-of-type {
  font-size: 1.02rem;
  font-weight: 700;
  color: #18314f;
}

@media (max-width: 900px) {
  .guide-page--peso main > .hero.section h1 {
    max-width: none;
  }
}
