:root {
  --brand-navy: #000B2B;
  --brand-royal: #163AFF;
  --brand-electric: #0C78FF;
  --brand-deep: #0F2899;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #EEF3FF;
  --text: #00102F;
  --muted: #5F6B84;
  --line: #DDE5F3;
  --primary: #163AFF;
  --primary-dark: #0F2ECF;
  --primary-soft: #E8EEFF;
  --shadow: 0 24px 70px rgba(0, 11, 43, 0.14);
  --shadow-sm: 0 12px 35px rgba(0, 11, 43, 0.09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-ui: "Plus Jakarta Sans", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.presty-informe {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 7% 18%, rgba(12, 120, 255, 0.09), transparent 25rem),
    radial-gradient(circle at 96% 6%, rgba(22, 58, 255, 0.10), transparent 29rem),
    var(--bg);
  font: 400 15px/1.7 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--surface); background: var(--primary); }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--surface);
  background: var(--brand-navy);
  border-radius: 8px;
}

.container { width: min(100% - 36px, 1180px); margin-inline: auto; }
.container--narrow { width: min(100% - 36px, 760px); margin-inline: auto; }
.container--wide { width: min(100% - 36px, 1360px); margin-inline: auto; }

.ambient-grid {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(22, 58, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 58, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(221, 229, 243, 0.72);
  background: rgba(246, 248, 252, 0.80);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.site-header__brand,
.site-header__brand-link { display: inline-flex; align-items: center; gap: 10px; }
.site-header__logo-img { width: auto; max-height: 32px; }

.site-header__mark {
  font: 700 20px/1 var(--font-display);
  letter-spacing: -0.06em;
}

.site-header__mark::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 10px 3px;
  content: "";
  background: var(--brand-electric);
  border-radius: 50%;
}

.site-header__tagline {
  display: none;
  padding-left: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
}

.site-nav { order: 3; }
.site-nav__toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-content: center;
  gap: 4px;
  color: var(--brand-navy);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.site-nav__toggle-bar { display: block; width: 17px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
.site-nav.is-open .site-nav__toggle-bar:first-child { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .site-nav__toggle-bar:nth-child(2) { opacity: 0; }
.site-nav.is-open .site-nav__toggle-bar:last-child { transform: translateY(-6px) rotate(-45deg); }

.site-nav__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 18px;
  display: none;
  min-width: 230px;
  padding: 9px;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.site-nav.is-open .site-nav__list { display: block; }
.site-nav__link { display: block; padding: 10px 12px; font-size: 13px; font-weight: 700; border-radius: 8px; }
.site-nav__link:hover, .site-nav__link:focus-visible, .site-nav__item.current-menu-item .site-nav__link { color: var(--primary); background: var(--primary-soft); }
.site-header__actions { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.015em;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid rgba(12, 120, 255, 0.35); outline-offset: 3px; }
.btn--primary { color: var(--surface); background: var(--primary); box-shadow: 0 10px 22px rgba(22, 58, 255, 0.25); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 14px 28px rgba(22, 58, 255, 0.32); }
.btn--ghost { color: var(--brand-navy); background: var(--surface); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-electric); box-shadow: var(--shadow-sm); }
.btn--sm { min-height: 38px; padding-inline: 14px; }
.btn--large { min-height: 54px; padding-inline: 24px; font-size: 13px; }

.hero-stage {
  position: relative;
  isolation: isolate;
  padding: 78px 0 46px;
  overflow: hidden;
}

.hero-stage::before {
  position: absolute;
  z-index: -1;
  top: 5%;
  right: -11%;
  width: min(60vw, 700px);
  aspect-ratio: 1;
  content: "";
  background: conic-gradient(from 150deg, transparent 0 24%, rgba(12, 120, 255, 0.06) 24% 43%, transparent 43% 61%, rgba(22, 58, 255, 0.08) 61% 76%, transparent 76%);
  border-radius: 50%;
  transform: rotate(22deg);
}

.hero-stage__glow {
  position: absolute;
  z-index: -1;
  top: 13%;
  right: 14%;
  width: 235px;
  height: 235px;
  background: radial-gradient(circle, rgba(12, 120, 255, 0.18), rgba(12, 120, 255, 0) 70%);
  filter: blur(8px);
  border-radius: 50%;
}

.hero-stage__eyebrow,
.spotlight__kicker,
.post-card__category,
.single-article__category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stage__eyebrow::before,
.spotlight__kicker::before,
.single-article__category::before { width: 20px; height: 2px; content: ""; background: currentColor; }

.hero-stage__title,
.page-header__title,
.single-article__title {
  max-width: 960px;
  margin: 13px 0 17px;
  font: 700 clamp(40px, 10vw, 76px)/0.98 var(--font-display);
  letter-spacing: -0.07em;
}

.hero-stage__title em { color: var(--primary); font-style: normal; }
.hero-stage__lead { max-width: 570px; margin: 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); }
.hero-stage__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.hero-stage__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.hero-chip {
  padding: 7px 11px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-pulse { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-pulse::before { width: 8px; height: 8px; content: ""; background: var(--brand-electric); border-radius: 50%; box-shadow: 0 0 0 0 rgba(12, 120, 255, .5); animation: pulse 2s infinite; }

.spotlight {
  display: grid;
  overflow: hidden;
  margin: 24px 0 55px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.spotlight__media { position: relative; min-height: 255px; overflow: hidden; background: var(--surface-2); }
.spotlight__media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(0, 11, 43, .05), transparent 55%); }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.spotlight:hover .spotlight__media img { transform: scale(1.045); }

.spotlight__body { display: flex; flex-direction: column; align-items: flex-start; padding: 29px; }
.spotlight__title { margin: 10px 0; font: 700 clamp(27px, 4vw, 43px)/1.04 var(--font-display); letter-spacing: -.055em; }
.spotlight__excerpt { margin: 0; color: var(--muted); }
.spotlight__meta, .post-card__date, .single-article__date { color: var(--muted); font-size: 11px; font-weight: 600; }
.spotlight__meta { margin-top: auto; padding-top: 24px; }
.spotlight__cta { margin-top: 18px; color: var(--primary); font-size: 12px; font-weight: 800; }
.spotlight__cta::after, .post-card__read-more::after { margin-left: 7px; content: "→"; transition: transform .2s ease; }
.spotlight:hover .spotlight__cta::after, .post-card:hover .post-card__read-more::after { display: inline-block; transform: translateX(4px); }

.topic-rail { margin: 10px 0 28px; overflow: hidden; }
.topic-rail__track { display: flex; gap: 8px; width: max-content; padding: 4px 2px; }
.topic-pill { display: inline-flex; padding: 9px 14px; color: var(--muted); font-size: 11px; font-weight: 800; white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; transition: color .2s, background .2s, border .2s; }
.topic-pill:hover, .topic-pill.is-active { color: var(--surface); background: var(--brand-navy); border-color: var(--brand-navy); }

.bento { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 64px; }
.bento__item { min-width: 0; }

.post-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(350px circle at var(--mx, 50%) var(--my, 0%), rgba(12, 120, 255, 0.10), transparent 45%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}

.post-card:hover { border-color: rgba(12, 120, 255, 0.40); box-shadow: var(--shadow-sm); transform: translateY(-7px); }
.post-card__image-link { display: block; height: 205px; overflow: hidden; background: var(--surface-2); }
.post-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-card__image { transform: scale(1.06); }
.post-card__body { position: relative; display: flex; height: 100%; flex-direction: column; align-items: flex-start; padding: 21px; }
.post-card__index { position: absolute; top: 14px; right: 18px; color: rgba(22, 58, 255, .16); font: 700 36px/1 var(--font-display); letter-spacing: -.08em; }
.post-card__title { margin: 8px 20px 10px 0; font: 700 22px/1.12 var(--font-display); letter-spacing: -.045em; }
.post-card__date { margin-top: auto; padding-top: 17px; }
.post-card__excerpt { margin: 0; color: var(--muted); font-size: 13px; }
.post-card__read-more { margin-top: 17px; color: var(--primary); font-size: 11px; font-weight: 800; }
.bento__item--feature .post-card__image-link { height: 260px; }
.bento__item--feature .post-card__title { font-size: clamp(25px, 3vw, 34px); }

.page-header { padding: 72px 0 32px; }
.page-header__title { margin-bottom: 12px; font-size: clamp(38px, 7vw, 64px); }
.page-header__description { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }

.single-article { padding: 58px 0 72px; }
.single-article__header { margin-bottom: 32px; }
.single-article__title { max-width: 900px; margin-bottom: 20px; font-size: clamp(39px, 8vw, 72px); }
.single-article__featured { margin: 0 0 40px; overflow: hidden; background: var(--surface-2); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.single-article__image { width: 100%; max-height: 620px; object-fit: cover; }

.entry-content,
.single-article__content { color: #263754; font-size: 17px; line-height: 1.85; }
.entry-content > * + *, .single-article__content > * + * { margin-top: 1.5em; }
.entry-content h2, .entry-content h3, .entry-content h4,
.single-article__content h2, .single-article__content h3, .single-article__content h4 { margin: 2em 0 .6em; color: var(--text); font-family: var(--font-display); line-height: 1.1; letter-spacing: -.05em; }
.entry-content h2, .single-article__content h2 { font-size: clamp(28px, 4vw, 39px); }
.entry-content h3, .single-article__content h3 { font-size: 26px; }
.entry-content a, .single-article__content a { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(22, 58, 255, .28); text-underline-offset: 3px; }
.entry-content a:hover, .single-article__content a:hover { text-decoration-color: currentColor; }
.entry-content blockquote, .single-article__content blockquote { padding: 8px 0 8px 23px; margin-inline: 0; color: var(--brand-navy); font: 600 clamp(21px, 3vw, 28px)/1.35 var(--font-display); letter-spacing: -.035em; border-left: 4px solid var(--brand-electric); }
.entry-content ul, .entry-content ol, .single-article__content ul, .single-article__content ol { padding-left: 1.4em; }
.entry-content li + li, .single-article__content li + li { margin-top: .5em; }
.entry-content img, .single-article__content img { border-radius: var(--radius-md); }
.entry-content code, .single-article__content code { padding: .15em .4em; color: var(--brand-deep); font-size: .88em; background: var(--primary-soft); border-radius: 5px; }
.entry-content pre, .single-article__content pre { padding: 20px; overflow: auto; color: var(--surface); background: var(--brand-navy); border-radius: var(--radius-md); }

.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; margin: 44px 0; color: var(--surface); background: linear-gradient(125deg, var(--brand-navy), var(--brand-deep)); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cta-box__text { max-width: 490px; margin: 0; font: 600 18px/1.4 var(--font-display); letter-spacing: -.03em; }
.cta-box .btn { color: var(--brand-navy); background: var(--surface); }

.reading-progress { position: fixed; z-index: 200; top: 0; left: 0; width: var(--progress, 0%); height: 3px; background: linear-gradient(90deg, var(--brand-electric), var(--brand-royal)); transition: width .1s linear; }
.post-nav, .home-article-nav { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 50px; }
.post-nav a, .home-article-nav a { display: block; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); transition: border .2s, transform .2s; }
.post-nav a:hover, .home-article-nav a:hover { border-color: var(--brand-electric); transform: translateY(-3px); }
.post-nav__next { text-align: right; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 18px 0 66px; }
.pagination .page-numbers { display: grid; width: 40px; height: 40px; place-items: center; font-size: 12px; font-weight: 800; border-radius: 50%; }
.pagination a.page-numbers:hover, .pagination .current { color: var(--surface); background: var(--primary); }
.empty-state { padding: 60px 24px; margin: 30px 0 70px; color: var(--muted); text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

.site-footer { position: relative; margin-top: 40px; overflow: hidden; color: rgba(255, 255, 255, .68); background: linear-gradient(120deg, var(--brand-navy), #061850); }
.site-footer::before { position: absolute; top: -155px; right: -100px; width: 480px; height: 480px; content: ""; background: radial-gradient(circle, rgba(12, 120, 255, .32), transparent 67%); }
.site-footer__inner { position: relative; display: grid; gap: 30px; padding: 48px 0 26px; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--surface); font: 700 20px/1 var(--font-display); letter-spacing: -.06em; }
.site-footer__logo-img { max-height: 36px; width: auto; filter: brightness(0) invert(1); }
.site-footer__blog { margin: 10px 0 0; color: var(--surface); font: 600 24px/1.1 var(--font-display); letter-spacing: -.045em; }
.site-footer__text { max-width: 420px; margin: 10px 0 0; font-size: 12px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 13px 20px; padding: 0; margin: 0; list-style: none; font-size: 12px; font-weight: 700; }
.site-footer__links a:hover { color: var(--surface); }
.site-footer__credit { padding-top: 20px; font-size: 10px; border-top: 1px solid rgba(255, 255, 255, .14); }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(12, 120, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 120, 255, 0); }
}

@media (min-width: 768px) {
  .container, .container--narrow, .container--wide { width: min(100% - 64px, 1180px); }
  .container--narrow { max-width: 760px; }
  .container--wide { max-width: 1360px; }
  .site-header__tagline { display: block; }
  .site-header__actions { display: flex; gap: 8px; }
  .site-nav { order: initial; margin-left: auto; }
  .site-nav__toggle { display: none; }
  .site-nav__list { position: static; display: flex; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav__link { padding: 8px 10px; }
  .hero-stage { padding: 105px 0 57px; }
  .spotlight { grid-template-columns: 1.03fr 1fr; }
  .spotlight__media { min-height: 420px; }
  .spotlight__body { padding: 42px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--feature { grid-column: span 2; }
  .bento__item--feature .post-card { flex-direction: row; }
  .bento__item--feature .post-card__image-link { width: 51%; height: auto; min-height: 290px; }
  .bento__item--feature .post-card__body { width: 49%; padding: 28px; }
  .post-nav, .home-article-nav { grid-template-columns: 1fr 1fr; }
  .site-footer__inner { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 1024px) {
  body.presty-informe { font-size: 16px; }
  .site-header__inner { min-height: 80px; }
  .site-nav__link { padding-inline: 13px; }
  .hero-stage__title { font-size: clamp(58px, 7vw, 82px); }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .bento__item--feature { grid-column: span 2; }
  .bento__item--tall { grid-row: span 2; }
  .bento__item--tall .post-card__image-link { height: 320px; }
  .bento__item--feature .post-card { flex-direction: column; }
  .bento__item--feature .post-card__image-link, .bento__item--feature .post-card__body { width: 100%; }
  .bento__item--feature .post-card__image-link { height: 280px; min-height: 0; }
  .single-article { padding-top: 80px; }
  .single-article__header { margin-bottom: 42px; }
  .cta-box { padding: 34px 38px; }
}

@media (min-width: 1280px) {
  .hero-stage { padding-top: 125px; }
  .spotlight__body { padding: 52px; }
  .bento { gap: 20px; }
  .post-card__body { padding: 25px; }
  .site-footer__inner { padding-top: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
