/* Megáfono Producciones — estilos propios.
 * Paleta: negro/crema + acento rojo. Tipografía Anton (titulares) + Archivo. */

:root {
  --bg: #F6F3EE;
  --ink: #111111;
  --accent: #FF2E3B;
  --muted: #6b6b6b;
  --line: rgba(17, 17, 17, .1);
  --card-bg: #e7e3dc;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-slide: cubic-bezier(.65, 0, .35, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Archivo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
body.modal-open { overflow: hidden; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.is-hidden { display: none !important; }
.view { height: 100vh; width: 100%; display: flex; flex-direction: column; overflow: hidden; }

/* ---------- Header ---------- */

.site-header {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(16px, 3vw, 34px) 16px 0;
}
.logo-mark { position: relative; width: clamp(58px, 9vw, 96px); }
.logo-svg { display: block; width: 100%; }
.logo-svg-sm { width: 46px; }
.logo-svg-xs { width: 30px; }
.logo-badge {
  position: absolute; top: -5px; right: -8px;
  width: clamp(22px, 3vw, 30px); height: clamp(22px, 3vw, 30px);
  display: flex; align-items: center; justify-content: center;
}
.logo-badge .heart { position: absolute; inset: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.22)); }
.logo-badge span { position: relative; color: #fff; font-weight: 800; font-size: 11px; margin-top: -1px; }
.wordmark { display: flex; flex-direction: column; line-height: .8; text-align: center; }
.wordmark-main { font-family: 'Anton'; font-size: clamp(30px, 6.4vw, 58px); letter-spacing: .5px; }
.wordmark-main-sm { font-size: 22px; }
.wordmark-main-xs { font-size: 17px; }
.wordmark-sub { font-family: 'Anton'; font-size: clamp(13px, 2.4vw, 22px); letter-spacing: clamp(2px, .8vw, 6px); }

/* ---------- Tabs ---------- */

.tabs {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 4vw, 56px);
  margin-top: clamp(10px, 1.6vw, 18px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
}
.tab-btn {
  position: relative;
  background: none; border: none;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 2px;
  color: var(--ink);
  font-weight: 700; font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 1.6px;
  transition: color .25s var(--ease);
}
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -11px;
  height: 3px; border-radius: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .3s var(--ease);
}
.tab-btn.is-active::after { transform: scaleX(1); }
.tab-btn:hover { color: var(--accent); }

/* ---------- Stage / slider ---------- */

.stage { position: relative; flex: 1 1 auto; overflow: hidden; min-height: 0; }
.track {
  display: flex; width: 300%; height: 100%;
  transition: transform .6s var(--ease-slide);
  will-change: transform;
}
.panel { width: 33.3333%; height: 100%; overflow-y: auto; overflow-x: hidden; }
.panel-inner { max-width: 1180px; margin: 0 auto; padding: clamp(14px, 2vw, 28px) clamp(6px, 1.6vw, 22px) 90px; }
.panel-inner-about { max-width: 1060px; padding: clamp(22px, 3vw, 44px) clamp(16px, 3vw, 32px) 96px; }

.arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: clamp(38px, 4.4vw, 50px); height: clamp(38px, 4.4vw, 50px);
  border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  display: flex; align-items: center; justify-content: center;
  z-index: 5; transition: transform .2s var(--ease), opacity .2s;
}
.arrow svg { width: 20px; height: 20px; }
.arrow-left { left: clamp(6px, 1.4vw, 16px); }
.arrow-right { right: clamp(6px, 1.4vw, 16px); }
.arrow:hover { transform: translateY(-50%) scale(1.08); }
.arrow.is-disabled { opacity: .35; pointer-events: none; }

/* ---------- Grid (posts / reels) ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(3px, .7vw, 12px);
}

.card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--card-bg);
  outline: none;
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: opacity .42s var(--ease), transform .42s var(--ease), box-shadow .25s;
}
.card.card-enter { opacity: 0; transform: scale(.92) translateY(16px); }
.card.card-exit { opacity: 0; transform: scale(.9); transition: opacity .3s ease, transform .3s ease; }
.card:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.card-reel { aspect-ratio: 2 / 3; background: #181818; }

.card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.4,0,.2,1), filter .55s;
}
.card:hover .card-img { transform: scale(1.07); filter: brightness(.6); }

.card-overlay {
  position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(8px, 1vw, 13px);
  background: linear-gradient(to top, rgba(0,0,0,.64), rgba(0,0,0,0) 62%);
  pointer-events: none;
}
.card:hover .card-overlay { opacity: 1; }
.card-cat {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
  color: #fff;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; flex: 0 0 auto; }
.card-title { font-weight: 800; font-size: clamp(11px, 1.3vw, 15px); color: #fff; line-height: 1.15; margin-top: 3px; }

.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.play-badge svg {
  width: clamp(34px, 4.2vw, 50px); height: clamp(34px, 4.2vw, 50px);
  padding: 12px; border-radius: 50%;
  background: rgba(0,0,0,.34);
  transition: transform .35s var(--ease), background .35s;
}
.card:hover .play-badge svg { transform: scale(1.12); background: rgba(0,0,0,.55); }

/* ---------- Conócenos ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
}
.about-headline { font-family: 'Anton'; font-size: clamp(30px, 6vw, 62px); line-height: .96; margin: 12px 0 0; }
.about-intro { max-width: 620px; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.65; color: #3a3a3a; margin: 18px 0 0; }
.about-block { margin-bottom: clamp(32px, 4.6vw, 58px); }
.about-subhead { font-family: 'Anton'; font-size: clamp(19px, 2.4vw, 27px); letter-spacing: 1px; margin: 0 0 18px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.service-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 16px 18px;
}
.service-n { font-family: 'Anton'; font-size: 24px; color: var(--accent); line-height: 1; }
.service-label { font-weight: 600; font-size: clamp(13px, 1.4vw, 16px); line-height: 1.25; }

.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.6vw, 36px); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form select, .contact-form textarea {
  background: #fff; border: 1px solid rgba(0,0,0,.14); border-radius: 4px;
  padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }

.contact-side { display: flex; flex-direction: column; gap: 10px; }
.contact-card { background: #111; color: #fff; border-radius: 4px; padding: 22px 24px; }
.contact-card-label { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 8px; }
.contact-card-email { font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; margin: 0 0 4px; }
.contact-card-phone { font-size: clamp(14px, 1.5vw, 17px); color: rgba(255,255,255,.8); margin: 0; }
.contact-link {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 4px;
  padding: 14px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.contact-link:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.contact-link svg { width: 19px; height: 19px; }

.site-footer {
  margin-top: clamp(36px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}

/* ---------- Scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Modal detalle ---------- */

.modal-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(14,14,14,.66); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 3vw, 36px);
  animation: fadeIn .25s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: #fff; border-radius: 6px; max-width: 960px; width: 100%; max-height: 90vh;
  overflow: auto; display: flex; flex-wrap: wrap; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: modalIn .32s var(--ease) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-media { flex: 1 1 360px; min-width: 300px; background: #000; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.modal-media-img { width: 100%; height: 100%; max-height: 90vh; object-fit: cover; display: block; }
.modal-media-video, .modal-media-iframe { width: 100%; height: clamp(380px, 72vh, 640px); border: none; }
.modal-body { flex: 1 1 300px; min-width: 280px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.modal-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #999; }
.modal-title { font-family: 'Anton'; font-size: clamp(24px, 3.2vw, 36px); line-height: 1; margin: 0; }
.modal-desc { font-size: 15px; line-height: 1.65; color: #444; margin: 0; }
.modal-date { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.08); font-size: 13px; color: #999; letter-spacing: 1px; }

.reel-preview { position: relative; width: 100%; height: clamp(380px, 72vh, 620px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #000; }
.reel-preview-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-preview.is-playing::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); }
.reel-preview:not(.is-playing)::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.reel-play-btn {
  position: relative; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.92); border: none;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: transform .2s var(--ease);
}
.reel-play-btn:hover { transform: scale(1.06); }
.reel-play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
.reel-ken { animation: reelKen 16s ease-in-out infinite alternate; }
@keyframes reelKen { from { transform: scale(1); } to { transform: scale(1.15); } }
.reel-playing-label { position: absolute; bottom: 24px; right: 14px; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.25); }
.reel-progress span { display: block; height: 100%; background: var(--accent); width: 0; animation: reelProg 30s linear forwards; }
@keyframes reelProg { to { width: 100%; } }

/* ---------- Toast ---------- */

.toast-root { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 120; }
.toast {
  background: #111; color: #fff; padding: 13px 22px; border-radius: 30px;
  font-weight: 600; font-size: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.3);
  animation: toastIn .3s var(--ease) both; transition: opacity .3s, transform .3s;
}
.toast-error { background: var(--accent); }
.toast-out { opacity: 0; transform: translateY(10px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Botones genéricos ---------- */

.btn { border: none; border-radius: 5px; padding: 13px; font-weight: 800; letter-spacing: .8px; font-size: 14px; text-transform: uppercase; transition: transform .15s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid rgba(0,0,0,.14); color: var(--ink); }
.btn-dark { background: #111; color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 12px; }
.btn-link { background: none; border: none; color: #888; font-size: 13px; text-transform: none; font-weight: 600; }
.btn-pill { border: none; border-radius: 20px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: #fff; }
.btn-pill-danger { background: #b9402f; }
.btn-pill-success { background: #1fa15a; }

/* ================= BACKOFFICE ================= */

.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: #F2EFE9; overflow: auto; }
.login-card { background: #fff; width: 100%; max-width: 392px; border-radius: 8px; padding: clamp(26px, 4vw, 40px); box-shadow: 0 24px 70px rgba(0,0,0,.14); display: flex; flex-direction: column; gap: 14px; animation: modalIn .35s var(--ease) both; }
.login-brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 2px; }
.login-title { font-size: 18px; font-weight: 800; text-align: center; margin: 0; }
.login-card input { background: #faf9f6; border: 1px solid rgba(0,0,0,.14); border-radius: 5px; padding: 12px 14px; font-size: 15px; outline: none; transition: border-color .2s; }
.login-card input:focus { border-color: var(--accent); }
.login-err { font-size: 13px; color: var(--accent); font-weight: 600; min-height: 16px; }
.login-disclaimer { font-size: 12px; color: #999; line-height: 1.5; margin: 4px 0 0; text-align: center; }

.field-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #777; text-transform: uppercase; display: block; margin: 0 0 6px; }

.admin-shell { min-height: 100vh; display: flex; flex-direction: column; background: #F2EFE9; overflow-y: auto; }
.admin-header { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(14px, 2.5vw, 26px); gap: 12px; flex-wrap: wrap; }
.admin-header-brand { display: flex; align-items: center; gap: 10px; }
.admin-badge { background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; padding: 3px 8px; border-radius: 4px; }
.admin-header-actions { display: flex; gap: 8px; }

.admin-localstorage-banner {
  background: #fff7e6; border-bottom: 1px solid #f0d999; color: #7a5b00;
  font-size: 12.5px; padding: 8px clamp(14px, 2.5vw, 26px); line-height: 1.5;
}
.admin-localstorage-banner code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 3px; }

.admin-body { display: flex; flex-wrap: wrap; align-items: flex-start; flex: 1; }
.admin-sidebar { flex: 0 0 220px; min-width: 200px; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); background: #fff; align-self: stretch; }
.admin-nav-btn { position: relative; text-align: left; background: none; border: none; padding: 12px 14px; border-radius: 6px; font-weight: 700; font-size: 14px; color: #222; transition: background .15s; }
.admin-nav-btn:hover { background: #f6f3ec; }
.admin-nav-btn.is-active { background: #f6f3ec; }
.admin-nav-btn.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; background: var(--accent); border-radius: 3px; }

.admin-main { flex: 1 1 360px; min-width: 300px; padding: clamp(16px, 2.6vw, 30px); }
.admin-section.is-hidden { display: none; }
.admin-h1 { font-family: 'Anton'; font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 20px; }
.admin-h2 { font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #555; margin: 0 0 12px; }
.admin-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.stat-card-accent { background: var(--accent); color: #fff; border-color: transparent; }
.stat-label { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #999; margin: 0 0 6px; }
.stat-card-accent .stat-label { color: rgba(255,255,255,.75); }
.stat-value { font-family: 'Anton'; font-size: 40px; margin: 0; line-height: 1; }

.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-empty { color: #999; font-size: 14px; padding: 16px 0; }
.admin-row {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 14px;
  opacity: 1; transform: scale(1);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.admin-row.row-enter { opacity: 0; transform: scale(.97) translateY(-6px); }
.admin-row.row-exit { opacity: 0; transform: scale(.97); transition: opacity .28s ease, transform .28s ease; }
.admin-row-thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
.admin-row-thumb.is-reel { width: 38px; height: 50px; }
.admin-row-info { flex: 1; min-width: 0; }
.admin-row-title { font-weight: 700; font-size: 14px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row-meta { font-size: 12px; color: #999; margin: 2px 0 0; }
.admin-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.admin-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.admin-status.is-visible { color: #1fa15a; }
.admin-status.is-hidden-status { color: #b9402f; }
.admin-row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-btn { background: #f3f1ec; border: none; border-radius: 6px; padding: 8px 12px; font-size: 12px; font-weight: 700; color: #444; transition: background .15s; }
.icon-btn:hover { background: #e7e3da; }
.icon-btn-danger { background: #fdecec; color: #c33; }
.icon-btn-danger:hover { background: #fadcdc; }

/* Editor crear/editar */
.editor-box {
  background: #fff; border-radius: 8px; max-width: 540px; width: 100%; max-height: 92vh; overflow: auto;
  padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: modalIn .3s var(--ease) both;
}
.editor-box h2 { font-family: 'Anton'; font-size: 24px; margin: 0; }
.editor-box input[type="text"], .editor-box input[type="date"], .editor-box textarea, .editor-box select {
  background: #faf9f6; border: 1px solid rgba(0,0,0,.14); border-radius: 6px; padding: 11px 13px; font-size: 14px; outline: none; width: 100%; transition: border-color .2s;
}
.editor-box input:focus, .editor-box textarea:focus, .editor-box select:focus { border-color: var(--accent); }
.editor-box textarea { resize: vertical; }
.editor-image-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.editor-thumb { width: 110px; height: 110px; border-radius: 8px; background: #f0ede7; overflow: hidden; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(0,0,0,.2); }
.editor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.editor-thumb-placeholder { font-size: 11px; color: #aaa; text-align: center; padding: 6px; }
.editor-image-inputs { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 6px; }
.editor-image-inputs input[type="file"] { font-size: 12px; }
.editor-row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.editor-vis-row { display: flex; align-items: center; justify-content: space-between; background: #faf9f6; border: 1px solid rgba(0,0,0,.1); border-radius: 6px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.editor-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 2px; }
.editor-actions .btn { padding: 11px 22px; }

.about-edit-form { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.about-edit-form textarea, .about-edit-form input { background: #fff; border: 1px solid rgba(0,0,0,.14); border-radius: 6px; padding: 11px 13px; font-size: 14px; outline: none; width: 100%; transition: border-color .2s; }
.about-edit-form textarea:focus, .about-edit-form input:focus { border-color: var(--accent); }
.about-edit-form .btn { align-self: flex-start; }

/* ================= RESPONSIVE ================= */
/* La grilla se mantiene en 3 columnas en todos los anchos (spec: estilo Instagram). */

@media (max-width: 720px) {
  .wordmark-main { font-size: clamp(26px, 9vw, 40px); }
  .tabs { gap: 18px; }
  .tab-btn span { font-size: 11px; letter-spacing: 1px; }
  .panel-inner, .panel-inner-about { padding-left: 6px; padding-right: 6px; }
  .about-headline { font-size: clamp(28px, 9vw, 44px); }
  .admin-sidebar { flex: 1 1 100%; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .admin-nav-btn.is-active::before { left: 8px; right: 8px; top: auto; bottom: 0; height: 3px; width: auto; }
}

@media (max-width: 480px) {
  .grid { gap: 3px; }
  .card-title { font-size: 10px; }
  .card-cat { font-size: 9px; }
}
