/* ==========================================================================
   Middletown Painting Co. — shared styles
   Brand: Midnight Violet #201335 · Dusty Grape #4F4789 · Ivory #FFFDED
   ========================================================================== */
:root {
  --ink: #201335;
  --ink-2: #2b1c45;
  --grape: #4F4789;
  --grape-2: #6a62a6;
  --lav: #9C95CC;
  --lav-soft: #e7e4f4;
  --ivory: #FFFDED;
  --paper: #F6F3E2;
  --white: #ffffff;
  --text: #201335;
  --muted: #5f5873;
  --line: rgba(32, 19, 53, 0.12);
  --line-strong: rgba(32, 19, 53, 0.22);
  --ok: #2f7d57;
  --warn: #a8641a;
  --err: #b3261e;

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(32, 19, 53, .06), 0 8px 24px rgba(32, 19, 53, .08);
  --shadow-lg: 0 2px 6px rgba(32, 19, 53, .08), 0 24px 60px rgba(32, 19, 53, .18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section[id] { scroll-margin-top: 72px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--ivory); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grape);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.section--ink .eyebrow { color: var(--lav); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section--ink .section-head p { color: rgba(255, 253, 237, .72); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--grape); color: var(--ivory); }
.btn--primary:hover { background: var(--grape-2); box-shadow: 0 8px 20px rgba(79, 71, 137, .35); }
.btn--ivory { background: var(--ivory); color: var(--ink); }
.btn--ivory:hover { background: var(--white); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 253, 237, .35); color: var(--ivory); }
.btn--ghost-light:hover { border-color: var(--ivory); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--ink-2); }
.btn--danger { background: transparent; border-color: rgba(179, 38, 30, .35); color: var(--err); }
.btn--danger:hover { background: rgba(179, 38, 30, .06); border-color: var(--err); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 237, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
         gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: block; }
  .nav-actions .btn--ghost { display: none; }
}
@media (max-width: 420px) { .brand img { height: 32px; } .nav-actions .btn { padding: 10px 16px; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--ivory);
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 10vw, 128px);
}
/* the logo's 45° split, carried into the page */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0 62%, var(--grape) 62% 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(255, 253, 237, .22); color: rgba(255, 253, 237, .85);
}
.tag svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); letter-spacing: -0.035em; font-weight: 800; }
.hero h1 .stroke { position: relative; display: inline-block; color: var(--ivory); z-index: 0; }
.hero h1 .stroke svg { position: absolute; left: -4%; bottom: .02em; width: 108%; height: .42em; z-index: -1; color: var(--grape); }
.hero-lede { margin-top: 26px; max-width: 520px; font-size: clamp(17px, 1.6vw, 19px); color: rgba(255, 253, 237, .78); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 28px; color: rgba(255, 253, 237, .78); font-size: 14px; }
.hero-proof div { display: flex; align-items: center; gap: 10px; }
.hero-proof svg { width: 20px; height: 20px; color: var(--lav); flex-shrink: 0; }

/* hero visual: photo frame or paint-chip fan fallback */
.hero-visual { position: relative; aspect-ratio: 4 / 4.6; max-width: 480px; justify-self: end; width: 100%; }
.hero-photo {
  position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--ivory); transform: rotate(2deg); background: var(--ink-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.chip-fan { position: absolute; inset: 0; }
.chip {
  position: absolute; width: 58%; aspect-ratio: 3 / 4.4; border-radius: 12px; background: var(--white);
  box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column;
  transform-origin: 50% 110%; transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.chip-swatch { flex: 1; border-radius: 6px; }
.chip-meta { padding: 12px 4px 4px; color: var(--ink); }
.chip-meta b { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: -.01em; }
.chip-meta span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chip:nth-child(1) { left: 2%;  top: 12%; transform: rotate(-16deg); }
.chip:nth-child(2) { left: 16%; top: 6%;  transform: rotate(-6deg); }
.chip:nth-child(3) { left: 30%; top: 4%;  transform: rotate(5deg); }
.chip:nth-child(4) { left: 42%; top: 8%;  transform: rotate(15deg); }
.hero-visual:hover .chip:nth-child(1) { transform: rotate(-22deg) translateX(-8px); }
.hero-visual:hover .chip:nth-child(2) { transform: rotate(-9deg); }
.hero-visual:hover .chip:nth-child(3) { transform: rotate(7deg); }
.hero-visual:hover .chip:nth-child(4) { transform: rotate(21deg) translateX(8px); }
.hero-badge {
  position: absolute; left: -6%; bottom: 6%; z-index: 3; background: var(--ivory); color: var(--ink);
  border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
}
.hero-badge img { width: 40px; height: 40px; border-radius: 9px; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 16px; }
.hero-badge span { font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(135deg, transparent 0 78%, var(--grape) 78% 100%); }
  .hero-visual { justify-self: center; max-width: 380px; aspect-ratio: 4 / 4; margin-top: 12px; }
  .hero-badge { left: 0; }
}

/* ---------- trust strip ---------- */
.strip { background: var(--grape); color: var(--ivory); overflow: hidden; }
.strip-track { display: flex; gap: 48px; padding: 18px 0; white-space: nowrap; animation: marquee 40s linear infinite; width: max-content; }
.strip-track span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.strip-track span::after { content: ''; width: 10px; height: 10px; background: var(--lav); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- services (paint chips) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--white); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-swatch {
  height: 132px; border-radius: 9px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 14px;
}
.svc-swatch svg { width: 36px; height: 36px; color: var(--ivory); position: relative; }
.svc-swatch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, .08) 55% 100%); }
.svc-body { padding: 18px 8px 10px; flex: 1; display: flex; flex-direction: column; }
.svc-code { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc h3 { font-size: 24px; margin: 6px 0 10px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.svc li { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--lav-soft); color: var(--ink); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 253, 237, .16); }
.step { padding: 28px 24px 8px 0; border-right: 1px solid rgba(255, 253, 237, .16); margin-right: 24px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step-num { font-family: var(--font-display); font-size: 56px; font-weight: 800; color: var(--grape); line-height: 1; letter-spacing: -.04em; }
.step h3 { font-size: 22px; margin: 18px 0 10px; color: var(--ivory); }
.step p { color: rgba(255, 253, 237, .7); font-size: 15px; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255, 253, 237, .16); padding-bottom: 28px; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--lav-soft); cursor: zoom-in; }
.gallery figure:nth-child(6n+1) { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(32, 19, 53, .78); color: var(--ivory);
  font-size: 13px; padding: 6px 12px; border-radius: 999px; width: fit-content; max-width: calc(100% - 20px);
  backdrop-filter: blur(6px);
}
.gallery-empty {
  grid-column: 1 / -1; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); padding: 56px 24px; text-align: center; color: var(--muted);
}
.gallery-empty .mini-chips { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.gallery-empty .mini-chips i { width: 28px; height: 40px; border-radius: 5px; display: block; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } .gallery figure:nth-child(6n+1) { grid-row: auto; aspect-ratio: 4 / 3; } }

.lightbox { position: fixed; inset: 0; background: rgba(20, 12, 34, .92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; border-radius: var(--r); }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--ivory); border: 0; border-radius: 999px; width: 44px; height: 44px; cursor: pointer; font-size: 22px; }

/* ---------- reviews ---------- */
.reviews-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.reviews-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.review footer { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--grape); }
.stars { display: inline-flex; gap: 2px; color: var(--grape); }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: var(--line-strong); }
.rating-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.rating-summary b { font-family: var(--font-display); font-size: 44px; line-height: 1; }
.review-form { background: var(--ink); color: var(--ivory); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 96px; }
.review-form h3 { font-size: 26px; margin-bottom: 6px; }
.review-form > p { color: rgba(255, 253, 237, .7); font-size: 14px; margin-bottom: 20px; }
.review-form .field label { color: rgba(255, 253, 237, .8); }
.review-form .field input, .review-form .field textarea { background: rgba(255, 253, 237, .06); border-color: rgba(255, 253, 237, .2); color: var(--ivory); }
.review-form .field input:focus, .review-form .field textarea:focus { border-color: var(--lav); box-shadow: 0 0 0 4px rgba(156, 149, 204, .2); }
.review-form .field input::placeholder, .review-form .field textarea::placeholder { color: rgba(255, 253, 237, .4); }
/* Browser autofill paints its own light background — keep text readable */
.review-form .field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); -webkit-box-shadow: 0 0 0 40px var(--ink-2) inset; caret-color: var(--ivory); }
.star-input { display: flex; gap: 4px; }
.star-input button { background: none; border: 0; padding: 2px; cursor: pointer; color: rgba(255, 253, 237, .25); }
.star-input button.on { color: var(--lav); }
.star-input svg { width: 28px; height: 28px; }
.reviews-empty { grid-column: 1 / -1; padding: 40px; border-radius: var(--r); border: 2px dashed var(--line-strong); text-align: center; color: var(--muted); }
@media (max-width: 960px) { .reviews-layout { grid-template-columns: 1fr; } .review-form { position: static; } }
@media (max-width: 600px) { .reviews-list { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.field .hint { font-size: 12px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--white);
  transition: border-color .15s, box-shadow .15s; font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--grape); box-shadow: 0 0 0 4px rgba(79, 71, 137, .15); }
textarea { resize: vertical; min-height: 96px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.form-msg { font-size: 14px; margin-top: 10px; min-height: 1.2em; }
.form-msg.err { color: var(--err); }
.form-msg.ok { color: var(--ok); }
.section--ink .form-msg.err, .review-form .form-msg.err { color: #ffb4ab; }
.section--ink .form-msg.ok, .review-form .form-msg.ok { color: #9fe0bd; }

/* ---------- estimate wizard ---------- */
.estimate-section { position: relative; overflow: hidden; }
.estimate-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(315deg, var(--grape) 0 18%, transparent 18% 100%);
}
.estimate-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.estimate-aside h2 { font-size: clamp(36px, 5vw, 60px); margin: 14px 0 18px; }
.estimate-aside > p { color: rgba(255, 253, 237, .74); font-size: 18px; }
.estimate-aside ul { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.estimate-aside li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 253, 237, .85); }
.estimate-aside li svg { width: 22px; height: 22px; color: var(--lav); flex-shrink: 0; margin-top: 2px; }
.estimate-aside .call { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 253, 237, .16); }
.estimate-aside .call span { font-size: 13px; color: rgba(255, 253, 237, .6); display: block; }
.estimate-aside .call a { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; text-decoration: none; }
.estimate-aside .call a.call-email { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--lav); margin-top: 6px; word-break: break-all; }
.estimate-aside .call a.call-email:hover { color: var(--ivory); }
@media (max-width: 960px) { .estimate-grid { grid-template-columns: 1fr; } }

.wizard { scroll-margin-top: 96px; background: var(--ivory); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.wizard-top { padding: 22px 28px 0; }
.wizard-progress-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wizard-bar { height: 6px; background: var(--lav-soft); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.wizard-bar i { display: block; height: 100%; background: var(--grape); border-radius: 999px; transition: width .35s ease; }
.wizard-body { padding: 26px 28px 8px; min-height: 380px; }
.wizard-body h3 { font-size: 28px; }
.wizard-body .sub { color: var(--muted); margin: 6px 0 22px; }
.wizard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 28px 26px; }
.wizard-foot .form-msg { margin: 0; flex: 1; text-align: right; }
@media (max-width: 520px) { .wizard-top, .wizard-body, .wizard-foot { padding-left: 18px; padding-right: 18px; } .wizard-body h3 { font-size: 24px; } }

.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-grid.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 520px) { .opt-grid { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--white); cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.opt:hover { border-color: var(--grape); }
.opt.on { border-color: var(--grape); background: var(--lav-soft); box-shadow: inset 0 0 0 1px var(--grape); }
.opt-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: var(--ivory); }
.opt-icon svg { width: 22px; height: 22px; }
.opt b { display: block; font-size: 15px; }
.opt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.opt-check { margin-left: auto; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; }
.opt.on .opt-check { background: var(--grape); border-color: var(--grape); color: var(--ivory); }
.opt-check svg { width: 14px; height: 14px; opacity: 0; }
.opt.on .opt-check svg { opacity: 1; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--white); cursor: pointer;
  font-size: 14px; font-weight: 500; transition: all .15s;
}
.pill:hover { border-color: var(--grape); }
.pill.on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.q { margin-bottom: 22px; }
.q > .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.q > .label small { font-weight: 400; color: var(--muted); }

.dropzone {
  display: block; width: 100%;
  border: 2px dashed var(--line-strong); border-radius: var(--r); padding: 28px; text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s; background: var(--white);
}
.dropzone:hover, .dropzone.drag { border-color: var(--grape); background: var(--lav-soft); }
.dropzone svg { display: block; width: 32px; height: 32px; color: var(--grape); margin: 0 auto 8px; }
.dropzone b { font-size: 15px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--lav-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 999px; border: 0; background: rgba(32, 19, 53, .8); color: #fff; cursor: pointer; line-height: 1; }

.summary { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.summary-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row dt { color: var(--muted); font-weight: 500; }
.summary-row dd { margin: 0; }
.summary-row .edit { background: none; border: 0; color: var(--grape); font-weight: 600; cursor: pointer; padding: 0; font-size: 13px; margin-left: 8px; }
@media (max-width: 480px) { .summary-row { grid-template-columns: 1fr; gap: 2px; } }

.wz-done { text-align: center; padding: 40px 10px; }
.wz-done-mark { width: 76px; height: 76px; border-radius: 20px; background: var(--grape); color: var(--ivory); display: grid; place-items: center; margin: 0 auto 20px; }
.wz-done-mark svg { width: 38px; height: 38px; }
.wz-done h3 { font-size: 32px; margin-bottom: 10px; }
.wz-done p { color: var(--muted); max-width: 420px; margin: 0 auto; }

/* ---------- info / billing ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.card h3 { font-size: 24px; margin: 18px 0 10px; }
.card > p { color: var(--muted); font-size: 15px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--lav-soft); color: var(--grape); display: grid; place-items: center; }
.card-icon svg { width: 26px; height: 26px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 500; }
.checklist svg { width: 18px; height: 18px; color: var(--grape); flex-shrink: 0; }
.billing-opts { display: grid; gap: 10px; margin-top: 20px; }
.billing-opts div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.billing-opts b { display: block; font-size: 15px; }
.billing-opts span { font-size: 13px; color: var(--muted); }
.card--portal { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.card--portal::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: var(--grape); transform: rotate(45deg); }
.card--portal > * { position: relative; z-index: 1; }
.card--portal .card-icon { background: rgba(255, 253, 237, .1); color: var(--lav); }
.card--portal > p { color: rgba(255, 253, 237, .72); }
.card--portal .checklist svg { color: var(--lav); }
.card--portal .btn { margin-top: 24px; }
@media (max-width: 960px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s, background .2s; font-style: normal; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 253, 237, .72); padding: 64px 0 32px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0 80%, var(--grape) 80% 100%); opacity: .6; }
.site-footer .wrap { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid img { height: 44px; width: auto; margin-bottom: 16px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lav); margin-bottom: 14px; font-weight: 600; }
.footer-grid a { display: block; text-decoration: none; padding: 4px 0; color: rgba(255, 253, 237, .85); }
.footer-grid a:hover { color: var(--ivory); }
.service-area { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 253, 237, .14); }
.service-area h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lav); margin-bottom: 10px; font-weight: 600; }
.service-area p { max-width: 760px; }
.service-area b { color: var(--ivory); font-weight: 600; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 253, 237, .14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- toast + modal (shared) ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); z-index: 200;
  background: var(--ink); color: var(--ivory); padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-weight: 500; font-size: 15px; transition: transform .3s ease; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--err); }

.modal-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(20, 12, 34, .55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--ivory); border-radius: var(--r-lg); width: 100%; max-width: 480px; padding: 28px; box-shadow: var(--shadow-lg); max-height: 92vh; overflow: auto; }
.modal h3 { font-size: 26px; margin-bottom: 8px; }
.modal > p { color: var(--muted); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
