/* Conpyme Digital — hoja de estilos principal
   Idea guía: estructura con energía. Azul marino para la confianza, naranja Claude como
   acento principal (botones, detalles, números), amarillo como subrayado de resalte y
   turquesa solo en toques mínimos. Formas redondeadas y tipografía grotesca moderna. */
:root {
  --navy: #0D1F3C;
  --navy-2: #16305A;
  --blue: #1F4E8C;
  --ink: #142033;
  --muted: #56627A;
  --line: #DCE2EB;
  --line-strong: #C3CCDA;
  --paper: #FFFFFF;
  --mist: #F3F5F9;
  --teal: #D97757;
  --teal-strong: #B5502C;
  --teal-soft: #FCEDE6;
  --orange: #D97757;
  --orange-strong: #B5502C;
  --orange-light: #F4A582;
  --sun: #F7D96B;
  --mint: #12A39B;
  --on-navy: #E9EEF6;
  --on-navy-muted: #A9B6CC;
  --ok: #17694A;
  --ok-bg: #E4F3EC;
  --err: #9B2C2C;
  --err-bg: #FBE9E9;
  --font-display: "Bricolage Grotesque", "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --wrap: 1140px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--teal-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-strong); background: var(--teal-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { white-space: nowrap; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.brand b span { color: var(--teal-strong); }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.menu a { display: block; white-space: nowrap; padding: 10px 11px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; border-radius: 999px; }
.menu a:hover { background: var(--mist); color: var(--navy); }
.menu a[aria-current="page"] { color: var(--orange-strong); background: var(--teal-soft); }
.menu .menu-cta a { background: var(--orange-strong); color: #fff; margin-left: 8px; border-radius: 999px; padding-inline: 18px; box-shadow: none; }
.menu .menu-cta a:hover { background: var(--orange); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 46px; height: 44px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { margin: auto; }
@media (max-width: 1140px) {
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: fixed; inset: 70px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(13, 31, 60, 0.4); max-height: calc(100vh - 70px); overflow-y: auto; display: none; }
  .site-nav.open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; }
  .menu a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; }
  .menu a[aria-current="page"] { box-shadow: none; }
  .menu .menu-cta a { margin: 12px 0 0; text-align: center; border-bottom: none; border-radius: 8px; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--orange-strong); background: var(--orange-strong); color: #fff; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(181, 80, 44, 0.7); }
.btn:active { transform: translateY(1px); }
.btn.teal { background: var(--teal-strong); border-color: var(--teal-strong); }
.btn.teal:hover { background: var(--teal); border-color: var(--teal); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: none; }
.btn.light { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn.light:hover { background: #fff; color: var(--orange-strong); border-color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn.outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; color: var(--teal-strong); display: inline-flex; gap: 6px; align-items: center; }
.textlink::after { content: "→"; transition: transform 0.2s; }
.textlink:hover::after { transform: translateX(3px); }

/* Secciones */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section.mist { background: var(--mist); }
.section.navy { background: var(--navy); color: var(--on-navy); }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy .lead, .section.navy .muted { color: var(--on-navy-muted); }
.section.navy .eyebrow { color: #FFD9C7; background: rgba(217, 119, 87, 0.18); }
.section.navy .eyebrow::before { background: var(--orange-light); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 5vw, 48px); max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }

/* Portada */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 85% 30%, rgba(217, 119, 87, 0.13), transparent 70%); padding-block: clamp(48px, 8vw, 96px) clamp(56px, 9vw, 110px); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.45; mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-copy h1 em { font-style: normal; color: var(--orange-strong); background: linear-gradient(transparent 62%, rgba(247, 217, 107, 0.75) 62%, rgba(247, 217, 107, 0.75) 92%, transparent 92%); padding-inline: 2px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; color: var(--muted); font-size: 0.95rem; }
.hero-points li { display: flex; gap: 8px; align-items: center; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.hero-art { background: #fff; border: 1px solid var(--line); border-radius: 24px; transform: rotate(1.2deg); padding: clamp(16px, 3vw, 28px); box-shadow: 0 30px 60px -40px rgba(13, 31, 60, 0.45); }
.hero-art svg { width: 100%; height: auto; }
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(36px, 6vw, 64px); background: radial-gradient(50% 90% at 100% 0%, rgba(217, 119, 87, 0.14), transparent 70%), var(--mist); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.crumbs { font-size: 0.86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* Rejillas y tarjetas */
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.card p { color: var(--muted); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--orange); box-shadow: 0 22px 44px -28px rgba(181, 80, 44, 0.55); transform: translateY(-3px); }
.card .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); font-weight: 800; line-height: 1; }
.card .foot { margin-top: auto; padding-top: 8px; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-strong); display: grid; place-items: center; flex: none; }
.icon svg { width: 24px; height: 24px; }
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.problem { padding: 22px 4px 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.problem span { font-family: var(--font-display); color: var(--orange); font-weight: 800; font-size: 1.15rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .split, .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.ticks.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 28px; }
.section.navy .ticks li::before { border-color: var(--orange-light); }
.ticks strong { color: var(--navy); }

/* Metodología */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding: 56px 18px 0 0; display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-strong); color: #fff; font: 600 0.9rem var(--font-body); z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 20px; left: 40px; right: 0; height: 1px; background: var(--line-strong); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.section.navy .steps li::before { background: var(--orange); }
.section.navy .steps li::after { background: rgba(255,255,255,0.2); }
.section.navy .steps p { color: var(--on-navy-muted); }
@media (max-width: 900px) {
  .steps, .steps.three { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 0 0 28px 62px; }
  .steps li::after { top: 40px; bottom: 0; left: 20px; right: auto; width: 1px; height: auto; }
}

/* Segmentos */
.segment { border-top: 3px solid var(--navy); }
.segment { border-top-width: 4px; }
.segment.s1 { border-top-color: var(--orange); }
.segment.s2 { border-top-color: var(--sun); }
.segment.s3 { border-top-color: var(--mint); }
.segment .tag { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* Banda de llamada a la acción */
.cta-band { background: var(--navy); color: var(--on-navy); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; background: var(--orange); opacity: 0.9; border-radius: 50%; pointer-events: none; }
.cta-band::before { content: ""; position: absolute; right: 150px; bottom: -40px; width: 90px; height: 90px; background: var(--sun); border-radius: 50%; opacity: 0.9; pointer-events: none; }
@media (max-width: 760px) { .cta-band::after { width: 160px; height: 160px; right: -60px; top: -70px; } .cta-band::before { display: none; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-navy-muted); margin-top: 10px; }
.cta-band .actions, .cta-band > div { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Aviso ISO */
.note { border-left: 3px solid var(--teal); background: var(--teal-soft); padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.note h3 { font-size: 1.05rem; margin-bottom: 6px; }
.note p { color: var(--ink); font-size: 0.97rem; }

/* Preguntas frecuentes */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--teal-strong); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* Formulario */
.form-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: minmax(0, 1fr); } }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 36px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; box-shadow: 0 30px 60px -48px rgba(13, 31, 60, 0.5); }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.93rem; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 1rem var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .error { color: var(--err); font-size: 0.85rem; min-height: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal-strong); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 8px; padding: 14px 16px; font-size: 0.96rem; }
.form-status.ok { background: var(--ok-bg); color: var(--ok); }
.form-status.err { background: var(--err-bg); color: var(--err); }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list strong { display: block; color: var(--navy); }

/* Blog */
.post-card { padding: 0; overflow: hidden; }
.post-card .cover { aspect-ratio: 16 / 8; background: var(--mist); border-bottom: 1px solid var(--line); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.meta { font-size: 0.84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.meta .cat { color: var(--teal-strong); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.76rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { font: 500 0.92rem var(--font-body); background: #fff; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; cursor: pointer; min-height: 42px; }
.chip[aria-pressed="true"] { background: var(--orange-strong); border-color: var(--orange-strong); color: #fff; }
.article { padding-block: clamp(36px, 6vw, 64px); }
.article .cover-lg { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); margin-block: 8px 12px; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose strong { color: var(--navy); }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-block: 1px solid var(--line); padding-block: 16px; margin-top: 36px; }
.share a, .share button { font: 600 0.9rem var(--font-body); color: var(--navy); background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; text-decoration: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; }
.share a:hover, .share button:hover { border-color: var(--teal); }
.author { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; margin-top: 28px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--orange-strong); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }

/* Pie de página */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 64px 32px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .cols > :first-child { grid-column: 1 / -1; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--orange-light); text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand b span { color: var(--orange-light); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1E8E4E; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Animación suave al aparecer */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { transition: none !important; } }

@media print { .site-header, .site-footer, .wa-float, .share, .cta-band { display: none; } }

/* Portal: acceso */
.acceso-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(20px, 4vw, 40px); align-items: start; }
@media (max-width: 900px) { .acceso-grid { grid-template-columns: minmax(0, 1fr); } }
.acceso { gap: 18px; box-shadow: 0 30px 60px -48px rgba(13, 31, 60, 0.5); }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--mist); border-radius: 999px; padding: 4px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; min-height: 44px; font: 600 0.93rem var(--font-body); color: var(--muted); cursor: pointer; padding: 6px 8px; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--orange-strong); box-shadow: 0 4px 14px -8px rgba(13, 31, 60, 0.4); }
.acceso .field input { font: 1rem var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.acceso .field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--teal-soft); }
.con-ojo { position: relative; }
.con-ojo input { padding-right: 92px !important; }
.ver { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--mist); color: var(--navy); font: 600 0.82rem var(--font-body); border-radius: 999px; padding: 8px 12px; cursor: pointer; min-height: 36px; }
.fuerza { font-size: 0.82rem; color: var(--muted); }
.fuerza[data-nivel="0"], .fuerza[data-nivel="1"] { color: var(--err); }
.fuerza[data-nivel="3"], .fuerza[data-nivel="4"] { color: var(--ok); }
.estado { border-radius: 12px; padding: 12px 14px; font-size: 0.94rem; margin: 0; }
.estado.err { background: var(--err-bg); color: var(--err); }
.recuperacion { border: 2px dashed var(--orange); border-radius: 18px; padding: 20px; outline: none; }
.recuperacion h2 { font-size: 1.4rem; }
.codigo-rec { font: 700 clamp(1.05rem, 4.2vw, 1.4rem) ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 0.06em; background: var(--navy); color: #fff; border-radius: 14px; padding: 16px; text-align: center; word-break: break-all; }
.privacidad { border-top: 4px solid var(--orange); }
.privacidad h2 { font-size: 1.5rem; }
.small { font-size: 0.9rem; }

.card .codigo-rec { color: #fff; }
