/* ============================================================
   MAISON DE L'AS — Simulateur de devis (css/simulateur.css)
   Negro medianoche + oro + Cormorant. CSS puro, sin canvas.
   Doble piel: desktop showroom / móvil stepper (<900px).
   ============================================================ */

:root {
  --sim-bg: #0a0a0f;
  --sim-card: #14141c;
  --sim-line: #2a2a35;
  --sim-gold: #c9a96a;
  --sim-gold-soft: rgba(201, 169, 106, 0.28);
  --sim-vio: #6a66c4;
  --sim-txt: #d4d3d8;
  --sim-mut: #8a8a94;
}

.sim-page {
  background: var(--sim-bg);
  color: var(--sim-txt);
  font-family: 'Jost', system-ui, sans-serif;
  min-height: 100vh;
}
.sim-page h1, .sim-page h2, .sim-brand-name, .sim-panel-title, .sim-success-ref { font-family: 'Cormorant Garamond', Georgia, serif; }
.sim-page .btn-gold {
  background: linear-gradient(90deg, #b8955a, #e0c68a);
  color: #0a0a0f; border: 0; border-radius: 999px; cursor: pointer;
  font-family: 'Jost', sans-serif; font-weight: 600; letter-spacing: .14em; font-size: 12px;
  padding: 14px 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.sim-page .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(201,169,106,.55); }
.sim-page .btn-gold:disabled { opacity: .5; cursor: wait; transform: none; }

/* ---------- HERO ---------- */
#simHero {
  position: relative; text-align: center; padding: 128px 20px 44px;
  background:
    radial-gradient(circle at 50% -20%, rgba(106, 102, 196, 0.16), transparent 60%),
    radial-gradient(circle at 85% 110%, rgba(201, 169, 106, 0.10), transparent 55%),
    var(--sim-bg);
  border-bottom: 1px solid var(--sim-line);
}
.sim-hero-title { color: #fff; font-size: clamp(34px, 6vw, 58px); margin: 8px 0 10px; line-height: 1.08; min-height: 1.15em; }
.sim-sub-in { animation: simSubIn .8s ease .35s both; }
@keyframes simSubIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sim-typing::after { content: '▌'; color: var(--sim-gold); margin-left: 3px; animation: simCaret .7s steps(1) infinite; }
@keyframes simCaret { 50% { opacity: 0; } }
@keyframes simSubIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sim-hero-sub { color: var(--sim-mut); max-width: 560px; margin: 0 auto 22px; font-size: 15px; }
.sim-hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sim-social { color: var(--sim-vio); font-size: 12px; letter-spacing: .04em; }
.sim-lang {
  position: absolute; top: 18px; right: 18px; background: transparent; color: var(--sim-mut);
  border: 1px solid var(--sim-line); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 11px;
}
.sim-lang:hover { color: var(--sim-gold); border-color: var(--sim-gold-soft); }

/* ---------- LAYOUT ---------- */
.sim-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 34px; align-items: start; }
.sim-block {
  background: linear-gradient(160deg, #121219, #0e0e15);
  border: 1px solid var(--sim-line); border-radius: 16px; padding: 26px; margin-bottom: 22px;
}
.sim-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.sim-num {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--sim-gold); color: var(--sim-gold);
  display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; flex: none;
}
.sim-btitle { color: #eceadf; font-size: 22px; margin: 0; font-weight: 600; }

.sim-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--sim-mut); flex: 1; min-width: 0; position: relative; }
.sim-field input, .sim-field select, .sim-field textarea, .sim-promo input {
  background: #0d0d14; border: 1px solid #33333f; border-radius: 10px; color: #e8e6df;
  padding: 11px 12px; font-family: inherit; font-size: 14px; width: 100%; box-sizing: border-box;
}
.sim-field input:focus, .sim-field select:focus, .sim-field textarea:focus { outline: none; border-color: var(--sim-gold); }
.sim-field-row { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.sim-field-row.three > .sim-field { flex: 1 1 30%; }
.sim-date-warn { color: #e0a05a; font-style: normal; font-size: 11px; }

.sim-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.sim-chips button {
  background: #14141c; border: 1px solid #3a3a48; color: var(--sim-txt); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; font-family: inherit; font-size: 12.5px; transition: border-color .15s, color .15s;
}
.sim-chips button.on { border-color: var(--sim-gold); color: var(--sim-gold); background: rgba(201, 169, 106, 0.08); }

.sim-guests { margin-top: 18px; }
.sim-guests-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; color: var(--sim-mut); }
.sim-guests-head b { color: var(--sim-gold); font-size: 20px; font-family: 'Cormorant Garamond', serif; }
#simGuests { width: 100%; accent-color: var(--sim-gold); }
.sim-reco {
  margin-top: 12px; border: 1px dashed var(--sim-vio); border-radius: 10px; color: #a9a5ff;
  font-size: 12.5px; padding: 8px 12px; display: inline-block;
}
.sim-reco[hidden] { display: none !important; }   /* el inline-block pisaba hidden: el banner ×2 no desaparecía */
/* tooltip "?" público (patrón admin, estilo Maison) */
.sim-tipwrap { position: relative; display: inline-flex; margin-left: 6px; }
.sim-tip {
  width: 14px; height: 14px; border: 1px solid var(--sim-vio); border-radius: 50%; color: #a9a5ff;
  font-size: 9px; display: inline-flex; align-items: center; justify-content: center; cursor: help; flex: none;
}
.sim-tipbox {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 250px;
  background: #14141c; border: 1px solid var(--sim-vio); border-radius: 8px; color: #cfc9ff;
  font-size: 10.5px; line-height: 1.45; padding: 8px 10px; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 40; box-shadow: 0 10px 30px -8px #000d;
}
.sim-tipwrap:hover .sim-tipbox, .sim-tipwrap:focus-within .sim-tipbox { opacity: 1; }
/* Los popups grandes se anclan al BLOQUE contenedor (no al "?"), así nunca desbordan pantalla */
#simExBanner, .sim-elev { position: relative; }
#simExBanner .sim-tipwrap, .sim-elev .sim-tipwrap { position: static; }
#simExBanner .sim-tipbox { left: 12px; right: 12px; bottom: calc(100% + 8px); transform: none; width: auto; max-width: none; }
.sim-elev .sim-tipbox { top: 8px; left: 12px; right: 12px; transform: none; width: auto; max-width: none; overflow-x: auto; }
/* Tabla oficial de ascensores (estilo Excel, colores Maison) */
.sim-elev .sim-tipbox { scrollbar-width: thin; }
.cab-table { width: 100%; border-collapse: collapse; font-size: 9.5px; white-space: nowrap; }
.cab-table th { background: rgba(201, 169, 106, 0.14); color: var(--sim-gold); border: 1px solid rgba(201, 169, 106, 0.35); padding: 4px 5px; text-align: left; font-weight: 600; }
.cab-table td { border: 1px solid rgba(201, 169, 106, 0.22); padding: 3px 5px; color: #d4d3d8; }
.cab-table td.v-ok { color: #6fce9d; }
.cab-table td.v-diag { color: #a9a5ff; }
.cab-table td.v-no { color: #6a6a75; }
/* Móvil: la tabla COMPLETA cabe sin scroll (comprimida, no cortada) */
@media (max-width: 560px) {
  .sim-elev .sim-tipbox { left: 8px; right: 8px; padding: 6px 4px; }
  .cab-table { font-size: 7.6px; white-space: normal; }
  .cab-table th, .cab-table td { padding: 2px 3px; text-align: center; }
  .cab-table th:first-child, .cab-table td:first-child { text-align: left; }
}

/* ---------- CALENDARIO MAISON + botón fecha ---------- */
.sim-date-btn {
  width: 100%; text-align: left; background: #0d0d14; border: 1px solid #33333f; border-radius: 10px;
  color: #e8e6df; padding: 11px 12px; font-family: inherit; font-size: 14px; cursor: pointer;
}
.sim-date-btn:hover { border-color: var(--sim-gold); }
.sim-date-btn.has-date { color: var(--sim-gold); }
.cal-pop {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; width: 292px; max-width: calc(100vw - 40px);
  background: #101018; border: 1px solid var(--sim-gold-soft); border-radius: 12px; padding: 12px;
  box-shadow: 0 16px 44px -10px #000d;
}
.cal-pop[hidden] { display: none !important; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { color: #eceadf; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 15px; letter-spacing: .04em; }
.cal-nav { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #3a3a48; background: transparent; color: #c9a96a; cursor: pointer; font-size: 13px; line-height: 1; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { color: #6a6a75; font-size: 9px; text-align: center; text-transform: uppercase; letter-spacing: .08em; padding: 3px 0; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px;
  border: 1px solid transparent; background: transparent; color: #d4d3d8; font-size: 12px; cursor: pointer; padding: 0;
}
.cal-day:hover { border-color: var(--sim-gold); }
.cal-day.out { visibility: hidden; }
.cal-day.today { border-color: #3a3a48; }
.cal-day.sel { background: var(--sim-gold); color: #0a0a0f; font-weight: 600; }
.cal-day.busy { color: #55555f; text-decoration: line-through; cursor: not-allowed; }
.cal-day.star { position: relative; color: var(--sim-gold); }
.cal-day.star::after { content: '★'; position: absolute; top: 1px; right: 2px; font-size: 6px; }
.cal-legend { display: flex; gap: 10px; justify-content: center; margin-top: 8px; font-size: 8.5px; color: #6a6a75; }

/* ---------- ASCENSEUR: cabine ---------- */
.sim-elev { border: 1px dashed var(--sim-gold-soft); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.sim-cabfit { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 12px; }
.sim-cabfit .fit { display: flex; gap: 8px; align-items: baseline; }
.sim-cabfit .v-droit { color: #6fce9d; }
.sim-cabfit .v-diag { color: #a9a5ff; }
.sim-cabfit .v-non { color: #e07a7a; }

/* ---------- RÉCAP: precios alineados ---------- */
#simRecapLines summary span { flex: 1 1 auto; }
#simRecapLines summary b { flex: 0 0 auto; margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; min-width: 64px; }

/* ---------- MESAS ---------- */
.sim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sim-card {
  background: #14141c; border: 1px solid rgba(201, 169, 106, 0.25); border-radius: 12px;
  padding: 14px 10px; text-align: center; transition: border-color .15s;
}
.sim-card.sel { border-color: var(--sim-gold); box-shadow: 0 8px 26px -14px rgba(201, 169, 106, 0.5); }
.sim-card .ic { font-size: 22px; color: var(--sim-gold); }
.sim-card .nm { color: #eceadf; font-size: 13px; margin: 6px 0 2px; line-height: 1.25; }
.sim-card .pr { color: var(--sim-mut); font-size: 11px; }
.sim-card .stk { color: #6a6a75; font-size: 10px; }
.sim-stepper { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.sim-stepper button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--sim-gold); background: transparent;
  color: var(--sim-gold); font-size: 15px; cursor: pointer; line-height: 1;
}
.sim-stepper button:disabled { opacity: .3; cursor: default; }
.sim-stepper b { min-width: 16px; color: #eceadf; }
.sim-tiers { margin: 12px 2px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.sim-tier {
  border: 1px solid #3a3a48; color: #6a6a75; border-radius: 999px; padding: 4px 12px;
  font-size: 11.5px; transition: color .2s, border-color .2s, background .2s;
}
.sim-tier.on { border-color: var(--sim-vio); color: #cfc9ff; background: rgba(106, 102, 196, 0.12); }
.sim-tier.on b { color: #a9a5ff; }

/* ---------- DÉCO ---------- */
.sim-chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-deco-chip {
  background: #14141c; border: 1px solid #3a3a48; border-radius: 999px; color: var(--sim-txt);
  padding: 9px 14px; cursor: pointer; font-family: inherit; font-size: 12.5px; transition: border-color .15s;
}
.sim-deco-chip.on { border-color: var(--sim-vio); color: #cfc9ff; background: rgba(106, 102, 196, 0.10); }
.sim-deco-chip em { font-style: normal; color: var(--sim-mut); font-size: 11px; }

/* ---------- LOGISTIQUE ---------- */
.sim-logi { display: flex; flex-direction: column; gap: 14px; }
.sim-logi-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sim-logi-label { color: var(--sim-mut); font-size: 13px; min-width: 190px; }
.sim-logi-row b { color: #eceadf; }
.sim-logi-row em { font-style: normal; color: var(--sim-vio); font-size: 12px; }
.sim-toggle {
  width: 46px; height: 24px; border-radius: 999px; border: 1px solid #3a3a48; background: #14141c; position: relative; cursor: pointer;
}
.sim-toggle span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #4a4a58; transition: left .15s, background .15s; }
.sim-toggle[aria-pressed="true"] { border-color: var(--sim-gold); }
.sim-toggle[aria-pressed="true"] span { left: 24px; background: var(--sim-gold); }

/* ---------- PLAN CENITAL ---------- */
.sim-plan-box {
  position: relative; border: 1px solid var(--sim-gold-soft); border-radius: 12px; aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, #101018 0 16px, #12121b 16px 32px),
    #0d0d14;
  overflow: hidden;
}
.sim-plan-box.mini { aspect-ratio: auto; height: 110px; margin: 10px 0; }
.sim-plan-mini { display: none; position: relative; overflow: hidden; }   /* solo existen en la piel móvil */
.sim-plan-mini[hidden] { display: none !important; }
.sim-plan-mini .sim-ficha { animation: none; }
.sim-ficha {
  position: absolute; border-radius: 50%; border: 2px solid var(--sim-gold);
  background: radial-gradient(circle at 35% 30%, rgba(201,169,106,.32), rgba(201,169,106,.08));
  color: #e8d9b0; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px -8px rgba(201, 169, 106, 0.55); font-size: 15px;
  animation: simDeal .4s cubic-bezier(.2, .9, .3, 1.3) both; cursor: default;
}
.sim-ficha.deco { border-style: dashed; border-color: var(--sim-vio); color: #cfc9ff; background: rgba(106, 102, 196, 0.10); box-shadow: none; }
.sim-ficha .qty {
  position: absolute; top: -7px; right: -7px; background: var(--sim-gold); color: #0a0a0f;
  border-radius: 999px; font-size: 10px; font-weight: 700; padding: 1px 5px; font-family: 'Jost', sans-serif;
  box-shadow: 0 2px 8px -2px #000c;
}
.sim-ficha .tip {
  position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 115px; white-space: normal; line-height: 1.15; text-align: center;
  font-size: 8.5px; color: var(--sim-mut); font-family: 'Jost', sans-serif;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@keyframes simDeal { from { transform: scale(.2) rotate(-45deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.sim-plan-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #55555f; font-size: 12px; text-align: center; padding: 0 20px; }

/* ---------- PANEL ---------- */
.sim-panel { position: sticky; top: 96px; background: #101018; border: 1px solid var(--sim-gold-soft); border-radius: 16px; padding: 20px; }
.sim-panel-title { color: var(--sim-gold); text-align: center; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.sim-panel-lines { margin: 14px 0; font-size: 12px; color: var(--sim-mut); display: flex; flex-direction: column; gap: 5px; }
.sim-panel-lines div { display: flex; justify-content: space-between; gap: 8px; }
.sim-panel-lines b { color: var(--sim-txt); font-weight: 500; text-align: right; }
.sim-panel-total { border-top: 1px solid var(--sim-line); padding-top: 12px; text-align: center; }
.sim-panel-total b { display: block; color: var(--sim-gold); font-size: 28px; font-family: 'Cormorant Garamond', serif; }
.sim-panel-total span { color: #6a6a75; font-size: 11px; }
.sim-panel-cta { width: 100%; margin-top: 14px; }
.sim-total-flash { animation: simFlash .5s ease; }
@keyframes simFlash { 0% { color: #fff; text-shadow: 0 0 18px rgba(201,169,106,.8); } 100% { text-shadow: none; } }

/* ---------- RÉCAP ---------- */
.sim-recap { display: flex; gap: 22px; flex-wrap: wrap; }
.sim-plan-big { flex: 1 1 260px; }
.sim-plan-big .sim-plan-box { height: 100%; }
.sim-recap-right { flex: 1.2 1 300px; display: flex; flex-direction: column; gap: 12px; }
#simRecapLines { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
#simRecapLines details { border-bottom: 1px dashed #22222c; padding: 6px 2px; }
#simRecapLines summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; color: var(--sim-txt); list-style: none; }
#simRecapLines summary::-webkit-details-marker { display: none; }
#simRecapLines summary::after { content: '?'; color: var(--sim-vio); font-size: 11px; border: 1px solid var(--sim-vio); border-radius: 50%; width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
#simRecapLines details[open] summary::after { content: '–'; }
#simRecapLines .why { color: var(--sim-mut); font-size: 11.5px; padding: 6px 2px 2px; }
.sim-promo { display: flex; align-items: center; gap: 10px; }
.sim-promo input { max-width: 180px; text-transform: uppercase; }
.sim-promo em { font-style: normal; color: #6a6a75; font-size: 10.5px; }
.sim-total { text-align: right; }
.sim-total-ht { color: var(--sim-gold); font-size: 30px; font-family: 'Cormorant Garamond', serif; }
.sim-total-ttc { color: var(--sim-mut); font-size: 12px; }
.sim-total-note { color: #6a6a75; font-size: 11px; margin-top: 4px; }
.sim-submit { width: 100%; }
.sim-submit-msg { color: #e0a05a; font-size: 12px; margin: 6px 0 0; text-align: center; }
.sim-linkbtn { background: none; border: none; color: var(--sim-vio); cursor: pointer; font-family: inherit; font-size: 12px; text-decoration: none; }
.sim-linkbtn:hover { text-decoration: underline; }
.sim-share-row { text-align: center; }

/* ---------- RGPD ---------- */
.sim-rgpd { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--sim-mut); margin-top: 4px; }
.sim-rgpd input { accent-color: var(--sim-gold); margin-top: 2px; }
.sim-rgpd a { color: var(--sim-vio); }
.sim-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- BARRA MÓVIL / STEPPER ---------- */
.sim-bar { display: none; }
.sim-dots { display: flex; gap: 8px; justify-content: center; padding: 10px 0 6px; }
.sim-dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid #55555f; background: transparent; cursor: pointer; padding: 0;
}
.sim-dots button.on { background: var(--sim-gold); border-color: var(--sim-gold); }
.sim-dots button.done { border-color: var(--sim-gold); }
.sim-bar-row { display: flex; align-items: center; gap: 10px; padding: 0 14px 12px; }
.sim-back { background: none; border: 1px solid #3a3a48; color: var(--sim-txt); border-radius: 999px; width: 38px; height: 38px; font-size: 16px; cursor: pointer; flex: none; }
.sim-bar-row b { flex: 1; text-align: center; color: var(--sim-gold); font-family: 'Cormorant Garamond', serif; font-size: 20px; }
.sim-next { padding: 12px 22px; flex: none; }

/* ---------- WHATSAPP FLOTANTE — V2 medianoche + oro, esquina INFERIOR DERECHA
   (el FAB verde del footer se oculta: este botón lo sustituye en /simulateur) ---------- */
body.sim-page #whatsappBtn { display: none !important; }
.sim-wa {
  position: fixed; right: 16px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px;
  background: rgba(20, 20, 28, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 106, 0.45); border-radius: 999px; padding: 9px 16px 9px 13px;
  color: #d4d3d8; text-decoration: none; font-size: 12.5px; box-shadow: 0 10px 30px -12px #000d;
  transition: border-color .18s ease, transform .18s ease;
}
.sim-wa:hover { border-color: rgba(201, 169, 106, 0.85); transform: translateY(-2px); }
.sim-wa span { font-size: 17px; color: var(--sim-gold); }
.sim-wa em { font-style: normal; line-height: 1.2; }
.sim-wa em::after { content: 'réponse rapide'; display: block; font-size: 9px; color: #8a8a94; letter-spacing: .04em; }
.sim-wa[data-lang="en"] em::after { content: 'quick reply'; }

/* Ráfaga de palos al activar un palier de descuento */
.sim-burst-piece {
  position: fixed; z-index: 95; pointer-events: none; font-size: 14px;
  animation: simBurst 1.4s cubic-bezier(.15, .6, .35, 1) forwards;
}
@keyframes simBurst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* ---------- PUERTA INTELIGENTE (F2) ---------- */
#simDoor { display: flex; justify-content: center; padding: 110px 20px 90px; }
#simDoor[hidden] { display: none; }
.sim-door-card {
  max-width: 480px; width: 100%; text-align: center; background: linear-gradient(160deg, #121219, #0e0e15);
  border: 1px solid var(--sim-gold-soft); border-radius: 18px; padding: 38px 28px;
}
.sim-door-logo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.sim-door-card h2 { color: #eceadf; font-size: 24px; margin: 0 0 8px; font-family: 'Cormorant Garamond', Georgia, serif; }
.sim-door-card p { color: var(--sim-mut); font-size: 13px; line-height: 1.55; margin: 0 0 18px; }
.sim-door-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ---------- ÉXITO ---------- */
#simSuccess[hidden] { display: none !important; }
#simSuccess { padding: 70px 20px 90px; display: flex; justify-content: center; }
.sim-success-card {
  max-width: 460px; width: 100%; text-align: center; background: linear-gradient(160deg, #121219, #0e0e15);
  border: 1px solid var(--sim-gold-soft); border-radius: 18px; padding: 34px 26px;
}
.sim-success-check {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid var(--sim-gold);
  color: var(--sim-gold); font-size: 26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 34px -8px rgba(201, 169, 106, 0.6); animation: simDeal .5s ease both;
}
.sim-success-card h2 { color: #eceadf; margin: 0 0 4px; font-size: 24px; }
.sim-success-ref { color: var(--sim-gold); letter-spacing: .2em; margin: 0 0 10px; font-size: 16px; }
.sim-success-txt { color: var(--sim-mut); font-size: 13px; line-height: 1.55; }
.sim-success-mail { display: inline-block; margin: 12px 0 4px; border: 1px solid rgba(47, 107, 79, 0.5); background: #14231b; color: #6fce9d; font-size: 12px; border-radius: 999px; padding: 5px 12px; }
.sim-success-btns { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; align-items: center; }
.btn-wa { background: #25d366; color: #06281a; font-weight: 700; text-decoration: none; border-radius: 999px; padding: 13px 24px; font-size: 13px; letter-spacing: .04em; }

/* ---------- DEGRADACIÓN ---------- */
#simDegraded { display: flex; justify-content: center; padding: 90px 20px; }
.sim-degraded-card { max-width: 440px; text-align: center; border: 1px solid var(--sim-line); border-radius: 16px; padding: 36px 26px; background: #101018; }
.sim-degraded-card h2 { color: #eceadf; font-size: 22px; }
.sim-degraded-card p { color: var(--sim-mut); font-size: 13px; }
#simDegraded[hidden] { display: none; }

/* ---------- MÓVIL: PIEL STEPPER ---------- */
@media (max-width: 900px) {
  .sim-wrap { grid-template-columns: 1fr; padding-bottom: 140px; }
  .sim-panel { display: none; }
  .sim-block { display: none; }
  .sim-block.sim-step-on { display: block; animation: simStep .28s ease both; }
  @keyframes simStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .sim-plan-mini { display: none; position: relative; overflow: hidden; }
  /* F2: los minis usan el MISMO estilo del plan del paso 6 (rejilla + insignias ×N legibles) */
  .sim-step-on .sim-plan-mini { display: block; position: relative; height: 190px; margin: 10px 0 0; border: 1px dashed var(--sim-gold-soft); border-radius: 10px; background: repeating-linear-gradient(45deg, #101018 0 12px, #12121b 12px 24px); }
  .sim-plan-mini .sim-ficha .tip { max-width: 80px; }
  .sim-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(16, 16, 24, 0.97); border-top: 1px solid var(--sim-gold-soft); backdrop-filter: blur(10px); }
  .sim-wa { bottom: 96px; right: 12px; padding: 8px 11px; font-size: 11px; }
  #simSuccess { padding-bottom: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  .sim-page * { animation: none !important; transition: none !important; }
}
