html, body { width:100%; max-width:100%; overflow-x:hidden !important; }
*{ box-sizing:border-box; }
#hedilla-ct-root{ width:100%; max-width:100%; overflow:hidden; }

:root{
  --bg:#f4f1ed; --card:#ffffff; --text:#111114; --muted:#6b6b75; --line:#e7e0d9;
  --brand:#6a1f26; --brand2:#8a2c34; --gold:#d6a23a;
  --shadow: 0 18px 60px rgba(25, 18, 20, .12);
  --radius:18px;
}

.hedilla-ct{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(900px 540px at 18% 0%, rgba(106,31,38,.10), transparent 58%),
    radial-gradient(900px 540px at 82% 0%, rgba(214,162,58,.12), transparent 56%),
    var(--bg);
  color:var(--text);
  padding:24px 16px;
}

.hedilla-wrap{ width:min(980px,100%); margin:0 auto; max-width:100%; }

.hedilla-topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom:14px; flex-wrap:wrap; max-width:100%;
}
.hedilla-chip{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius:999px;
  overflow:hidden;
}
.hedilla-logo{
  width:34px;height:34px;border-radius:10px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  display:grid;place-items:center;
  box-shadow: 0 10px 20px rgba(106,31,38,.18);
  flex:0 0 auto;
}
.hedilla-logo span{ color: var(--gold); font-weight:1000; }
.hedilla-brand b{ display:block; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hedilla-brand small{ display:block; font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.hedilla-progress{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius:999px; color:var(--muted); font-size:12px;
}
.hedilla-bar{ width:180px; height:8px; border-radius:999px; background:#efe7df; overflow:hidden; border:1px solid rgba(231,224,217,.9); }
.hedilla-bar i{ display:block; height:100%; width:20%; background: linear-gradient(90deg, var(--gold), #f2cf7d); border-radius:999px; }
@media (max-width:720px){ .hedilla-bar{ display:none; } }

.hedilla-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  overflow:hidden;
}
.hedilla-card h1{ margin:0 0 6px; font-size: clamp(22px, 3.2vw, 34px); letter-spacing:-0.02em; }
.hedilla-sub{ margin:0 0 16px; color:var(--muted); font-size:14px; line-height:1.25rem; }

.hedilla-step{ display:none; }
.hedilla-step.active{ display:block; }

.hedilla-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; width:100%; }
@media (max-width:720px){ .hedilla-grid2{ grid-template-columns:1fr; } }

.hedilla-choice{
  display:grid;
  grid-template-columns: 64px 1fr;
  gap:14px;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,247,244,.92));
  cursor:pointer;
  min-height:112px;
  align-items:center;
  width:100%;
}
.hedilla-choice.selected{ border-color: rgba(106,31,38,.45); }
.hedilla-icon{
  width:58px;height:58px;border-radius:18px;
  background: rgba(106,31,38,.06);
  border:1px solid rgba(106,31,38,.16);
  display:grid; place-items:center;
}
.hedilla-choice-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hedilla-pill{
  font-size:11px; color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  padding:6px 10px; border-radius:999px; font-weight:1000;
}
.hedilla-choice-title{ font-size:18px; font-weight:1000; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hedilla-choice-desc{ margin:0; color:var(--muted); font-size:13px; line-height:1.25rem; }

.hedilla-actions{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
  flex-wrap:wrap;
}
.hedilla-note{ font-size:12px; color:var(--muted); line-height:1.2rem; max-width:560px; }
.hedilla-btns{ display:flex; gap:10px; flex-wrap:wrap; }

.hedilla-btn{
  border:1px solid var(--line);
  background:#fff;
  padding:12px 14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:900;
  font-size:13px;
}
.hedilla-btn.primary{
  border:none;
  color:#2a1a08;
  background: linear-gradient(135deg, var(--gold), #f0cb78);
  box-shadow: 0 14px 26px rgba(214,162,58,.22);
}
.hedilla-btn.secondary{
  border:1px solid rgba(106,31,38,.28);
  background: rgba(106,31,38,.06);
  color: var(--brand);
}
.hedilla-btn[disabled]{ opacity:.5; cursor:not-allowed; }

.hedilla-tag{
  display:inline-flex; align-items:center;
  padding:8px 10px; border-radius:999px;
  background: rgba(106,31,38,.06);
  border:1px solid rgba(106,31,38,.16);
  font-size:12px; color: rgba(106,31,38,.98);
  font-weight:1000;
  margin-top:2px;
  max-width:100%;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.hedilla-form{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
@media (max-width:720px){ .hedilla-form{ grid-template-columns:1fr; } }
.hedilla-row{ display:grid; gap:6px; }
.hedilla-row label{ font-size:13px; font-weight:1000; }
.hedilla-row select, .hedilla-row input{
  width:100%; padding:12px 12px; border-radius:14px; border:1px solid #e2d9d0; font-size:14px; background:#fff;
}
.hedilla-helpbar{ display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:20px; }
.hedilla-hint{ font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hedilla-more{
  border:1px solid rgba(106,31,38,.28);
  background: rgba(106,31,38,.06);
  color: var(--brand);
  font-weight:1000;
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
}

.hedilla-panel{
  border:1px solid rgba(231,224,217,.95);
  background: linear-gradient(180deg, rgba(250,247,244,.86), rgba(255,255,255,.98));
  border-radius:18px;
  padding:14px;
  margin-top:12px;
}
.hedilla-big{ font-size: clamp(30px, 5.4vw, 48px); font-weight:1200; letter-spacing:-0.03em; margin-top:6px; }
.hedilla-range{ font-size:14px; color:#5f5f69; margin-top:6px; font-weight:1000; }
.hedilla-chips{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.hedilla-chipmini{
  border-radius:999px; padding:8px 10px;
  border:1px solid rgba(106,31,38,.18);
  background: rgba(106,31,38,.06);
  color: rgba(106,31,38,.98);
  font-size:12px; font-weight:1100;
}
.hedilla-lines{ display:grid; gap:8px; margin-top:10px; }
.hedilla-line{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:12px 12px; border-radius:14px;
  border:1px solid rgba(231,224,217,.95);
  background: rgba(255,255,255,.95);
  font-size:13px;
}
.hedilla-line .k{ color:#5d5d68; font-weight:1000; }
.hedilla-line .v{ font-weight:1200; }

.hedilla-2col{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:10px; }
@media (max-width:720px){ .hedilla-2col{ grid-template-columns:1fr; } }
.hedilla-box{
  border:1px solid rgba(231,224,217,.95);
  background: rgba(255,255,255,.92);
  border-radius:16px;
  padding:12px;
}
.hedilla-box b{ display:block; font-size:13px; font-weight:1200; }
.hedilla-box span{ display:block; margin-top:6px; font-size:12px; color:var(--muted); line-height:1.25rem; }

.hedilla-steps{ display:grid; gap:10px; margin-top:10px; }
.hedilla-stepitem{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(231,224,217,.95);
  background: rgba(255,255,255,.95);
}
.hedilla-tick{
  width:22px;height:22px;border-radius:7px;
  background: rgba(26,127,73,.10);
  border:1px solid rgba(26,127,73,.22);
  display:grid;place-items:center;
  color: rgba(26,127,73,.98);
  font-weight:1200;
  margin-top:1px;
}
.hedilla-stepitem b{ font-size:13px; font-weight:1200; }
.hedilla-stepitem span{ display:block; font-size:12px; color:var(--muted); margin-top:2px; }

.hedilla-legal{ font-size:12px; color:var(--muted); line-height:1.25rem; margin-top:10px; }

/* Modal */
.hedilla-modal-overlay{
  position:fixed; inset:0; background: rgba(17,17,20,.55);
  display:none; align-items:flex-end; justify-content:center; padding:16px; z-index:99999;
}
.hedilla-modal-overlay.show{ display:flex; }
.hedilla-modal{
  width:min(720px,100%); background:#fff; border:1px solid rgba(231,224,217,.95);
  border-radius:20px; overflow:hidden; box-shadow: 0 22px 70px rgba(0,0,0,.25);
}
.hedilla-modal-head{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:14px 16px;
  background: linear-gradient(135deg, rgba(106,31,38,.08), rgba(214,162,58,.10));
  border-bottom:1px solid rgba(231,224,217,.95);
}
.hedilla-modal-head b{ font-size:14px; font-weight:1100; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hedilla-close{
  border:none; background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff; font-weight:1100; padding:10px 12px; border-radius:12px; cursor:pointer;
}
.hedilla-modal-body{ padding:14px 16px 16px; font-size:13px; line-height:1.35rem; }
.hedilla-modal-body .inner{ border:1px solid rgba(231,224,217,.95); background: rgba(250,247,244,.85); border-radius:16px; padding:12px; }

