/* ============================================================
   UNIMIO — hoja de estilos principal
   Paleta industrial: azul profundo + cobre
   ============================================================ */
:root {
  --bg: #0a0f1c;
  --bg-soft: #0e1626;
  --panel: #121c30;
  --panel-2: #16213a;
  --line: rgba(148, 163, 184, 0.14);
  --text: #e7edf5;
  --muted: #94a3b8;
  --copper: #f59e4c;
  --copper-deep: #c2571b;
  --copper-grad: linear-gradient(100deg, #ffd29a 0%, #f59e4c 45%, #c2571b 100%);
  --blue: #4c9ef5;
  --green: #34d399;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(2, 6, 18, 0.55);
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: rgba(245, 158, 76, 0.35); }

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

.grad-text {
  background: var(--copper-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Barra de anuncio ---------- */
.announce {
  background: linear-gradient(90deg, #1a1206, #2a1a08 50%, #1a1206);
  border-bottom: 1px solid rgba(245, 158, 76, 0.25);
  color: #fbd9ac;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 15, 28, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { display: block; }
.logo .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
}
.logo .word em { font-style: normal; color: var(--copper); }
.logo .sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: -2px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--copper-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn-primary {
  background: var(--copper-grad);
  color: #1a0e02;
  box-shadow: 0 8px 26px rgba(245, 158, 76, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245, 158, 76, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

.menu-toggle { display: none; background: none; border: none; color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(245, 158, 76, 0.12), transparent 65%),
    radial-gradient(600px 400px at 10% 85%, rgba(76, 158, 245, 0.08), transparent 60%);
  pointer-events: none;
}
.hero .inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: 22px; }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 34rem; margin-bottom: 34px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 42px; flex-wrap: wrap; }
.stat .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--copper);
}
.stat .lbl { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 40px rgba(2, 6, 18, 0.5)); }
.hero-fallback.hidden { display: none; }

/* ---------- Cable 3D ---------- */
.cable3d-wrap { display: none; position: relative; aspect-ratio: 4 / 3; }
.cable3d-wrap.on { display: block; }
.cable3d-wrap canvas { width: 100%; height: 100%; display: block; }
.cable3d-caption {
  position: absolute;
  right: 8px; bottom: 4px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0.8;
}

/* ---------- Renders 3D de producto ---------- */
.card .art img.render3d { object-fit: contain; padding: 4px; }
.modal .art-big.has-viewer { padding: 0; overflow: hidden; position: relative; }
.viewer3d { width: 100%; aspect-ratio: 1 / 1; cursor: grab; touch-action: none; }
.viewer3d:active { cursor: grabbing; }
.viewer3d canvas { width: 100%; height: 100%; display: block; }
.viewer-hint {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  pointer-events: none;
  letter-spacing: 0.03em;
}

/* ---------- Trim path (stroke draw) ----------
   Los paths llevan pathLength="1"; se dibujan al entrar en vista
   o al cargar (hero). */
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.in-view .draw, .draw.now {
  animation: trimpath 1.8s cubic-bezier(0.65, 0, 0.25, 1) forwards;
}
.in-view .draw.d1, .draw.now.d1 { animation-delay: 0.15s; }
.in-view .draw.d2, .draw.now.d2 { animation-delay: 0.4s; }
.in-view .draw.d3, .draw.now.d3 { animation-delay: 0.65s; }
.in-view .draw.d4, .draw.now.d4 { animation-delay: 0.9s; }
@keyframes trimpath { to { stroke-dashoffset: 0; } }

/* corriente que fluye por el cable */
.flow {
  stroke-dasharray: 0.055 0.045;
  animation: flowdash 2.6s linear infinite;
  opacity: 0;
}
.in-view .flow, .flow.now { opacity: 1; transition: opacity 0.8s 1.4s; }
@keyframes flowdash { to { stroke-dashoffset: -1; } }

.pulse-dot { animation: pulsedot 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulsedot { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .draw { stroke-dashoffset: 0; animation: none !important; }
  .flow { animation: none !important; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ---------- Secciones ---------- */
section { padding: 84px 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}
.section-head .kicker::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--copper-grad);
  border-radius: 2px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

.divider-svg { display: block; width: 100%; height: 70px; }

/* ---------- Cards de producto ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 24px;
}
.card {
  background: linear-gradient(160deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 76, 0.45);
  box-shadow: var(--shadow);
}
.card .art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background:
    radial-gradient(240px 140px at 50% 30%, rgba(245, 158, 76, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(148, 163, 184, 0.05), transparent);
  border-bottom: 1px solid var(--line);
}
.card .art svg { width: 72%; height: auto; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .art .coil { animation: coilspin 6s linear infinite; transform-origin: center; transform-box: fill-box; }
@keyframes coilspin { to { transform: rotate(360deg); } }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(245, 158, 76, 0.14);
  border: 1px solid rgba(245, 158, 76, 0.4);
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.card h3 { font-size: 1.08rem; font-weight: 700; }
.card .tagline { font-size: 0.86rem; color: var(--muted); flex: 1; }
.card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 10px; }
.card .price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.card .price small { color: var(--muted); font-weight: 500; font-size: 0.72rem; }
.card .vcount { font-size: 0.75rem; color: var(--muted); }

/* ---------- Categorías ---------- */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.cat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s, border-color 0.25s;
}
.cat-card:hover { transform: translateY(-5px); border-color: rgba(148, 163, 184, 0.4); }
.cat-card svg { width: 54px; height: 54px; margin-bottom: 16px; }
.cat-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.84rem; color: var(--muted); }

/* ---------- Features / calidad ---------- */
.grid-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feat {
  background: linear-gradient(160deg, var(--panel), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feat svg { width: 44px; height: 44px; margin-bottom: 18px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feat p { font-size: 0.88rem; color: var(--muted); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-art svg { width: 100%; height: auto; }
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-copy .btn { margin-top: 8px; }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(245, 158, 76, 0.14), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
  text-align: center;
}
.cta-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-final p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 36px; border-top: 1px solid var(--line); }
.site-footer .inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .note { font-size: 0.8rem; color: var(--muted); }
.site-footer .links { display: flex; gap: 20px; font-size: 0.85rem; color: var(--muted); }
.site-footer .links a:hover { color: var(--copper); }

/* ---------- Página catálogo ---------- */
.catalog-hero { padding: 64px 0 30px; }
.catalog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.catalog-hero p { color: var(--muted); max-width: 540px; }

.filter-bar {
  position: sticky;
  top: 71px;
  z-index: 40;
  background: rgba(10, 15, 28, 0.9);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 40px;
}
.filter-bar .inner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--copper); color: var(--copper); }
.chip.active { background: var(--copper-grad); border-color: transparent; color: #1a0e02; }

.search-box { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.search-box input, .search-box select {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.search-box input:focus, .search-box select:focus { border-color: var(--copper); }
.search-box input { width: 210px; }

.results-info { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.empty-state { text-align: center; color: var(--muted); padding: 80px 0; }

/* ---------- Modal producto ---------- */
.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.78);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-back.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(880px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.modal-back.open .modal { transform: none; }
.modal .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px 30px 0;
}
.modal .close-x {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  transition: all 0.2s;
}
.modal .close-x:hover { color: var(--text); border-color: var(--copper); }
.modal .content { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; padding: 20px 30px 32px; }
.modal .art-big {
  background: radial-gradient(220px 160px at 50% 40%, rgba(245, 158, 76, 0.1), transparent 70%);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  padding: 26px;
  align-self: start;
}
.modal .art-big svg { width: 100%; max-width: 260px; }
.modal .art-big img { width: 100%; border-radius: 10px; }
.modal h2 { font-size: 1.5rem; margin-bottom: 4px; }
.modal .cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.modal .desc { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.spec-list { list-style: none; display: grid; gap: 7px; margin-bottom: 20px; }
.spec-list li { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; color: var(--text); }
.spec-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); flex-shrink: 0; }
.color-dots { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.color-dots span {
  font-size: 0.74rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}
.variant-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 0.9rem; }
.variant-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.variant-table td { padding: 9px 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.08); }
.variant-table td.price { font-weight: 700; color: var(--copper); font-family: var(--font-display); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body { background: var(--bg); min-height: 100vh; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card {
  width: min(400px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}
.login-card .logo { justify-content: center; margin-bottom: 26px; }
.login-card h1 { font-size: 1.3rem; text-align: center; margin-bottom: 6px; }
.login-card .hint { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--copper); }
.field textarea { resize: vertical; min-height: 90px; }

.form-error { color: #f87171; font-size: 0.84rem; margin-bottom: 12px; min-height: 1.2em; }
.form-ok { color: var(--green); font-size: 0.84rem; margin-bottom: 12px; min-height: 1.2em; }

.admin-shell { display: none; }
.admin-shell.on { display: block; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tabs { display: flex; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.tab.active { background: var(--copper-grad); color: #1a0e02; border-color: transparent; }
.tab-panel { display: none; padding-bottom: 80px; }
.tab-panel.on { display: block; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.admin-table td { padding: 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.08); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(148, 163, 184, 0.04); }
.pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pill.on { border-color: rgba(52, 211, 153, 0.5); color: var(--green); }
.pill.feat { border-color: rgba(245, 158, 76, 0.5); color: var(--copper); }
.row-actions { display: flex; gap: 8px; }
.icon-btn {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--copper); }
.icon-btn.danger:hover { color: #f87171; border-color: #f87171; }

.variants-editor { display: grid; gap: 8px; }
.variant-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.variant-row input {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.88rem;
  outline: none;
}
.check-row { display: flex; gap: 22px; margin: 14px 0; }
.check-row label { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--muted); cursor: pointer; }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; max-width: 860px; }
.settings-grid .full { grid-column: 1 / -1; }

.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--panel-2);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--green);
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.3s;
  z-index: 200;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: none; }
.toast.err { border-color: rgba(248, 113, 113, 0.5); color: #f87171; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; }
  .about-wrap { grid-template-columns: 1fr; }
  .modal .content { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px; gap: 16px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; font-size: 1.5rem; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { flex: 1; width: auto; }
  section { padding: 60px 0; }
  .admin-table .hide-sm { display: none; }
}
