/* GA Innovations · identidad blanco, morado y naranja */
:root {
  --purple-950: #2c0b28;
  --purple-900: #3d1238;
  --purple: #4a1942;
  --purple-700: #5e2456;
  --purple-500: #8a4a80;
  --lav-50: #faf8fd;
  --lav-100: #f3eefa;
  --lav-200: #e6dcf2;
  --lav-300: #d4c5e7;
  --orange: #ff6a0d;
  --orange-600: #ec5a00;
  --orange-50: #fff1e7;
  --text: #2a1328;
  --muted: #6e5d72;
  --line: #e9e1f1;
  --white: #fff;
  --ok: #1d7a45;
  --ok-bg: #e6f6ec;
  --warn: #8a5a00;
  --warn-bg: #fff4d6;
  --err: #b42318;
  --err-bg: #fdecea;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(61, 18, 56, .06), 0 8px 24px rgba(61, 18, 56, .07);
  --shadow-lg: 0 20px 50px rgba(61, 18, 56, .14);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--lav-50); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--purple-700); }
h1, h2, h3 { font-family: var(--font-head); color: var(--purple); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 56px; height: 56px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* ---------- Encabezado ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; gap: 6px; align-items: center; }
.site-nav a { text-decoration: none; color: var(--purple); font-weight: 600; padding: 8px 14px; border-radius: 10px; }
.site-nav a:hover { background: var(--lav-100); }
.site-nav a.is-active { background: var(--lav-200); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--purple); cursor: pointer; border-radius: 10px; }
.nav-toggle .icon { width: 26px; height: 26px; }
@media (max-width: 680px) {
  .brand img { height: 34px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
}

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px 20px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 26px; font-size: 1.06rem; }
.btn-sm { padding: 7px 12px; font-size: .875rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 13, .28); }
.btn-primary:hover { background: var(--orange-600); }
.btn-dark { background: var(--purple); color: #fff; }
.btn-dark:hover { background: var(--purple-900); }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--lav-300); }
.btn-ghost:hover { background: var(--lav-100); }
.btn-danger { background: #fff; color: var(--err); border-color: #f2c4bf; }
.btn-danger:hover { background: var(--err-bg); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--orange-600); font-weight: 600; text-decoration: none; }
.link-cta:hover .icon { transform: translateX(3px); }
.link-cta .icon { transition: transform .15s; }

/* ---------- Portada ---------- */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #e9ddf6 0, transparent 60%), linear-gradient(180deg, #f6f1fb, #faf8fd); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--orange-600); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { width: 100%; max-width: 520px; margin-left: auto; height: auto; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  .hero-visual { order: -1; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}
.section { padding: 56px 0; }
.section-tight { margin-top: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, var(--purple), var(--purple-700)); color: #fff; border-radius: 24px; padding: 36px; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .85; }

/* ---------- Tarjetas ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid { display: grid; gap: 22px; }
.cards-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.product-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--lav-100), var(--lav-200)); margin: 10px 10px 0; border-radius: 12px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--purple-500); }
.media-placeholder.big { min-height: 280px; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 4px 0 0; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body p { color: var(--muted); margin: 0 0 8px; flex: 1; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; width: fit-content; text-decoration: none; }
.chip-soft { background: var(--lav-100); color: var(--purple-700); }
.empty { padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--lav-300); border-radius: var(--radius); }

/* ---------- Catálogo ---------- */
.page { padding: 36px 0 64px; }
.catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.catalog-head h1 { margin: 0; }
.search input { border: 1px solid var(--lav-300); border-radius: 12px; padding: 10px 14px; min-width: 240px; background: #fff; }
.filters { display: flex; gap: 8px; margin: 22px 0 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pill { white-space: nowrap; text-decoration: none; color: var(--purple); background: #fff; border: 1px solid var(--lav-300); padding: 8px 18px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.pill:hover { background: var(--lav-100); }
.pill.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
@media (max-width: 560px) { .search, .search input { width: 100%; min-width: 0; } }

/* ---------- Ficha ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--purple); margin-bottom: 24px; }
.breadcrumb a { color: var(--purple); display: inline-flex; }
.breadcrumb .sep { color: var(--muted); width: 16px; }
.product-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.product-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--lav-100); color: var(--purple); margin-bottom: 16px; }
.product-info h1 { margin-bottom: .2em; }
.product-info .btn { margin-top: 12px; }
.product-cover { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--lav-100); }
.product-cover img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.store-badges { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.badge-link { display: inline-flex; }
.badge-gp { height: 42px; overflow: hidden; align-items: center; border-radius: 7px; }
.badge-gp img { height: 62px; width: auto; max-width: none; margin: 0 -9px; }
.badge-as img { height: 42px; width: auto; }
.prose { max-width: 760px; }
.prose p { font-size: 1.06rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-item { padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 14px; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.03); }
.back-link { margin-top: 40px; }
@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.lightbox { position: fixed; inset: 0; background: rgba(28, 6, 26, .9); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; max-width: 100%; border-radius: 10px; background: #fff; }
.lightbox figcaption { color: #fff; opacity: .85; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close .icon, .lb-nav .icon { width: 24px; height: 24px; }
@media (max-width: 600px) { .lb-nav { top: auto; bottom: 14px; transform: none; } }

/* ---------- Formularios ---------- */
.page-contact { background: radial-gradient(900px 400px at 0% 100%, #ece2f7 0, transparent 60%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; padding-top: 24px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 16px; } }
.form-card { padding: 26px; }
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--purple); }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=url], .field input:not([type]), .field select, .field textarea {
  width: 100%; border: 1px solid var(--lav-300); border-radius: 10px; padding: 11px 13px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 3px rgba(138, 74, 128, .18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--err); }
.field-error { color: var(--err); font-size: .85rem; margin: 6px 0 0; }
.hint { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe6cd; }
.alert-error { background: var(--err-bg); color: var(--err); border-color: #f5c6c1; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #f3dc9f; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field .input-icon input { padding-left: 40px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 6px; color: var(--muted); cursor: pointer; }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a { text-decoration: none; color: var(--purple); font-weight: 600; }
.footer-inner .brand img { height: 32px; }
.footer-inner p { margin: 0; }

/* =========================================================
   Consola de administración
   ========================================================= */
.admin-body { background: var(--lav-50); }
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 69px); }
.admin-side { background: linear-gradient(180deg, var(--purple), var(--purple-950)); color: #fff; padding: 22px 14px; }
.admin-side .side-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; padding: 0 12px 16px; opacity: .9; }
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side a, .admin-side button { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; padding: 11px 12px; border-radius: 10px; font-weight: 500; opacity: .86; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.admin-side a:hover, .admin-side button:hover { background: rgba(255, 255, 255, .08); opacity: 1; }
.admin-side a.is-active { background: rgba(255, 255, 255, .16); opacity: 1; }
.admin-side .side-foot { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 16px; }
.admin-side .who { font-size: .8rem; opacity: .65; padding: 0 12px 8px; word-break: break-all; }
.admin-main { padding: 30px 32px 64px; min-width: 0; }
.admin-main h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .15em; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { min-width: 0; }
  .admin-side nav { max-width: 100%; }
  .admin-side { padding: 10px 12px; position: sticky; top: 68px; z-index: 30; }
  .admin-side .side-title, .admin-side .who { display: none; }
  .admin-side nav { flex-direction: row; overflow-x: auto; gap: 4px; }
  .admin-side a, .admin-side button { width: auto; white-space: nowrap; padding: 9px 12px; }
  .admin-side .side-foot { margin: 0; border: 0; padding: 0; display: contents; }
  .admin-side .side-wrap { display: flex; gap: 4px; overflow-x: auto; }
  .admin-main { padding: 22px 16px 56px; }
}
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel + .panel { margin-top: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 1.25rem; }
.panel-body { padding: 20px; }
.app-list { list-style: none; margin: 0; padding: 0; }
.app-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.app-row:first-child { border-top: 0; }
.app-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lav-100); color: var(--purple); display: grid; place-items: center; }
.app-icon .icon { width: 26px; height: 26px; }
.app-row h3 { margin: 0 0 4px; font-size: 1.2rem; }
.app-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--muted); }
.app-functions { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.pending { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); background: var(--warn-bg); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: .88rem; }
@media (max-width: 640px) {
  .app-row { grid-template-columns: 44px 1fr; }
  .app-row .app-action { grid-column: 1 / -1; }
  .app-row .app-action .btn, .app-row .app-action .pending { width: 100%; justify-content: center; }
  .app-icon { width: 44px; height: 44px; }
}
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status-published { background: var(--ok-bg); color: var(--ok); }
.status-draft { background: var(--warn-bg); color: var(--warn); }
.status-star { background: var(--orange-50); color: var(--orange-600); }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--lav-50); padding: 10px 14px; font-weight: 700; }
.table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.table .name-cell { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--purple); }
.table .name-cell .app-icon { width: 38px; height: 38px; border-radius: 10px; }
.table .name-cell .app-icon .icon { width: 20px; height: 20px; }
.actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.actions form { margin: 0; display: inline-flex; }
.icon-btn { background: #fff; border: 1px solid var(--lav-300); color: var(--purple); width: 34px; height: 34px; border-radius: 9px; display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--lav-100); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 760px) {
  .table.responsive thead { display: none; }
  .table.responsive, .table.responsive tbody, .table.responsive tr, .table.responsive td { display: block; width: 100%; }
  .table.responsive tr { border-top: 1px solid var(--line); padding: 12px 6px; }
  .table.responsive td { border: 0; padding: 5px 10px; }
  .table.responsive td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .05em; }
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.fieldset-title { font-family: var(--font-head); font-weight: 600; color: var(--purple); font-size: 1.05rem; margin: 10px 0 12px; grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--purple); }
.check input { width: 18px; height: 18px; accent-color: var(--purple); }
.icon-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-choice input { position: absolute; opacity: 0; }
.icon-choice span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--lav-300); border-radius: 10px; cursor: pointer; color: var(--purple); background: #fff; }
.icon-choice input:checked + span { background: var(--purple); color: #fff; border-color: var(--purple); }
.icon-choice input:focus-visible + span { outline: 3px solid var(--orange); }
.edit-layout { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
@media (max-width: 1080px) { .edit-layout { grid-template-columns: 1fr; } .preview-card { position: static; max-width: 360px; } }
.preview-card { position: sticky; top: 90px; overflow: hidden; }
.preview-card .card-media { margin: 12px 12px 0; }
.preview-card .tag-ill { margin: 10px 12px 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.shot { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.shot-img { aspect-ratio: 4 / 3; background: var(--lav-100); position: relative; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-img .status { position: absolute; top: 8px; left: 8px; }
.shot-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.shot-body input[type=text] { width: 100%; border: 1px solid var(--lav-300); border-radius: 8px; padding: 7px 9px; font-size: .85rem; }
.shot-body select { border: 1px solid var(--lav-300); border-radius: 8px; padding: 6px 8px; font-size: .85rem; background: #fff; }
.shot-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.file-input { display: block; width: 100%; font-size: .85rem; }
.upload-box { border: 2px dashed var(--lav-300); border-radius: 12px; padding: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: var(--lav-50); }
.upload-box input[type=file] { flex: 1; min-width: 200px; }
.tag-ill { display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; font-weight: 700; background: var(--warn-bg); color: var(--warn); padding: 3px 8px; border-radius: 6px; }
details.danger { margin-top: 22px; }
details.danger summary { cursor: pointer; color: var(--err); font-weight: 600; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.cat-row:first-child { border-top: 0; }
.cat-row .cat-name { font-weight: 700; color: var(--purple); display: flex; gap: 10px; align-items: center; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form input[type=text] { border: 1px solid var(--lav-300); border-radius: 10px; padding: 9px 12px; min-width: 220px; }
.login-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; min-height: calc(100vh - 69px - 89px); padding-top: 40px; padding-bottom: 40px; }
.login-wrap .hero-art { max-width: 440px; }
@media (max-width: 820px) { .login-wrap { grid-template-columns: 1fr; } .login-wrap .hero-visual { display: none; } }
.login-card { padding: 28px; max-width: 420px; }
.msg-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.msg-list li { padding: 12px 20px; border-top: 1px solid var(--line); }
.msg-list li:first-child { border-top: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.status-btn { border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.status-btn:hover { filter: brightness(.96); border-color: currentColor; }
.status-off { background: #fff; color: var(--muted); border-color: var(--line); }
.panel-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
.shot-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
[data-spaced] { margin-top: 16px; }
.section-cta { padding-bottom: 0; }
.section-after-cta { padding-top: 48px; }
/* Cuestionario PYME */
.quiz-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; padding-top: 24px; }
.quiz-grid .contact-copy { position: sticky; top: 100px; }
@media (max-width: 900px) { .quiz-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .quiz-grid .contact-copy { position: static; } }
.quiz-grid > * { min-width: 0; }
.quiz-q { margin-bottom: 22px; }
fieldset.quiz-q { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.quiz-q legend, .quiz-q > label { display: flex; gap: 10px; align-items: baseline; font-weight: 600; color: var(--purple); font-size: 1rem; margin-bottom: 10px; padding: 0; }
.quiz-n { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lav-200); color: var(--purple); font-size: .8rem; font-weight: 700; }
.quiz-q .hint { margin: -4px 0 10px 34px; }
.choice-list { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 8px 14px; border: 1px solid var(--lav-300); border-radius: 999px; background: #fff; color: var(--purple); font-weight: 500; font-size: .93rem; transition: background .15s, border-color .15s; }
.choice:hover span { background: var(--lav-100); }
.choice input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.quiz-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .quiz-contact { grid-template-columns: 1fr; } }
.msg-details { margin-top: 6px; }
.msg-details summary { cursor: pointer; color: var(--purple-700); font-weight: 600; }
.msg-text { white-space: pre-wrap; background: var(--lav-50); border-radius: 10px; padding: 12px; margin-top: 8px; }
