/* ═══ ESTILOS COTIZADOR (WIZARD) ═══ */
.quote-hero { padding: 40px 0 20px; background: var(--bg-card-subtle); border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
.quote-hero .eyebrow { display: block; font-size: 11px; color: var(--primary-light); text-transform: uppercase; margin-bottom: 8px; font-weight: 700; letter-spacing: 0.05em; }
.quote-intro { max-width: 640px; margin: 0 auto; text-align: center; }
.quote-intro h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; line-height: 1.2; color: var(--text-title); }
.quote-intro p { color: var(--text-body); font-size: 15px; margin-top: 10px; }
.quote-section { padding: 10px 0 60px; max-width: 800px; margin: 0 auto; }

.wizard {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.progress-wrap { padding: 24px 32px 0; border-bottom: 1px solid var(--border-color); background: var(--bg-card-subtle); }
@media(max-width:640px){ .progress-wrap { padding: 16px 20px 0; } }
.progress-steps { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.progress-steps span { flex: 1; text-align: center; }
.progress-steps span:first-child { text-align: left; }
.progress-steps span:last-child { text-align: right; }
.progress-steps span.is-active { color: var(--primary-light); }
.progress-steps span.is-done { color: var(--accent-emerald); }
.progress-track { height: 6px; background: var(--border-color); border-radius: 3px; overflow: hidden; margin-bottom: -3px; z-index: 2; position: relative; }
.progress-fill { height: 100%; width: 0%; background: var(--primary-light); transition: width .4s ease; border-radius: 3px; }
.progress-fill.is-complete { background: var(--accent-emerald); }

.step-panels { position: relative; padding: 32px 32px; min-height: auto; }
@media(max-width:640px){ .step-panels { padding: 24px 20px; } }
.step-panel { display: none; animation: step-in .35s ease; }
.step-panel.is-active { display: block; }
@keyframes step-in { from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

.step-head { margin-bottom: 24px; text-align: center; }
.step-head .kicker { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary-light); text-transform: uppercase; margin-bottom: 8px; background: rgba(24,119,201,0.1); padding: 4px 10px; border-radius: 20px; }
.step-head h2 { font-size: 22px; font-weight: 700; color: var(--text-title); }
.step-head p { color: var(--text-body); font-size: 14px; margin-top: 6px; }

/* paso 1: tipo de propiedad */
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-card label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 10px; border: 1.5px solid var(--border-color); border-radius: var(--radius-md);
  cursor: pointer; transition: all .2s ease; text-align: center; background: var(--bg-card);
}
.option-card label svg { width: 32px; height: 32px; color: var(--text-muted); transition: color .2s ease; }
.option-card label span { font-size: 14px; color: var(--text-body); font-weight: 600; }
.option-card label:hover { border-color: var(--primary-light); background: rgba(24,119,201,0.03); }
.option-card input:checked + label { border-color: var(--primary-light); background: rgba(24,119,201,0.08); box-shadow: 0 4px 12px rgba(24,119,201,0.15); }
.option-card input:checked + label svg,
.option-card input:checked + label span { color: var(--primary-light); }

/* paso 2: metraje */
.quick-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; justify-content: center; }
.quick-chip {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
  padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--text-body); cursor: pointer; transition: all .2s ease;
}
.quick-chip:hover { border-color: var(--primary-light); color: var(--primary-light); }
.quick-chip.is-active { background: var(--primary-light); color: #fff; border-color: var(--primary-light); }
.range-row { display: flex; flex-direction: column; align-items: center; gap: 16px; background: var(--bg-card-subtle); padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.range-row input[type=range] { width: 100%; max-width: 400px; accent-color: var(--primary-light); }
.range-value { font-size: 28px; font-weight: 800; color: var(--primary-light); font-family: 'JetBrains Mono', monospace; }

/* paso 3: servicios */
.service-check { display: block; border: 1.5px solid var(--border-color); border-radius: var(--radius-md); padding: 16px; margin-bottom: 12px; cursor: pointer; transition: all .2s ease; background: var(--bg-card); }
.service-check:hover { border-color: var(--primary-light); background: rgba(24,119,201,0.02); }
.service-check-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.service-check-head input { accent-color: var(--primary-light); width: 18px; height: 18px; }
.service-check-head svg { width: 22px; height: 22px; color: var(--text-muted); }
.service-check-head span { font-weight: 700; font-size: 15px; color: var(--text-title); }
.service-check-desc { padding-left: 48px; font-size: 13.5px; color: var(--text-muted); }
.service-check:has(input:checked) { border-color: var(--primary-light); background: rgba(24,119,201,0.05); }
.service-check:has(input:checked) .service-check-head svg { color: var(--primary-light); }

/* paso 4: contacto */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px){ .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-body); }
.field .opt { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--border-color); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; color: var(--text-title); background: var(--bg-card); transition: all .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(24,119,201,0.15); }
.field textarea { min-height: 80px; resize: vertical; }
.field-error { display: none; font-size: 12px; color: var(--accent-rose); margin-top: 4px; font-weight: 600; }
.field.has-error input, .field.has-error select { border-color: var(--accent-rose); background: rgba(244,63,94,0.05); }
.field.has-error .field-error { display: block; }
.step-panel > .field-error { margin-top: 16px; text-align: center; }

/* resumen y exito */
.summary-list { list-style: none; margin: 0; padding: 24px; background: var(--bg-card-subtle); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.summary-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border-color); font-size: 14px; }
.summary-list li:last-child { border-bottom: none; }
.summary-list li strong { color: var(--text-title); font-weight: 600; }
.summary-list li span { color: var(--text-body); text-align: right; max-width: 60%; }

.success-panel { text-align: center; padding: 40px 20px; }
.success-icon { width: 64px; height: 64px; color: var(--accent-emerald); margin-bottom: 20px; animation: scale-in .5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes scale-in { 0%{transform:scale(0); opacity:0;} 100%{transform:scale(1); opacity:1;} }
.success-panel h2 { font-size: 24px; font-weight: 800; color: var(--text-title); margin-bottom: 12px; }
.success-panel p { font-size: 15px; color: var(--text-body); margin-bottom: 30px; }
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer de pasos */
.step-nav { display: flex; justify-content: space-between; padding: 20px 32px; background: var(--bg-header); border-top: 1px solid var(--border-color); }
@media(max-width:640px){ .step-nav { padding: 16px 20px; } }

/* ═══ ESTILOS SUBPÁGINAS DE SERVICIO ═══ */
.breadcrumb { padding: 24px 0 0; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; font-weight: 500; }
.breadcrumb a { color: var(--primary-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border-strong); }
.breadcrumb .current { color: var(--text-body); font-weight: 600; }

.svc-hero { padding: 30px 0 60px; }
.svc-hero-frame { display: flex; align-items: flex-start; gap: 32px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
@media(max-width:760px){ .svc-hero-frame { flex-direction: column; padding: 24px; gap: 24px; text-align: center; align-items: center; } }
.svc-hero-frame::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary-light), var(--accent-cyan)); }
.svc-hero-icon { width: 80px; height: 80px; border-radius: 20px; background: rgba(24,119,201,0.08); display: flex; align-items: center; justify-content: center; color: var(--primary-light); flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(24,119,201,0.15); }
.svc-hero-icon svg { width: 40px; height: 40px; }
.svc-hero-text .eyebrow { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary-light); text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.05em; background: rgba(24,119,201,0.1); padding: 4px 10px; border-radius: 20px; }
.svc-hero-text h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--text-title); margin-bottom: 16px; line-height: 1.15; }
.svc-hero-text p { font-size: 16px; color: var(--text-body); line-height: 1.6; max-width: 600px; margin-bottom: 30px; }
.svc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media(max-width:760px){ .svc-hero-actions { justify-content: center; } }

.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
@media(max-width:900px){ .two-col { grid-template-columns: 1fr; gap: 32px; } }

.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { display: flex; align-items: flex-start; gap: 14px; background: var(--bg-card); padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: transform .2s; }
.feature-list li:hover { transform: translateX(4px); border-color: var(--primary-light); }
.feature-list li svg { color: var(--accent-emerald); width: 24px; height: 24px; flex-shrink: 0; }
.feature-list li span { font-size: 15px; color: var(--text-title); font-weight: 500; line-height: 1.5; }

.spec-box { background: var(--bg-card-subtle); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); align-self: flex-start; position: sticky; top: 100px; }
.spec-box h3 { font-size: 18px; font-weight: 700; color: var(--text-title); margin-bottom: 24px; border-bottom: 2px solid var(--border-color); padding-bottom: 12px; }
.spec-row { display: flex; flex-direction: column; margin-bottom: 20px; }
.spec-row:last-child { margin-bottom: 0; }
.spec-row span:first-child { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.spec-row span:last-child { font-size: 16px; font-weight: 600; color: var(--text-title); display: flex; align-items: center; gap: 6px; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.related a { display: block; padding: 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); transition: all .25s ease; text-decoration: none; box-shadow: var(--shadow-sm); }
.related a:hover { transform: translateY(-4px); border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.related span { display: block; font-size: 12px; font-weight: 800; color: var(--primary-light); margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; }
.related strong { font-size: 16px; font-weight: 700; color: var(--text-title); }
