@font-face { font-family: 'Geist'; src: url(/assets/geist-latin-wght-normal-BgDaEnEv.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/assets/barlow-condensed-latin-700-normal-v1xN8_Wq.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url(/assets/barlow-condensed-latin-800-normal-BKzMuPgK.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --paper: #fbfbf9; --ink: #12283a; --muted: #3d5163; --line: #d9ded9;
  --red: #b3261e; --red-dark: #8f1d17; --blue: #1d4e89; --wa: #1f8f4e; --wa-dark: #18773f;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 'Geist', system-ui, sans-serif; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }

.bo-shell { width: min(100% - 32px, 1120px); margin-inline: auto; }
.bo-skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: white; padding: 10px 14px; }
.bo-skip:focus { top: 16px; }

.bo-pole { position: relative; height: 12px; overflow: hidden; }
.bo-pole::before { content: ''; position: absolute; inset: 0 auto 0 0; width: calc(100% + 124.46px); background: repeating-linear-gradient(135deg, var(--red) 0 22px, var(--paper) 22px 44px, var(--blue) 44px 66px, var(--paper) 66px 88px); animation: bo-pole 5s linear infinite; }
@keyframes bo-pole { to { transform: translateX(-124.46px); } }

.bo-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 251, 249, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bo-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.bo-brand { text-decoration: none; }
.bo-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 1.7rem/1 var(--display); letter-spacing: .01em; }
.bo-logo svg { width: 40px; height: 40px; flex: none; }
.bo-logo b { color: var(--red); font-weight: 700; }
.bo-logo--inverse { color: white; }
.bo-logo--inverse svg rect:first-child { stroke: rgba(255,255,255,.25); stroke-width: 1.5; }
.bo-logo--inverse b { color: #ff8a80; }
.bo-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.bo-nav a { color: var(--ink); text-decoration: none; }
.bo-nav a:hover { color: var(--red); }

.bo-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 3px solid transparent; border-radius: 4px; font: 700 1.15rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; transition: translate 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out; }
.bo-button svg { flex: none; transition: transform 150ms ease-out; }
.bo-button:hover svg { transform: translateX(3px); }
.bo-button--primary { background: var(--red); color: white; box-shadow: 0 0 0 var(--ink); }
.bo-button--primary:hover { background: var(--red-dark); color: white; translate: -3px -3px; box-shadow: 6px 6px 0 var(--ink); }
.bo-button--primary:active { translate: 0 0; box-shadow: 0 0 0 var(--ink); }
.bo-button--header { min-height: 44px; padding-inline: 16px; background: var(--ink); font-size: 1.05rem; }
.bo-button--header:hover { background: var(--red); }
.bo-button--whatsapp { background: var(--wa); color: white; }
.bo-button--whatsapp:hover { background: var(--wa-dark); color: white; }
.bo-button--ghost { background: transparent; border-color: var(--wa); color: var(--wa); }
.bo-button--ghost:hover { background: var(--wa); color: white; }
.bo-text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.bo-text-link svg { transition: transform 150ms ease-out; }
.bo-text-link:hover svg { transform: translateX(3px); }

.bo-kicker { color: var(--red); font-size: .82rem; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; }
.bo-kicker--light { color: #ffb4ad; }
.bo-crumbs { display: flex; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.bo-crumbs a { color: var(--muted); }

/* Artículo */
.bo-article__head { padding-top: clamp(28px, 5vw, 56px); }
.bo-article__head h1, .bo-index-hero h1 { margin-top: 14px; max-width: 18ch; font: 800 clamp(2.6rem, 6.4vw, 5rem)/.92 var(--display); text-transform: uppercase; }
.bo-article__head h1 { max-width: 24ch; font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
.bo-article__lead { max-width: 62ch; margin-top: 20px; color: var(--muted); font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.bo-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; color: var(--muted); font-size: .92rem; }
.bo-article__meta span + span::before { content: '·'; margin-right: 18px; }
.bo-article__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.bo-article__figure { margin-top: clamp(28px, 4vw, 44px); margin-bottom: 0; }
.bo-frame { position: relative; isolation: isolate; }
.bo-frame::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; background: repeating-linear-gradient(135deg, var(--red) 0 18px, var(--paper) 18px 36px, var(--blue) 36px 54px, var(--paper) 54px 72px); }
.bo-frame img { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 3px solid var(--ink); background: #e8ebe7; }
figcaption { margin-top: 24px; color: var(--muted); font-size: .8rem; }
figcaption a { color: var(--muted); }

.bo-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-block: clamp(36px, 5vw, 64px); }
.bo-prose { max-width: 70ch; }
.bo-prose > * + * { margin-top: 1.1em; }
.bo-prose h2 { margin-top: 2em; font: 800 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.bo-prose h3 { margin-top: 1.6em; font-size: 1.25rem; font-weight: 700; }
.bo-prose ul, .bo-prose ol { padding-left: 1.3em; }
.bo-prose li + li { margin-top: .45em; }
.bo-prose li::marker { color: var(--red); font-weight: 700; }

.bo-summary { border: 3px solid var(--ink); background: white; padding: 22px 24px; }
.bo-summary__title { font: 800 1.35rem/1 var(--display); text-transform: uppercase; color: var(--red); }
.bo-summary ul { margin: 12px 0 0; }

.bo-tip { border-left: 6px solid var(--blue); background: #eef3f9; padding: 18px 22px; }
.bo-tip strong { display: block; font: 800 1.15rem/1 var(--display); text-transform: uppercase; color: var(--blue); }
.bo-tip p { margin-top: 6px; }

.bo-inline-cta { display: grid; gap: 18px; margin-block: 2em !important; background: var(--ink); color: #dce6ee; padding: clamp(22px, 3vw, 32px); position: relative; overflow: hidden; }
.bo-inline-cta::after { content: ''; position: absolute; top: 0; right: 0; width: 10px; height: 100%; background: repeating-linear-gradient(180deg, var(--red) 0 16px, white 16px 32px, var(--blue) 32px 48px, white 48px 64px); }
.bo-inline-cta__title { color: white; font: 800 clamp(1.6rem, 3vw, 2.1rem)/1 var(--display); text-transform: uppercase; }
.bo-inline-cta p + p { margin-top: 8px; }
.bo-inline-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.bo-inline-cta .bo-text-link { color: white; }
.bo-inline-cta .bo-button--primary:hover { box-shadow: 6px 6px 0 white; }

.bo-table { overflow-x: auto; border: 3px solid var(--ink); }
.bo-table table { width: 100%; border-collapse: collapse; background: white; font-size: .98rem; }
.bo-table caption { padding: 12px 16px; background: var(--ink); color: white; font: 700 1.05rem/1.2 var(--display); text-align: left; text-transform: uppercase; letter-spacing: .03em; }
.bo-table th, .bo-table td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.bo-table thead th { background: #eef1ef; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.bo-table tbody th { font-weight: 600; }
.bo-table td { white-space: nowrap; }

.bo-faq { margin-top: 2.4em !important; border-top: 3px solid var(--ink); }
.bo-faq h2 { margin-top: .8em; }
.bo-faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.bo-faq summary { cursor: pointer; font: 700 1.3rem/1.15 var(--display); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.bo-faq summary::-webkit-details-marker { display: none; }
.bo-faq summary::after { content: '+'; color: var(--red); font-size: 1.6rem; line-height: .8; transition: transform 150ms ease-out; }
.bo-faq details[open] summary::after { transform: rotate(45deg); }
.bo-faq details p { margin-top: 10px; color: var(--muted); }

.bo-rail { position: sticky; top: 96px; }
.bo-rail__card { display: grid; gap: 14px; border: 3px solid var(--ink); background: white; padding: 24px; box-shadow: 8px 8px 0 var(--red); }
.bo-rail__price span { display: block; font: 800 3.6rem/.9 var(--display); }
.bo-rail__price small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }
.bo-rail__card > p:not(.bo-rail__price) { color: var(--muted); font-size: .95rem; }
.bo-rail .bo-button { width: 100%; }

/* Cierre y relacionados */
.bo-final { background: var(--ink); color: #dce6ee; padding-block: clamp(56px, 8vw, 96px); }
.bo-final h2 { margin-top: 14px; color: white; font: 800 clamp(3rem, 8vw, 6rem)/.92 var(--display); text-transform: uppercase; }
.bo-final p:not(.bo-kicker) { max-width: 60ch; margin-top: 18px; font-size: 1.12rem; }
.bo-final__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.bo-final .bo-button--primary:hover { box-shadow: 6px 6px 0 white; }

.bo-related { padding-block: clamp(48px, 7vw, 80px); }
.bo-related > h2 { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); text-transform: uppercase; margin-bottom: 28px; }
.bo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 36px 28px; }
.bo-card { display: flex; flex-direction: column; gap: 10px; }
.bo-card__media { display: block; overflow: hidden; border: 3px solid var(--ink); margin-bottom: 6px; }
.bo-card__media img, .bo-featured__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 300ms var(--ease); }
.bo-card:hover .bo-card__media img, .bo-featured:hover .bo-featured__media img { transform: scale(1.04); }
.bo-card__category { color: var(--red); font-size: .78rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.bo-card h2, .bo-card h3 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.bo-card h2 a, .bo-card h3 a, .bo-featured h2 a { color: var(--ink); text-decoration: none; }
.bo-card h2 a:hover, .bo-card h3 a:hover, .bo-featured h2 a:hover { color: var(--red); }
.bo-card > p:not(.bo-card__category) { color: var(--muted); font-size: .98rem; }
.bo-card .bo-text-link { margin-top: auto; }

/* Índice */
.bo-index-hero { padding-block: clamp(32px, 5vw, 64px); }
.bo-index-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.bo-index-hero__figure { margin: 0; }
.bo-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding-top: clamp(16px, 3vw, 32px); border-top: 3px solid var(--ink); }
.bo-featured__media { display: block; overflow: hidden; border: 3px solid var(--ink); }
.bo-featured h2 { margin-top: 10px; font: 800 clamp(2rem, 4vw, 3.2rem)/.95 var(--display); text-transform: uppercase; }
.bo-featured p:not(.bo-card__category) { margin-top: 14px; color: var(--muted); }
.bo-featured .bo-text-link { margin-top: 18px; }

/* Pie */
.bo-footer { background: var(--ink); color: #c9d6e2; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.12); }
.bo-footer__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 36px; }
.bo-footer__grid > div { display: flex; flex-direction: column; gap: 10px; }
.bo-footer__grid p { max-width: 32ch; font-size: .95rem; }
.bo-footer strong { color: white; font: 700 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.bo-footer a { color: #c9d6e2; text-decoration: none; font-size: .95rem; }
.bo-footer a:hover { color: white; text-decoration: underline; }
.bo-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.bo-astra { display: inline-flex; align-items: center; gap: 8px; }

.bo-mobile-bar { display: none; }

/* Entrada del encabezado. */
.bo-article__head > *, .bo-index-hero__grid > div > * { animation: bo-in 600ms var(--ease) both; }
.bo-article__head > :nth-child(2), .bo-index-hero__grid > div > :nth-child(2) { animation-delay: 80ms; }
.bo-article__head > :nth-child(3), .bo-index-hero__grid > div > :nth-child(3) { animation-delay: 160ms; }
.bo-article__head > :nth-child(4), .bo-index-hero__grid > div > :nth-child(4) { animation-delay: 240ms; }
.bo-article__head > :nth-child(n+5) { animation-delay: 320ms; }
@keyframes bo-in { from { opacity: 0; transform: translateY(20px); } }

@media (max-width: 960px) {
  .bo-article__layout { grid-template-columns: 1fr; gap: 0; }
  .bo-rail { display: none; }
  .bo-index-hero__grid, .bo-featured { grid-template-columns: 1fr; }
  .bo-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.02rem; padding-bottom: 76px; }
  .bo-nav { display: none; }
  .bo-header__inner { min-height: 60px; justify-content: space-between; }
  .bo-logo { font-size: 1.45rem; gap: 8px; }
  .bo-logo svg { width: 34px; height: 34px; }
  .bo-button--header { min-height: 40px; padding-inline: 12px; font-size: .98rem; }
  .bo-button--header svg { display: none; }
  .bo-frame::before { inset: 8px -8px -8px 8px; }
  .bo-frame { margin-right: 8px; }
  .bo-article__actions .bo-button, .bo-final__actions .bo-button, .bo-inline-cta__actions .bo-button { width: 100%; }
  .bo-footer__grid { grid-template-columns: 1fr; }
  .bo-table td { white-space: normal; }
  .bo-mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 30; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 251, 249, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .bo-mobile-bar .bo-button { flex: 1; min-height: 50px; }
  .bo-mobile-bar__wa { display: grid; place-items: center; width: 54px; flex: none; border-radius: 4px; background: var(--wa); color: white; }
  .bo-mobile-bar__wa svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bo-pole::before, .bo-article__head > *, .bo-index-hero__grid > div > * { animation: none !important; }
  .bo-button, .bo-button:hover, .bo-button--primary:hover { translate: none; transition: background-color 150ms linear; }
  .bo-card:hover .bo-card__media img, .bo-featured:hover .bo-featured__media img { transform: none; }
}
