/* estimate.smarttint.com — landing page styles */

:root {
  --orange: #ff7801;
  --orange-dark: #e56a00;
  --navy: #1a1a2e;
  --navy-mid: #16213e;
  --navy-deep: #0f3460;
  --ink: #111111;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f4f5f7;
  --good: #16a34a;
  --bad: #dc2626;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Header ── */
.st-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-deep) 100%);
  border-bottom: 4px solid var(--orange);
  padding: 32px 20px;
  text-align: center;
}
.st-header img { height: 54px; display: inline-block; }
.st-header h1 { color: #fff; margin: 14px 0 6px 0; font-size: 22px; font-weight: 800; }
.st-header .stq-meta { color: #aab; font-size: 13px; }
.st-header .stq-meta strong { color: #fff; }

/* ── Containers ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
  /* Flex column so we can use `order` to put the price cards before the
     hero comparison chart on phones (see mobile media query below). */
  display: flex;
  flex-direction: column;
}

/* ── Content order (all viewports) ─────────────────────────────────────────
   Desktop:  summary(1) → hero(2) → tiers(3) → disclaimer(4) → contact(5)
   Mobile:   summary(1) → tiers(3) → hero(4) → disclaimer(5) → contact(6)
             (cards-first on phones — the hero comparison chart drops below
             so the price + CTA are the first thing on screen). */
.wrap > .summary-card.summary-top { order: 1; }
.wrap > .hero-banner,
.wrap > .project-gallery          { order: 2; }
.wrap > .tiers                    { order: 3; }
.wrap > .quote-disclaimer         { order: 4; }
.wrap > .pm-contact-card          { order: 5; }
/* The compare modal is fixed-positioned via its own CSS — `order` on the
   normal-flow wrapper has no visual effect on it, but we set it anyway so
   it doesn't end up sandwiched between the tiers and the hero in the
   accessibility tree. */
.wrap > .compare-modal            { order: 99; }

@media (max-width: 700px) {
  .wrap { padding: 16px 14px; }

  .wrap > .hero-banner,
  .wrap > .project-gallery          { order: 4; margin-top: 0; }
  .wrap > .quote-disclaimer         { order: 5; }
  .wrap > .pm-contact-card          { order: 6; }
}

/* ── Hero banner ── */
.hero-banner {
  position: relative;
  margin: 0 auto 18px auto;
  padding: 0;
  max-width: 520px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  background: #0d0d0d;
  line-height: 0;
}
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.hero-banner .hero-info-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255, 120, 1, 0.95);
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform .12s ease, background .15s ease;
  z-index: 2;
}
.hero-banner .hero-info-btn:hover,
.hero-banner .hero-info-btn:focus {
  background: var(--orange-dark);
  transform: scale(1.06);
  outline: none;
}
@media (max-width: 700px) {
  .hero-banner { max-width: 100%; border-radius: 12px; margin-bottom: 14px; }
  .hero-banner .hero-info-btn { width: 38px; height: 38px; font-size: 21px; top: 8px; right: 8px; }
}

/* ── Compare Grades button (sits inside the Builder card, .tier-head) ── */
.btn-compare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  background: #fff;
  color: var(--navy-deep);
  border: 2px solid var(--orange);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .4px;
  box-shadow: 0 4px 12px rgba(255,120,1,.18);
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.btn-compare:hover,
.btn-compare:focus {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}
.btn-compare__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}
.btn-compare:hover .btn-compare__icon,
.btn-compare:focus .btn-compare__icon {
  background: #fff;
  color: var(--orange);
}

/* In-card variant — sits inside .tier-head beside the card title.
   Smaller padding/font + tighter icon so it doesn't dominate the H3, and
   `flex-shrink: 0` so the title (which can wrap) yields space first. */
.btn-compare--inline {
  margin-top: 0;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .3px;
  box-shadow: 0 2px 8px rgba(255,120,1,.18);
  flex-shrink: 0;
}
.btn-compare--inline .btn-compare__icon {
  width: 18px;
  height: 18px;
  font-size: 12px;
}
@media (max-width: 700px) {
  /* Phones: card width is tight, drop the icon to give the label room. */
  .btn-compare--inline { padding: 5px 10px; font-size: 10px; gap: 6px; }
  .btn-compare--inline .btn-compare__icon { width: 16px; height: 16px; font-size: 11px; }
}

/* ── Compare Grades modal ── */
body.modal-open { overflow: hidden; }
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.compare-modal[hidden] { display: none; }
.compare-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.compare-modal__panel {
  position: relative;
  background: #0d0d0d;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  max-width: min(1400px, calc(100vw - 48px));
  width: 100%;
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  animation: cm-pop .18s ease-out;
}
@keyframes cm-pop {
  from { transform: scale(.96); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.compare-modal__title {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  text-align: center;
  padding: 14px 56px 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 3px solid var(--orange);
  letter-spacing: .3px;
}
.compare-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .1s ease;
}
.compare-modal__close:hover,
.compare-modal__close:focus {
  background: var(--orange);
  transform: scale(1.05);
  outline: none;
}
.compare-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}
.compare-modal__body picture {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
}
.compare-modal__body img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .compare-modal { padding: 0; }
  .compare-modal__panel {
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }
  .compare-modal__title { font-size: 14px; padding: 12px 52px 10px; }
  .compare-modal__close { top: 6px; right: 6px; width: 38px; height: 38px; }
  .compare-modal__body { padding: 8px; }
  .compare-modal__body img { object-fit: contain; }
}

/* ── Project photo gallery (per-STQ media) ── */
.project-gallery {
  margin: 0 0 22px 0;
  padding: 18px 20px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.project-gallery__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.project-gallery__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.project-gallery__count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.project-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.project-gallery__tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: #0d0d0d;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: transform .15s ease, box-shadow .15s ease;
}
.project-gallery__tile:hover,
.project-gallery__tile:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  outline: none;
}
.project-gallery__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.project-gallery__tile:hover img,
.project-gallery__tile:focus img { transform: scale(1.04); }

@media (max-width: 700px) {
  .project-gallery { padding: 14px 14px 16px; border-radius: 14px; }
  .project-gallery__grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
}

/* ── Lightbox (gallery viewer) ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.92);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.lightbox__stage {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: calc(100vw - 96px);
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox__stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  background: #0d0d0d;
}
.lightbox__caption {
  margin-top: 12px;
  color: #ddd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s ease, transform .1s ease;
}
.lightbox__close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 22px;
}
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__close:hover,
.lightbox__close:focus,
.lightbox__nav:hover,
.lightbox__nav:focus {
  background: var(--orange);
  outline: none;
}
.lightbox__nav:hover,
.lightbox__nav:focus { transform: translateY(-50%) scale(1.06); }

@media (max-width: 700px) {
  .lightbox__stage { max-width: 100vw; max-height: 100vh; padding: 0 10px; }
  .lightbox__stage img { max-height: calc(100vh - 120px); border-radius: 6px; }
  .lightbox__close { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox__nav   { width: 44px; height: 44px; font-size: 20px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* ── Card grid ── */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tiers.tiers--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto;
}
.tiers.tiers--one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 540px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .tiers,
  .tiers.tiers--two,
  .tiers.tiers--one { grid-template-columns: 1fr; }

  /* On mobile we lead with the Architectural Grade — that's what we quote
     initially, so it should appear first in the stacked column. */
  .tiers.tiers--two .tier:nth-child(1) { order: 2; }   /* Builder — second */
  .tiers.tiers--two .tier:nth-child(2) { order: 1; }   /* Architectural — first */
}

.tier {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier h3 { margin: 0 0 6px 0; font-size: 22px; font-weight: 800; color: var(--ink); }

/* Card title row — title on the left, optional inline action (e.g. the
   in-card "Compare Grades" button on the Builder card) on the right. The
   button needs `align-items: center` so it visually anchors to the H3
   baseline rather than floating above it. */
.tier .tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.tier .tier-head h3 { margin: 0; flex: 0 1 auto; min-width: 0; }

.tier .subline { color: var(--muted); font-size: 14px; margin-bottom: 18px; min-height: 42px; }
.tier .price {
  font-size: 44px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.tier .price-strike {
  color: #999; font-size: 15px; text-decoration: line-through; margin-bottom: 10px;
}
.tier .deposit-line {
  display: block;
  background: rgba(255,120,1,0.10);
  color: #b54600;
  border: 1px solid rgba(255,120,1,0.35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 0 0 10px 0;
  text-align: center;
}
.tier .balance-due {
  margin-top: 8px;
  font-size: 12px;
  color: #555;
  text-align: center;
}
.tier .savings {
  display: inline-block;
  background: rgba(22,163,74,0.10);
  color: var(--good);
  border: 1px solid rgba(22,163,74,0.30);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
/* ── Per-sqft retail vs your-price callout ── */
.tier .psf-block {
  margin: 14px 0 6px 0;
  background: linear-gradient(180deg, #fff7ee 0%, #fff 100%);
  border: 1px solid #ffd9b8;
  border-radius: 12px;
  padding: 12px 14px 10px 14px;
}
.tier .psf-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.tier .psf-row + .psf-row { border-top: 1px dashed #f1d6b9; }
.tier .psf-lbl {
  font-size: 12px;
  color: #6a6a6a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.tier .psf-val { font-size: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.tier .psf-val.psf-retail {
  color: #999;
  text-decoration: line-through;
  font-weight: 700;
}
.tier .psf-val.psf-yours { color: var(--orange); }
.tier .psf-foot {
  margin-top: 6px;
  font-size: 11px;
  color: #999;
  text-align: right;
}

.tier ul.bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 22px 0;
  flex-grow: 1;
}
.tier ul.bullets li {
  position: relative;
  padding-left: 26px;
  padding-bottom: 8px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.tier ul.bullets li::before {
  content: "✓";
  color: var(--good);
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
}
.tier.disabled ul.bullets li::before { content: "✕"; color: var(--bad); }

/* ── UL/ETL "Listed" trust badge (sticker image on tier cards) ── */
.tier .ul-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 16px auto 6px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fff7ec 0%, #ffe9cc 100%);
  border: 2px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(255,120,1,.18);
  max-width: 100%;
}
.tier .ul-badge img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 8px;
  background: #fff;
}
.tier .ul-badge figcaption {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--navy-deep);
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 700px) {
  .tier .ul-badge { padding: 14px 14px; }
  .tier .ul-badge img { max-width: 200px; }
  .tier .ul-badge figcaption { font-size: 12px; }
}

/* ── Tier feature badges (replaces verbose bullet lists) ── */
.tier .tier-badges {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-grow: 1;
}
.tier .tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: .15px;
  white-space: normal;
}
.tier .tier-badge::before {
  content: "✓";
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
}
.tier .tier-badge--neutral {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}
.tier .tier-badge--neutral::before { color: #6b7280; }

.tier .tier-badge--orange {
  background: #fff3e6;
  color: #b34a00;
  border-color: #ffd0a3;
}
.tier .tier-badge--orange::before { color: var(--orange); }

.tier .tier-badge--navy {
  background: #eef2fb;
  color: var(--navy-deep);
  border-color: #c9d4ee;
}
.tier .tier-badge--navy::before { color: var(--navy-deep); }

.tier .tier-badge--good {
  background: rgba(22,163,74,0.10);
  color: #14532d;
  border-color: rgba(22,163,74,0.30);
}
.tier .tier-badge--good::before { color: var(--good); }

@media (max-width: 700px) {
  .tier .tier-badges { gap: 6px; margin: 14px 0 18px; }
  .tier .tier-badge { font-size: 12px; padding: 6px 10px; }
}

.tier .btn {
  display: block;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.tier .btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff6500 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,120,1,.35);
}
.tier .btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); text-decoration: none; }
.tier .btn-disabled {
  background: #f0f0f0; color: #888; cursor: not-allowed; pointer-events: none;
}

.tier.popular { border: 3px solid var(--orange); }
.tier.popular::before {
  content: "PREMIUM GRADE AS QUOTED & RECOMMENDED";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,120,1,.4);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.tier.builder { border: 2px solid var(--navy-deep, #1f2a44); }
.tier.builder::before {
  content: "THIS IS YOUR BUILDERS GRADE OPTION";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep, #1f2a44);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(31,42,68,.35);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.tier.disabled {
  opacity: 0.78;
  background: #fafafa;
  border: 1px dashed #d4d4d4;
}
.tier.disabled .price { color: #999; text-decoration: line-through; font-size: 32px; }

/* ── Project summary ── */
.summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 24px;
  margin-top: 28px;
}
.summary-card h4 { margin: 0 0 14px 0; color: var(--orange); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }

/* Single-column legacy summary rows */
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  gap: 14px;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .lbl { color: var(--muted); }
.summary-row .val { color: #222; font-weight: 700; text-align: right; word-break: break-word; }

/* Top-of-page summary: nicer multi-column on desktop, stacks on mobile */
.summary-card.summary-top { margin-top: 0; margin-bottom: 22px; padding: 22px 26px; }
.summary-card.summary-top .summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 28px;
}
.summary-card.summary-top .summary-row {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
@media (max-width: 900px) {
  .summary-card.summary-top .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
}
@media (max-width: 560px) {
  .summary-card.summary-top { padding: 16px 18px; border-radius: 14px; }
  .summary-card.summary-top .summary-grid { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.st-footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-top: 4px solid var(--orange);
  text-align: center;
  padding: 32px 20px;
  color: #aab;
  font-size: 12px;
  margin-top: 60px;
}
.st-footer a { color: var(--orange); }
.st-footer p { margin: 4px 0; }

/* ── Mobile polish ─────────────────────────────────────────── */
@media (max-width: 700px) {
  body { font-size: 15px; }

  .st-header { padding: 22px 16px; }
  .st-header img { height: 40px; }
  .st-header h1 { font-size: 18px; margin: 10px 0 4px; line-height: 1.2; }
  .st-header .stq-meta { font-size: 12px; line-height: 1.5; }

  .wrap { padding: 18px 14px; }

  .tiers { gap: 16px; }
  .tier {
    padding: 22px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  }
  .tier h3 { font-size: 19px; }
  .tier .subline { font-size: 13px; min-height: 0; margin-bottom: 14px; }
  .tier .price { font-size: 36px; }
  .tier.disabled .price { font-size: 26px; }
  .tier .price-strike { font-size: 13px; margin-bottom: 8px; }
  .tier ul.bullets { margin: 10px 0 18px; }
  .tier ul.bullets li { font-size: 13px; padding-bottom: 6px; padding-left: 22px; }
  .tier .btn { padding: 14px 16px; font-size: 15px; border-radius: 10px; }

  /* Make the popular-pill less crowded on small cards */
  .tier.popular { border-width: 2px; }
  .tier.popular::before,
  .tier.builder::before {
    top: -11px;
    font-size: 9px;
    padding: 4px 10px;
    letter-spacing: 0.3px;
  }
  .tier.builder { border-width: 1px; }

  .summary-card { padding: 18px; border-radius: 14px; }
  .summary-card h4 { font-size: 13px; margin-bottom: 10px; }

  .st-footer { padding: 24px 16px; margin-top: 36px; }

  /* Forms */
  .form-row label { font-size: 12px; }
  .form-row input, .form-row textarea, .form-row select {
    padding: 14px 14px;            /* bigger tap target */
    font-size: 16px;               /* prevents iOS zoom-on-focus */
    border-radius: 10px;
  }

  .btn-secondary { padding: 12px 20px; font-size: 14px; }
  .notice { padding: 14px 16px; font-size: 14px; border-radius: 10px; }
}

@media (max-width: 380px) {
  .st-header h1 { font-size: 16px; }
  .tier .price { font-size: 32px; }
}

/* ── Forms ── */
.form-row { margin-bottom: 14px; }
.form-row label { display:block; font-size: 13px; font-weight:700; color: #444; margin-bottom: 5px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,120,1,0.12);
}
.form-row textarea { min-height: 96px; resize: vertical; }
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--ink); color: #fff; text-decoration: none; }

/* ── Status boxes ── */
.notice {
  border-radius: 12px;
  padding: 18px 22px;
  margin: 16px 0;
  font-size: 15px;
}
.notice-ok  { background: #d1fae5; border: 1px solid #059669; color: #065f46; }
.notice-err { background: #fee2e2; border: 1px solid #dc2626; color: #991b1b; }

/* ── Quote deposit disclaimer ── */
.quote-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 22px 0 4px;
  padding: 16px 20px;
  background: #fff8e6;
  border: 1px solid #f5c451;
  border-left: 5px solid #ff7801;
  border-radius: 12px;
  color: #5a4100;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.quote-disclaimer__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff7801;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.quote-disclaimer__body { flex: 1; }
.quote-disclaimer__body strong { color: #4a3500; }
.quote-disclaimer__body em { font-style: normal; color: #8a3b00; }
.quote-disclaimer__body u { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 600px) {
  .quote-disclaimer { padding: 14px 16px; gap: 10px; font-size: 14px; }
  .quote-disclaimer__icon { flex-basis: 24px; width: 24px; height: 24px; font-size: 14px; }
}

/* ── Admin layout ── */
.admin-shell { max-width: 1100px; margin: 0 auto; padding: 24px 20px; }
.admin-shell h2 { color: var(--ink); margin-top: 28px; font-size: 20px; }
.card-block {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  padding: 22px;
  margin-bottom: 22px;
}
table.activity { width: 100%; border-collapse: collapse; font-size: 14px; }
table.activity th { text-align: left; background: #fafafa; padding: 10px 12px; font-size: 12px; text-transform: uppercase; color: #888; font-weight: 700; border-bottom: 1px solid var(--line); }
table.activity td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.activity tr:hover { background: #fafafa; }

.pill { display:inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill-ok  { background: rgba(22,163,74,0.12); color: var(--good); }
.pill-pending { background: rgba(0,0,0,0.06); color: #555; }

/* ── PM contact card (bottom of public quote) ── */
.pm-contact-card {
  margin-top: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 24px 26px;
  border-left: 4px solid var(--orange);
}
.pm-contact-card h4 {
  margin: 0 0 8px 0;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.pm-contact-card__lead {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 15px;
  line-height: 1.45;
}
.pm-contact-card__lead strong { color: #111; }
.pm-contact-card__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.pm-contact-card__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.pm-contact-card__link:hover {
  background: #fff;
  border-color: var(--orange);
}
.pm-contact-card__link:active { transform: translateY(1px); }
.pm-contact-card__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.pm-contact-card__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pm-contact-card__lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  font-weight: 700;
}
.pm-contact-card__val {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  word-break: break-word;
}
@media (max-width: 700px) {
  .pm-contact-card { padding: 18px 18px; border-radius: 14px; margin-top: 24px; }
  .pm-contact-card__links { grid-template-columns: 1fr; }
}
