:root{
  --bg:#f6f4ef;
  --paper:#ffffff;
  --ink:#151515;
  --muted:#6d6a63;
  --soft:#e8e3da;
  --line:#ded8cf;
  --dark:#151515;
  --dark-2:#272727;
  --accent:#bba37a;
  --accent-soft:#efe7d9;
  --success:#406a54;
  --radius-xl:28px;
  --radius-lg:22px;
  --radius-md:16px;
  --shadow:0 24px 80px rgba(23,20,16,.11);
  --shadow-soft:0 10px 30px rgba(23,20,16,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at top left,rgba(187,163,122,.20),transparent 28rem),
    radial-gradient(circle at top right,rgba(21,21,21,.05),transparent 30rem),
    var(--bg);
  color:var(--ink);
}
button,input,select,textarea{font:inherit}
a{color:inherit;text-decoration:none}
.page-shell{max-width:1480px;margin:0 auto;padding:24px}
.site-header{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 8px;
}
.brand-logo{display:block;height:28px;width:auto}
.back-link{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:0 16px;
  background:rgba(255,255,255,.55);
  color:var(--muted);
  font-size:14px;
  transition:.2s ease;
}
.back-link:hover{background:#fff;color:var(--ink);transform:translateY(-1px)}
.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) 430px;
  gap:32px;
  align-items:stretch;
  padding:74px 56px 54px;
  min-height:520px;
  border:1px solid rgba(222,216,207,.8);
  border-radius:var(--radius-xl);
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,255,255,.70)),
    linear-gradient(135deg,rgba(187,163,122,.12),transparent);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  inset:auto -10% -34% 36%;
  height:420px;
  background:radial-gradient(circle,rgba(187,163,122,.18),transparent 60%);
}
.hero-copy{position:relative;z-index:1;align-self:center;max-width:760px}
.kicker{
  margin:0 0 14px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
}
.hero h1{
  max-width:820px;
  margin:0;
  font-size:clamp(48px,7vw,92px);
  line-height:.92;
  letter-spacing:-.07em;
  font-weight:800;
}
.hero-text{
  max-width:620px;
  margin:26px 0 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.button{
  border:0;
  border-radius:999px;
  min-height:50px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:750;
  cursor:pointer;
  transition:.2s ease;
  white-space:nowrap;
}
.button.primary{background:var(--dark);color:#fff;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.button.primary:hover{background:#000;transform:translateY(-1px)}
.button.ghost,.button.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}
.button.ghost:hover,.button.secondary:hover{border-color:#cfc7bc;transform:translateY(-1px)}
.button.full{width:100%;margin-top:12px}
.hero-panel{
  position:relative;
  z-index:1;
  align-self:center;
  min-height:350px;
  border:1px solid var(--line);
  border-radius:30px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(18px);
  box-shadow:var(--shadow-soft);
  padding:28px;
}
.panel-topline{height:10px;width:72px;border-radius:999px;background:var(--dark);margin-bottom:44px}
.mini-label{font-size:13px;color:var(--muted);font-weight:650}
.mini-price{font-size:46px;font-weight:800;letter-spacing:-.06em;margin:8px 0 24px}
.mini-bars{display:grid;gap:8px;margin-bottom:28px}
.mini-bars span{height:8px;border-radius:999px;background:var(--accent-soft)}
.mini-bars span:nth-child(1){width:85%}
.mini-bars span:nth-child(2){width:66%}
.mini-bars span:nth-child(3){width:74%}
.mini-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
  border-top:1px solid var(--line);
  font-size:14px;
}
.mini-row span{color:var(--muted)}
.steps-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin:24px 0;
}
.steps-strip div{
  background:rgba(255,255,255,.75);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px;
}
.steps-strip span{display:block;color:var(--accent);font-size:12px;font-weight:800;margin-bottom:7px}
.steps-strip strong{font-size:14px}
.builder-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:24px;
  align-items:start;
}
.builder-main{display:grid;gap:24px}
.builder-section{
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  padding:30px;
  box-shadow:0 12px 40px rgba(23,20,16,.04);
}
.section-heading{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:22px;
}
.section-heading h2{font-size:32px;letter-spacing:-.04em;line-height:1;margin:0}
.section-heading p:not(.kicker){max-width:720px;margin:0;color:var(--muted);line-height:1.6}
.package-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.package-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:245px;
  text-align:left;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  padding:22px;
  cursor:pointer;
  transition:.22s ease;
  overflow:hidden;
}
.package-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft)}
.package-card.is-selected{border-color:var(--dark);box-shadow:0 0 0 2px var(--dark),var(--shadow-soft)}
.card-badge{
  align-self:flex-start;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  color:var(--muted);
  margin-bottom:28px;
}
.package-card h3{font-size:26px;line-height:1;letter-spacing:-.04em;margin:0 0 12px}
.package-card p{color:var(--muted);line-height:1.55;margin:0 0 18px}
.package-card .price{margin-top:auto;font-size:15px;font-weight:800}
.package-card .includes{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.package-card .includes span{font-size:11px;background:var(--accent-soft);border-radius:999px;padding:6px 8px;color:#6a5738}
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.filter-chip{
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  cursor:pointer;
  color:var(--muted);
  font-weight:700;
  transition:.18s ease;
}
.filter-chip.is-active{background:var(--dark);border-color:var(--dark);color:#fff}
.addon-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.addon-card{
  min-height:160px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  padding:18px;
  cursor:pointer;
  transition:.2s ease;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.addon-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(23,20,16,.07)}
.addon-card.is-selected{border-color:var(--dark);box-shadow:0 0 0 2px var(--dark)}
.addon-card .top{display:flex;justify-content:space-between;gap:12px}
.addon-card h4{font-size:17px;letter-spacing:-.02em;margin:0}
.addon-card p{font-size:13px;color:var(--muted);line-height:1.45;margin:10px 0 16px}
.addon-card .price{font-weight:800;font-size:14px}
.addon-check{
  width:24px;height:24px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:14px;flex:0 0 auto;
}
.addon-card.is-selected .addon-check{background:var(--dark);color:#fff;border-color:var(--dark)}
.details-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.details-grid label{
  display:grid;
  gap:8px;
  font-size:13px;
  font-weight:800;
  color:var(--dark);
}
.details-grid label.wide{grid-column:1/-1}
input,select,textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:15px 15px;
  color:var(--ink);
  outline:none;
  transition:.18s ease;
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{border-color:var(--dark);box-shadow:0 0 0 3px rgba(21,21,21,.08)}
.summary-panel{position:sticky;top:20px}
.summary-card{
  background:var(--dark);
  color:#fff;
  border-radius:var(--radius-xl);
  padding:28px;
  box-shadow:var(--shadow);
}
.summary-card .kicker{color:#cbb58c}
.summary-card h2{font-size:24px;letter-spacing:-.04em;margin:0 0 10px}
.estimate-range{
  font-size:42px;
  font-weight:850;
  letter-spacing:-.06em;
  line-height:1;
  margin:8px 0 14px;
}
.summary-disclaimer{color:rgba(255,255,255,.66);line-height:1.55;font-size:13px}
.summary-divider{height:1px;background:rgba(255,255,255,.12);margin:22px 0}
.summary-lines{display:grid;gap:14px}
.summary-lines div{display:flex;justify-content:space-between;gap:18px}
.summary-lines span{color:rgba(255,255,255,.58);font-size:13px}
.summary-lines strong{text-align:right;font-size:13px}
.summary-card h3{margin:0 0 12px;font-size:14px;letter-spacing:.02em}
.selected-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.selected-list li{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.10);
  font-size:13px;
}
.selected-list span{color:rgba(255,255,255,.67)}
.recommendation{
  margin:20px 0 8px;
  padding:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.5;
}
.site-footer{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:34px 8px 12px;
  color:var(--muted);
  font-size:13px;
}
.print-document{display:none}

@media(max-width:1120px){
  .hero{grid-template-columns:1fr;padding:52px 34px}
  .hero-panel{max-width:520px}
  .builder-layout{grid-template-columns:1fr}
  .summary-panel{position:static}
}
@media(max-width:780px){
  .page-shell{padding:14px}
  .site-header{height:auto;gap:18px;align-items:flex-start}
  .brand-logo{height:24px}
  .hero{padding:38px 24px;border-radius:24px}
  .hero h1{font-size:46px}
  .hero-text{font-size:16px}
  .steps-strip,.package-grid,.addon-grid,.details-grid{grid-template-columns:1fr}
  .builder-section{padding:22px;border-radius:24px}
  .section-heading h2{font-size:28px}
  .summary-card{padding:24px}
  .site-footer{flex-direction:column}
}
@media print{
  body{background:#fff;color:#111}
  .page-shell{display:none}
  .print-document{display:block;padding:28mm;font-family:Inter,Arial,sans-serif}
  .print-document header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #ddd;padding-bottom:18px;margin-bottom:22px}
  .print-document img{height:24px}
  .print-document h1{margin:0;font-size:26px}
  .print-section{margin:20px 0}
  .print-section h2{font-size:14px;text-transform:uppercase;letter-spacing:.12em;color:#777}
  .print-row{display:flex;justify-content:space-between;border-top:1px solid #eee;padding:10px 0}
  .print-note{color:#666;line-height:1.5}
}


/* v2 refinements */
.hero-compact{
  grid-template-columns:1fr;
  min-height:auto;
  padding:42px 48px;
}
.hero-compact .hero-copy{
  max-width:820px;
}
.hero-compact h1{
  font-size:clamp(40px,5vw,66px);
  line-height:.95;
  letter-spacing:-.055em;
}
.hero-compact .hero-text{
  max-width:680px;
  margin-top:16px;
}
.summary-lines.compact{
  gap:10px;
}
.summary-notes{
  margin:14px 0 0;
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.5;
}
.client-summary{
  margin-bottom:18px;
}
@media(max-width:780px){
  .hero-compact{padding:30px 22px}
  .hero-compact h1{font-size:38px}
}


/* v3 typography and price psychology refinements */
.hero-compact h1{
  font-weight:560;
  letter-spacing:-0.045em;
  line-height:1.02;
  max-width:860px;
}

.hero-compact .hero-text{
  font-weight:400;
  color:rgba(20,20,20,.68);
}

.kicker{
  font-weight:600;
  letter-spacing:.08em;
}

.summary-card h2,
.summary h2{
  font-weight:560;
  letter-spacing:-0.025em;
}

.estimate-price,
#estimateRange,
#estimate,
.total,
.price{
  font-weight:520 !important;
  letter-spacing:-0.035em !important;
}

.estimate-price{
  margin-top:10px;
}

.summary-card .estimate-price span,
.summary-card #estimateRange,
.summary-card #estimate{
  font-size:clamp(34px,4.2vw,52px) !important;
  line-height:1.02 !important;
}

.package-card strong,
.package-price,
.card-price,
.addon-price{
  font-weight:520 !important;
}

.package-card h3,
.addon-card h4{
  font-weight:560;
}

.summary-lines strong,
.summary-item strong{
  font-weight:520;
}

.button{
  font-weight:560;
}

/* Make pricing feel less absolute and less visually aggressive */
.price-note,
.summary-card p,
.summary-notes{
  color:rgba(255,255,255,.66);
}

@media(max-width:780px){
  .hero-compact h1{
    font-size:36px;
    letter-spacing:-0.035em;
  }
  .summary-card .estimate-price span,
  .summary-card #estimateRange,
  .summary-card #estimate{
    font-size:38px !important;
  }
}


/* v4 initial empty estimate state */
.estimate-range.is-empty{
  font-size:clamp(24px,3vw,36px) !important;
  font-weight:500 !important;
  letter-spacing:-0.025em !important;
  color:rgba(255,255,255,.62);
}


/* v5: initial estimate is zero, with no selections active */
.estimate-range.is-empty{
  color:rgba(255,255,255,.72);
}
