:root {
  --background: #ffffff;
  --surface: #f4f7fa;
  --text: #102238;
  --navy: #1f4465;
  --blue: #2c5f8d;
  --blue-soft: #d9e5f0;
  --muted: #607087;
  --border: #d9e2ea;
  --success: #1f8f5f;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--blue-soft); }
.site-header::before { content: ""; display: block; height: 4px; background: var(--navy); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 60px; height: 60px; border-radius: 999px; padding: 6px; background: #fff; border: 1px solid var(--blue-soft); }
.brand-eyebrow, .footer-eyebrow { margin: 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.brand-title { margin: 4px 0 0; font-size: 1.35rem; line-height: 1; }
.brand-subtitle { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.main-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .95rem; }
.main-nav a:hover { color: var(--navy); }
.nav-cta, .button-primary { padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff !important; font-weight: 700; }
.nav-cta:hover, .button-primary:hover { background: var(--blue); }
.button-secondary { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--border); font-weight: 700; }
.site-main { padding-top: 20px; }
.hero { display: grid; gap: 32px; padding: 24px 0 56px; align-items: center; }
.hero-panel { overflow: hidden; border-radius: 34px; background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.hero-grid { display: grid; gap: 0; }
.hero-copy { padding: 42px; }
.hero-copy h2 { margin: 18px 0 0; font-size: clamp(2.8rem, 6vw, 5rem); line-height: .95; letter-spacing: -.05em; }
.hero-copy p { max-width: 560px; margin: 22px 0 0; color: #d4dcea; font-size: 1.05rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { min-height: 420px; position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; left: 20px; right: 20px; bottom: 20px; border-radius: 24px; background: rgba(255,255,255,.94); padding: 18px; color: var(--text); }
.section { padding: 64px 0; }
.section-muted { background: var(--surface); }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading p { margin: 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--blue); }
.section-heading h2 { margin: 14px 0 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.04em; }
.grid-3, .grid-2 { display: grid; gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card h3 { margin: 0; font-size: 1.6rem; }
.card p { color: var(--muted); line-height: 1.8; }
.price { font-size: 3rem; font-weight: 700; color: var(--navy); letter-spacing: -.05em; }
.site-footer { margin-top: 64px; background: var(--navy); color: #fff; }
.footer-grid { display: grid; gap: 28px; padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand-row { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 72px; height: 72px; border-radius: 999px; padding: 8px; background: #fff; }
.footer-title { margin: 8px 0 0; font-size: 1.8rem; font-weight: 700; }
.footer-copy, .footer-text { color: #d4dcea; line-height: 1.9; }
.footer-heading { margin: 0 0 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: #bfd0e0; }
.site-footer a { display: block; margin: 12px 0; color: #d4dcea; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding: 18px 0 28px; display: flex; justify-content: space-between; gap: 20px; color: #aebdd0; font-size: .92rem; }
.form-shell { display: grid; gap: 24px; }
.form-panel, .side-panel, .review-sheet { background: #fff; border: 1px solid var(--border); border-radius: 30px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.form-panel { padding: 28px; }
.form-top { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.progress { height: 6px; background: #eef3f7; border-radius: 999px; overflow: hidden; margin-top: 16px; }
.progress > span { display: block; height: 100%; background: var(--navy); }
.section-box { border: 1px solid var(--border); border-radius: 24px; padding: 22px; margin-top: 20px; }
.field-grid { display: grid; gap: 14px; }
.label { display: block; margin-bottom: 8px; font-size: .92rem; font-weight: 600; color: #405063; }
.input, select, textarea { width: 100%; border-radius: 16px; border: 1px solid var(--border); background: #fff; padding: 14px 16px; font: inherit; color: var(--text); outline: none; }
.input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31,68,101,.1); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-pill { border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; background: #fff; cursor: pointer; font-weight: 700; }
.choice-pill.active { border-color: var(--navy); background: #f4f7fa; color: var(--navy); }
.checkbox-grid { display: grid; gap: 10px; }
.checkbox-card { border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: #fff; }
.error { color: #c12d2d; font-size: .88rem; margin-top: 8px; }
.muted { color: var(--muted); }
.actions { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
.signature-box { border: 1px dashed var(--border); border-radius: 18px; padding: 14px; background: #f9fbfd; }
.signature-box canvas { width: 100%; height: 170px; display: block; background: #fff; border-radius: 12px; touch-action: none; cursor: crosshair; }
.input.invalid, select.invalid, textarea.invalid { border-color: #c12d2d; box-shadow: 0 0 0 4px rgba(193,45,45,.08); }
.alert { border: 1px solid #f3d2d2; background: #fff4f4; color: #9e2727; border-radius: 16px; padding: 12px 14px; margin-top: 18px; }
.status { border: 1px solid #d7e8dd; background: #f3fbf6; color: #1d7a49; border-radius: 16px; padding: 12px 14px; }
.summary-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-card { border: 1px solid var(--border); border-radius: 18px; background: #f7fafc; padding: 12px 14px; }
.summary-card p { margin: 0; }
.summary-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #70829a; }
.summary-value { margin-top: 6px !important; font-size: .95rem; line-height: 1.6; }
.review-sheet { padding: 28px; }
.review-meta { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.review-header { display: flex; align-items: center; gap: 12px; }
.review-logo { width: 56px; height: 56px; border-radius: 999px; border: 1px solid var(--border); padding: 6px; background: #fff; }
.review-box { border: 1px solid var(--border); border-radius: 20px; padding: 18px; margin-top: 16px; }
.review-box h3 { margin: 0 0 14px; font-size: 1.1rem; }
.stamp-box { border: 1px dashed #a5b8cc; border-radius: 18px; padding: 16px; min-height: 118px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.print-header, .print-footer { display: none; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: .92fr 1.08fr; } .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1fr; } .form-shell { grid-template-columns: minmax(0,1fr) 320px; } .field-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .field-grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .field-grid.cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 959px) { .main-nav { display: none; } .footer-bottom, .review-meta { flex-direction: column; align-items: flex-start; } .summary-grid { grid-template-columns: 1fr; } }
@media print {
  @page { margin: 10mm; }
  .site-header, .site-footer, .btn-row, .status, .print-hide { display: none !important; }
  body { background: #fff; }
  .site-main { padding: 0; }
  .review-sheet { border: none; border-radius: 0; box-shadow: none; padding: 0; }
  .print-header, .print-footer { display: block; }
  .print-header { border-top: 8px solid var(--navy); border-bottom: 1px solid #bccbda; padding-bottom: 12px; margin-bottom: 14px; }
  .print-header-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
  .print-brand { display: flex; align-items: center; gap: 12px; }
  .print-brand img { width: 56px; height: 56px; border-radius: 999px; border: 1px solid #d9e2ea; padding: 4px; }
  .print-title-sm { margin: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .26em; color: var(--blue); font-weight: 700; }
  .print-title-lg { margin: 4px 0 0; font-size: 18px; font-weight: 700; color: #102238; }
  .print-subtitle { margin: 4px 0 0; font-size: 11px; color: #66788e; }
  .print-meta { min-width: 210px; border: 1px solid #d9e2ea; border-radius: 12px; background: #f7fafc; padding: 10px 12px; }
  .print-meta-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; margin-top: 6px; }
  .print-meta-row:first-child { margin-top: 0; }
  .print-meta-label { text-transform: uppercase; letter-spacing: .14em; color: #6a7d94; font-weight: 700; }
  .review-box { break-inside: avoid; page-break-inside: avoid; border-radius: 14px; padding: 14px; margin-top: 12px; }
  .review-box h3 { font-size: 15px; margin-bottom: 10px; }
  .summary-grid { gap: 8px; }
  .summary-card { border-radius: 12px; padding: 10px 12px; }
  .summary-label { font-size: 10px; }
  .summary-value { font-size: 13px; line-height: 1.45; }
  .stamp-box { min-height: 96px; }
  .print-footer { border-top: 1px solid #bccbda; margin-top: 14px; padding-top: 10px; font-size: 11px; color: #6a7d94; }
  .print-footer-inner { display: flex; justify-content: space-between; gap: 12px; }
}
