/* Evidenta — intro page
   Brand tokens live here; reuse them, never hardcode a colour twice.
   Flat, corporate: solid fills, hairline rules, no gradients or texture. */

:root {
  /* brand */
  --ink: #14161A;
  --graphite: #1F2226;
  --graphite-soft: #55595F;
  --amber: #F0A526;

  /* surfaces */
  --surface: #FFFFFF;
  --surface-alt: #F5F6F7;
  --border: #E3E5E8;
  --muted: #62666E;

  --max-width: 66rem;
  --gutter: 1.5rem;
  --radius: 8px;
  --transition: 140ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 260ms ease;
}

.brand:hover .brand__mark {
  transform: translateX(2px);
}

.brand__name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--graphite);
}

.brand__accent {
  color: var(--amber);
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--graphite-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
}

/* ---------- hero ---------- */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter) clamp(3rem, 6vw, 4rem);
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 14ch;
}

/* A short flat rule reads more corporate than a marker highlight,
   and does not break awkwardly when the headline wraps. */
.hero__rule {
  width: 56px;
  height: 5px;
  background: var(--amber);
  margin-top: 1.5rem;
}

.hero__lead {
  margin: 1.4rem 0 0;
  max-width: 56ch;
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--muted);
}

.hero__lead em {
  color: var(--ink);
  font-style: italic;
}

/* ---------- features ---------- */

.capabilities {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.capabilities__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Los separadores son el fondo visto a través del gap: así nunca quedan
   filetes cortados cuando la grilla envuelve. */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--surface);
  position: relative;
  transition: background var(--transition);
}

/* A thin amber marker slides in from the left instead of a colour wash. */
.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms ease;
}

.feature:hover {
  background: var(--surface-alt);
}

.feature:hover::before {
  transform: scaleY(1);
}

.feature__title {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

.feature__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- use cases ---------- */

.use-cases {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}

.use-cases__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.use-cases__eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.25rem;
}

.case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.case:hover,
.case:focus-within {
  border-color: var(--amber);
  box-shadow: 0 6px 20px rgba(20, 22, 26, 0.07);
  transform: translateY(-2px);
}

/* The title picks up the accent so the whole card reads as one hover target. */
.case:hover .case__title,
.case:focus-within .case__title {
  color: var(--ink);
}

/* Grey by default so the photo does not fight the flat palette; it comes back
   to colour on hover, which rewards exploring without adding noise. */
.case__image {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.02);
  transition: filter 420ms ease, transform 420ms ease;
}

.case:hover .case__image,
.case:focus-within .case__image {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1);
}

.case__body {
  padding: 1.2rem 1.4rem 1.45rem;
}

.case__title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--graphite);
}

.case__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- cta ---------- */

.cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.75rem, 6vw, 3.75rem) var(--gutter);
}

.cta__button {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  background: var(--graphite);
  color: var(--surface);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.cta__button:hover {
  background: #000000;
  transform: translateY(-1px);
}

.cta__button:active {
  transform: translateY(0);
}

.cta__button:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.cta__note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem var(--gutter);
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 60rem) {
  .features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- hero layout with mockup ---------- */

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (max-width: 56rem) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- phone mockup ---------- */

.phone {
  justify-self: center;
}

.phone__frame {
  position: relative;
  width: 264px;
  height: 540px;
  border-radius: 34px;
  background: var(--graphite);
  padding: 10px;
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 300ms ease, transform 300ms ease;
}

/* Hovering the phone holds the current screen, so it can be read calmly. */
.phone:hover .phone__frame {
  box-shadow: 0 14px 40px rgba(20, 22, 26, 0.18);
  transform: translateY(-3px);
}

.phone:hover .screen {
  animation-play-state: paused;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 18px;
  background: var(--graphite);
  border-radius: 0 0 10px 10px;
  z-index: 2;
}

.phone__screens {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: var(--surface);
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  padding: 26px 16px 16px;
  opacity: 0;
  /* 7 pantallas × 4 s */
  animation: screen-cycle 28s linear infinite;
}

.screen--1 { animation-delay: 0s; }
.screen--2 { animation-delay: 4s; }
.screen--3 { animation-delay: 8s; }
.screen--4 { animation-delay: 12s; }
.screen--5 { animation-delay: 16s; }
.screen--6 { animation-delay: 20s; }
.screen--7 { animation-delay: 24s; }

@keyframes screen-cycle {
  0%     { opacity: 0; }
  1.4%   { opacity: 1; }
  12.9%  { opacity: 1; }
  14.3%  { opacity: 0; }
  100%   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .screen { animation: none; opacity: 0; }
  .screen--1 { opacity: 1; }
}

/* ---------- contact dialog ---------- */

.contact {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  width: min(30rem, calc(100vw - 2rem));
  color: var(--ink);
}

.contact::backdrop {
  background: rgba(20, 22, 26, 0.55);
}

.contact__form { padding: 1.6rem 1.6rem 1.75rem; }

.contact__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.contact__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--graphite);
}

.contact__close {
  border: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 0.2rem;
}

.contact__lead {
  margin: 0.4rem 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.field { display: block; margin-bottom: 0.85rem; }

.field > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 0.3rem;
}

.field em { font-style: normal; font-weight: 400; color: var(--muted); }

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: -1px;
}

.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.4rem 0 1.25rem;
}

.contact__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact__status { font-size: 0.8rem; color: var(--muted); }

button.cta__button {
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
}

/* ---------- app mockup screens ---------- */

.screen {
  display: flex;
  flex-direction: column;
  background: #F7F8F9;
}

/* status bar */
.sbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 6px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--graphite);
  background: var(--surface);
}
.sbar__right { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.sbar__right--ok { color: #1B9E5F; font-weight: 700; }
.sbar__off { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); display: inline-block; }

/* app bar */
.appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 4px 12px;
  background: var(--surface);
  border-bottom: 1px solid #ECEEF0;
}
.appbar--nav { justify-content: flex-start; }
.appbar__hi { display: block; font-size: 13px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.appbar__hi--sm { font-size: 11.5px; }
.appbar__sub { display: block; font-size: 8.5px; color: var(--muted); }
.avatar {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--surface);
  font-size: 9px; font-weight: 700;
  display: grid; place-items: center;
}
.back {
  width: 9px; height: 9px; flex: none;
  border-left: 2px solid var(--graphite);
  border-bottom: 2px solid var(--graphite);
  transform: rotate(45deg);
  margin-right: 4px;
}

/* content + tabbar */
.content { flex: 1; padding: 10px 4px; overflow: hidden; }
.content--doc { padding-top: 8px; }
.content--done { text-align: center; padding-top: 14px; }

.tabbar {
  display: flex;
  border-top: 1px solid #ECEEF0;
  background: var(--surface);
  padding: 7px 0 3px;
}
.tab {
  flex: 1;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  color: #A7ADB4;
  padding-top: 12px;
  position: relative;
}
.tab::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 10px;
  border: 1.6px solid currentColor;
  border-radius: 2px;
}
.tab--on { color: var(--graphite); }

/* screen 1 */
.progress-card {
  background: var(--graphite);
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 9px;
}
.progress-card__row {
  display: flex; justify-content: space-between; align-items: baseline;
  color: var(--surface); margin-bottom: 6px;
}
.progress-card__row b { font-size: 10.5px; }
.progress-card__row span { font-size: 8.5px; color: #B9BEC4; }
.bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.22); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--amber); }
.bar--top { background: #ECEEF0; border-radius: 0; }
.bar--top span { background: var(--amber); }

.tcard {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid #ECEEF0;
  border-radius: 8px;
  padding: 8px 9px;
  margin-bottom: 7px;
}
.tcard--now { border-color: var(--amber); }
.tcard--done { opacity: 0.65; }
.tcard__txt { flex: 1; min-width: 0; }
.tcard__txt b { display: block; font-size: 9.5px; font-weight: 600; color: var(--ink); }
.tcard__txt i { display: block; font-style: normal; font-size: 8px; color: var(--muted); }
.tico { width: 22px; height: 22px; border-radius: 6px; flex: none; background: #F0F2F4; position: relative; }
.tico--doc { background: rgba(240,165,38,0.16); }
.tico--doc::after { content:""; position:absolute; inset:6px 7px; border:1.6px solid var(--amber); border-radius:1px; }
.tico--epp::after { content:""; position:absolute; inset:7px 6px; border:1.6px solid #8A9099; border-radius:6px 6px 2px 2px; }
.tico--ok { background: rgba(27,158,95,0.14); }
.tico--ok::after {
  content:""; position:absolute; left:8px; top:6px; width:5px; height:9px;
  border: solid #1B9E5F; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg);
}
.tag { font-size: 7.5px; font-weight: 700; padding: 2.5px 5px; border-radius: 3px; flex: none; }
.tag--pend { background: rgba(240,165,38,0.18); color: #8A5A08; }
.tag--ok { background: rgba(27,158,95,0.14); color: #157A4A; }

/* screen 2 */
.paper { background: var(--surface); border: 1px solid #ECEEF0; border-radius: 8px; padding: 10px; }
.paper__h { font-size: 9.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.lines i { display: block; height: 5px; border-radius: 3px; background: #EDEFF1; margin-bottom: 5px; }
.callout {
  font-size: 8.5px; color: var(--graphite);
  background: #FBF6EC; border-left: 3px solid var(--amber);
  padding: 6px 8px; margin: 8px 0; border-radius: 0 4px 4px 0;
}
.callout b { display: block; font-size: 7.5px; text-transform: uppercase; letter-spacing: .08em; color: #8A5A08; }
.callout--epp { background: #F2F4F6; border-left-color: #8A9099; }
.callout--epp b { color: #5B6167; }
.actionbar { padding: 8px 4px 10px; background: var(--surface); border-top: 1px solid #ECEEF0; }

/* buttons */
.btn {
  display: inline-block; text-align: center;
  font-size: 10px; font-weight: 700;
  color: var(--surface); background: var(--graphite);
  border-radius: 6px; padding: 9px 12px;
}
.btn--full { display: block; }
.btn--ghost { background: var(--surface); color: var(--graphite); border: 1px solid #D9DDE1; }
.btn--grow { flex: 1; }
.btnrow { display: flex; gap: 7px; margin-top: 9px; }

/* screen 3 */
.consent-mini {
  display: flex; gap: 6px; align-items: flex-start;
  font-size: 8.5px; color: var(--muted); margin-bottom: 9px;
}
.tick { width: 12px; height: 12px; border-radius: 3px; background: #1B9E5F; flex: none; position: relative; }
.tick::after {
  content:""; position:absolute; left:4px; top:2px; width:3px; height:6px;
  border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg);
}
.sign {
  position: relative;
  background: var(--surface);
  border: 1px dashed #C9CDD2;
  border-radius: 8px;
  padding: 10px;
}
.sign svg { display: block; width: 100%; height: auto; }
.sign__hint { position: absolute; right: 9px; bottom: 6px; font-size: 7.5px; color: #B4BAC1; }

/* screen 4 */
.cam {
  position: relative;
  height: 168px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2B2F35, #191C20);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cam__oval {
  width: 92px; height: 118px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.cam__scan {
  position: absolute; left: 8%; right: 8%; height: 2px;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(240,165,38,0.9);
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 18%; } 50% { top: 78%; } }
.cam__corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--amber); }
.cam__corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.cam__corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.cam__corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.cam__corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.checks { margin-top: 9px; }
.check { display: flex; align-items: center; gap: 6px; font-size: 8.5px; color: var(--graphite); margin-bottom: 5px; }
.check--wait { color: var(--muted); }
.dotpulse { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--amber); flex: none; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* screen 5 */
.done__tick {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1B9E5F; display: inline-block; position: relative;
}
.done__tick::after {
  content:""; position:absolute; left:14px; top:11px; width:10px; height:17px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.done__t { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 8px; letter-spacing: -0.02em; }
.done__s { font-size: 8.5px; color: var(--muted); margin-bottom: 8px; }
.qr {
  width: 86px; height: 86px;
  margin: 0 auto 9px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid #E4E6E8;
  border-radius: 6px;
}
.qr__svg { width: 100%; height: 100%; display: block; shape-rendering: crispEdges; }
.meta {
  display: flex; justify-content: space-between;
  font-size: 8px; padding: 4px 2px;
  border-bottom: 1px solid #ECEEF0;
}
.meta span { color: var(--muted); }
.meta b { color: var(--graphite); font-weight: 600; }
.content--done .btn { margin-top: 9px; }

/* ---------- hero descriptor ---------- */

.hero__desc {
  margin: 1.4rem 0 0;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
  color: var(--graphite-soft);
}

.hero__desc b {
  color: var(--ink);
  font-weight: 600;
}

.hero__lead {
  margin: 0.9rem 0 0;
}

/* ---------- norms band ---------- */

.norms {
  border-bottom: 1px solid var(--border);
  padding: clamp(2.75rem, 6vw, 4rem) 0;
}

.norms__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.norms__eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.norms__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.norm {
  position: relative;
  padding: 1.25rem 1.15rem 1.35rem;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.norm:last-child { border-right: 0; }

/* Mismo gesto que las capacidades: un filete ámbar que entra desde la izquierda. */
.norm::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 220ms ease;
}

.norm:hover {
  background: var(--surface-alt);
}

.norm:hover::before {
  transform: scaleY(1);
}

/* El número toma el color de marca al pasar el cursor. */
.norm:hover .norm__n b {
  color: var(--graphite);
}

/* The number is the message: set big, tight and in graphite. */
.norm__n {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--graphite-soft);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.norm__n b {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1.05;
}

.norm__t {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

/* La 21.719 lleva el filete siempre visible: es la que destacamos. */
.norm--plus {
  background: var(--surface-alt);
}

.norm--plus::before {
  transform: scaleY(1);
}

.norm--plus:hover {
  background: #F2F0EC;
}

.norm__tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A5A08;
  background: rgba(240, 165, 38, 0.18);
  border-radius: 3px;
  padding: 0.2rem 0.4rem;
}

.norms__foot {
  margin: 1.15rem 0 0;
  max-width: 74ch;
  font-size: 0.85rem;
  color: var(--muted);
}

.norms__foot b { color: var(--graphite); font-weight: 600; }

@media (max-width: 48rem) {
  .norm {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .norm:last-child { border-bottom: 0; }
}

/* screen 3 — video */
.player {
  position: relative;
  height: 108px;
  border-radius: 8px;
  background: linear-gradient(160deg, #2B3037 0%, #14171A 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.player__play {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  position: relative;
}
.player__play::after {
  content: "";
  position: absolute; left: 13px; top: 10px;
  border-left: 11px solid var(--graphite);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.player__badge {
  position: absolute; top: 7px; left: 7px;
  font-size: 7px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--graphite); background: var(--amber);
  padding: 2px 5px; border-radius: 3px;
}
.player__bar {
  position: absolute; left: 8px; right: 8px; bottom: 16px;
  height: 3px; border-radius: 2px; background: rgba(255,255,255,0.25);
}
.player__bar span { display: block; height: 100%; background: var(--amber); border-radius: 2px; }
.player__time {
  position: absolute; left: 8px; bottom: 4px;
  font-size: 7.5px; color: rgba(255,255,255,0.75);
}
.vtitle { font-size: 10.5px; font-weight: 700; color: var(--ink); margin: 9px 0 8px; }
.chap {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid #ECEEF0; border-radius: 7px;
  padding: 6px 8px; margin-bottom: 5px;
}
.chap--on { border-color: var(--amber); }
.chap__i {
  width: 18px; height: 18px; border-radius: 5px; flex: none;
  background: #F0F2F4; color: var(--graphite);
  font-size: 8.5px; font-weight: 700;
  display: grid; place-items: center;
}
.chap--on .chap__i { background: rgba(240,165,38,0.2); }
.chap b { display: block; font-size: 9px; font-weight: 600; color: var(--ink); }
.chap i { display: block; font-style: normal; font-size: 7.5px; color: var(--muted); }

/* screen 4 — evaluación */
.q {
  font-size: 10px; font-weight: 700; color: var(--ink);
  line-height: 1.35; margin: 6px 0 10px;
}
.opt {
  display: flex; align-items: center; gap: 7px;
  font-size: 9px; color: var(--graphite);
  background: var(--surface); border: 1px solid #ECEEF0;
  border-radius: 7px; padding: 8px 9px; margin-bottom: 6px;
}
.opt--sel { border-color: var(--amber); background: #FDF8EF; font-weight: 600; }
.radio {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.6px solid #C9CDD2; flex: none;
}
.radio--on { border-color: var(--amber); position: relative; }
.radio--on::after {
  content: ""; position: absolute; inset: 2px;
  border-radius: 50%; background: var(--amber);
}
.qfoot { font-size: 7.5px; color: var(--muted); margin: 8px 0 9px; }

/* ---------- logo dentro del mockup ---------- */

.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 8px;
}

.brandrow--c { justify-content: center; padding-bottom: 12px; }

.appmark { display: inline-flex; align-items: center; gap: 2px; }

.appmark__i { width: 17px; height: 17px; display: block; }

.appmark__w {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--graphite);
}

.appmark__w em { font-style: normal; color: var(--amber); }

/* En las pantallas con navegación va solo el isotipo, alineado a la derecha. */
.appmark--sm { margin-left: auto; }
.appmark--sm .appmark__i { width: 15px; height: 15px; opacity: 0.9; }

.appbar--nav { justify-content: flex-start; align-items: center; }
