/* ==========================================================================
   ACCIÓN MADERA — COTIZADOR INTELIGENTE (SISTEMA TELEPATI V2)
   Estilos del cotizador de mobiliario a medida, integración Pinterest/Instagram
   y pasarela de contacto a WhatsApp Business.
   ========================================================================== */

:root {
  /* Mapeo de variables de cotizador a tokens Telepati */
  --canvas: var(--color-canvas, #FAF8F5);
  --canvas-subtle: #F4EFE6;
  --canvas-warm: var(--color-surface-warm, #F4EFE6);
  --surface: #FFFFFF;
  --surface-card: #FFFFFF;
  --surface-pure: #FFFFFF;
  --sand-tint: var(--color-surface-warm, #F4EFE6);
  
  --charcoal: var(--color-charcoal, #18191B);
  --charcoal-deep: #101113;
  --charcoal-soft: var(--color-charcoal-card, #202226);
  --charcoal-muted: var(--color-charcoal-muted, #585A5E);
  --charcoal-dim: var(--color-charcoal-light, #8E9196);
  
  --line-hairline: var(--color-border-subtle, rgba(24, 25, 27, 0.05));
  --line-medium: var(--color-border, rgba(24, 25, 27, 0.09));
  --line-strong: rgba(24, 25, 27, 0.2);
  
  --wood-amber: var(--color-terracotta, #C2452D);
  --wood-glow: var(--color-terracotta-soft, rgba(194, 69, 45, 0.12));
  --wood-light: #D46648;
  --moss: var(--color-olive, #2B5A44);
  
  --font-body: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  --font-display: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  --font-heading: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  --font-ui: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  
  --nav-height: var(--header-height, 76px);
  --radius-full: var(--radius-pill, 9999px);
  --shadow-subtle: var(--shadow-sm);
  --transition: var(--transition-smooth);
}

/* Enhancements de tarjeta principal Telepati */
.cotizador-board {
  background: #FFFFFF !important;
  border: 1px solid var(--color-border-card) !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-card) !important;
}

#step-reference {
  background: var(--color-surface-warm) !important;
  border: 1px dashed var(--color-border) !important;
  color: var(--color-charcoal) !important;
}

/* ==================== 5. COTIZADOR ARQUITECTÓNICO ==================== */
.cotizador-board {
  background: var(--surface);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3.5rem;
  box-shadow: var(--shadow-card);
}

.board-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Audiencia Header (Exclusivo Hogar & Pinterest con link sutil a B2B) */
.board-audience-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-hairline);
}

.bah-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(140, 83, 43, 0.08);
  border: 1px solid rgba(140, 83, 43, 0.22);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.bah-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wood-amber);
  box-shadow: 0 0 0 3px rgba(140, 83, 43, 0.2);
}

.bah-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.bah-b2b-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wood-amber);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--canvas);
  border: 1px solid var(--line-hairline);
}

.bah-b2b-link:hover {
  background: var(--canvas-warm);
  color: var(--charcoal);
  border-color: var(--wood-amber);
  transform: translateX(2px);
}

/* Audiencia Pills Legacy */
.board-audience-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-hairline);
  padding-bottom: 1.25rem;
}

.board-aud-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  color: var(--charcoal-muted);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.board-aud-btn:hover {
  background: var(--canvas-warm);
  color: var(--charcoal);
  border-color: var(--charcoal-soft);
}

.board-aud-btn.active {
  background: var(--charcoal);
  color: #FAF8F5;
  border-color: var(--charcoal);
  box-shadow: 0 6px 18px rgba(31, 27, 24, 0.22);
}

.board-step {
  margin-bottom: 2.5rem;
}

.board-step-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.board-step-title {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.board-step-hint {
  font-size: 0.78rem;
  color: var(--charcoal-dim);
}

/* Tarjetas de Selección de Solución */
.board-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.95rem;
}

.board-opt-card {
  background: var(--surface-pure);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.board-opt-card:hover {
  background: var(--canvas);
  border-color: var(--wood-amber);
}

.board-opt-card.selected {
  background: #FAF8F5;
  border-color: var(--wood-amber);
  box-shadow: 0 0 0 2px var(--wood-amber), 0 6px 16px var(--wood-glow);
}

.boc-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
  margin-bottom: 0.25rem;
}

.boc-desc {
  font-size: 0.74rem;
  color: var(--charcoal-muted);
  line-height: 1.35;
  display: block;
}

/* Sliders de Dimensiones */
.board-sliders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.board-slider-box {
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xs);
  padding: 1.15rem;
}

.slider-val-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.slider-dim-label {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--charcoal-muted);
}

.slider-dim-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wood-amber);
}

input[type="range"] {
  width: 100%;
  height: 5px;
  background: var(--canvas-subtle);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--wood-amber);
}

/* Checkboxes Técnicos */
.board-extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.board-extra-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.board-extra-box:hover {
  background: var(--canvas-warm);
}

.board-extra-box.selected {
  background: #fff;
  border-color: var(--wood-amber);
}

.board-extra-box input[type="checkbox"] {
  accent-color: var(--wood-amber);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.extra-text-wrap {
  flex: 1;
}

.extra-primary {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  display: block;
}

.extra-secondary {
  font-size: 0.76rem;
  color: var(--charcoal-muted);
}

/* Blueprint Dropzone */
.blueprint-dropzone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--canvas);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.blueprint-dropzone:hover, .blueprint-dropzone.dragover {
  border-color: var(--wood-amber);
  background: rgba(184, 107, 43, 0.04);
}

.blueprint-dropzone.has-file {
  border-style: solid;
  border-color: var(--moss);
  background: rgba(85, 102, 59, 0.04);
}

.dropzone-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line-medium);
  border-radius: 50%;
}

.dropzone-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.dropzone-sub {
  font-size: 0.78rem;
  color: var(--charcoal-dim);
}

.file-preview-strip {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xs);
  padding: 0.75rem 1.15rem;
  margin-top: 0.85rem;
  box-shadow: var(--shadow-subtle);
}

.fps-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  overflow: hidden;
}

.fps-thumb {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--line-medium);
  background: var(--canvas-warm);
  flex-shrink: 0;
}

.fps-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--canvas-warm);
  color: var(--charcoal-soft);
  flex-shrink: 0;
  border: 1px solid var(--line-hairline);
}

.fps-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.fps-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fps-size {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  color: var(--charcoal-dim);
}

.fps-remove {
  color: #c93b2b;
  font-size: 1.1rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.fps-remove:hover {
  background: rgba(201, 59, 43, 0.1);
}

/* Columna Resumen Cotizador (Especificación de Taller) */
.quotation-receipt {
  background: var(--surface-pure);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  box-shadow: var(--shadow-card);
}

.receipt-header {
  border-bottom: 1px solid var(--line-hairline);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.receipt-stamp {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--wood-amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  background: rgba(168, 92, 56, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.receipt-header h3 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.receipt-specs {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 2rem;
}

.receipt-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.90rem;
  gap: 1rem;
}

.rs-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--charcoal-dim);
  font-weight: 500;
}

.rs-val {
  font-weight: 600;
  color: var(--charcoal);
  text-align: right;
}

.receipt-total-box {
  background: var(--canvas-warm);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-sm);
  padding: 1.65rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.rtb-label {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.rtb-amount {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.rtb-disclaimer {
  font-size: 0.74rem;
  color: var(--charcoal-dim);
  margin-top: 0.4rem;
  display: block;
  line-height: 1.35;
}

.receipt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}



/* ==================== REFERENCE HERO CARD (PINTEREST / DETECTED DESIGN) ==================== */
.reference-hero-card {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(28, 22, 19, 0.96) 0%, rgba(42, 28, 20, 0.90) 100%);
  border: 1.5px solid rgba(230, 0, 35, 0.35);
  border-radius: var(--radius-md, 16px);
  padding: 1.35rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(230, 0, 35, 0.12);
  position: relative;
  overflow: hidden;
}
.reference-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E60023 0%, var(--wood-amber, #C86B2D) 100%);
}
.rhc-media-wrap {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: #120e0c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.rhc-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.rhc-img:hover {
  transform: scale(1.04);
}
.rhc-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 10, 8, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #ff5c77;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  padding: 5px 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rhc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.rhc-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.rhc-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff4d6d;
  background: rgba(230, 0, 35, 0.14);
  border: 1px solid rgba(230, 0, 35, 0.4);
  border-radius: 20px;
  padding: 0.22rem 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rhc-status-live {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--wood-amber, #C86B2D);
}
.rhc-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.45rem;
  line-height: 1.25;
  font-family: var(--font-heading, "Playfair Display", serif);
}
.rhc-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  margin: 0 0 0.85rem;
}
.rhc-switch-wrap {
  margin-top: 0.2rem;
}
.rhc-switch-btn {
  background: transparent;
  border: none;
  color: var(--wood-light, #e2d9d0);
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  transition: all 0.2s ease;
}
.rhc-switch-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 768px) {
  .reference-hero-card {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  .rhc-media-wrap {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 220px;
  }
  .rhc-title {
    font-size: 1.18rem;
  }
}



/* ==================== PINTEREST WELCOME PANEL (LEGACY) ==================== */
.pinterest-welcome-panel {
  background: linear-gradient(135deg, #1a0005 0%, #2d0010 60%, #1a0005 100%);
  border-bottom: 3px solid #E60023;
  padding: 1.6rem 0;
}
.pwp-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.pwp-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(230,0,35,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pwp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E60023;
  background: rgba(230,0,35,0.12);
  border: 1px solid rgba(230,0,35,0.3);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.45rem;
}
.pwp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}
.pwp-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.5;
}
.pwp-pin-media {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(230, 0, 35, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.pwp-pin-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pwp-pin-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 14, 12, 0.88);
  color: #ff4d6d;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}



/* ==================== COTIZADOR SUMMARY BOTTOM ==================== */
.cotizador-summary-bottom {
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--charcoal-deep) 0%, #1a1409 100%);
  border: 1px solid rgba(200,107,45,0.25);
  border-radius: var(--radius-sm);
  padding: 2rem;
}
.csb-inner {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.csb-specs {
  flex: 1;
  min-width: 260px;
  display: grid;
  gap: 0.55rem;
}
.csb-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.85rem;
}
.csb-spec-row .rs-label { color: var(--charcoal-muted); font-weight: 500; flex-shrink: 0; }
.csb-spec-row .rs-val   { color: var(--wood-light); font-weight: 600; text-align: right; }

/* Pin Preview in bottom summary */
.csb-pin-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(230, 0, 35, 0.08);
  border: 1px solid rgba(230, 0, 35, 0.25);
  border-radius: var(--radius-sm);
  margin-top: 0.6rem;
}
.csb-pin-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.12);
}
.csb-pin-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.csb-pin-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff4d6d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.csb-pin-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}
.csb-price-actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 280px;
  max-width: 340px;
}
.csb-price-box { display: flex; flex-direction: column; gap: 0.3rem; }
.csb-price-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood-amber);
}
.csb-price-amount { font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.15; }
.csb-price-note   { font-size: 0.75rem; color: var(--charcoal-muted); line-height: 1.5; margin-top: 0.1rem; }
.csb-send-note {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.csb-actions { display: flex; flex-direction: column; gap: 0.65rem; }
.csb-actions .btn { justify-content: center; }

@media (max-width: 768px) {
  .cotizador-board {
    padding: 1.25rem 1rem !important;
  }
  .cotizador-summary-bottom {
    padding: 1.25rem 1rem !important;
    margin-top: 1.5rem !important;
  }
  .csb-inner {
    flex-direction: column !important;
    gap: 1.25rem !important;
  }
  .csb-specs,
  .csb-price-actions {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .csb-pin-preview {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .csb-pin-thumb {
    width: 48px;
    height: 48px;
  }
  .csb-actions .btn {
    width: 100% !important;
  }
  .pinterest-inspo-showcase {
    padding: 1.35rem 1rem !important;
    margin-top: 2rem !important;
  }
}



/* ==================== PINTEREST INCENTIVE BANNER ==================== */
.pinterest-incentive-banner {
  background: linear-gradient(135deg, rgba(230, 0, 35, 0.05) 0%, rgba(200, 107, 45, 0.08) 100%);
  border: 1px solid rgba(230, 0, 35, 0.22);
  border-radius: var(--radius-sm);
  padding: 1.35rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.pib-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.pib-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid rgba(230, 0, 35, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: #c8232c;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pib-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin: 0;
}

.btn-pinterest-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #E60023;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(230, 0, 35, 0.25);
}

.btn-pinterest-banner:hover {
  background: #ad081b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 0, 35, 0.35);
}



/* ==================== NUEVOS CAMPOS DEL COTIZADOR ==================== */
.board-social-link-wrap {
  margin-bottom: 1.25rem;
}

.board-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap svg {
  position: absolute;
  left: 1rem;
  color: var(--charcoal-dim);
  pointer-events: none;
}

.custom-board-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-board-input:focus {
  outline: none;
  border-color: var(--wood-amber);
  box-shadow: 0 0 0 3px rgba(200, 107, 45, 0.15);
}

.board-link-help {
  font-size: 0.8rem;
  color: var(--charcoal-dim);
  margin-top: 0.4rem;
}

.board-link-help a {
  color: #e60023;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.board-link-help a:hover {
  color: #ad081b;
}

.dim-mode-selector,
.wood-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.dim-mode-btn,
.wood-mode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xs);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.dim-mode-btn.active,
.wood-mode-btn.active {
  background: #ffffff;
  border-color: var(--wood-amber);
  color: var(--wood-amber);
  box-shadow: 0 2px 8px rgba(200, 107, 45, 0.12);
}

.board-location-box {
  background: var(--sand-tint);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xs);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.board-location-hint {
  font-size: 0.82rem;
  color: var(--charcoal-dim);
  margin-top: 0.55rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.board-contact-box {
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xs);
  padding: 1.25rem;
}

.contact-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-inputs-grid .custom-board-input {
  padding-left: 1rem;
}

@media (max-width: 992px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .pinterest-incentive-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .dim-mode-selector,
  .wood-mode-selector {
    grid-template-columns: 1fr;
  }
  .contact-inputs-grid {
    grid-template-columns: 1fr;
  }
}



/* ==================== SECCIÓN COTIZADOR SPOTLIGHT ==================== */
.section-cotizador-spotlight {
  position: relative;
  background: 
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(200, 107, 45, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, var(--canvas) 0%, var(--surface-card) 25%, var(--surface) 75%, var(--canvas) 100%);
  padding-top: 5.5rem;
  padding-bottom: 6.5rem;
}

.cotizador-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(200, 107, 45, 0.1);
  border: 1px solid rgba(200, 107, 45, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wood-amber);
  margin-bottom: 1.25rem;
}

.chp-badge {
  background: var(--surface);
  border: 1px solid rgba(200, 107, 45, 0.25);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: var(--charcoal);
}

.cotizador-main-title {
  max-width: 820px;
  margin: 0 auto 1.25rem;
  letter-spacing: -0.03em;
}

.cotizador-main-sub {
  max-width: 680px;
  margin: 0 auto 2.5rem;
}



/* ==================== SHOWCASE DE INSPIRACIÓN PINTEREST / INSTAGRAM ==================== */
.pinterest-inspo-showcase {
  background: var(--surface);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.pis-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-hairline);
  flex-wrap: wrap;
  gap: 1rem;
}

.pis-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pis-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(230, 0, 35, 0.06);
  color: #c41228;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(230, 0, 35, 0.16);
  letter-spacing: 0.02em;
}

.pis-heading {
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--charcoal);
  margin: 0;
  letter-spacing: -0.02em;
}

.pis-pinterest-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #c41228;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pis-pinterest-link:hover {
  transform: translateX(3px);
  opacity: 0.85;
}

.pis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.pis-card {
  background: var(--surface-pure);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  cursor: pointer;
}

.pis-card:hover {
  transform: translateY(-5px);
  border-color: var(--wood-amber);
  box-shadow: 0 16px 32px -8px rgba(168, 92, 56, 0.16);
}

.pis-media {
  position: relative;
  aspect-ratio: 4/3.2;
  overflow: hidden;
  background: var(--canvas-subtle);
}

.pis-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pis-card:hover .pis-media img {
  transform: scale(1.05);
}

.pis-chip {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(31, 27, 24, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #FAF8F5;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.pis-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pis-card-title {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.pis-card-desc {
  font-size: 0.84rem;
  color: var(--charcoal-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pis-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--canvas);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-full);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.22s ease;
}

.pis-card:hover .pis-action-btn {
  background: var(--charcoal);
  color: #FAF8F5;
  border-color: var(--charcoal);
}

@keyframes pulseBorder {
  0% { box-shadow: 0 0 0 0 rgba(168, 92, 56, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(168, 92, 56, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 92, 56, 0); }
}

.pulse-highlight {
  animation: pulseBorder 1.2s ease-out;
  border-color: var(--wood-amber) !important;
}

@media (max-width: 1100px) {
  .pis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pis-grid {
    grid-template-columns: 1fr;
  }
  .pis-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}




/* --- NAVEGACIÓN MIGA DE PAN (BREADCRUMBS) --- */
.iph-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-charcoal-muted, #585A5E);
  margin-bottom: 1.25rem;
}
.iph-breadcrumbs a {
  color: var(--color-charcoal-muted, #585A5E);
  text-decoration: none;
  transition: color 0.2s ease;
}
.iph-breadcrumbs a:hover {
  color: var(--color-terracotta, #C2452D);
}
.iph-breadcrumbs span {
  color: var(--color-border, rgba(24, 25, 27, 0.2));
}

/* --- BOTÓN FLOTANTE WHATSAPP CON BADGE --- */
.wa-float-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.wa-float-badge {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--color-border, rgba(24, 25, 27, 0.12));
  color: var(--charcoal, #18191B);
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}
.wa-float-container:hover .wa-float-badge {
  opacity: 1;
  transform: translateX(0);
}
.wa-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
}
.wa-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .wa-float-container {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .wa-float-badge {
    display: none;
  }
  .wa-float-btn {
    width: 50px;
    height: 50px;
  }
  .board-sliders-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .contact-inputs-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .board-extras-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  input, select, textarea, .custom-board-input {
    font-size: 16px !important;
  }
  .board-step-label {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }
  .board-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .board-cards-grid {
    grid-template-columns: 1fr;
  }
  .cotizador-board {
    padding: 1rem 0.75rem !important;
  }
  .dim-mode-selector,
  .wood-mode-selector {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
