/* ==========================================================================
   HUB CENTRAL — Ecosistema Digital de Marcas de Stands (Ponciano Studio)
   Base Estática Preferente: CSS3 Moderno, Responsive, Accesible (WCAG AA)
   ========================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  --bg-dark: #07090e;
  --bg-card: #0e121b;
  --bg-card-hover: #141a26;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-focus: #a855f7;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-purple: #a855f7;
  --accent-purple-glow: rgba(168, 85, 247, 0.25);
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.2);
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-blue: #3b82f6;

  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(168, 85, 247, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 500px;
  background: radial-gradient(circle at 50% -20%, rgba(168, 85, 247, 0.18) 0%, rgba(0, 240, 255, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Top Bar */
.hub-header {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--border-color);
}

.hub-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
}

.brand-badge svg {
  color: var(--accent-purple);
}

.brand-badge strong {
  color: #fff;
}

.hub-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #9333ea);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--accent-purple-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-purple-glow);
}

/* Hero Title */
.hub-hero {
  padding: 20px 0 35px;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.hub-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.hub-hero h1 span {
  background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.6;
}

/* Metrics & Stats Bar */
.hub-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
  margin: 30px 0 40px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  color: var(--accent-purple);
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Filter Controls */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: var(--accent-purple);
  color: #fff;
}

/* Site Cards Grid */
.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

@media (max-width: 480px) {
  .sites-grid {
    grid-template-columns: 1fr;
  }
}

.site-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.site-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Card Mockup Visual Header */
.card-visual {
  height: 200px;
  background: #151a24;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-visual-preview {
  width: 90%;
  height: 85%;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  background: #0f172a;
  overflow: hidden;
}

.preview-bar {
  height: 18px;
  background: #1e293b;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.preview-dot.red { background: #ef4444; }
.preview-dot.yellow { background: #eab308; }
.preview-dot.green { background: #22c55e; }

.preview-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  position: relative;
}

/* Custom visual signatures inside card mockups — reflejan el nuevo look LIGHT y distinto de cada marca */
.preview-screen.decostands-bg {
  background: linear-gradient(135deg, #faf8f5 0%, #efe7db 100%);
  border-bottom: 3px solid #967d58;
}
.preview-screen.rentastands-bg {
  background: linear-gradient(135deg, #ffffff 0%, #e8fbf3 100%);
  border-bottom: 3px solid #059669;
}
.preview-screen.alterstands-bg {
  background: #ffffff;
  background-image:
    linear-gradient(rgba(10,10,14,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,14,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  border-bottom: 3px solid #d6004e;
}
.preview-screen.soluciones-bg {
  background: #f0f5fa;
  background-image:
    linear-gradient(rgba(29,78,216,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,78,216,0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  border-bottom: 3px solid #ea580c;
}
.preview-screen.todosobrestands-bg {
  background: linear-gradient(135deg, #faf8f5 0%, #f3efe6 100%);
  border-bottom: 3px solid #b45309;
}
.preview-screen.standsbc-bg {
  background: repeating-linear-gradient(45deg, #f3f4f6 0 10px, #f9fafb 10px 20px);
  border-bottom: 3px solid #4f46e5;
}

/* Texto de mockup ahora sobre fondos claros: tinta por defecto, acento por marca */
.decostands-bg .preview-brand-tag { color: #1b1712; }
.decostands-bg .preview-brand-sub { color: #6b5f4d; }
.decostands-bg .preview-decor-pill { background: #967d58; color: #fff; }

.rentastands-bg .preview-brand-tag { color: #064e3b; }
.rentastands-bg .preview-brand-sub { color: #3a6b57; }
.rentastands-bg .preview-decor-pill { background: #059669; color: #fff; }

.alterstands-bg .preview-brand-tag { color: #0a0a0e; }
.alterstands-bg .preview-brand-sub { color: #52525b; }
.alterstands-bg .preview-decor-pill { background: #0a0a0e; color: #fff; }

.soluciones-bg .preview-brand-tag { color: #0b1220; }
.soluciones-bg .preview-brand-sub { color: #33415c; }
.soluciones-bg .preview-decor-pill { background: #ea580c; color: #fff; }

.todosobrestands-bg .preview-brand-tag { color: #1c1917; }
.todosobrestands-bg .preview-brand-sub { color: #57534e; }
.todosobrestands-bg .preview-decor-pill { background: #b45309; color: #fff; }

.standsbc-bg .preview-brand-tag { color: #09090b; }
.standsbc-bg .preview-brand-sub { color: #3f3f46; }
.standsbc-bg .preview-decor-pill { background: #4f46e5; color: #fff; }

.preview-brand-tag {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.preview-brand-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.preview-decor-pill {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 9px;
  color: #fff;
  font-weight: 600;
}

/* Status Badge on Card */
.card-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
}

.status-ready {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.status-review {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.status-approved {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

/* Card Body */
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 10px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.card-domain {
  font-size: 12px;
  color: var(--accent-cyan);
  font-family: monospace;
  background: rgba(0, 240, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.card-specs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-value {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 600;
}

/* Card Actions */
.card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.btn-card-launch {
  background: #fff;
  color: #0b0f19;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-card-launch:hover {
  background: var(--accent-cyan);
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.btn-card-icon {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Additional sub-page pills */
.card-sublinks {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sublink-tag {
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
}

.sublink-tag:hover {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.1);
}

/* Info Summary Section */
.hub-summary-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 60px;
}

.hub-summary-section h2 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 12px;
}

.hub-summary-section p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.summary-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.summary-card h3 {
  font-size: 15px;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-card li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-card li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Modal: Responsive Device Viewer */
.modal-overlay {
  overflow-y: auto;
  overscroll-behavior: contain;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.viewer-topbar {
  flex: 0 0 auto;
  background: #0d111a;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.viewer-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.viewer-site-name {
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.viewer-device-controls {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
}

.device-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: var(--transition);
}

.device-btn.active, .device-btn:hover {
  background: var(--accent-purple);
  color: #fff;
}

.viewer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.viewer-container {
  flex: 1 0 160px;
  min-height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  background: #07090e;
}

.viewer-frame-wrapper {
  background: #11141d;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  max-width: 100%;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.viewer-frame-wrapper.mobile {
  width: 375px;
  max-height: 750px;
  border: 8px solid #1e293b;
  border-radius: 36px;
}

.viewer-frame-wrapper.tablet {
  width: 768px;
  max-height: 850px;
  border: 8px solid #1e293b;
  border-radius: 24px;
}

.viewer-frame-wrapper.desktop {
  width: 100%;
  max-width: 1280px;
  border: 1px solid var(--border-color);
}

.viewer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

/* Modal: Feedback Drawer */
.feedback-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.feedback-modal.active {
  display: flex;
}

.feedback-content {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0f1420;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.feedback-content h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.feedback-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.07);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   FOOTER PONCIANO STUDIO — crédito completo según Sayde
   ========================================================================== */
.ps-footer {
  background: #11111e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 20px;
  color: #cbd5e1;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  margin-top: auto;
}
.ps-footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.ps-footer-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}
.ps-footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.ps-footer-desc {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}
.ps-footer-enlaces ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ps-footer-enlaces a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.ps-footer-enlaces a:hover {
  color: #a855f7;
}
.ps-footer-iconos {
  display: flex;
  gap: 12px;
}
.ps-footer-icono {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.ps-footer-icono:hover {
  background: #a855f7;
  color: #fff;
  transform: translateY(-2px);
}
.ps-footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ps-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}
.ps-footer-credito {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.3em;
  min-height: 44px;
  max-width: 100%;
  padding: 4px 0;
  text-decoration: none;
  color: #cbd5e1;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.6;
}
.ps-footer-credito strong { font-weight: 800; }
.ps-footer-credito:hover { color: #00f0ff; }
.ps-footer-credito:focus-visible {
  outline: 3px solid #00f0ff;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .ps-footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ps-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reflow: mantener íntegro el contenido con ancho estrecho o texto ampliado. */
.container, .site-card, .card-body, .stat-content, .summary-card,
.ps-footer-col, .feedback-content, .viewer-title-group { min-width: 0; }
.hub-actions-top, .brand-badge, .viewer-title-group, .viewer-device-controls,
.viewer-actions, .feedback-actions { flex-wrap: wrap; max-width: 100%; }
.brand-badge svg, .btn-secondary svg, .btn-primary svg,
.btn-card-launch svg, .summary-card h3 svg { flex-shrink: 0; }
.card-header-meta { flex-wrap: wrap; }
.hub-hero h1, .card-domain, .spec-value, .stat-content, .summary-card li, .ps-footer-col,
.ps-footer-bottom, .brand-badge, .btn-secondary, .btn-primary,
.btn-card-launch, .device-btn, .filter-btn, .sublink-tag,
.viewer-site-name, .preview-brand-tag, .preview-brand-sub,
.preview-decor-pill { overflow-wrap: anywhere; }
.btn-secondary, .btn-primary, .device-btn, .filter-btn { min-width: 0; }
.btn-card-launch { min-width: 0; text-align: center; }
.form-select, .form-textarea { min-width: 0; max-width: 100%; }
.feedback-storage-note {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  max-width: 75ch;
  margin-top: 16px;
}
.viewer-size-note {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .hub-summary-section { padding: 20px; }
  .summary-card { padding: 16px; }
  .feedback-content { padding: 20px; }
  .viewer-topbar { padding: 12px; }
  .viewer-container { padding: 12px; }
}
