/* Portadas de marca AHNSA. Sólo afecta páginas que adoptan data-bp-brand. */
main[data-bp-brand] {
  --bp-ink: #17191E;
  --bp-muted: #59616D;
  --bp-blue: #273C84;
  --bp-line: #D9DEE6;
  --bp-paper: #F4F5F7;
  color: var(--bp-ink);
  background: #fff;
  max-width: none;
  padding-top: 0;
}
.bp-hero *, .bp-products * { box-sizing: border-box; }
.bp-hero {
  padding: 30px max(24px, calc((100% - 1280px) / 2)) 52px;
  background: linear-gradient(120deg, #fff 18%, #f3f8fb 100%);
  border-bottom: 1px solid var(--bp-line);
}
.bp-crumbs {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--bp-muted); margin: 0 0 34px;
}
.bp-crumbs a { color: inherit; text-decoration: none; }
.bp-crumbs a:hover { color: var(--bp-blue); text-decoration: underline; }
.bp-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 54px; align-items: center; }
.bp-logo {
  display: flex; align-items: center; width: fit-content; min-height: 52px;
  max-width: 220px; margin: 0 0 28px;
}
.bp-logo img { display: block; width: auto; max-width: 190px; max-height: 58px; object-fit: contain; }
.bp-logo--dark { padding: 12px 18px; background: #142b3a; border-radius: 8px; }
.bp-eyebrow { color: var(--bp-muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; }
.bp-hero h1 {
  font-size: clamp(38px, 4.1vw, 66px); font-weight: 700;
  line-height: 1.04; letter-spacing: -.045em; margin: 0;
  color: var(--bp-ink); text-wrap: balance;
}
.bp-specialty { display: block; margin: 15px 0 0; color: var(--bp-blue); font-size: clamp(20px, 2vw, 29px); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.bp-intro { max-width: 47ch; margin: 22px 0; color: var(--bp-muted); font-size: 16px; line-height: 1.65; }
.bp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.bp-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 12px 21px; border: 1px solid var(--bp-blue);
  border-radius: 8px; background: var(--bp-blue); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}
.bp-button:hover { background: #172A59; border-color: #172A59; color: #fff; }
.bp-button--secondary { background: #fff; color: var(--bp-ink); border-color: #D9DEE6; }
.bp-button--secondary:hover { background: #F1F3F6; color: var(--bp-ink); border-color: #273C84; }
.bp-trust { margin: 20px 0 0; font-size: 12px; line-height: 1.6; color: var(--bp-muted); }
.bp-trust::before { content: ''; display: inline-block; vertical-align: middle; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--bp-blue); }
.bp-stage {
  min-width: 0; position: relative; display: grid; grid-template-rows: 1fr auto;
  min-height: 370px; border-radius: 24px; background: #eaf2f6;
  border: 1px solid #d8e5ec; overflow: hidden; isolation: isolate;
}
.bp-stage::before {
  content: ''; pointer-events: none; position: absolute;
  width: 75%; aspect-ratio: 1; border: 1px solid #cfdee6;
  border-radius: 50%; left: 14%; top: -15%;
}
.bp-stage-art {
  position: relative; display: grid; place-items: center; min-height: 280px;
  padding: 24px 30px 0; color: inherit; text-decoration: none;
}
.bp-stage-art img {
  width: 100%; height: 300px; object-fit: contain;
  mix-blend-mode: multiply;
}
.bp-stage-art .bp-image--long { transform: rotate(-20deg); }
.bp-stage-art:focus-visible { outline-offset: -5px; }
.bp-stage-caption {
  z-index: 1; position: relative; display: flex; gap: 20px;
  align-items: end; justify-content: space-between; padding: 18px 24px 22px;
  color: var(--bp-ink); text-decoration: none;
}
.bp-stage-caption b { display: block; font-size: 17px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.bp-stage-caption small { display: block; color: var(--bp-muted); font-size: 11px; line-height: 1.5; margin-top: 5px; }
.bp-stage-caption .bp-arrow { flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #b5cbd8; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.bp-stage--brand { background: #edf4f8; }
.bp-stage--brand .bp-stage-art img { max-width: 70%; height: 160px; filter: none; }
.bp-stage--brand-dark .bp-stage-art { background: #142b3a; }
.bp-stage--brand-dark .bp-stage-art img { mix-blend-mode: normal; }
.bp-stage-wordmark { font-size: clamp(30px, 4vw, 60px); font-weight: 700; letter-spacing: -.05em; }
.bp-products { max-width: 1328px; margin: 0 auto; padding: 48px 24px 18px; }
.bp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.bp-products h2 { margin: 0; font-size: clamp(25px, 2.6vw, 35px); letter-spacing: -.035em; line-height: 1.15; font-weight: 650; }
.bp-section-head > a { flex-shrink: 0; color: var(--bp-blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.bp-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.bp-product-card { min-width: 0; border: 1px solid var(--bp-line); border-radius: 16px; background: #fff; overflow: hidden; }
.bp-product-card > a { display: flex; flex-direction: column; height: 100%; color: var(--bp-ink); text-decoration: none; }
.bp-product-image { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-width: 0; height: 200px; padding: 24px; background: var(--bp-paper); isolation: isolate; overflow: hidden; }
.bp-product-image img { max-width: 100%; width: 100%; height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.bp-product-image .bp-image--long { transform: rotate(-18deg); }
.bp-product-copy { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.bp-product-family { color: var(--bp-muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.bp-product-copy h3 { font-size: 18px; font-weight: 650; margin: 0 0 7px; line-height: 1.3; }
.bp-product-code { color: var(--bp-muted); font-size: 12px; overflow-wrap: anywhere; line-height: 1.5; }
.bp-product-caption { display: block; font-size: 10px; line-height: 1.4; color: var(--bp-muted); margin-top: 10px; }
.bp-product-link { margin-top: auto; padding-top: 18px; font-size: 12px; font-weight: 600; color: var(--bp-blue); }
.bp-product-card:has(a:hover) { border-color: #83b2cb; }
.bp-product-card:has(a:focus-visible) { outline: 3px solid var(--bp-blue); outline-offset: 3px; }
main[data-bp-brand] #catalogo { max-width: 1328px; margin: 0 auto; padding: 36px 24px 48px; }
main[data-bp-brand] #catalogo .hm-section__cab { margin-bottom: 24px; }
main[data-bp-brand] #catalogo .hm-h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; line-height: 1.2; }
main[data-bp-brand] #catalogo .mk2-tabla tbody { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
main[data-bp-brand] #catalogo .mk2-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--bp-line); border-radius: 10px; background: #fff; }
main[data-bp-brand] #catalogo .mk2-fam { padding: 0; display: block; background: none; min-height: 0; }
main[data-bp-brand] #catalogo .mk2-fam a { font-size: 14px; line-height: 1.4; }
main[data-bp-brand] #catalogo .mk3-foto { display: none; }
main[data-bp-brand] #catalogo .mk2-n { flex-shrink: 0; padding: 0; margin: 0; font-size: 12px; color: var(--bp-muted); background: none; }
main[data-bp-brand] #catalogo .mk2-caja { border: 0; padding: 0; background: none; box-shadow: none; }
main[data-bp-brand] #faq { border-top: 1px solid var(--bp-line); background: var(--bp-paper); }
main[data-bp-brand] .bp-quote { padding: 32px 24px; }
main[data-bp-brand] .bp-quote .ah-slm__in {
  max-width: 1280px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 28px 32px; border-radius: 14px;
  background: #fff; border: 1px solid var(--bp-line);
}
main[data-bp-brand] .bp-quote .ah-slm__t { margin: 0 0 8px; font-size: 23px; color: var(--bp-ink); font-weight: 600; }
main[data-bp-brand] .bp-quote .ah-slm__p { margin: 0; font-size: 14px; color: var(--bp-muted); }
main[data-bp-brand] .bp-quote .ah-slm__btn { flex-shrink: 0; }
.bp-hero a:focus-visible, .bp-products a:focus-visible { outline: 3px solid #066d9f; outline-offset: 4px; }
@media (max-width: 900px) {
  .bp-hero-grid { gap: 28px; }
  .bp-hero { padding-top: 24px; }
  .bp-stage { min-height: 330px; }
  .bp-stage-art { min-height: 235px; padding: 20px; }
  .bp-stage-art img { height: 230px; }
  .bp-logo { margin-bottom: 20px; }
  .bp-intro { font-size: 15px; }
  .bp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main[data-bp-brand] #catalogo .mk2-tabla tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .bp-hero { padding: 20px 20px 28px; }
  .bp-crumbs { margin-bottom: 26px; font-size: 11px; }
  .bp-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .bp-logo { min-height: 36px; margin-bottom: 20px; }
  .bp-logo img { max-height: 38px; max-width: 150px; }
  .bp-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .bp-specialty { font-size: 23px; margin-top: 12px; }
  .bp-intro { font-size: 15px; line-height: 1.55; margin: 18px 0; }
  .bp-actions { gap: 10px; margin-top: 20px; }
  .bp-button { flex: 1 1 auto; font-size: 13px; padding: 12px 15px; }
  .bp-trust { margin-top: 16px; font-size: 11px; }
  .bp-stage { min-height: 280px; border-radius: 18px; }
  .bp-stage-art { min-height: 200px; padding: 18px 20px 0; }
  .bp-stage-art img { height: 205px; }
  .bp-stage-caption { padding: 14px 18px 18px; gap: 14px; }
  .bp-stage-caption b { font-size: 15px; }
  .bp-stage-caption small { font-size: 10px; }
  .bp-products { padding: 32px 20px 10px; }
  .bp-section-head { align-items: start; flex-direction: column; gap: 12px; }
  .bp-product-grid { grid-template-columns: 1fr; gap: 14px; }
  .bp-product-card > a { display: grid; grid-template-columns: 118px 1fr; }
  .bp-product-image { height: 100%; min-height: 170px; padding: 12px; }
  .bp-product-image img { height: 140px; }
  .bp-product-image .bp-image--long { width: 150px; max-width: none; height: 90px; transform: rotate(-65deg); }
  .bp-product-copy { padding: 16px; }
  .bp-product-copy h3 { font-size: 16px; }
  .bp-product-link { padding-top: 14px; }
  main[data-bp-brand] #catalogo { padding: 30px 20px; }
  main[data-bp-brand] #catalogo .mk2-fila { padding: 14px 12px; align-items: start; }
  main[data-bp-brand] #catalogo .mk2-n { font-size: 11px; }
  main[data-bp-brand] #catalogo .mk2-fam a { font-size: 12px; }
  main[data-bp-brand] .bp-quote { padding: 24px 20px; }
  main[data-bp-brand] .bp-quote .ah-slm__in { align-items: stretch; flex-direction: column; gap: 20px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-button { transition: none; }
}
