/* ============================================================
   GRUPO CREA — páginas de empresa (interiores)
   Hereda tokens y base de styles.css. Acento por empresa.
   ============================================================ */

body[data-emp="esp"] { --acc: var(--esp-s); --acc-d: var(--esp-d); --acc-p: var(--esp-p); }
body[data-emp="tv"]  { --acc: var(--tv-s);  --acc-d: var(--tv-d);  --acc-p: var(--tv-p); }
body[data-emp="nav"] { --acc: var(--nav-s); --acc-d: var(--nav-d); --acc-p: var(--nav-p); }
body[data-emp="mov"] { --acc: var(--mov-s); --acc-d: var(--mov-d); --acc-p: var(--mov-p); }

/* ---------- back link in header ---------- */
.hd .nav-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s, gap 0.25s var(--ease-out);
}
.hd .nav-back:hover { color: var(--ink); gap: 13px; }
.hd .nav-back .a { transition: transform 0.3s var(--ease-out); }
.hd .nav-back:hover .a { transform: translateX(-3px); }
.hd .hd-right { display: flex; align-items: center; gap: 22px; }

/* ---------- hero ---------- */
.ep-hero {
  position: relative;
  padding: clamp(130px, 17vh, 190px) var(--pad) clamp(48px, 7vh, 90px);
  overflow: hidden;
  isolation: isolate;
}
.ep-hero .aurora { z-index: -1 !important; opacity: 0.8; }
.ep-hero .aurora b { opacity: 0.4; }
.ep-hero .a1 { background: var(--acc); }
.ep-hero .a2 { background: var(--acc-p); }
.ep-hero .a3 { background: var(--mint); }

.ep-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ep-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc-d);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.ep-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: currentColor; opacity: 0.5; }

.ep-hero-logo {
  height: clamp(58px, 7vw, 92px);
  width: auto;
  margin-bottom: 30px;
  display: block;
}
.ep-h1 {
  font-family: var(--font-logo);
  font-size: clamp(40px, 5.6vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}
.ep-h1 em { font-style: normal; color: var(--acc-d); }
.ep-intro {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-soft);
  text-wrap: pretty;
}
.ep-hero-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-acc { background: var(--acc); color: oklch(0.2 0.02 200); }
.btn-acc:hover { box-shadow: 0 12px 30px -12px var(--acc); }

.ep-hero-media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius);
  background-color: var(--acc-p);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px oklch(0.25 0.04 190 / 0.5);
}
.ep-hero-media .ph { position: absolute; inset: 0; background-color: var(--acc-p); }
.ep-hero-media .ph span { color: var(--acc-d); background: oklch(1 0 0 / 0.7); }

/* ---------- generic section heads ---------- */
.ep-sec { padding: clamp(64px, 10vh, 130px) var(--pad); }
.ep-sec.tinted { background: var(--bg-mist); }
.ep-head { max-width: 760px; margin-bottom: clamp(36px, 5vh, 60px); }
.ep-kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc-d);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ep-kicker::before { content: ""; width: 34px; height: 1.5px; background: currentColor; opacity: 0.5; }
.ep-h2 {
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.ep-sub { margin-top: 18px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); text-wrap: pretty; }

/* ---------- offers grid ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.ocard {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.tinted .ocard { background: var(--bg); }
.ocard:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line), 0 22px 46px -22px oklch(0.27 0.035 200 / 0.32);
}
.ocard .ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--acc-p);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.ocard .ic b {
  width: 18px; height: 18px;
  background: var(--acc-d);
  display: block;
}
.ocard .ic b.c { border-radius: 99px; }
.ocard .ic b.d { transform: rotate(45deg); border-radius: 3px; }
.ocard .ic b.r { border-radius: 4px; }
.ocard .ic b.h { height: 7px; border-radius: 3px; box-shadow: 0 11px 0 var(--acc-d); margin-bottom: 11px; }
.ocard .ic b.t { clip-path: polygon(50% 0, 100% 100%, 0 100%); border-radius: 0; }
.ocard h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ocard p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- planes / pricing ---------- */
.planes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.plan {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.plan:hover { transform: translateY(-7px); box-shadow: inset 0 0 0 1px var(--line), 0 26px 54px -24px oklch(0.27 0.035 200 / 0.36); }
.plan.feat {
  background: var(--dark);
  box-shadow: 0 30px 64px -28px oklch(0.25 0.04 190 / 0.6);
}
.plan.feat * { color: var(--on-dark); }
.plan .badge {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--acc);
  color: oklch(0.2 0.02 200);
}
.plan:has(.plan-soon) { padding-top: 58px; }
.plan .plan-soon {
  position: absolute;
  top: 20px; left: 24px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: oklch(0.57 0.2 27);
  padding: 5px 12px;
  border-radius: 99px;
  box-shadow: 0 6px 16px -6px oklch(0.57 0.2 27 / 0.7);
}
.plan .pname { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.plan .pspeed { margin-top: 4px; font-size: 14px; color: var(--ink-faint); }
.plan.feat .pspeed { color: var(--on-dark-soft); }
.plan .price { margin-top: 22px; display: flex; align-items: baseline; gap: 4px; }
.plan .price .cur { font-size: 20px; font-weight: 700; color: var(--acc-d); }
.plan.feat .price .cur { color: var(--acc); }
.plan .price .val { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price .per { font-size: 14px; color: var(--ink-faint); }
.plan.feat .price .per { color: var(--on-dark-soft); }
.plan .tbd-note { margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); }
.plan ul { margin-top: 24px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); line-height: 1.4; }
.plan.feat li { color: var(--on-dark-soft); }
.plan li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 99px;
  background: var(--acc-p);
  background-image: none;
  position: relative;
}
.plan li .chk {
  position: absolute;
  margin-left: -29px; margin-top: 2px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--acc-d);
  font-size: 11px; font-weight: 800;
}
.plan .btn { margin-top: 28px; justify-content: center; }
.plan.feat .btn-ghost { box-shadow: inset 0 0 0 1.5px oklch(1 0 0 / 0.3); }
.plan.feat .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tinted .step { background: var(--bg-mist); box-shadow: inset 0 0 0 1px var(--line); }
.step .n {
  font-family: var(--font-logo);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--acc);
  -webkit-text-stroke: 1.5px var(--acc-d);
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- trust band (dark) ---------- */
.ep-trust {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: calc(var(--radius) * 2);
  margin: 0 var(--pad);
  padding: clamp(50px, 8vh, 92px) clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.ep-trust .ep-h2 { color: var(--on-dark); }
.ep-trust p { color: var(--on-dark-soft); margin-top: 18px; text-wrap: pretty; max-width: 440px; }
.ep-trust .stat-row { display: flex; gap: 40px; flex-wrap: wrap; }
.ep-trust .stat .num {
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--acc);
}
.ep-trust .stat .lbl { margin-top: 10px; font-size: 14px; color: var(--on-dark-soft); max-width: 180px; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq-item {
  border-top: 1.5px solid var(--line);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1.5px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-q .pm {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.3s, box-shadow 0.3s;
}
.faq-q .pm::before, .faq-q .pm::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.faq-q .pm::before { width: 13px; height: 1.8px; }
.faq-q .pm::after { width: 1.8px; height: 13px; }
.faq-item.open .faq-q .pm { background: var(--acc); box-shadow: inset 0 0 0 1.5px var(--acc); }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-item.open .faq-q .pm::before { background: oklch(0.2 0.02 200); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 0 28px;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 680px;
  text-wrap: pretty;
}

/* ---------- cta band ---------- */
.ep-cta {
  background: var(--acc-p);
  border-radius: calc(var(--radius) * 2);
  margin: clamp(60px, 9vh, 100px) var(--pad) 0;
  padding: clamp(56px, 9vh, 110px) var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.ep-cta .ep-h2 { color: var(--acc-d); max-width: 16em; }
.ep-cta p { color: var(--ink-soft); max-width: 460px; text-wrap: pretty; }
.ep-cta .row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- tbd marker ---------- */
.tbd {
  background: oklch(0.92 0.09 95 / 0.6);
  box-shadow: inset 0 0 0 1px oklch(0.78 0.12 90 / 0.7);
  border-radius: 5px;
  padding: 0 5px;
  font-style: normal;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ep-hero-inner { grid-template-columns: 1fr; }
  .ep-hero-media { aspect-ratio: 16 / 11; order: -1; }
  .ep-trust { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ep-cta, .ep-trust { margin-left: 12px; margin-right: 12px; }
}

/* ---------- hero stacking ---------- */
.ep-hero .leaf-canvas { z-index: 1 !important; }
.ep-hero-inner { position: relative; z-index: 2; }

/* ---------- accessibility: always-on focus ring ---------- */
a:focus-visible, button:focus-visible, .faq-q:focus-visible {
  outline: 3px solid var(--acc-d);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- documentos del servicio ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
}
.doccard {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.doccard:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 38px -20px oklch(0.27 0.035 200 / 0.34);
}
.doccard .fic {
  flex: 0 0 auto;
  width: 46px; height: 56px;
  border-radius: 7px;
  background: var(--acc-p);
  color: var(--acc-d);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  position: relative;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.4);
}
.doccard .fic::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  border-width: 0 11px 11px 0;
  border-style: solid;
  border-color: var(--bg) var(--bg) transparent transparent;
}
.doccard .dmeta { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.doccard .dmeta b { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.doccard .dmeta i { font-style: normal; font-size: 13px; color: var(--ink-faint); font-family: var(--mono); }
.doccard .darr {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 99px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-soft);
  font-size: 17px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.doccard:hover .darr { background: var(--acc-d); color: var(--acc-p); box-shadow: inset 0 0 0 1.5px var(--acc-d); transform: translateY(2px); }
.doccard.is-pending { cursor: default; }
.doccard.is-pending:hover { transform: none; box-shadow: inset 0 0 0 1px var(--line); }
.doccard.is-pending:hover .darr { background: none; color: var(--ink-soft); box-shadow: inset 0 0 0 1.5px var(--line); transform: none; }
.doccard.is-pending .darr { opacity: 0.4; }

/* ---------- índice de transparencia (Ley 1712) ---------- */
.tindex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.tcat {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.tinted .tcat { background: var(--bg-mist); }
.tcat h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc-d);
  margin-bottom: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tcat h4::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.55; }
.tcat ul { display: flex; flex-direction: column; gap: 2px; }
.tcat li a, .tcat li .t-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.25s, gap 0.25s var(--ease-out);
}
.tcat li .t-link { cursor: default; }
.tcat li a::before, .tcat li .t-link::before {
  content: "›";
  color: var(--acc-d);
  font-weight: 700;
  transition: transform 0.25s var(--ease-out);
}
.tcat li a:hover { color: var(--ink); gap: 14px; }
.tcat li a:hover::before { transform: translateX(2px); }

/* ---------- accesibilidad band ---------- */
.a11y-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.a11y-note .ep-h2 { font-size: clamp(28px, 3.4vw, 46px); }
.a11y-note p { margin-top: 16px; color: var(--ink-soft); max-width: 520px; text-wrap: pretty; }
@media (max-width: 760px) { .a11y-note { grid-template-columns: 1fr; } }

/* ---------- accessibility floating menu ---------- */
.a11y-fab {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 60;
  width: 54px; height: 54px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -10px oklch(0.27 0.035 200 / 0.5);
  transition: transform 0.3s var(--ease-out);
}
.a11y-fab:hover { transform: translateY(-3px) scale(1.05); }
.a11y-fab svg { width: 26px; height: 26px; }
.a11y-panel {
  position: fixed;
  left: 22px; bottom: 86px;
  z-index: 61;
  width: 290px;
  background: var(--bg);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 70px -20px oklch(0.25 0.04 190 / 0.5), inset 0 0 0 1px var(--line);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease-out);
}
.a11y-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.a11y-panel h5 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  margin-bottom: 14px;
}
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
}
.a11y-seg { display: flex; gap: 4px; }
.a11y-seg button {
  font-family: var(--font);
  border: none;
  cursor: pointer;
  width: 32px; height: 30px;
  border-radius: 8px;
  background: var(--bg-mist);
  color: var(--ink-soft);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.2s, color 0.2s;
}
.a11y-seg button.on { background: var(--acc); color: oklch(0.2 0.02 200); box-shadow: none; }
.a11y-sw {
  width: 46px; height: 27px;
  border-radius: 99px;
  background: var(--line);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
  flex: 0 0 auto;
}
.a11y-sw::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 21px; height: 21px;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s var(--ease-out);
  box-shadow: 0 2px 5px oklch(0 0 0 / 0.25);
}
.a11y-sw.on { background: var(--acc-d); }
.a11y-sw.on::after { transform: translateX(19px); }
.a11y-reset {
  width: 100%;
  margin-top: 16px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: var(--bg-mist);
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.2s;
}
.a11y-reset:hover { color: var(--ink); }

/* accessibility state classes */
html.a11y-contrast {
  --ink: oklch(0.18 0.03 200);
  --ink-soft: oklch(0.30 0.03 200);
  --ink-faint: oklch(0.42 0.025 200);
  --line: oklch(0.74 0.02 190);
}
html.a11y-links a:not(.btn):not(.brand-logo):not(.wing):not(.doccard):not(.a11y-fab) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing .ep-intro,
html.a11y-spacing .ep-sub { letter-spacing: 0.03em; word-spacing: 0.12em; line-height: 1.9; }

/* ---------- footer legal extras ---------- */
.ft-vigilada {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: oklch(1 0 0 / 0.05);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.1);
}
.ft-vigilada .seal {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--on-dark);
  color: var(--dark);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
}
.ft-vigilada p { margin: 0; font-size: 12.5px; line-height: 1.4; }
.ft-notif { margin-top: 14px; font-size: 12.5px; color: oklch(0.66 0.02 160); }
.ft-notif b { color: var(--on-dark-soft); font-weight: 600; }

/* ---------- avisos legales (callouts) ---------- */
.notices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--acc-p);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.4);
}
.notice .seal {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--acc-d);
  color: var(--acc-p);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.05;
}
.notice h4 { font-size: 16px; font-weight: 700; color: var(--acc-d); letter-spacing: -0.01em; }
.notice p { margin-top: 5px; font-size: 14px; color: var(--ink-soft); text-wrap: pretty; }
.notice.warn {
  background: oklch(0.95 0.06 95);
  box-shadow: inset 0 0 0 1px oklch(0.82 0.11 90 / 0.8);
}
.notice.warn .seal { background: oklch(0.55 0.13 75); color: oklch(0.97 0.03 95); }
.notice.warn h4 { color: oklch(0.42 0.10 70); }

/* ---------- lista de cumplimiento (calidad/atención) ---------- */
.clist { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.citem {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.tinted .citem { background: var(--bg-mist); }
.citem:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 38px -20px oklch(0.27 0.035 200 / 0.3); }
.citem .tick {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--acc-p);
  color: var(--acc-d);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
  margin-bottom: 16px;
}
.citem h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.citem p { margin-top: 7px; font-size: 14px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- franjas de clasificación ---------- */
.franjas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.franja {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.franja .d { width: 11px; height: 11px; border-radius: 99px; }

/* ============================================================
   PÁGINAS LEGALES / DOCUMENTOS (PQR, Habeas Data, Términos, Cookies)
   ============================================================ */
.legal-hero {
  position: relative;
  padding: clamp(118px, 16vh, 168px) var(--pad) clamp(26px, 4vh, 46px);
}
.legal-hero .ep-eyebrow { margin-bottom: 18px; }
.legal-hero h1 {
  font-family: var(--font-logo);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
  text-wrap: balance;
}
.legal-hero .legal-meta { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--ink-faint); }
.legal-wrap { padding: 0 var(--pad) clamp(56px, 9vh, 100px); }
.legal-body { max-width: 760px; }
.legal-body h2 {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: clamp(30px, 5vh, 50px) 0 14px;
  color: var(--ink);
  scroll-margin-top: 90px;
}
.legal-body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; color: var(--ink); }
.legal-body p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 14px; text-wrap: pretty; }
.legal-body ul { margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.legal-body li { display: flex; gap: 11px; font-size: 16px; color: var(--ink-soft); line-height: 1.5; }
.legal-body li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 9px; border-radius: 99px; background: var(--acc, var(--teal)); }
.legal-body a { color: var(--acc-d, oklch(0.45 0.08 200)); text-decoration: underline; text-underline-offset: 3px; }
.legal-note {
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--bg-mist);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.legal-toc {
  margin: 22px 0 8px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--bg-mist);
  box-shadow: inset 0 0 0 1px var(--line);
}
.legal-toc h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }

/* ---------- formulario PQR ---------- */
.pqr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 760px; }
.pqr-field { display: flex; flex-direction: column; gap: 7px; }
.pqr-field.full { grid-column: 1 / -1; }
.pqr-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.pqr-field input, .pqr-field select, .pqr-field textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 13px 15px;
  border-radius: 11px;
  border: none;
  background: var(--bg-mist);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  transition: box-shadow 0.2s;
}
.pqr-field input:focus, .pqr-field select:focus, .pqr-field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--acc, var(--teal));
}
.pqr-field textarea { resize: vertical; min-height: 120px; }
.pqr-auth { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.pqr-auth input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
.pqr-submit { grid-column: 1 / -1; margin-top: 4px; }
.pqr-ok {
  display: none;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 16px;
  background: color-mix(in oklch, var(--acc, var(--teal)) 18%, white);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: 760px;
}
.pqr-ok.show { display: block; }
.pqr-ok b { font-size: 18px; color: var(--ink); }
.pqr-ok .rad { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--acc-d, oklch(0.4 0.08 200)); margin: 6px 0; }
.pqr-ok p { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 620px) { .pqr-grid { grid-template-columns: 1fr; } }

/* ---------- posconsumo / puntos limpios ---------- */
.posc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.posc {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.tinted .posc { background: var(--bg); }
.posc:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--line), 0 22px 46px -22px oklch(0.27 0.035 200 / 0.32);
}
.posc .pic {
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--acc-p);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.posc .pic svg { width: 28px; height: 28px; stroke: var(--acc-d); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.posc h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.posc p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); text-wrap: pretty; }
.posc .ej { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); letter-spacing: 0.01em; }
