/* OficioNexo — estilos mobile-first. Sin dependencias externas. */
:root {
  --ink: #17232b;
  --ink-soft: #46545e;
  --muted: #5d6b74;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --line: #dcd9d1;
  --primary: #0b5563;
  --primary-dark: #083f4a;
  --primary-soft: #e3f0f1;
  --accent: #b4531f;
  --accent-dark: #8f3f14;
  --ok: #1d6b3f;
  --ok-soft: #e4f2e9;
  --warn: #8a5300;
  --warn-soft: #fbf0dc;
  --danger: #a3261f;
  --danger-soft: #fbe6e4;
  --whatsapp: #146c43;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(23, 35, 43, .06), 0 2px 8px rgba(23, 35, 43, .05);
  --focus: 0 0 0 3px #ffbf47;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 3.5vw, 1.6rem); margin-top: 1.4rem; }
.h3, h3 { font-size: 1.15rem; margin-top: 0; }
.h4, h4 { font-size: 1rem; margin-top: 1rem; }
p { margin: 0 0 .8rem; overflow-wrap: anywhere; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hint { font-size: .88rem; color: var(--muted); margin: .25rem 0 0; }
code { font-size: .8rem; overflow-wrap: anywhere; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 560px; }
.section { padding-top: 1.5rem; padding-bottom: 2rem; }
.section-gap { margin-top: 1.5rem; }
.stack > * + * { margin-top: .75rem; }
.stack > * { margin-bottom: 0; }

/* ---------- Header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: .45rem; font-size: 1.25rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.logo b { color: var(--primary); font-weight: 800; }
.logo__mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--primary) 0 50%, var(--accent) 50% 100%); flex: none; }
.logo--footer { font-size: 1.1rem; }
.top-nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; justify-content: flex-end; }
.top-nav > a, .top-nav .link-button { padding: .55rem .6rem; text-decoration: none; color: var(--ink); border-radius: var(--radius-sm); font-size: .95rem; min-height: 44px; display: inline-flex; align-items: center; }
.top-nav > a:hover { background: var(--primary-soft); }
.inline-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.top-nav .link-button { text-decoration: none; color: var(--ink); }
.hide-xs, .hide-sm { display: none !important; }

.site-footer { margin-top: 3rem; background: #102027; color: #d8e1e4; padding: 2rem 0 1rem; }
.site-footer a { color: #fff; }
.site-footer .muted { color: #b5c2c7; }
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: #8fd3dc; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-title { font-size: 1rem; color: #fff; margin-top: 0; }
.footer-bottom { border-top: 1px solid #2c3d44; padding-top: 1rem; margin-top: 1.5rem; font-size: .85rem; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: .2rem 0; }
.plain-list a { display: inline-block; padding: .2rem 0; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #7f1c16; color: #fff; }
.btn--small { min-height: 40px; padding: .4rem .75rem; font-size: .9rem; }
.btn--large { min-height: 52px; padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--contact { flex-direction: column; align-items: flex-start; background: var(--primary); color: #fff; min-height: 56px; width: 100%; }
.btn--contact:hover { color: #fff; background: var(--primary-dark); }
.btn--whatsapp { background: var(--whatsapp); }
.btn--whatsapp:hover { background: #0e5232; }
.btn--emergency_phone { background: var(--danger); }
.btn__value { font-weight: 400; font-size: .9rem; opacity: .95; overflow-wrap: anywhere; }

/* ---------- Forms */
label { font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; max-width: 100%; min-width: 0; font: inherit; color: var(--ink); background: #fff; border: 1px solid #9aa5ab; border-radius: var(--radius-sm); padding: .6rem .7rem; min-height: 44px; }
textarea { min-height: 90px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; min-height: 0; margin: 0; flex: none; accent-color: var(--primary); }
input[type="file"] { padding: .45rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--primary); }
[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; margin: .2rem 0 0; }
.check { display: flex; min-width: 0; overflow-wrap: anywhere; align-items: flex-start; gap: .55rem; font-weight: 400; padding: .35rem 0; cursor: pointer; }
.check input { margin-top: .15rem; }
.check--small { font-size: .92rem; padding: .2rem 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: .35rem; }
.form-grid { display: grid; gap: 1rem; }
.inline-controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inline-controls > input, .inline-controls > select { width: auto; flex: 1 1 140px; min-width: 0; }
.inline-controls > * { max-width: 100%; }
.input--short { max-width: 110px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Cards, notices, badges */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); margin-bottom: 1rem; min-width: 0; }
.card--soft { background: var(--primary-soft); border-color: #c6dfe1; box-shadow: none; }
details.card > summary { cursor: pointer; padding: .2rem 0; min-height: 32px; }
.notice { padding: .75rem 1rem; border-radius: var(--radius-sm); border-left: 4px solid; margin: 0 0 .8rem; }
.notice--success { background: var(--ok-soft); border-color: var(--ok); }
.notice--error { background: var(--danger-soft); border-color: var(--danger); }
.notice--warn { background: var(--warn-soft); border-color: var(--warn); }
.notice--info { background: var(--primary-soft); border-color: var(--primary); }
.flash-stack { margin-top: 1rem; }
.badge { display: inline-block; font-size: .8rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: #eceae4; color: var(--ink-soft); line-height: 1.5; white-space: nowrap; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--info { background: var(--primary-soft); color: var(--primary-dark); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--muted { background: #eceae4; color: var(--ink-soft); }
.status-badge--approved { background: var(--ok-soft); color: var(--ok); }
.status-badge--pending, .status-badge--observed { background: var(--warn-soft); color: var(--warn); }
.status-badge--rejected, .status-badge--suspended, .status-badge--deletion_pending { background: var(--danger-soft); color: var(--danger); }
.check-list { list-style: none; padding: 0; margin: 0 0 .8rem; }
.check-list li { padding: .25rem 0 .25rem 1.7rem; position: relative; }
.check-list li::before { position: absolute; left: 0; top: .25rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.check-list .is-ok::before { content: "✓"; background: var(--ok-soft); color: var(--ok); }
.check-list .is-partial::before { content: "½"; background: var(--warn-soft); color: var(--warn); }
.check-list .is-missing::before { content: "–"; background: #eceae4; color: var(--muted); }

/* ---------- Hero / home */
.hero { background: linear-gradient(160deg, #0b5563 0%, #0d4652 60%, #123a44 100%); color: #fff; padding: 2rem 0 2.2rem; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead { font-size: 1.08rem; color: #dcecee; max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: #ffd9c2; margin-bottom: .5rem; }
.search-box { display: grid; gap: .75rem; background: var(--surface); color: var(--ink); padding: 1rem; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); margin-top: 1.2rem; }
.search-box--compact { box-shadow: var(--shadow); border: 1px solid var(--line); margin: 1rem 0; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.2rem; }
.hero__cta .muted { color: #cfe3e6; }
.chip-grid { list-style: none; padding: 0; margin: .5rem 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip--outline { background: transparent; }
.chip--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1rem 3.4rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.section--split { display: grid; gap: 1.2rem; align-items: center; }
.category-grid { display: grid; gap: 1rem; }

/* ---------- Search */
.search-layout { display: grid; gap: 1rem; }
.filters__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; }
.filters__box > summary { font-weight: 700; cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.filters__box form > * + * { margin-top: .9rem; }
.results__count { font-size: 1.05rem; }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.result-card__link { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.result-card__link:hover { border-color: var(--primary); }
.result-card__body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.result-card__name { font-weight: 700; font-size: 1.08rem; color: var(--primary-dark); }
.result-card__meta { color: var(--muted); font-size: .92rem; }
.result-card__badges { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .2rem 0; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; background: var(--primary-soft); }
.avatar--large { width: 96px; height: 96px; }
.avatar--initials { display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: var(--primary); }
.rating { display: inline-flex; gap: .35rem; align-items: center; font-weight: 600; font-size: .92rem; }
.rating__stars { color: #a35c00; letter-spacing: 1px; }
.rating--none { color: var(--muted); font-weight: 400; font-style: italic; }
.pagination { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: center; margin: 1.5rem 0; }

/* ---------- Profile */
.profile__head { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1rem; }
.profile__head > div { flex: 1 1 220px; min-width: 0; }
.profile__sub { color: var(--muted); }
.profile__grid { display: grid; gap: 1rem; }
.profile__main, .profile__side { min-width: 0; }
.contact-buttons { display: grid; gap: .6rem; margin-bottom: .8rem; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { font-size: .85rem; color: var(--muted); }
.review { border-top: 1px solid var(--line); padding: .9rem 0; }
.card.review { padding: 1rem; }
.review__head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.review__response { background: var(--primary-soft); border-radius: var(--radius-sm); padding: .6rem .8rem; margin: .5rem 0; }
.star-input { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.star-input legend { width: 100%; }
.star-input label { display: inline-flex; gap: .35rem; align-items: center; font-weight: 400; min-height: 40px; }
.schedule { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; margin: 0 0 .8rem; font-size: .95rem; }
.schedule dt { font-weight: 600; }
.schedule dd { margin: 0; }
.valorometro__head { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.valorometro__score { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.valorometro__score small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.valorometro__title { font-weight: 700; margin: 0 0 .3rem; }
.valorometro meter { width: 100%; height: 12px; }
.license-box { border: 1px dashed var(--warn); border-radius: var(--radius-sm); padding: .6rem .8rem; margin-bottom: .6rem; background: #fffdf7; }
.mobile-contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: .5rem; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); }
.mobile-contact-bar .btn { flex: 1; min-height: 52px; align-items: center; font-size: 1.05rem; }
body:has(.mobile-contact-bar) .site-footer { padding-bottom: 5.5rem; }

/* ---------- Panel / admin */
.shell { display: grid; gap: 1rem; padding: 1rem 16px 2rem; max-width: 1240px; margin: 0 auto; }
.shell__content { min-width: 0; }
.side-nav__mobile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.side-nav__mobile > summary { padding: .75rem 1rem; font-weight: 700; cursor: pointer; min-height: 44px; }
.side-nav ul { list-style: none; margin: 0; padding: 0 .5rem .5rem; }
.side-nav a { display: block; padding: .55rem .7rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); min-height: 40px; }
.side-nav a:hover { background: var(--primary-soft); }
.side-nav a[aria-current="page"] { background: var(--primary); color: #fff; }
.grid-2 { display: grid; gap: 1rem; }
.grid-2 > .card { margin-bottom: 0; }
.grid-2 + .grid-2, .grid-2 + .card, .card + .grid-2 { margin-top: 1rem; }
.status-card { border-left: 5px solid var(--warn); }
.status--approved { border-left-color: var(--ok); }
.status--rejected, .status--suspended, .status--deletion_pending { border-left-color: var(--danger); }
.row-list { list-style: none; margin: 0; padding: 0; }
.row-list > li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.row-list > li:last-child { border-bottom: 0; }
.doc-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.doc-row > div:first-child { flex: 1 1 260px; min-width: 0; }
.contact-row { display: grid; gap: .6rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-row__type { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.trade-list { display: grid; gap: .6rem; }
.trade { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .8rem; }
.trade legend { margin: 0; }
.day-row { border-bottom: 1px solid var(--line); padding: .7rem 0; }
.slot { display: flex; align-items: center; gap: .4rem; margin: .3rem 0; }
.slot input { width: auto; flex: 1 1 0; min-width: 0; }
.danger-zone { border-color: var(--danger); }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.stat { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
.stat__n { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .5rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: .85rem; color: var(--muted); }
.table--small { font-size: .85rem; }
.dl { display: grid; grid-template-columns: 1fr; gap: .1rem; margin: 0 0 1rem; }
.dl dt { font-weight: 700; font-size: .85rem; color: var(--muted); margin-top: .4rem; }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.syn-list { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.syn-list li { display: inline-flex; align-items: center; gap: .3rem; background: #f1efe9; border-radius: 999px; padding: .15rem .3rem .15rem .7rem; font-size: .88rem; }
.syn-list form { display: inline; }
.syn-list .link-button { text-decoration: none; font-size: 1.1rem; min-width: 32px; min-height: 32px; }
.tabs { display: flex; max-width: 100%; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--surface); min-height: 44px; display: inline-flex; align-items: center; }
.tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.prose { max-width: 75ch; }
.legal-layout { display: grid; gap: 1.5rem; }
blockquote { margin: .5rem 0; padding-left: .8rem; border-left: 3px solid var(--line); }

/* ---------- ≥ 480px */
@media (min-width: 480px) {
  .hide-xs { display: inline-flex !important; }
  .contact-buttons { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .stat-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* ---------- ≥ 720px (tablet) */
@media (min-width: 720px) {
  .hide-sm { display: inline-flex !important; }
  .search-box { grid-template-columns: 1fr 220px auto; align-items: end; }
  .search-box--compact { grid-template-columns: 1fr auto; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .section--split { grid-template-columns: 1.2fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr 1fr; align-items: end; }
  .contact-row__type, .contact-row .inline-controls { grid-column: 1 / -1; }
  .dl { grid-template-columns: 220px 1fr; }
  .dl dt { margin-top: 0; }
  .hero { padding: 3.2rem 0 3.4rem; }
  .avatar--large { width: 120px; height: 120px; }
  .mobile-contact-bar { display: none; }
  body:has(.mobile-contact-bar) .site-footer { padding-bottom: 1rem; }
  .day-row { display: grid; grid-template-columns: 100px repeat(3, minmax(0, 1fr)); gap: .5rem; align-items: center; }
  .day-row legend { float: left; }
  .day-row .field-error { grid-column: 1 / -1; }
}

/* ---------- ≥ 960px (notebook / escritorio) */
@media (min-width: 960px) {
  .search-layout { grid-template-columns: 290px 1fr; align-items: start; }
  .filters { position: sticky; top: 76px; }
  .profile__grid { grid-template-columns: 1fr 340px; align-items: start; }
  .profile__side { position: sticky; top: 76px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .shell { grid-template-columns: 230px 1fr; align-items: start; padding-top: 1.5rem; }
  .side-nav { position: sticky; top: 76px; }
  .side-nav__mobile > summary { display: none; }
  .side-nav__mobile { padding-top: .5rem; }
  .legal-layout { grid-template-columns: 1fr 280px; align-items: start; }
  .trade-list { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .site-footer, .mobile-contact-bar, .side-nav { display: none; } }

/* Ajustes tras revisión visual */
.top-nav > a.btn--accent, .top-nav > a.btn--accent:hover { color: #fff; background: var(--accent); }
.top-nav > a.btn--accent:hover { background: var(--accent-dark); }
.hero h1 { max-width: 22ch; }
@media (max-width: 400px) {
  .site-header__inner { gap: .25rem; }
  .logo { font-size: 1.05rem; gap: .35rem; }
  .logo__mark { width: 18px; height: 18px; }
  .top-nav { flex-wrap: nowrap; white-space: nowrap; }
  .top-nav > a, .top-nav .link-button { padding: .5rem .4rem; font-size: .9rem; }
}
.steps-inline { margin: .3rem 0 .5rem; padding-left: 1.3rem; }
.steps-inline li { margin: .2rem 0; }
.notice > p:last-child { margin-bottom: 0; }
