:root {
  --bg-paper: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark: #0F172A;
  --ink-primary: #0F172A;
  --ink-secondary: #334155;
  --ink-muted: #475569;
  --border-hairline: #E2E8F0;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --accent-brand: #1D4ED8;
  --accent-brand-soft: #EFF6FF;
  --accent-emerald: #1D4ED8;
  --accent-emerald-hover: #1E40AF;
  --accent-emerald-bg: #EFF6FF;
  --accent-amber: #B45309;
  --accent-amber-bg: #FFFBEB;
  --accent-crimson: #B91C1C;
  --accent-crimson-bg: #FEF2F2;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px 0 rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 14px 32px -4px rgba(15, 23, 42, 0.09), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  accent-color: var(--accent-brand);
}
::selection {
  background: #DBEAFE;
  color: #1E3A8A;
}
body {
  background-color: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--accent-brand);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-card-hover);
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 10px;
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}
.tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.icon-svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* ==========================================================================
   Cabecera de una sola línea (~56 px) con menú ☰ en móvil (Propuesta B)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header-bar {
  max-width: 1200px;
  height: 56px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-primary);
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-brand);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25);
}
.brand-title {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 150ms ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink-primary);
  background: var(--bg-subtle);
}
.nav-links a.active-route {
  background: var(--accent-brand-soft);
  color: var(--accent-brand);
  font-weight: 700;
}
.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-login-link {
  text-decoration: none;
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  white-space: nowrap;
}
.header-login-link:hover {
  background: var(--bg-subtle);
}
.nav-cta {
  text-decoration: none;
  background: var(--accent-brand);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-emerald-hover);
}
.user-avatar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-brand-soft);
  border: 1px solid #BFDBFE;
  color: var(--accent-brand) !important;
  padding: 4px 12px 4px 5px !important;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  max-width: 230px;
}
.user-avatar-email {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-brand);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
}
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background: #FFFFFF;
  color: var(--ink-primary);
  font-size: 18px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.mobile-menu-drawer {
  display: none;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-hairline);
  padding: 12px 16px 16px;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
}
.mobile-menu-drawer.open {
  display: block;
}
@media (min-width: 861px) {
  .mobile-menu-drawer,
  .mobile-menu-drawer.open {
    display: none !important;
  }
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.mobile-nav-list a {
  text-decoration: none;
  color: var(--ink-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
}
.mobile-nav-list a.active-route {
  background: var(--accent-brand-soft);
  color: var(--accent-brand);
}
.mobile-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
}

/* ==========================================================================
   Contenedor Principal y Portada (Propuesta B — Holded / Stripe)
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.landing-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--border-hairline);
}
.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.tech-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  background: var(--accent-brand-soft);
  color: var(--accent-brand);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  border: 1px solid #BFDBFE;
}
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
}
.metric-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}
.metric-item span {
  font-size: 12.5px;
  color: var(--ink-muted);
}
.inspector-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}
.inspector-header {
  background: #0F172A;
  color: #F8FAFC;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.inspector-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}
.inspector-svg-box {
  background: var(--bg-paper);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  width: 100%;
}
.inspector-svg-box svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.step-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-brand);
  background: var(--accent-brand-soft);
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
}
.step-code.step-danger {
  background: #FEF2F2;
  color: #B91C1C;
}
.step-code.step-featured {
  background: #1E293B;
  color: #93C5FD;
}
.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Tipografía general */
h1, h2, h3 {
  text-wrap: balance;
}
p, li {
  text-wrap: pretty;
}
a {
  text-underline-offset: 3px;
}
h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--ink-primary);
}
h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--ink-primary);
}
h3 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--ink-primary);
}

/* ==========================================================================
   Secciones, Tarjetas y Botones
   ========================================================================== */
.hero {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-brand-soft);
  color: var(--accent-brand);
  border: 1px solid #BFDBFE;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.lead {
  font-size: 15px;
  color: var(--ink-secondary);
  max-width: 65ch;
  margin: 0 0 14px;
  line-height: 1.6;
}
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.card p,
.card li {
  max-width: 68ch;
}
.section-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 24px;
  overflow: hidden;
}
.section-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #FFFFFF;
}
.section-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-brand);
  display: block;
  margin-bottom: 2px;
}
.section-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink-primary);
}
.section-body {
  padding: 24px;
}
.section-sub {
  font-size: 13.5px;
  color: var(--ink-secondary);
  max-width: 65ch;
  margin: 0 0 16px;
}

/* Botones (Máximo 4 palabras, sin siglas) */
.btn,
.btn-primary,
.btn-secondary,
.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
}
.btn-primary,
.btn-emerald {
  background: var(--accent-brand);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.2);
}
.btn-primary:hover,
.btn-emerald:hover {
  background: var(--accent-emerald-hover);
}
.btn-secondary {
  background: #FFFFFF;
  color: var(--ink-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
}
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-emerald:focus-visible,
.studio-tab-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.nav-links a:focus-visible,
.mobile-nav-list a:focus-visible,
.header-login-link:focus-visible,
.nav-cta:focus-visible,
.chip-remove:focus-visible {
  outline: 2px solid var(--accent-brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ==========================================================================
   Diseñador (/disenador): Etiqueta arriba en móvil + Chips + Desplegable Avanzado
   ========================================================================== */
.workspace-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
}
.workspace-grid > * {
  min-width: 0;
}
.workspace-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.preview-sticky {
  position: sticky;
  top: 72px;
}
.svg-preview-box {
  background-color: #FFFFFF;
  background-image: radial-gradient(#CBD5E1 1px, transparent 1px);
  background-size: 14px 14px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 210px;
  overflow: hidden;
}
.svg-preview-box svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Chips visuales de ingredientes */
.chips-box {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 14px 0;
  margin-bottom: 14px;
}
.chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ingredient-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 5px 8px 5px 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.ingredient-chip.chip-hazard {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}
.ingredient-chip.chip-allergen {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}
.ingredient-chip .chip-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.9;
}
.ingredient-chip .chip-remove {
  appearance: none;
  border: 0;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* Desplegable "Avanzado" para el texto en bruto ("SECTION 3...") */
details.advanced-sds-details {
  border-bottom: 1px solid var(--border-hairline);
  padding: 10px 0 14px;
  margin-bottom: 14px;
}
details.advanced-sds-details summary {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
  user-select: none;
}
details.advanced-sds-details[open] summary {
  margin-bottom: 10px;
  color: var(--ink-primary);
}

/* Pestañas del Diseñador */
.studio-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.studio-tab-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 150ms ease;
}
.studio-tab-btn.active {
  background: #FFFFFF;
  color: var(--ink-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.studio-tab-pane { display: none; }
.studio-tab-pane.active { display: block; }
.step-num {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-brand);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Formularios */
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 5px;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
select {
  text-overflow: ellipsis;
}
textarea {
  font-family: var(--font-mono);
  font-size: 12px;
  min-height: 100px;
  resize: vertical;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-brand);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 10px;
  margin-bottom: 12px;
}
.sample-banner {
  color: #1E3A8A;
  border-bottom: 1px solid var(--border-hairline);
  padding: 0 0 14px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.status-banner {
  margin-top: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  font-size: 13px;
  line-height: 1.45;
  background: transparent;
}
.status-banner.ok {
  color: #065F46;
}
.status-banner.warn {
  color: #92400E;
}

/* Tablas y Tarjetas de Precios */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.data-table th, .data-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
}
.data-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  background: var(--bg-paper);
  font-weight: 700;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card p {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin: 10px 0 16px;
}
.plan-card ul {
  font-size: 13px;
  color: var(--ink-secondary);
  padding-left: 18px;
  margin: 0 0 20px;
  line-height: 1.7;
}
.plan-card.featured {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: var(--shadow-card-hover);
}
.plan-card.featured h2,
.plan-card.featured h3,
.plan-card.featured .plan-price {
  color: #FFFFFF;
}
.plan-card.featured p,
.plan-card.featured ul {
  color: #CBD5E1;
}
.plan-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink-primary);
  display: block;
  letter-spacing: -0.03em;
  margin: 6px 0;
  font-variant-numeric: tabular-nums;
}
.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}
.plan-card.featured .plan-price small {
  color: #CBD5E1;
}

/* Autenticación centrada (/entrar y /registro) */
.auth-center-wrap {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
}
.auth-card {
  width: 100%;
  max-width: 430px;
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card-hover);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 12px;
  margin: 16px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}

/* Pie de página */
.site-footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
  color: var(--ink-secondary);
}

/* ==========================================================================
   Adaptación Móvil Primero (<= 860 px)
   - Cabecera de 1 línea (~56 px) con botón ☰
   - En /disenador, la etiqueta va arriba (order: -1)
   ========================================================================== */
@media (max-width: 860px) {
  .site-header-bar {
    height: 56px;
    padding: 0 14px;
  }
  .nav-links,
  .header-auth-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .container {
    padding: 16px 14px 48px;
  }
  .landing-section {
    padding: 28px 0;
  }
  .landing-hero-grid,
  .inspector-body,
  .three-col-grid,
  .two-col-grid,
  .pricing-grid,
  .workspace-grid,
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .inspector-photo {
    height: 195px;
  }
  /* En móvil, la etiqueta va arriba en /disenador */
  .preview-sticky {
    position: static;
    order: -1;
  }
  .svg-preview-box {
    min-height: 185px;
    padding: 12px;
  }
  .svg-preview-box svg {
    max-width: 235px;
  }
  .hero,
  .card,
  .workspace-panel,
  .section-body {
    padding: 16px;
  }
  .studio-tab-btn {
    font-size: 12px;
    padding: 8px 6px;
  }
}

@media (max-width: 640px) {
  .metrics-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
