/* Fichas del Centro — section-scoped CSS (Editorial Luxe Affiliate) */
:root {
  --mint: #2a9d8f;
  --mint-deep: #1f7a6f;
  --mint-soft: #e6f5f3;
  --slate: #334155;
  --slate-mid: #475569;
  --ink: #1e293b;
  --white: #ffffff;
  --porcelain: #f8fafc;
  --line: #d7e3e1;
  --warn: #b45309;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --radius: 12px;
  --radius-pill: 999px;
  --shadow-inner: inset 0 1px 2px rgba(51, 65, 85, 0.06);
  --max: 1120px;
  --serif: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --age-h: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--porcelain);
  background-image: url("/assets/bg-motif.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: soft-light;
  padding-bottom: calc(var(--age-h) + 8px);
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--mint-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--mint); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--slate);
  margin: 0 0 var(--space-3);
}
h1 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 var(--space-3); max-width: 72ch; }
.u-wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.u-duotone {
  filter: grayscale(0.25) sepia(0.35) hue-rotate(120deg) saturate(1.1);
  border-radius: var(--radius);
}
.u-img-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  overflow: hidden;
  background: var(--white);
}
.u-img-frame img { width: 100%; }
.motif-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-5) 0;
  color: var(--mint);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}
.motif-break::before,
.motif-break::after {
  content: "";
  width: min(120px, 20vw);
  height: 1px;
  background: var(--line);
}
.motif-break span { font-size: 0.9rem; }

/* Lists — accent square markers */
.list-sq,
.content-prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}
.list-sq li,
.content-prose ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: var(--space-2);
}
.list-sq li::before,
.content-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--mint);
  border-radius: 1px;
}

/* Buttons — pill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn--primary {
  background: var(--mint);
  color: var(--white);
  border-color: var(--mint);
}
.btn--primary:hover { background: var(--mint-deep); color: var(--white); border-color: var(--mint-deep); }
.btn--ghost {
  background: transparent;
  color: var(--mint-deep);
  border-color: var(--mint);
}
.btn--ghost:hover { background: var(--mint-soft); color: var(--mint-deep); }

/* Badges — colour-accent highlight tags */
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
  background: var(--mint-soft);
  color: var(--mint-deep);
}
.badge--jurisdiction {
  background: var(--slate);
  color: var(--white);
}
.badge--soft { background: #eef2f6; color: var(--slate-mid); }

/* ===== header ===== */
.hdr {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}
.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 72px;
  padding: var(--space-2) 0;
}
.hdr__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--slate);
}
.hdr__brand img { width: 40px; height: 40px; }
.hdr__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.hdr__tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hdr__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}
.hdr__nav a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.92rem;
}
.hdr__nav a:hover { color: var(--mint-deep); text-decoration: underline; }
.hdr__toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
  color: var(--slate);
}
@media (max-width: 860px) {
  .hdr__toggle { display: inline-flex; }
  .hdr__nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: var(--space-3);
    flex-direction: column;
    align-items: flex-start;
  }
  .hdr__nav.is-open { display: flex; }
}

/* ===== disclosure / notice bands ===== */
.notice-top {
  background: var(--mint-soft);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: var(--slate);
}
.notice-top strong { color: var(--slate); }
.notice-top .badge { margin-right: 0.35rem; vertical-align: middle; }

/* ===== hero (split + province snapshot) ===== */
.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-7);
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.96) 0%, rgba(230, 245, 243, 0.92) 55%, rgba(255, 255, 255, 0.95) 100%),
    url("/assets/section-bg.jpg");
  background-size: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
  margin-bottom: -20px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}
.hero__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: var(--space-2);
}
.hero__lead { font-size: 1.08rem; color: var(--slate-mid); max-width: 58ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.hero__snap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-inner), 0 10px 28px rgba(51, 65, 85, 0.06);
  padding: var(--space-4);
}
.hero__snap h2 {
  font-size: 1rem;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.hero__snap dl { margin: 0; display: grid; gap: var(--space-2); }
.hero__snap dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-mid); }
.hero__snap dd { margin: 0; font-weight: 600; color: var(--slate); }
.hero__visual { margin-top: var(--space-3); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%); }
}

/* ===== trust strip ===== */
.trust {
  position: relative;
  z-index: 2;
  padding: var(--space-6) 0;
  background: var(--white);
  clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--space-6) + 20px);
}
.trust__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: var(--space-5);
  align-items: start;
}
.trust__panel {
  background: var(--mint-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-inner);
  padding: var(--space-4);
}
.trust__panel h2 { margin-bottom: var(--space-2); }
.trust__marks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-3);
}
.trust__marks img { height: 42px; width: auto; object-fit: contain; }
.trust__side {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  padding: var(--space-4);
}
.trust__side h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
}
@media (max-width: 860px) {
  .trust__inner { grid-template-columns: 1fr; }
  .trust { clip-path: none; padding-top: var(--space-5); }
}

/* ===== method / how we review ===== */
.method {
  padding: var(--space-6) 0;
  background: linear-gradient(180deg, var(--porcelain), var(--white));
}
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.method__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  padding: var(--space-4);
}
.method__num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--mint);
  margin-bottom: var(--space-2);
}
@media (max-width: 800px) {
  .method__grid { grid-template-columns: 1fr; }
}

/* ===== themed picks ===== */
.picks {
  padding: var(--space-6) 0;
  background: var(--white);
  clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 calc(100% - 24px));
}
.picks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.picks__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  padding: var(--space-4);
  background: var(--porcelain);
}
.picks__card h3 { font-size: 1.1rem; }
.picks__card ol { margin: 0; padding-left: 1.2rem; }
.picks__card li { margin-bottom: 0.4rem; }
@media (max-width: 800px) {
  .picks__grid { grid-template-columns: 1fr; }
  .picks { clip-path: none; }
}

/* ===== operator showcase — 2-col comparison cards ===== */
.ops {
  padding: var(--space-6) 0 var(--space-7);
  background: var(--porcelain);
}
.ops__intro { margin-bottom: var(--space-4); }
.ops__meta { font-size: 0.92rem; color: var(--slate-mid); margin-bottom: var(--space-4); }
.ops__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.op-card {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  overflow: hidden;
}
.op-card__facts {
  padding: var(--space-4);
  border-right: 1px solid var(--line);
}
.op-card__action {
  padding: var(--space-4);
  background: linear-gradient(180deg, var(--mint-soft), var(--white));
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  justify-content: center;
}
.op-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.op-card__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
}
.op-card__fallback {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: var(--slate);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.op-card__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.25rem;
}
.op-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: var(--space-2) 0;
}
.op-card__desc { font-size: 0.95rem; color: var(--slate-mid); margin-bottom: var(--space-2); }
.op-card__licence {
  font-size: 0.82rem;
  color: var(--slate-mid);
  background: var(--porcelain);
  border-radius: 8px;
  padding: var(--space-2);
  margin-top: var(--space-2);
}
.op-card__licence a { font-weight: 600; }
.op-card__stars {
  color: var(--mint-deep);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.op-card__stars span { color: var(--slate-mid); font-size: 0.85rem; margin-left: 0.35rem; }
.op-card__note { font-size: 0.75rem; color: var(--slate-mid); margin-top: var(--space-2); }
@media (max-width: 900px) {
  .ops__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .op-card { grid-template-columns: 1fr; }
  .op-card__facts { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ===== regulation / sidebar mix ===== */
.reg {
  padding: var(--space-6) 0;
  background: var(--white);
}
.reg__layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: var(--space-4);
}
.reg__main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  padding: var(--space-4);
  background: var(--porcelain);
}
.reg__aside {
  border: 1px solid var(--mint);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  padding: var(--space-4);
  background: var(--mint-soft);
}
.reg__aside h3 { color: var(--mint-deep); }
@media (max-width: 800px) {
  .reg__layout { grid-template-columns: 1fr; }
}

/* ===== pros/cons signature ===== */
.proscons {
  padding: var(--space-5) 0;
}
.proscons__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-inner);
  background: var(--white);
}
.proscons__col { padding: var(--space-4); }
.proscons__col--pro { background: var(--mint-soft); }
.proscons__col--con { background: #f1f5f9; }
.proscons__col h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .proscons__box { grid-template-columns: 1fr; }
}

/* ===== RG block ===== */
.rg {
  padding: var(--space-6) 0;
  background: linear-gradient(180deg, var(--white), var(--mint-soft));
}
.rg__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inner);
  padding: var(--space-5);
  background: var(--white);
}
.rg__help {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate);
}

/* ===== FAQ accordion ===== */
.faq {
  padding: var(--space-6) 0 var(--space-7);
  background: var(--porcelain);
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-inner);
  margin-bottom: var(--space-2);
  overflow: hidden;
}
.faq__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: var(--space-3) var(--space-4);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}
.faq__btn span { color: var(--mint); font-family: var(--sans); font-weight: 700; }
.faq__panel {
  display: none;
  padding: 0 var(--space-4) var(--space-4);
  color: var(--slate-mid);
}
.faq__item.is-open .faq__panel { display: block; }

/* ===== page shell / content ===== */
.page-hero {
  padding: var(--space-6) 0 var(--space-5);
  background:
    linear-gradient(135deg, rgba(248,250,252,0.95), rgba(230,245,243,0.9)),
    url("/assets/section-bg.jpg");
  background-size: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}
.page-hero__meta { color: var(--slate-mid); font-size: 0.92rem; }
.content-band {
  padding: var(--space-5) 0 var(--space-6);
  background: var(--white);
}
.content-prose { max-width: 72ch; }
.content-prose h2 { margin-top: var(--space-5); }
.content-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-5);
  align-items: start;
}
@media (max-width: 800px) {
  .content-split { grid-template-columns: 1fr; }
  .page-hero { clip-path: none; }
}

/* ===== comparison table ===== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-inner);
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
}
.cmp-table th,
.cmp-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.cmp-table thead th {
  background: var(--mint-soft);
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 1;
}
.cmp-table th:first-child,
.cmp-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 2;
  min-width: 140px;
  font-weight: 700;
  box-shadow: 4px 0 8px rgba(51, 65, 85, 0.04);
}
.cmp-table thead th:first-child {
  background: var(--mint-soft);
  z-index: 3;
}
.cmp-table tbody tr:nth-child(even) td { background: var(--porcelain); }
.cmp-table tbody tr:nth-child(even) td:first-child { background: var(--porcelain); }

/* ===== footer editorial ===== */
.ftr {
  background: var(--slate);
  color: #e2e8f0;
  padding: var(--space-6) 0 var(--space-5);
  margin-top: var(--space-4);
}
.ftr a { color: #99f6e4; }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
.ftr__brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: var(--space-2);
}
.ftr__statement { font-size: 0.92rem; color: #cbd5e1; max-width: 36ch; }
.ftr__col h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: var(--space-2);
}
.ftr__col ul { list-style: none; padding: 0; margin: 0; }
.ftr__col li { margin-bottom: 0.45rem; }
.ftr__col a { text-decoration: underline; font-size: 0.92rem; }
.ftr__legal {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: #94a3b8;
}
@media (max-width: 900px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ftr__grid { grid-template-columns: 1fr; }
}

/* ===== age + safety strip (bottom pinned) ===== */
.agebar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--ink);
  color: #e2e8f0;
  font-size: 0.78rem;
  line-height: 1.4;
  border-top: 2px solid var(--mint);
}
.agebar__inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  padding: 0.45rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  justify-content: space-between;
}
.agebar a { color: #99f6e4; }
.agebar__safety {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}
.agebar__safety strong {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== cookie banner ===== */
.cookie {
  position: fixed;
  left: var(--space-3);
  right: var(--space-3);
  bottom: calc(var(--age-h) + 12px);
  z-index: 70;
  max-width: 420px;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  padding: var(--space-3);
  font-size: 0.88rem;
}
.cookie[hidden] { display: none !important; }
.cookie__actions { display: flex; gap: var(--space-2); margin-top: var(--space-2); flex-wrap: wrap; }

/* ===== modal (footer legal) ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.55);
  display: grid;
  place-items: center;
  padding: var(--space-3);
}
.modal[hidden] { display: none !important; }
.modal__card {
  width: min(100%, 640px);
  max-height: min(80vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: var(--space-4);
  box-shadow: var(--shadow-inner);
}
.modal__close {
  float: right;
  border: 0;
  background: var(--mint-soft);
  color: var(--mint-deep);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

/* print */
@media print {
  .hdr__nav, .hdr__toggle, .agebar, .cookie, .btn, .modal { display: none !important; }
  body { background: white; padding: 0; color: black; }
  a { color: black; }
}
