/* ============================================================
   cotizador.css — wizard de presupuesto
   ============================================================ */

.cot-shell {
  max-width: 1000px; margin: 0 auto;
  background: var(--cream); border: 1px solid var(--line-cream);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 58px -40px rgba(43, 33, 24, .3);
}

.cot { padding: 44px clamp(20px, 4vw, 48px) 40px; color: var(--text); }

@keyframes cotFade { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
@keyframes cotPop  { from { transform: scale(.86); opacity: 0 } to { transform: scale(1); opacity: 1 } }

.cot-top { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cot-top .brand {
  font-family: var(--serif); font-size: 19px; font-weight: 600;
  letter-spacing: .14em; color: var(--text);
}
.cot-top .brand span { color: var(--gold); }
.cot-top .tag {
  margin-left: auto; font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: #9C8E79;
}

.cot-prog { margin-bottom: 26px; }
.cot-prog .row {
  display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: 9px;
}
.cot-prog .step {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.cot-prog .name {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #9C8E79;
}
.cot-prog .track {
  position: relative; height: 4px; background: #EADFCC;
  border-radius: 3px; overflow: hidden;
}
.cot-prog .fill {
  position: absolute; left: 0; top: 0; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width .45s var(--ease);
}

.cot-pane { animation: cotFade .35s var(--ease) both; }
.cot-h {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 30px);
  line-height: 1.08; color: var(--text); margin: 0 0 6px; font-weight: 600;
}
.cot-sub { font-size: 14px; color: #746656; margin: 0 0 22px; }

/* ---- opciones ---- */

.opt-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.opt-col  { display: flex; flex-direction: column; gap: 12px; }

.opt {
  position: relative; text-align: left; background: #fff;
  border: 1px solid var(--line-cream); border-radius: 14px;
  padding: 18px 16px 16px; cursor: pointer; font-family: inherit;
  color: var(--text);
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.opt:hover { border-color: var(--gold); box-shadow: 0 8px 20px rgba(43, 33, 24, .06); transform: translateY(-2px); }
.opt .ico { color: var(--gold-deep); }
.opt b {
  display: block; font-family: var(--serif); font-size: 23px;
  font-weight: 600; color: var(--text); margin-top: 12px; line-height: 1.05;
}
.opt small { display: block; font-size: 12.5px; color: var(--text-soft); margin-top: 5px; line-height: 1.4; }
.opt.is-on { border-color: var(--gold); background: rgba(198, 161, 91, .07); box-shadow: inset 0 0 0 1px var(--gold); }
.opt .tick {
  position: absolute; top: 12px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: none; align-items: center; justify-content: center;
  animation: cotPop .3s ease both;
}
.opt.is-on .tick { display: flex; }

.opt-tipo { flex: 1 1 158px; min-width: 150px; }

/* salones */
.opt-salon { flex: 1 1 240px; min-width: 210px; padding: 0; overflow: hidden; border-radius: 16px; }
.opt-salon .photo {
  position: relative; height: 128px; background: #241c15;
  display: flex; align-items: center; justify-content: center;
}
.opt-salon .photo img { width: 100%; height: 100%; object-fit: cover; }
.opt-salon .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 11, 7, .34) 0 42%, transparent);
}
.opt-salon .photo .ico { color: #F5EEE1; opacity: .32; width: 56px; height: 56px; stroke-width: 1.3; }
.opt-salon .photo .cap {
  position: absolute; right: 12px; top: 11px; text-align: right; color: #fff; z-index: 1;
}
.opt-salon .photo .cap b {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  line-height: .9; margin: 0; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.opt-salon .photo .cap small {
  font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  opacity: .9; margin: 0; color: #fff;
}
/* Es un <span>: sin display:block el padding no empuja a los hijos de bloque
   (el título y la lista de características quedaban pegados al borde). */
.opt-salon .body { display: block; padding: 15px 16px 17px; }
.opt-salon .body > b { margin-top: 0; font-size: 22px; margin-bottom: 4px; }
.opt-salon .sede {
  display: block; font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px;
}
.opt-salon .off {
  display: block; font-size: 12.5px; color: var(--text-soft); margin-top: 6px;
}

/* Un salón que no da la capacidad se muestra igual, apagado, para no esconder catálogo. */
.opt.is-off { opacity: .42; cursor: not-allowed; filter: saturate(.35); }
.opt.is-off:hover { transform: none; box-shadow: none; }
.opt-salon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.opt-salon li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.3; color: var(--text-mid);
}
.opt-salon li i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex: none; margin-top: 6px;
}
.opt-salon .tick { top: 11px; left: 11px; right: auto; width: 28px; height: 28px; box-shadow: 0 4px 14px rgba(156, 122, 52, .45); }

/* menús */
.opt-menu { padding: 18px 18px 16px; border-radius: 16px; }
.opt-menu .row { display: flex; align-items: flex-start; gap: 14px; }
.opt-menu .bubble {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: #F6EEDD; color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
}
.opt-menu .head-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.opt-menu b { margin-top: 0; font-size: 24px; }
.opt-menu .badge { background: #F3E7CB; color: var(--gold-deep); }
.opt-menu .inc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.opt-menu .inc span {
  display: flex; align-items: flex-start; gap: 7px;
  flex: 1 1 44%; min-width: 150px;
  font-size: 12.5px; line-height: 1.3; color: #5E5344;
}
.opt-menu .inc .ico { color: var(--gold); margin-top: 1px; }
.opt-menu .tick { top: 14px; right: 14px; }

/* servicios */
.opt-serv {
  flex: 1 1 150px; min-width: 142px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 15px; border-radius: 13px;
}
.opt-serv b { margin: 0; font-family: var(--sans); font-size: 13.5px; font-weight: 500; line-height: 1.2; }
.opt-serv .tick { top: -8px; right: -8px; width: 22px; height: 22px; box-shadow: 0 3px 10px rgba(156, 122, 52, .4); }

/* ---- campos ---- */

.cot-box {
  background: #fff; border: 1px solid var(--line-cream);
  border-radius: 16px; padding: 22px 20px;
}
.cot-box + .cot-box { margin-top: 18px; }
.cot-box .lbl {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #9C8E79; margin-bottom: 14px;
}

.stepper { display: flex; align-items: center; justify-content: center; gap: 20px; }
.stepper button {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 1px solid #D8CBB4; background: var(--cream); color: #8A7355;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
}
.stepper button:hover { border-color: var(--gold); color: var(--gold-deep); }
.stepper .num-wrap { text-align: center; }
.stepper input {
  width: 128px; box-sizing: border-box; text-align: center;
  font-family: var(--serif); font-size: 42px; font-weight: 600;
  color: var(--text); background: #fff; border: 1px solid #D8CBB4;
  border-radius: 12px; padding: 4px 8px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.stepper .unit {
  font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: #9C8E79; margin-top: 4px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 7px;
}
.field label i { font-style: normal; text-transform: none; letter-spacing: 0; color: #B3A691; }
.inp {
  width: 100%; box-sizing: border-box; font-family: var(--sans);
  font-size: 15px; color: var(--text); background: #fff;
  border: 1px solid #D8CBB4; border-radius: 11px; padding: 13px 15px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.inp:focus, .stepper input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 161, 91, .16); }
textarea.inp { resize: vertical; min-height: 74px; line-height: 1.5; }
.is-err, .is-err:focus { border-color: var(--danger); background: #FCF3F0; }

.err {
  display: flex; align-items: center; gap: 7px;
  margin-top: 10px; font-size: 12.5px; color: var(--danger);
}
.err .ico { color: var(--danger); }

.hint { margin-top: 16px; font-size: 12px; color: #9C8E79; text-align: center; line-height: 1.5; }

.tip {
  display: flex; align-items: center; gap: 10px;
  background: #F3E7CB; border-radius: 12px; padding: 13px 16px;
  margin-top: 16px; font-size: 12.5px; color: #7A6636; line-height: 1.5;
}
.tip .ico { color: #7A6636; flex: none; }

/* ---- resumen ---- */

.resumen { background: #fff; border: 1px solid var(--line-cream); border-radius: 16px; overflow: hidden; }
.resumen .row {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-top: 1px solid #EFE6D5;
}
.resumen .row:first-child { border-top: 0; }
.resumen dt {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 3px;
}
.resumen dd {
  margin: 0; font-family: var(--serif); font-size: 19px;
  color: var(--text); line-height: 1.15; text-wrap: pretty;
}
.resumen .edit {
  flex: none; display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; letter-spacing: .06em; color: var(--gold-deep);
  background: none; border: 0; cursor: pointer; padding: 6px 4px;
}
.resumen .edit:hover { color: #8A6A22; }

.cot-send {
  margin-top: 20px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--whatsapp); color: #fff; border: none; border-radius: 999px;
  padding: 16px; font-size: 13px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s, transform .2s;
}
.cot-send:hover { background: #1E5334; transform: translateY(-2px); }
.cot-link {
  margin-top: 10px; width: 100%; background: none; border: 0;
  color: #9C8E79; font-size: 12.5px; cursor: pointer; padding: 6px;
}
.cot-link:hover { color: var(--text-mid); }

/* ---- confirmación ---- */

.cot-done { text-align: center; padding: 22px 6px 12px; animation: cotFade .4s var(--ease) both; }
.cot-done .seal {
  width: 82px; height: 82px; margin: 0 auto 22px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), #9C7A34); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(156, 122, 52, .35);
  animation: cotPop .45s ease both;
}
.cot-done .seal .ico { width: 38px; height: 38px; stroke-width: 2; }
.cot-done h3 {
  font-family: var(--serif); font-size: 34px; line-height: 1.05;
  color: var(--text); margin: 0 0 12px; font-weight: 600;
}
.cot-done p { font-size: 15px; color: var(--text-mid); line-height: 1.6; max-width: 360px; margin: 0 auto 26px; }
.cot-done strong { color: #3C3226; font-weight: 500; }
.cot-done .btn-whats { text-decoration: none; }

/* ---- navegación ---- */

.cot-nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.cot-back {
  display: flex; align-items: center; gap: 8px; background: none;
  border: 1px solid #D8CBB4; color: var(--text-mid); border-radius: 999px;
  padding: 14px 22px; font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cot-back:hover { border-color: var(--gold-deep); color: #3C3226; }
.cot-next {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); color: #F3E9D6; border: none; border-radius: 999px;
  padding: 15px 22px; font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: background .25s, transform .2s;
}
.cot-next:hover { background: var(--text); transform: translateY(-2px); }

@media (max-width: 560px) {
  .cot { padding: 32px 20px 30px; }
  .opt-tipo { flex: 1 1 100%; }
  .stepper { gap: 12px; }
  .stepper input { width: 104px; font-size: 34px; }
  .cot-back { padding: 14px 16px; }
}
