/* ==========================================================================
   RENTA STANDS — Catálogo Dinámico de Renta Rápida y Modular
   Identidad: High-Velocity Commerce & Configurator (Modern Light Canvas)
   Tipografía: Space Grotesk + Inter
   Paleta: Lienzo Claro #F8FAFC, Pizarra Profunda #0F172A, Menta Esmeralda #10B981
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-slate: #0f172a;
  --bg-muted: #f1f5f9;

  --primary-emerald: #059669;
  --emerald-readable: #047857;
  --primary-mint: #10b981;
  --primary-mint-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #f59e0b;

  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  --border-light: #e2e8f0;
  --border-emerald: #10b981;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-emerald: 0 8px 20px rgba(16, 185, 129, 0.25);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    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-page);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--emerald-readable);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.rs-top-ticker {
  background: var(--bg-slate);
  color: #f8fafc;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.rs-top-ticker strong {
  color: var(--primary-mint);
}

.rs-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.rs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rs-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.rs-logo-box {
  background: var(--primary-emerald);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.rs-logo-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.rs-nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.rs-nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.rs-nav-links a:hover {
  color: var(--primary-emerald);
}

.btn-mint {
  background: var(--primary-emerald);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-emerald);
  transition: var(--transition);
}

.btn-mint:hover {
  background: #047857;
  transform: translateY(-2px);
}

/* Hero Section */
.rs-hero {
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-content-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--primary-emerald);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rs-hero h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  margin-bottom: 18px;
}

.rs-hero h1 span {
  color: var(--primary-emerald);
}

.rs-hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Configurator Workspace */
.configurator-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.config-visualizer {
  background: var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  position: relative;
}

.stand-blueprint-floor {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(16, 185, 129, 0.4);
  border-radius: 8px;
  min-height: 180px;
  height: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  position: relative;
}

.blueprint-size-badge {
  background: var(--primary-mint);
  color: #0f172a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.blueprint-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}

.config-controls h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.config-controls p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.size-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.size-btn {
  background: var(--bg-muted);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.size-btn.active, .size-btn:hover {
  background: #ecfdf5;
  border-color: var(--primary-emerald);
  color: var(--primary-emerald);
}

.addon-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.addon-label {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-muted);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.addon-label:hover {
  background: #e2e8f0;
}

/* Comparison Matrix Section */
.matrix-section {
  padding: 80px 0;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin-top: 40px;
}

.matrix-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.matrix-card.best-seller {
  border: 2px solid var(--primary-emerald);
  box-shadow: var(--shadow-md);
}

.best-seller-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--primary-emerald);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.matrix-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.matrix-size {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.matrix-desc {
  font-size: 12px;
  color: var(--primary-emerald);
  font-weight: 700;
  margin-bottom: 18px;
}

.matrix-specs {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.matrix-specs li {
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.matrix-specs svg {
  color: var(--primary-emerald);
  flex-shrink: 0;
}

/* Regional Delivery Hubs */
.hubs-section {
  background: var(--bg-slate);
  color: #fff;
  padding: 70px 0;
}

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
  margin-top: 36px;
}

.hub-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 20px;
}

.hub-box h4 {
  color: var(--primary-mint);
  font-size: 16px;
  margin-bottom: 6px;
}

.hub-box p {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.5;
}

/* Product Photo Grid (real render/stand photos) */
.rs-catalog {
  padding: 80px 0 40px;
}

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

.rs-photo-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.rs-photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.rs-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.rs-photo-card .rs-photo-body { padding: 16px 18px; }

.rs-photo-card h4 { font-size: 16px; margin-bottom: 4px; }

.rs-photo-card p { font-size: 13px; color: var(--text-muted); }

/* Sectors strip (no third-party logos — text badges) */
.rs-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.rs-sector-badge {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}

/* ==========================================================================
   FOOTER PROPIO RENTA STANDS (crédito obligatorio Ponciano Studio, acento esmeralda)
   ========================================================================== */
.rs-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 20px;
  margin-top: auto;
  font-family: var(--font-body);
  border-top: 4px solid var(--primary-mint);
}

.rs-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.rs-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 14px;
}

.rs-footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.rs-footer p { font-size: 14px; line-height: 1.6; color: #94a3b8; }
.rs-footer ul { list-style: none; display: grid; gap: 10px; }
.rs-footer ul a { color: #94a3b8; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.rs-footer ul a:hover { color: var(--primary-mint); }
.rs-footer-contact { font-size: 14px; color: #94a3b8; margin-bottom: 14px; }

.rs-footer-social { display: flex; gap: 12px; }
.rs-footer-social a {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #cbd5e1;
  text-decoration: none; transition: all 0.2s;
}
.rs-footer-social a:hover { background: var(--primary-emerald); color: #fff; transform: translateY(-2px); }

.rs-footer-bottom {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.rs-footer-bottom p { font-size: 13px; margin: 0; color: #94a3b8; }

.rs-credito {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 6px 0;
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 12px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rs-credito strong { font-weight: 700; }
.rs-credito:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.rs-footer a:focus-visible { outline-color: var(--primary-mint); }

@media (max-width: 850px) {
  .configurator-wrapper { grid-template-columns: 1fr; }
  .rs-nav-links { display: flex; width: 100%; }
  .rs-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .rs-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Renta Stands: adaptación y cotizaciones demostrativas sin envío. */
body { min-width: 0; overflow-wrap: anywhere; }
.container, .rs-nav > *, .configurator-wrapper > *, .size-selector-grid > *,
.addon-row > *, .config-contact-fields > *, .matrix-grid > *, .hubs-grid > *,
.rs-photo-grid > *, .rs-footer-inner > * { min-width: 0; }
.rs-nav, .rs-logo, .rs-nav-links, .rs-header-actions { flex-wrap: wrap; }
.rs-nav { gap: 12px 24px; }
.rs-logo, .rs-nav-links, .rs-header-actions { max-width: 100%; }
.rs-logo { min-height: 44px; }
.rs-logo-box, .btn-mint, .best-seller-tag { background: var(--emerald-readable); }
.rs-nav-links { gap: 6px 24px; }
.rs-nav-links a, .rs-footer ul a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.rs-nav-links a:hover, .hero-pill-badge, .size-btn.active, .size-btn:hover, .matrix-desc { color: var(--emerald-readable); }
.rs-header-actions { display: flex; align-items: center; gap: 12px 14px; }
.btn-mint, .size-btn, .addon-label { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.btn-mint:disabled { cursor: default; transform: none; box-shadow: none; }
.btn-mint:disabled:hover { background: var(--emerald-readable); }
.config-visualizer, .config-controls { min-width: 0; }
.config-visualizer-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.config-visualizer-heading > *, .blueprint-size-badge { max-width: 100%; }
.blueprint-size-badge { text-align: center; }
.config-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.config-contact-field { min-width: 0; }
.config-contact-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-body); margin-bottom: 6px; }
.config-contact-field input { min-width: 0; width: 100%; max-width: 100%; min-height: 44px; font-family: var(--font-body); color: var(--text-dark); }
.config-contact-field input::placeholder { color: #475569; opacity: 1; }
.addon-label input { flex-shrink: 0; accent-color: var(--emerald-readable); }
.rs-prototype-note { padding-top: 22px; padding-bottom: 22px; }
.rs-prototype-note p, .rs-quote-note { max-width: 75ch; font-size: 14px; color: var(--text-body); }
.config-controls .rs-config-note { font-size: 14px; color: var(--text-body); }
.rs-contact-status { font-size: 13px; color: var(--text-body); }
.best-seller-tag { position: static; align-self: flex-start; max-width: 100%; margin-bottom: 12px; }
@media (max-width: 850px) {
  .rs-header { position: static; }
  .configurator-wrapper { gap: 24px; padding: 24px; }
}
@media (max-width: 600px) {
  .container, .rs-footer-inner, .rs-footer-bottom { padding-left: 20px; padding-right: 20px; }
  .rs-header-actions { width: 100%; }
  .configurator-wrapper, .config-visualizer { padding: 20px; }
  .size-selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .addon-row, .config-contact-fields { grid-template-columns: minmax(0, 1fr); }
  .rs-hero { padding: 44px 0; }
  .matrix-section, .rs-catalog { padding-top: 48px; }
}
