@charset "UTF-8";
/* =========================================================
   iMajin • Proposal + SOW (shared SCSS)
   - cohesive styling for both pages
   - fixes print preview matrix collapsing
   ========================================================= */
/* -----------------------------
   Tokens
----------------------------- */
/* -----------------------------
   Base
----------------------------- */
:root {
  --brand-blue: #02447b;
  --brand-gold: #ffaa00;
  --ink: #0b1220;
  --muted: #5a6475;
  --paper: #ffffff;
  --bg1: #061a2d;
  --bg2: #0b2f57;
  --line: rgba(2, 68, 123, 0.14);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  --radius: 18px;
  --max: 980px; }

a {
  color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 56px; }

.sheet {
  background: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative; }

.watermark {
  position: absolute;
  inset: auto 18px 18px auto;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: rgba(2, 68, 123, 0.22);
  text-transform: uppercase;
  user-select: none;
  pointer-events: none; }

.cover {
  padding: 28px 28px 22px;
  background: radial-gradient(700px 300px at 20% 0%, rgba(255, 170, 0, 0.18), transparent 60%), linear-gradient(135deg, rgba(2, 68, 123, 0.12), rgba(2, 68, 123, 0.02)), #fff;
  border-bottom: 1px solid var(--line); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px; }
  .kicker .bar {
    width: 42px;
    height: 2px;
    background: var(--brand-gold);
    border-radius: 999px; }

h1 {
  margin: 10px 0 6px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.02em; }

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 70ch; }

.content {
  padding: 22px 28px 28px; }

.section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line); }

h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px; }
  h2:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brand-gold);
    box-shadow: 0 0 0 3px rgba(255, 170, 0, 0.18);
    flex: 0 0 auto; }

p {
  margin: 0 0 10px;
  color: #223047; }

ul {
  margin: 10px 0 0 20px; }

li {
  margin: 6px 0;
  color: #223047; }

.fineprint {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5; }

.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start; }

.callout {
  border: 1px solid rgba(2, 68, 123, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  border-color: rgba(255, 170, 0, 0.4);
  background: rgba(255, 170, 0, 0.08);
  color: #3b2a00; }
  .callout b {
    color: #2a1d00; }

/* =========================================================
   Top Utility Bar (Proposal + SOW)
   ========================================================= */
.utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 6px 0 18px;
  color: rgba(255, 255, 255, 0.85); }
  .utility .left {
    display: flex;
    flex-direction: column;
    gap: 4px; }
  .utility .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px; }
  .utility .meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68); }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(255, 170, 0, 0.18);
  flex: 0 0 auto; }

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap; }

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  backdrop-filter: blur(10px); }
  .btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28); }
  .btn.primary {
    border-color: rgba(255, 170, 0, 0.55);
    background: rgba(255, 170, 0, 0.16);
    color: #fff; }

/* -----------------------------
   Proposal-only blocks
----------------------------- */
.headerGrid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 18px;
  align-items: end; }

.infoCard {
  border: 1px solid rgba(2, 68, 123, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: #fff; }

.infoRow {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(2, 68, 123, 0.14); }
  .infoRow:last-child {
    border-bottom: 0;
    padding-bottom: 0; }

.label {
  color: var(--muted);
  font-size: 13px; }

.value {
  font-weight: 600;
  color: var(--ink);
  font-size: 13.5px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 0, 0.45);
  background: rgba(255, 170, 0, 0.1);
  color: #3b2a00;
  font-weight: 700;
  font-size: 13px;
  width: fit-content; }
  .pill .miniDot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-gold); }

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 18px; }

.sumCard {
  border: 1px solid rgba(2, 68, 123, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  background: linear-gradient(180deg, #fff, rgba(2, 68, 123, 0.02)); }
  .sumCard .t {
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.01em; }
  .sumCard .d {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.5px; }

.pricing {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff; }

.pricingHeader {
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(2, 68, 123, 0.1), rgba(255, 170, 0, 0.1));
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px; }
  .pricingHeader .big {
    font-weight: 900;
    color: var(--brand-blue);
    letter-spacing: -0.01em; }
  .pricingHeader .small {
    color: var(--muted);
    font-size: 13px;
    text-align: right; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px; }
  table th, table td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(2, 68, 123, 0.12);
    vertical-align: top; }
  table th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted);
    background: rgba(2, 68, 123, 0.03); }
  table tr:last-child td {
    border-bottom: 0; }
  table td:last-child {
    text-align: right;
    font-weight: 800; }

.footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end; }

.sigBox {
  border: 1px solid rgba(2, 68, 123, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: #fff; }

.sigLine {
  margin-top: 22px;
  border-top: 1px solid rgba(2, 68, 123, 0.25);
  width: 100%; }

.signatureGrid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px; }

.sigBlock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff; }

.sigCompany {
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 16px; }

.sigLineGroup {
  margin-bottom: 14px; }

.sigLabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 6px; }

.sigLine {
  border-bottom: 1px solid rgba(2, 68, 123, 0.35);
  height: 1px; }

.sigRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px; }

.sigCol {
  display: flex;
  flex-direction: column; }

/* Responsive */
@media (max-width: 860px) {
  .signatureGrid {
    grid-template-columns: 1fr; }

  .sigRow {
    grid-template-columns: 1fr; } }
/* Print safety */
@media print {
  .sigBlock {
    break-inside: avoid;
    page-break-inside: avoid; } }
/* -----------------------------
   SOW-only blocks
----------------------------- */
.sowHeader {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px; }

.sowHeadBlock {
  border: 1px solid rgba(2, 68, 123, 0.14);
  border-radius: 18px;
  padding: 12px;
  background: #fff; }

.sowHeadLabel {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px; }

.sowHeadValue {
  font-weight: 700;
  color: var(--ink); }

.muted {
  color: var(--muted);
  font-weight: 500; }

.matrix {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff; }

.matrixRow {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 0;
  border-bottom: 1px solid rgba(2, 68, 123, 0.12); }
  .matrixRow > div {
    padding: 11px 14px; }

.matrixHead {
  background: rgba(2, 68, 123, 0.03);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 700; }

.matrixTitle {
  font-weight: 700;
  color: #223047; }

.yes {
  font-weight: 800;
  color: var(--brand-blue); }

.support {
  font-weight: 700;
  color: #223047; }

.no {
  color: var(--muted); }

.acceptBox {
  border: 1px solid rgba(2, 68, 123, 0.14);
  border-radius: 18px;
  padding: 14px;
  background: #fff; }

.acceptLine {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(2, 68, 123, 0.18); }
  .acceptLine:last-child {
    border-bottom: 0;
    padding-bottom: 0; }

.acceptLabel {
  color: var(--muted);
  font-size: 13px; }

.acceptRule {
  border-bottom: 1px solid rgba(2, 68, 123, 0.28);
  height: 1px; }

/* -----------------------------
   Mobile responsiveness
   (pricing table becomes stacked “cards”)
----------------------------- */
@media (max-width: 860px) {
  .headerGrid {
    grid-template-columns: 1fr; }

  .summary {
    grid-template-columns: 1fr; }

  .twoCol {
    grid-template-columns: 1fr; }

  .footer {
    grid-template-columns: 1fr; }

  .sowHeader {
    grid-template-columns: 1fr; }

  h1 {
    font-size: 30px; }

  /* Mobile-friendly pricing table without markup changes */
  .pricing table thead {
    display: none; }
  .pricing table tbody, .pricing table tr, .pricing table td {
    display: block;
    width: 100%; }
  .pricing table tr {
    border-bottom: 1px solid rgba(2, 68, 123, 0.12);
    padding: 10px 0; }
  .pricing table td {
    border-bottom: 0;
    padding: 6px 14px;
    text-align: left !important;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    gap: 14px; }
    .pricing table td:first-child::before {
      content: "Item";
      color: var(--muted);
      font-weight: 700;
      letter-spacing: .04em; }
    .pricing table td:last-child::before {
      content: "Cost";
      color: var(--muted);
      font-weight: 700;
      letter-spacing: .04em; }

  /* Mobile-friendly matrix (stacked) */
  .matrixRow {
    grid-template-columns: 1fr; }

  .matrixHead {
    display: none; }

  .matrixRow > div {
    border-bottom: 1px dashed rgba(2, 68, 123, 0.12); }

  .acceptLine {
    grid-template-columns: 1fr; } }
/* -----------------------------
   Print styles
----------------------------- */
@media print {
  @page {
    margin: 0.6in; }
  body {
    background: #fff !important;
    color: #000; }

  a {
    text-decoration: none; }

  a[href]::after {
    content: "" !important; }

  /* prevent URL spam */
  .wrap {
    padding: 0 !important;
    max-width: none !important; }

  .sheet {
    box-shadow: none !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important; }

  .cover {
    background: #fff !important;
    border-bottom: 1px solid #ddd !important; }

  .watermark {
    color: rgba(0, 0, 0, 0.18) !important; }

  /* Divi header/footer suppression + layout reset */
  header.et-l,
  footer.et-l,
  .et-l--header,
  .et-l--footer,
  #main-header,
  #top-header,
  #page-container > footer,
  #et-main-area > footer {
    display: none !important; }

  #page-container,
  #et-main-area,
  #main-content,
  .container,
  .et_builder_inner_content,
  .et_pb_section,
  .et_pb_row,
  .et_pb_code_inner {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important; }

  /* Avoid awkward splits */
  .section, .pricing, .sigBox, .infoCard, .sumCard, .callout, .acceptBox {
    break-inside: avoid;
    page-break-inside: avoid; }

  .matrix, .matrixRow {
    break-inside: avoid;
    page-break-inside: avoid; }

  /* CRITICAL FIX: force matrix back to 3 columns in print
     (prevents your mobile breakpoint from taking over in print preview) */
  .matrixRow {
    grid-template-columns: 1.2fr 0.8fr 0.8fr !important; }

  .matrixHead {
    display: grid !important; }

  /* Slightly tighter print spacing */
  h1 {
    font-size: 28px !important; }

  .content {
    padding: 16px 20px 18px !important; }

  table {
    font-size: 13px !important; }

  th, td {
    padding: 9px 12px !important; } }
