/* Aqua Well Spring · páginas de artículo
   Misma paleta y tipografía que la landing. Sin dependencias. */

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: #F1F7FD;
  color: #0A2F6B;
  font-family: Manrope, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #1878DE; text-decoration: none; }
a:hover { color: #0D47A1; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
img { max-width: 100%; }

/* ══════════ selector de idioma (dentro del header de la landing) ══════════ */
.bl-pill {
  padding: 5px 12px; border: none; border-radius: 999px;
  background: transparent; color: #4A79B0;
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  cursor: pointer;
}
.bl-pill.is-on { background: #0D47A1; color: #fff; }

/* ══════════ portada del artículo ══════════ */
.bl-hero {
  padding: clamp(40px, 6vw, 88px) clamp(18px, 3vw, 52px) clamp(24px, 3vw, 40px);
  max-width: 1180px; margin: 0 auto;
}
.bl-back { font-size: 14px; font-weight: 700; color: #1878DE; }
.bl-kicker {
  margin-top: 26px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: #1878DE;
}
.bl-title {
  margin-top: 14px; max-width: 24ch;
  font-size: clamp(34px, 5vw, 68px); font-weight: 800;
  line-height: 1.02; letter-spacing: -.04em;
  text-wrap: balance;
}
.bl-meta { margin-top: 20px; font-size: 14px; font-weight: 600; color: #4A79B0; }

/* ══════════ cuerpo ══════════ */
.bl-body {
  max-width: 820px; margin: 0 auto;
  padding: 0 clamp(18px, 3vw, 52px) clamp(40px, 5vw, 72px);
  font-size: 17.5px; line-height: 1.7; color: #1C4E8A;
}
.bl-body p { margin-top: 20px; }
.bl-lead { font-size: 20px; line-height: 1.6; color: #0A2F6B; font-weight: 500; }
.bl-body h2 {
  margin-top: clamp(40px, 5vw, 60px);
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  line-height: 1.15; letter-spacing: -.03em; color: #0A2F6B;
  text-wrap: balance;
}
.bl-body h3 {
  margin-top: 32px;
  font-size: 20px; font-weight: 800; color: #0A2F6B;
}
.bl-body ul { margin-top: 18px; padding: 0; list-style: none; }
.bl-body li {
  display: grid; grid-template-columns: 24px 1fr; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #EAF3FB;
}
.bl-body li::before { content: '✓'; color: #0D47A1; font-weight: 800; }
.bl-body strong { color: #0A2F6B; font-weight: 800; }

/* ══════════ cifras destacadas ══════════ */
.bl-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 34px;
}
.bl-stat { background: #fff; border-radius: 22px; padding: 24px; }
.bl-stat-num {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 800;
  letter-spacing: -.03em; color: #0D47A1; line-height: 1;
}
.bl-stat-txt { margin-top: 10px; font-size: 14px; line-height: 1.45; color: #1C4E8A; }

/* ══════════ avisos ══════════ */
.bl-note {
  margin-top: 30px; padding: 22px 26px;
  border-radius: 22px; background: #D9F2FD;
  border-left: 5px solid #1878DE;
  font-size: 16.5px; line-height: 1.6;
}
.bl-note.is-warn { background: #FFF4E0; border-left-color: #E8A33D; }
.bl-note-label {
  display: block; margin-bottom: 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #0D47A1;
}
.bl-note.is-warn .bl-note-label { color: #A8701A; }

/* ══════════ numeración de beneficios ══════════ */
.bl-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(155deg, #1878DE, #0D47A1);
  color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: 0 8px 18px rgba(13, 71, 161, .22);
}

/* ══════════ tabla comparativa ══════════ */
.bl-table-wrap { margin-top: 30px; overflow-x: auto; }
.bl-table {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
  background: #fff; border-radius: 22px; overflow: hidden;
  font-size: 15.5px;
}
.bl-table th, .bl-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid #EAF3FB;
}
.bl-table thead th {
  background: #0D47A1; color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .04em;
}
.bl-table tbody th { font-weight: 700; color: #0A2F6B; }
.bl-table .is-bad { color: #B4472F; }
.bl-table .is-good { color: #12794A; font-weight: 700; }

/* ══════════ cierre ══════════ */
.bl-cta {
  margin: clamp(40px, 5vw, 72px) auto 0;
  max-width: 1180px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 52px);
  border-radius: 32px;
  background: linear-gradient(155deg, #1878DE, #0A2F6B);
  color: #fff;
}
.bl-cta h2 {
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 800;
  line-height: 1.05; letter-spacing: -.035em; max-width: 20ch;
}
.bl-cta p { margin-top: 16px; font-size: 17px; line-height: 1.55; max-width: 60ch; opacity: .92; }
.bl-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.bl-cta .bl-btn { padding: 16px 28px; font-size: 15px; }
.bl-cta .bl-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.65); color: #fff; }
.bl-cta .bl-btn-solid { background: #fff; color: #0A2F6B; }

/* ══════════ siguiente artículo ══════════ */
.bl-next {
  max-width: 1180px; margin: clamp(36px, 4vw, 56px) auto 0;
  padding: 0 clamp(18px, 3vw, 52px);
}
.bl-next-card {
  display: block; background: #fff; border-radius: 26px;
  padding: 30px clamp(24px, 3vw, 40px);
}
.bl-next-card:hover { background: #EAF6FE; }

/* ══════════ selector de idioma ══════════ */
.bl-pane { display: none; }
.bl-pane.is-on { display: block; }

/* ══════════ header, banner de oferta y pie: mismas reglas que la landing ══════════ */
/* con el header fijo, los enlaces de ancla aterrizaban debajo de el:
   se reserva su alto al hacer scroll a una seccion */
html { scroll-behavior: smooth; scroll-padding-top: 196px; }

/* --- mini banner de oferta del header --- */
.aws-offer {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 9px 18px;
  padding: 14px clamp(14px, 3vw, 52px);
  background: linear-gradient(90deg, #0D47A1, #1878DE);
  color: #ffffff; font-size: 20px; font-weight: 700;
  line-height: 1.25; text-align: center;
}
.aws-offer:hover { color: #ffffff; }
.aws-offer-tag {
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 15px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.aws-offer-price { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.aws-offer-old { color: #B9D8F7; text-decoration: line-through; font-weight: 600; }
.aws-offer-mo { color: #D9F2FD; }
.aws-offer-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 21px; border-radius: 999px;
  background: #ffffff; color: #0A2F6B; font-weight: 800; white-space: nowrap;
}


@media (max-width: 1180px) {
  .aws-hd-logo img { width:200px !important; }
  .aws-nav { gap:8px 16px !important; margin-left:clamp(12px,2vw,28px) !important; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 178px; }
  .aws-navlink { display:none !important; }
  .aws-nav { flex:0 0 auto !important; margin-left:auto !important; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 137px; }
  /* el header va fijo: en movil cada pixel de alto cuenta */
  .aws-hd { gap:10px !important; padding:8px 14px !important; }
  .aws-hd-logo img { width:132px !important; }
  .aws-hd-cta { display:none !important; }
  /* el banner de oferta se condensa: precio y CTA, que es lo que convierte */
  .aws-offer { gap:8px 12px !important; padding:12px 14px !important; font-size:18px !important; }
  .aws-offer-tag { display:none !important; }
  .aws-offer-price { font-size:21px !important; }
  .aws-offer-cta { padding:8px 18px !important; font-size:18px !important; }
}

@media (max-width: 620px) {
  .aws-offer-old { display:none !important; }
}

@media (max-width: 470px) {
  .aws-offer-mo { display:none !important; }
}

@media (max-width: 380px) {
  .aws-offer { font-size:16px !important; gap:6px 10px !important; }
  .aws-offer-price { font-size:18px !important; }
  .aws-offer-cta { padding:7px 15px !important; font-size:16px !important; }
}

@media (max-width: 760px) {
  /* tarjetas de Servicios: imagen arriba, texto debajo */
  .aws-card { grid-template-columns:1fr !important; flex:0 0 88vw !important; }
  .aws-card-img { order:-1 !important; height:auto !important; min-height:200px !important; max-height:230px !important; }
  /* productos: dos por fila */
  .aws-tiles { grid-template-columns:repeat(2,1fr) !important; gap:10px !important; }
  .aws-tiles > div { padding:18px !important; min-height:150px !important; gap:14px; }
  .aws-tiles > div > span:first-child { width:44px !important; height:44px !important; border-radius:14px !important; }
  .aws-tiles > div > span:first-child svg { width:24px; height:24px; }
  .aws-tiles > div > span:last-child { font-size:14px !important; line-height:1.2 !important; }
  /* footer: menu en dos columnas */
  .aws-foot-nav { grid-template-columns:1fr 1fr !important; gap:10px 18px !important; }
}

/* ══════════ ancho reducido (solo artículo) ══════════ */
@media (max-width: 900px) {
  .bl-stats { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .bl-body { font-size: 16.5px; }
  .bl-lead { font-size: 18px; }
}

/* ══════════ móvil: pie centrado (igual que la portada) ══════════
   El cuerpo del artículo se queda alineado a la izquierda: es texto largo. */
@media (max-width: 760px) {
  footer { text-align: center; }
  footer .aws-foot-nav { justify-items: center; }
  footer img { margin-left: auto; margin-right: auto; }
}

/* ══════════ accesibilidad ══════════ */
:focus-visible { outline: 3px solid #1878DE; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
