/* Ruleta Pampeana — hoja de estilos principal */

:root {
  --ink: #0b1020;
  --ink-soft: #18203a;
  --slate: #545e75;
  --slate-soft: #737e97;
  --grey-050: #f6f8fc;
  --grey-100: #eef1f8;
  --grey-200: #e2e7f2;
  --grey-300: #ccd4e6;
  --white: #ffffff;
  --blue: #1747ff;
  --blue-strong: #0f33cc;
  --blue-lift: #4c7cff;
  --blue-wash: #e9eeff;
  --lime: #b8f24a;
  --amber: #ffb020;
  --ok: #0f9d58;

  --shell: 1160px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --frame: 1.5px solid var(--grey-200);
  --frame-strong: 1.5px solid var(--grey-300);

  --shadow-lift: 0 1px 2px rgba(11, 16, 32, .05), 0 12px 30px -14px rgba(11, 16, 32, .16);
  --shadow-pop: 0 2px 4px rgba(11, 16, 32, .06), 0 26px 55px -22px rgba(23, 71, 255, .35);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(.82rem, .8rem + .1vw, .875rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.08rem + .3vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + .7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.15rem, 1.6rem + 2.6vw, 3.7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
  font-weight: 760;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-strong); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--blue); }

strong { font-weight: 680; color: var(--ink); }
img, svg { max-width: 100%; }
img { height: auto; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1.1rem;
  z-index: 99;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; color: var(--white); }

/* ---------- barra de edad ---------- */

.agebar {
  background: var(--ink);
  color: #c9d2ea;
  font-size: var(--step--1);
  padding: .5rem 0;
}
.agebar__row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.agebar strong { color: var(--white); }
.agebar a { color: #a8beff; }

.pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: .05rem .45rem;
  border-radius: 999px;
  background: var(--lime);
  color: #16240a;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .02em;
}

/* ---------- cabecera ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--grey-200);
}
.masthead__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name {
  display: grid;
  line-height: 1.05;
}
.brand__name b {
  font-size: 1.11rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.brand__name span {
  font-size: .66rem;
  font-weight: 620;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: inline-block;
  padding: .5rem .72rem;
  border-radius: var(--radius-sm);
  font-size: .935rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
}
.nav a:hover { background: var(--grey-100); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue-strong); background: var(--blue-wash); }

.navtoggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: var(--frame-strong);
  border-radius: var(--radius-sm);
  padding: .5rem .8rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}
.navtoggle svg { width: 17px; height: 17px; }

@media (max-width: 940px) {
  .navtoggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    inset: 74px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: .1rem;
    padding: .7rem var(--gutter) 1.1rem;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-lift);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .68rem .8rem; font-size: 1rem; }
}

/* ---------- botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .78rem 1.3rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: -.008em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--go {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-lift) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(23, 71, 255, .75);
}
.btn--go:hover { color: var(--white); box-shadow: 0 16px 30px -12px rgba(23, 71, 255, .85); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { color: var(--white); background: var(--ink-soft); }

.btn--line {
  background: var(--white);
  color: var(--ink);
  border-color: var(--grey-300);
}
.btn--line:hover { background: var(--grey-050); color: var(--ink); border-color: var(--slate-soft); }

.btn--wide { width: 100%; }
.btn--sm { padding: .58rem 1rem; font-size: .89rem; }

/* ---------- secciones ---------- */

.band { padding: clamp(3rem, 7vw, 5.4rem) 0; }
.band--tint { background: var(--grey-050); border-block: 1px solid var(--grey-200); }
.band--ink { background: var(--ink); color: #c3cce4; }
.band--ink h2, .band--ink h3 { color: var(--white); }
.band--tight { padding: clamp(2.2rem, 5vw, 3.4rem) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-strong);
  margin: 0 0 .9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.band--ink .eyebrow { color: var(--blue-lift); }
.band--ink .eyebrow::before { background: var(--blue-lift); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate);
}
.band--ink .lede { color: #b3bfdc; }

.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- hero: panorama provincial ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(23, 71, 255, .14), transparent 60%),
    radial-gradient(80% 70% at 4% 105%, rgba(184, 242, 74, .18), transparent 62%),
    var(--grey-050);
  border-bottom: 1px solid var(--grey-200);
  padding: clamp(2.4rem, 6vw, 4.4rem) 0 clamp(2.6rem, 6vw, 4rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: .7rem; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, var(--blue) 15%, var(--blue-lift) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__note {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  padding: .85rem 1rem;
  background: var(--white);
  border: var(--frame);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
  color: var(--slate);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

/* panel de datos provinciales */

.snapshot {
  background: var(--white);
  border: var(--frame-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.snapshot__top {
  padding: 1.05rem 1.25rem;
  background: linear-gradient(120deg, var(--ink) 0%, #1c2b60 100%);
  color: var(--white);
}
.snapshot__top p {
  margin: .25rem 0 0;
  font-size: var(--step--1);
  color: #b9c6ea;
}
.snapshot__top b {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -.02em;
}
.snapshot__list { margin: 0; padding: .35rem 1.25rem 1.15rem; }
.snapshot__list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem 1rem;
  align-items: baseline;
  padding: .72rem 0;
  border-bottom: 1px dashed var(--grey-200);
}
.snapshot__list div:last-child { border-bottom: 0; padding-bottom: 0; }
.snapshot__list dt {
  font-size: var(--step--1);
  color: var(--slate-soft);
  font-weight: 550;
}
.snapshot__list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: -.01em;
}

/* ---------- fichas de operador ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 820px) { .showcase { grid-template-columns: 1fr; } }

.showcase--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.1rem;
}
@media (max-width: 700px) { .showcase--compact { grid-template-columns: 1fr; } }

.opcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--frame-strong);
  border-radius: var(--radius);
  padding: 1.3rem;
  transition: border-color .18s ease, box-shadow .2s ease, transform .18s ease;
}
.opcard:hover {
  border-color: var(--blue-lift);
  box-shadow: var(--shadow-pop);
  transform: translateY(-2px);
}
.opcard--lead { border-top: 4px solid var(--blue); }

.opcard__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .95rem;
}
.oplogo {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--grey-200);
  object-fit: cover;
  background: var(--grey-050);
}
.opcard--mini .oplogo { width: 44px; height: 44px; border-radius: 10px; }

.opcard__id { min-width: 0; }
.opcard__id h3 { margin: 0; font-size: var(--step-1); }
.opcard--mini .opcard__id h3 { font-size: 1.05rem; }
.opcard__id p {
  margin: .1rem 0 0;
  font-size: .8rem;
  font-weight: 620;
  letter-spacing: .01em;
  color: var(--slate-soft);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.score {
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 62px;
  padding: .35rem 0 .4rem;
  border-radius: 11px;
  background: var(--blue-wash);
  border: 1px solid #ccd8ff;
  text-align: center;
}
.score b {
  font-size: 1.28rem;
  font-weight: 820;
  letter-spacing: -.04em;
  color: var(--blue-strong);
  line-height: 1;
}
.score span {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #5f74c4;
  margin-top: .18rem;
}

.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .95rem; padding: 0; list-style: none; }
.chip {
  font-size: .765rem;
  font-weight: 640;
  padding: .24rem .58rem;
  border-radius: 999px;
  background: var(--grey-100);
  color: var(--slate);
  border: 1px solid var(--grey-200);
}
.chip--ok { background: #edfaf1; border-color: #c6ecd3; color: #0c6b3c; }

.opcard__body { font-size: .955rem; color: var(--slate); }
.opcard__body p { margin-bottom: .75rem; }

.opcard__facts {
  margin: 0 0 1.1rem;
  padding: .85rem 0 0;
  border-top: 1px dashed var(--grey-200);
  font-size: .87rem;
}
.opcard__facts div { display: flex; gap: .6rem; padding: .28rem 0; }
.opcard__facts dt { color: var(--slate-soft); flex: none; min-width: 8.4rem; }
.opcard__facts dd { margin: 0; color: var(--ink); font-weight: 600; }

.opcard__foot { margin-top: auto; display: grid; gap: .5rem; }
.opcard__foot .fineprint {
  font-size: .755rem;
  color: var(--slate-soft);
  text-align: center;
  margin: 0;
}

/* ---------- tabla comparativa ---------- */

.tablewrap {
  border: var(--frame-strong);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--white);
  box-shadow: var(--shadow-lift);
}
table.cmp {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .9rem;
}
table.cmp caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.15rem;
  font-size: var(--step--1);
  color: var(--slate);
  border-bottom: 1px solid var(--grey-200);
  background: var(--grey-050);
}
table.cmp th, table.cmp td {
  padding: .82rem 1.05rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-100);
  vertical-align: top;
}
table.cmp thead th {
  background: var(--white);
  font-size: .77rem;
  font-weight: 760;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--slate-soft);
  border-bottom: 1.5px solid var(--grey-300);
  white-space: nowrap;
}
table.cmp tbody th {
  font-weight: 720;
  color: var(--ink);
  white-space: nowrap;
}
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td, table.cmp tbody tr:hover th { background: #fafbfe; }
.num { font-variant-numeric: tabular-nums; font-weight: 750; color: var(--blue-strong); }

/* ---------- rejilla de tarjetas ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.05rem;
}
.card {
  background: var(--white);
  border: var(--frame-strong);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.card h3 { font-size: var(--step-1); }
.card h4 { margin-bottom: .45rem; }
.card p { font-size: .945rem; color: var(--slate); }
.card--tint { background: var(--grey-050); }
.band--tint .card { background: var(--white); }

.band--ink .card {
  background: #131b34;
  border-color: #26314f;
  color: #b6c2de;
}
.band--ink .card p { color: #adb9d6; }
.band--ink .card a { color: #a8beff; }

.stepnum {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue-wash);
  color: var(--blue-strong);
  font-weight: 820;
  font-size: .95rem;
  margin-bottom: .8rem;
}
.band--ink .stepnum { background: #1d2a55; color: #a8beff; }

/* ---------- listas ---------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .95rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: var(--blue-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230f33cc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center/.72rem no-repeat;
}
.band--ink .ticks li::before { background-color: #1d2a55; }

.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.plain li { position: relative; padding-left: 1.1rem; font-size: .95rem; color: var(--slate); }
.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: .38rem;
  height: .38rem;
  border-radius: 999px;
  background: var(--blue-lift);
}

.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.9rem; font-size: var(--step-1); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.05em; padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--blue-lift); font-weight: 700; }

/* ---------- aviso de afiliación ---------- */

.disclose {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  padding: 1.05rem 1.2rem;
  border: var(--frame);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  background: #fffaf0;
  font-size: var(--step--1);
  color: #6a5320;
}
.disclose strong { color: #4a3a12; }
.disclose a { color: #8a5c00; }
.disclose svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; }

.callout {
  padding: 1.15rem 1.3rem;
  border: var(--frame);
  border-radius: var(--radius);
  background: var(--grey-050);
  font-size: .95rem;
}
.callout--care {
  background: #f4f9ff;
  border-color: #cfe0f7;
  border-left: 4px solid var(--blue);
}
.callout h3, .callout h4 { margin-bottom: .5rem; }

/* ---------- recursos oficiales ---------- */

.resource {
  display: grid;
  gap: .55rem;
  padding: 1.25rem;
  border: 1.5px solid #26314f;
  border-radius: var(--radius);
  background: #131b34;
}
.resource h3 { font-size: 1.06rem; margin: 0; }
.resource p { margin: 0; font-size: .92rem; color: #adb9d6; }
.resource .tel {
  font-size: 1.5rem;
  font-weight: 820;
  letter-spacing: -.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.resource a.res-link {
  color: #a8beff;
  font-weight: 650;
  font-size: .92rem;
  word-break: break-word;
}
.resource .tag {
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7f8db5;
}

/* ---------- preguntas ---------- */

.qa { border: var(--frame-strong); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.qa details { border-bottom: 1px solid var(--grey-200); }
.qa details:last-child { border-bottom: 0; }
.qa summary {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-weight: 690;
  color: var(--ink);
  font-size: 1.01rem;
  letter-spacing: -.012em;
  list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 7px;
  background: var(--grey-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b1020' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E") center/.85rem no-repeat;
  transition: transform .2s ease;
}
.qa details[open] summary::after { transform: rotate(180deg); }
.qa summary:hover { background: var(--grey-050); }
.qa .qa__body { padding: 0 1.25rem 1.25rem; font-size: .955rem; color: var(--slate); max-width: 74ch; }

/* ---------- pie ---------- */

.foot {
  background: var(--ink);
  color: #9aa7c6;
  font-size: .915rem;
  padding: clamp(2.6rem, 6vw, 4rem) 0 1.6rem;
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 1.6rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid #222c4a;
}
@media (max-width: 900px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot__top { grid-template-columns: 1fr; } }

.foot .brand { color: var(--white); margin-right: 0; }
.foot .brand__name span { color: #7f8db5; }
.foot__blurb { margin: .95rem 0 0; max-width: 34ch; color: #97a4c4; font-size: .9rem; }

.foot h4 {
  color: var(--white);
  font-size: .74rem;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .48rem; }
.foot a { color: #9aa7c6; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }

.foot__legal {
  padding-top: 1.6rem;
  display: grid;
  gap: 1rem;
  font-size: .84rem;
  color: #7f8db5;
}
.foot__legal p { margin: 0; max-width: 92ch; }
.foot__legal strong { color: #cfd8ee; }
.foot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  align-items: center;
  padding-top: .6rem;
  border-top: 1px solid #222c4a;
}

.outbound {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #131b34;
  border: 1px solid #26314f;
  border-left: 4px solid var(--lime);
  color: #b6c2de;
  font-size: .88rem;
}
.outbound strong { color: var(--white); }

/* ---------- cabecera de página interna ---------- */

.pagehead {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.4rem);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(23, 71, 255, .1), transparent 62%),
    var(--grey-050);
  border-bottom: 1px solid var(--grey-200);
}
.pagehead h1 { font-size: var(--step-3); margin-bottom: .55rem; }
.pagehead .lede { max-width: 68ch; }

.crumbs { font-size: .8rem; color: var(--slate-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--slate); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue-strong); text-decoration: underline; }
.crumbs span { margin: 0 .4rem; opacity: .55; }

.updated {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.1rem;
  font-size: .8rem;
  color: var(--slate-soft);
  background: var(--white);
  border: var(--frame);
  border-radius: 999px;
  padding: .3rem .8rem;
}

.pagegrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: start;
}
@media (max-width: 940px) { .pagegrid { grid-template-columns: 1fr; } }

.aside { display: grid; gap: 1rem; position: sticky; top: 92px; }
@media (max-width: 940px) { .aside { position: static; } }
.aside .card { padding: 1.15rem; }
.aside h4 { font-size: .95rem; }
.aside p, .aside li { font-size: .885rem; }

.mailbtn { word-break: break-word; }

hr.rule { border: 0; border-top: 1px solid var(--grey-200); margin: 2.4rem 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
