:root {
  --ink: #201a13;
  --muted: #75695a;
  --paper: #fbf8f1;
  --cream: #f3eadb;
  --card: #fffdf9;
  --gold: #bd8734;
  --gold-dark: #7d5019;
  --line: #e7dcc9;
  --sage: #466052;
  --danger: #a23f37;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans), sans-serif; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; position: relative; overflow: hidden; }
.app-shell::before, .app-shell::after { content: ""; position: fixed; border-radius: 999px; filter: blur(3px); pointer-events: none; z-index: 0; }
.app-shell::before { width: 22rem; height: 22rem; background: #ead6ad; opacity: .4; top: -11rem; right: -9rem; }
.app-shell::after { width: 18rem; height: 18rem; background: #d9e0d7; opacity: .45; left: -10rem; bottom: -9rem; }

.topbar { width: min(1120px, calc(100% - 32px)); margin: 0 auto; height: 78px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover .brand-name, .brand-link:focus-visible .brand-name { color: var(--bronze); }
.sunmark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d5ad6f; border-radius: 50%; color: var(--gold-dark); background: rgba(255,253,249,.8); font-size: 18px; }
.brand-name { font-family: var(--font-serif), serif; font-weight: 600; font-size: 18px; line-height: 1; }
.brand-place { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; margin-top: 5px; }
.private-note { font-size: 12px; color: var(--sage); background: #edf2ed; border: 1px solid #d7e2d8; border-radius: 99px; padding: 7px 11px; }

.layout { width: min(1120px, calc(100% - 32px)); margin: 16px auto 64px; display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 650px); justify-content: space-between; gap: 64px; position: relative; z-index: 1; }
.intro { padding: 40px 0; align-self: start; position: sticky; top: 12px; }
.eyebrow { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; }
h1 { margin: 15px 0 16px; font-family: var(--font-serif), serif; font-size: clamp(44px, 5vw, 68px); font-weight: 500; line-height: .98; letter-spacing: -.035em; }
.intro-copy { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 34ch; }
.service-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 13px; font-size: 13px; color: #4f473d; }
.service-points li { display: flex; align-items: center; gap: 10px; }
.service-points span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cream); color: var(--gold-dark); }

.form-card { background: rgba(255,253,249,.95); border: 1px solid rgba(222,208,184,.85); box-shadow: 0 24px 70px rgba(66,47,23,.1); border-radius: 28px; overflow: hidden; }
.progress-wrap { padding: 22px 26px 0; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.progress-track { height: 4px; background: var(--cream); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); transition: width .3s ease; }
.step-panel { padding: 32px 34px 34px; animation: rise .3s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } }
.step-kicker { color: var(--gold-dark); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: .14em; margin-bottom: 9px; }
.step-title { font: 500 30px/1.15 var(--font-serif), serif; margin: 0 0 8px; }
.step-copy { color: var(--muted); line-height: 1.55; font-size: 14px; margin: 0 0 26px; }
.section-label { display: block; margin: 24px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.optional { color: #958879; font-weight: 400; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice, .shade-choice, .pill { appearance: none; border: 1px solid var(--line); background: #fffdfa; color: var(--ink); cursor: pointer; transition: .18s ease; }
.choice { min-height: 76px; border-radius: 14px; padding: 13px; display: flex; gap: 12px; text-align: left; align-items: center; }
.choice:hover, .choice.selected, .shade-choice:hover, .shade-choice.selected, .pill:hover, .pill.selected { border-color: var(--gold); background: #fcf6eb; }
.choice.selected, .shade-choice.selected, .pill.selected { box-shadow: inset 0 0 0 1px var(--gold); }
.skin-dot { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; border: 1px solid rgba(50,30,10,.1); }
.choice strong { display: block; font-size: 13px; }
.choice small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border-radius: 999px; padding: 9px 13px; font-size: 12px; }
.shade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.shade-choice { border-radius: 14px; padding: 11px 5px; min-height: 92px; text-align: center; font-size: 11px; }
.shade-swatch { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(40,20,5,.1); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); padding: 12px 13px; outline: none; min-height: 46px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(189,135,52,.12); }
.field textarea { min-height: 84px; resize: vertical; }
.upload { border: 1px dashed #d4b37d; background: #fdf8ef; border-radius: 14px; padding: 16px; display: flex; gap: 13px; align-items: center; cursor: pointer; }
.upload-icon { width: 38px; height: 38px; display: grid; place-items: center; background: #f2e5d0; border-radius: 50%; color: var(--gold-dark); }
.upload strong { font-size: 13px; display: block; }
.upload small { color: var(--muted); font-size: 11px; }
.photo-preview { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; margin-left: auto; }
.remove-photo { margin: 8px 0 0; padding: 0; border: 0; background: transparent; color: var(--danger); font-size: 11px; text-decoration: underline; cursor: pointer; }
.comparison-card { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #f7f0e4; }
.comparison-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.comparison-heading strong, .comparison-heading small { display: block; }
.comparison-heading strong { font: 600 16px var(--font-serif), serif; }
.comparison-heading small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.comparison-heading > span { color: var(--gold-dark); background: #fff8eb; border: 1px solid #e6cfaa; border-radius: 999px; padding: 5px 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.comparison-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 11px; background: #e9ddca; }
.comparison-grid canvas { display: block; width: 100%; aspect-ratio: 1; }
.comparison-grid figcaption { position: absolute; left: 8px; bottom: 8px; color: white; background: rgba(32,26,19,.74); backdrop-filter: blur(4px); border-radius: 999px; padding: 5px 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.comparison-card > p { color: var(--muted); font-size: 10px; line-height: 1.5; margin: 10px 2px 0; }
.preview-status { color: var(--sage); font-size: 11px; margin: 10px 2px 0; }

.notice { padding: 14px; border: 1px solid #eadbc1; border-radius: 13px; background: #fcf7ed; color: #665438; font-size: 12px; line-height: 1.55; }
.notice strong { color: var(--ink); }
.check-row { display: flex; gap: 11px; align-items: flex-start; margin-top: 13px; color: #544b41; font-size: 12px; line-height: 1.5; cursor: pointer; }
.check-row input { accent-color: var(--gold-dark); margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.error { color: var(--danger); font-size: 12px; margin: 12px 0 0; }
.actions { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.primary, .secondary { border-radius: 12px; min-height: 48px; padding: 0 20px; cursor: pointer; font-weight: 700; border: 0; }
.primary { background: var(--ink); color: #f3d89d; flex: 1; }
.primary:hover { background: #33291f; }
.primary:disabled { opacity: .6; cursor: wait; }
.secondary { background: transparent; color: var(--muted); border: 1px solid var(--line); }

.review-list { border-top: 1px solid var(--line); }
.review-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.review-row span:first-child { color: var(--muted); }
.success { text-align: center; padding-top: 18px; }
.success-mark { width: 62px; height: 62px; display: grid; place-items: center; background: #e8f0e9; color: var(--sage); border-radius: 50%; margin: 0 auto 16px; font-size: 25px; }
.success .step-copy { margin-left: auto; margin-right: auto; max-width: 42ch; }
.success-actions { display: grid; gap: 10px; margin-top: 24px; }
.whatsapp { background: #285c42; color: white; text-decoration: none; border-radius: 12px; padding: 14px 18px; font-weight: 700; font-size: 14px; }
.delivery { font-size: 11px; color: var(--muted); margin-top: 14px; }
.delivery.warn { color: #8a5e20; }
.next-steps { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; text-align: left; }
.next-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fffdfa; }
.next-steps li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #f1e3c9; color: var(--gold-dark); font-weight: 800; font-size: 12px; }
.next-steps strong { display: block; color: var(--ink); font-size: 13px; }
.next-steps small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.prep-card { margin-top: 28px; padding: 22px; text-align: left; border: 1px solid #eadbc1; border-radius: 17px; background: #fcf7ed; }
.prep-card h3 { margin: 5px 0 6px; font-family: var(--font-serif), serif; font-size: 24px; line-height: 1.15; }
.prep-card > p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.prep-card ul { display: grid; gap: 11px; margin: 18px 0 0; padding: 0; list-style: none; }
.prep-card li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: #4f453a; font-size: 13px; line-height: 1.45; }
.prep-card li > span:first-child { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-dark); color: white; font-size: 12px; font-weight: 800; }
.print-summary { width: 100%; margin-top: 12px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 800px) {
  .topbar { height: 68px; }
  .private-note { display: none; }
  .layout { grid-template-columns: 1fr; gap: 24px; margin-top: 0; }
  .intro { position: static; padding: 10px 2px 2px; }
  .eyebrow { display: none; }
  h1 { font-size: 34px; max-width: none; margin: 4px 0 7px; }
  .intro-copy { font-size: 13px; line-height: 1.45; margin: 0; max-width: 52ch; }
  .service-points { display: none; }
  .form-card { border-radius: 22px; }
}

@media (max-width: 520px) {
  .layout, .topbar { width: min(100% - 22px, 1120px); }
  .brand-name { font-size: 16px; }
  .step-panel { padding: 26px 20px 24px; }
  .progress-wrap { padding: 19px 20px 0; }
  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .shade-grid { grid-template-columns: 1fr 1fr; }
  .actions { align-items: stretch; }
  .review-row { grid-template-columns: 90px 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
