/* ============================================================
   Apex Plan Solutions — apexplansolutions.com
   Black #1A1A1A · White · Red #EC3023 (accent) · Gray #F5F5F5
   Montserrat 800 headlines / 400-500 body · Mobile-first
   ============================================================ */

:root {
  --black: #1A1A1A;
  --white: #FFFFFF;
  --red: #EC3023;
  --red-dark: #C9241A;
  --gray-bg: #F5F5F5;
  --gray-line: #E3E3E3;
  --text: #1A1A1A;
  --text-light: #555555;
  --text-on-dark: #C9C9C9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Sections + blueprint sheet frames ---------- */
.section {
  position: relative;
  padding: 64px 0;
  --rule: rgba(26, 26, 26, 0.28);
}

/* faint drawing-sheet frame inside every section */
.section::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(26, 26, 26, 0.05);
  pointer-events: none;
}

.section-gray {
  background-color: var(--gray-bg);
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.section-dark {
  --rule: rgba(255, 255, 255, 0.35);
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--white);
}

.section-dark::after { border-color: rgba(255, 255, 255, 0.06); }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 36px;
  text-align: center;
}

/* dimension-line divider mark under every section heading */
.section h2::after {
  content: '';
  display: block;
  width: 150px;
  height: 12px;
  margin: 16px auto 0;
  background:
    linear-gradient(var(--red), var(--red)) center / 56px 4px no-repeat,
    linear-gradient(var(--rule), var(--rule)) center / 150px 1px no-repeat,
    linear-gradient(var(--rule), var(--rule)) left center / 2px 12px no-repeat,
    linear-gradient(var(--rule), var(--rule)) right center / 2px 12px no-repeat;
}

h3 { font-size: 18px; margin-bottom: 10px; }

p + p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 13px 24px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(236, 48, 35, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--gray-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
}

.header-logo img {
  width: auto;
  height: 34px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: none;
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--red); }

.header-cta {
  font-size: 14px;
  padding: 10px 16px;
  white-space: nowrap;
}

.cta-long { display: none; }
.cta-short { display: inline; }

/* ---------- Nav: hamburger + dropdown (mobile-first) ---------- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  background: none;
  border: 1px solid var(--gray-line);
  border-radius: 4px;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; }

.site-header.nav-open .site-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  box-shadow: 0 16px 32px rgba(26, 26, 26, 0.14);
  padding: 6px 20px 20px;
}

.nav-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-line);
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active { color: var(--red); }

.nav-mobile-extra {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
}

.nav-phone {
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
  text-decoration: none;
}
.nav-phone:hover { color: var(--red); }

.nav-cta { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--black);
  /* base blueprint grid behind the drawing */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--white);
  text-align: center;
  padding: 72px 0 80px;
}

/* full-bleed blueprint drawing */
.hero-bp {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bp svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* vignette between the drawing and the text keeps the headline readable */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.45) 45%, rgba(26, 26, 26, 0) 75%),
    linear-gradient(rgba(26, 26, 26, 0.25), rgba(26, 26, 26, 0.25));
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-logo {
  width: 260px;
  height: auto;
  margin: 0 auto 40px;
}

.hero h1 {
  font-size: 34px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(26, 26, 26, 0.9);
}

.hero-sub {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-on-dark);
  max-width: 640px;
  margin: 0 auto 32px;
  text-shadow: 0 1px 12px rgba(26, 26, 26, 0.9);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-cta .btn { width: 100%; max-width: 360px; }

.hero-trust {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  text-shadow: 0 1px 10px rgba(26, 26, 26, 0.9);
}

/* ---------- Stats bar ---------- */
.stats {
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid #333;
  color: var(--white);
  padding: 34px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 12px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-top: 4px;
}

/* ---------- Shared block icons (Problem / Why Us) ---------- */
.blk-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.blk-icon svg {
  width: 100%;
  height: 100%;
}

/* ---------- Problem ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.problem-block {
  border-top: 4px solid var(--red);
  padding-top: 18px;
}

.problem-block p { color: var(--text-light); }

.problem-closer {
  margin-top: 48px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}

/* ---------- How It Works ---------- */
.step { text-align: center; }

.step-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.05) 1px, transparent 1px);
  background-size: 14px 14px;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.step:hover .step-icon {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 10px 22px rgba(26, 26, 26, 0.10);
}

.step-icon svg {
  width: 52px;
  height: 52px;
}

.step-num {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step p { color: var(--text-light); }

/* ---------- Services ---------- */

/* Flagship card */
.flagship-card {
  position: relative;
  scroll-margin-top: 100px;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--white);
  padding: 40px 26px 34px;
  text-align: center;
  margin-bottom: 52px;
  transition: box-shadow 0.2s ease;
}

.flagship-card:hover {
  box-shadow: 0 14px 36px rgba(236, 48, 35, 0.18);
}

.flagship-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 3px;
  white-space: nowrap;
}

.flagship-card h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.flagship-desc {
  color: var(--text-on-dark);
  max-width: 680px;
  margin: 0 auto 26px;
}

.flagship-prices {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.flagship-price {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 14px 22px;
}

.fp-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.fp-amount {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
}

/* Service groups */
.service-group { margin-bottom: 40px; }
.service-group:last-child { margin-bottom: 0; }

.group-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  border-bottom: 2px solid var(--gray-line);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

/* red segment over the group rule */
.group-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.gt-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.gt-icon svg {
  width: 100%;
  height: 100%;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.svc {
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-left: 4px solid var(--red);
  border-radius: 6px;
  padding: 22px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(26, 26, 26, 0.12);
}

.svc h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 2px;
}

.svc .price {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.svc p:last-child {
  font-size: 14.5px;
  color: var(--text-light);
}

/* ---------- Case Study ---------- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.case-label {
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.case h2 {
  text-align: left;
  margin-bottom: 24px;
}

.case h2::after { margin-left: 0; }

.case-text p { color: var(--text-on-dark); }

.case-tag {
  margin-top: 24px;
  font-weight: 800;
  font-size: 18px;
  color: var(--white) !important;
}

.case-visual svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- Why Us ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.why-block {
  border-left: 4px solid var(--red);
  padding-left: 18px;
  transition: transform 0.18s ease;
}

.why-block:hover { transform: translateX(4px); }

.why-block p { color: var(--text-light); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; }

.faq details {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq details:hover {
  border-color: #C9C9C9;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.06);
}

.faq details[open] { border-left: 4px solid var(--red); }

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 48px 18px 20px;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.faq details[open] summary::after { content: '\2212'; }

.faq-body {
  padding: 0 20px 18px;
  color: var(--text-light);
}

/* ---------- Contact ---------- */
.contact-inner { max-width: 900px; }

.contact-sub {
  text-align: center;
  color: var(--text-on-dark);
  margin: -20px auto 36px;
  max-width: 520px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.contact-order-btn {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}

.contact-quote-btn {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}

.form-placeholder-alt a { color: var(--white); }

.form-note {
  font-weight: 700;
  color: var(--white);
  border-left: 4px solid var(--red);
  padding-left: 14px;
  margin-bottom: 16px;
}

.form-placeholder {
  background: #242424;
  border: 2px dashed #4A4A4A;
  border-radius: 6px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--text-on-dark);
}

.form-placeholder-alt { font-size: 14px; }

.form-placeholder a { color: var(--white); }

.contact-info h3 {
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.ready-list {
  list-style: none;
  margin: 12px 0 28px;
}

.ready-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-on-dark);
  font-weight: 500;
}

.ready-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 12px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-line {
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  word-break: break-word;
}
.contact-line:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text-on-dark);
  border-top: 3px solid var(--red);
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
}

.footer-inner p { margin-top: 10px; }

.footer-logo {
  width: 200px;
  margin: 0 auto 18px;
}

.site-footer a {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}
.site-footer a:hover { color: var(--red); }

.footer-legal { font-size: 13px; }

/* ============================================================
   Tablet — 768px+
   ============================================================ */
@media (min-width: 768px) {
  .section { padding: 84px 0; }

  h2 { font-size: 34px; margin-bottom: 44px; }

  .cta-long { display: inline; }
  .cta-short { display: none; }

  .header-phone { display: inline; }

  .header-logo img { height: 38px; }

  .hero { padding: 110px 0 120px; }
  .hero h1 { font-size: 48px; }
  .hero-sub { font-size: 18px; }
  .hero-cta { flex-direction: row; justify-content: center; }
  .hero-cta .btn { width: auto; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
  .stat-num { font-size: 34px; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }

  .problem-closer { font-size: 26px; }

  .flagship-card { padding: 48px 40px 40px; }
  .flagship-prices { flex-direction: row; }
  .flagship-price { min-width: 220px; }

  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .service-cards-2 { grid-template-columns: repeat(2, 1fr); }

  .group-title { font-size: 20px; }

  .contact-grid { grid-template-columns: 3fr 2fr; gap: 48px; }
}

/* ============================================================
   Wide tablet / desktop — full nav row in the header
   ============================================================ */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  /* keep the header compact while the nav is in: short CTA until 1200px */
  .cta-long { display: none; }
  .cta-short { display: inline; }

  .site-nav,
  .site-header.nav-open .site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0 auto;
  }

  .nav-link {
    display: flex;
    align-items: center;
    height: 68px;
    padding: 0;
    border-bottom: 0;
    position: relative;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.18s ease;
  }

  .nav-link.active::after { transform: scaleX(1); }

  .nav-mobile-extra { display: none; }
}

/* ============================================================
   Desktop — 1200px+
   ============================================================ */
@media (min-width: 1200px) {
  .cta-long { display: inline; }
  .cta-short { display: none; }

  .hero h1 { font-size: 56px; }

  .case-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
}

/* ============================================================
   ORDER PAGE (order.html)
   ============================================================ */

/* title band */
.order-band {
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--white);
  text-align: center;
  padding: 40px 0;
}

.order-band h1 {
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.order-band p { color: var(--text-on-dark); font-weight: 500; }

/* layout grid */
.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.order-main h2 {
  text-align: left;
  font-size: 24px;
  margin-bottom: 18px;
}

.order-main h2::after { margin-left: 0; width: 110px; }

.order-main h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 22px 0 10px;
}

/* left column */
.product-visual {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.18);
}

.product-visual svg { display: block; width: 100%; height: auto; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.trust-badge svg { width: 30px; height: 30px; flex: 0 0 auto; }

.product-desc p { color: var(--text-light); }

.includes-list, .usefor-list { list-style: none; margin: 6px 0 4px; }

.includes-list li, .usefor-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-weight: 500;
}

.includes-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.usefor-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.order-disclaimer {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-light);
  border: 1px solid var(--gray-line);
  border-left: 4px solid var(--black);
  border-radius: 4px;
  background: var(--gray-bg);
  padding: 12px 14px;
}

/* right column: form card */
.order-form-area { min-width: 0; }

.order-form {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.12);
  padding: 26px 22px 28px;
}

.of-title {
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 22px;
}

.order-form .of-title::after { display: none; }

.of-block {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
}

.of-block legend {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--black);
}

/* project type radios */
.pt-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--gray-line);
  border-radius: 6px;
  padding: 13px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pt-option:hover { border-color: #BDBDBD; }

.pt-option:has(input:checked) {
  border-color: var(--red);
  background: rgba(236, 48, 35, 0.05);
}

.pt-option input {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.pt-body { flex: 1; min-width: 0; }

.pt-name { display: block; font-weight: 800; font-size: 15px; }

.pt-note { display: block; font-size: 12.5px; color: var(--text-light); }

.pt-price {
  font-weight: 800;
  color: var(--red);
  font-size: 17px;
  white-space: nowrap;
}

/* fields */
.of-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .of-fields { grid-template-columns: repeat(2, 1fr); }
}

.of-field { display: block; min-width: 0; }

.of-full { grid-column: 1 / -1; }

.of-field > span {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.of-field input,
.of-field select,
.of-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  padding: 10px 12px;
  border: 1px solid #CFCFCF;
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
}

.of-field input:focus,
.of-field select:focus,
.of-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(236, 48, 35, 0.15);
}

.of-note {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  background: rgba(236, 48, 35, 0.06);
  border-radius: 4px;
  padding: 8px 12px;
}

/* uploads */
.upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px dashed #BDBDBD;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  color: var(--text-light);
  transition: border-color 0.15s ease, background 0.15s ease;
  overflow: hidden;
}

.upload-box:hover, .upload-box.dragging {
  border-color: var(--red);
  background: rgba(236, 48, 35, 0.04);
}

.upload-box.has-file { border-style: solid; border-color: var(--red); }

.upload-box svg { width: 34px; height: 34px; flex: 0 0 auto; }

.upload-box input[type="file"] { display: none; }

.upload-label { font-size: 13.5px; line-height: 1.4; flex: 1 1 auto; min-width: 0; }

.upload-label strong { color: var(--black); font-size: 14.5px; }

.upload-file {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  flex: 0 1 40%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* add-on group labels */
.addon-group-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin: 18px 0 6px;
  padding: 0 8px;
}

.addon-group-label:first-child { margin-top: 0; }

/* add-ons */
.addon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--gray-line);
  cursor: pointer;
}

.addons .addon:last-child { border-bottom: 0; }

.addon:hover { background: var(--gray-bg); }

.addon input {
  accent-color: var(--red);
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.addon-name { flex: 1; font-size: 14px; font-weight: 500; }

.addon-price { font-weight: 800; color: var(--red); white-space: nowrap; }

/* tooltips */
.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid #AFAFAF;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  margin-left: 6px;
  cursor: help;
  position: relative;
  vertical-align: 1px;
}

.tip:hover, .tip:focus { border-color: var(--red); color: var(--red); outline: none; }

.tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  padding: 9px 11px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
  z-index: 20;
  pointer-events: none;
}

.tip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--black);
  opacity: 0;
  visibility: hidden;
  z-index: 20;
}

.tip:hover::after, .tip:focus::after,
.tip:hover::before, .tip:focus::before {
  opacity: 1;
  visibility: visible;
}

/* rush */
.rush-block .addon {
  border: 2px solid var(--red);
  border-radius: 6px;
  background: rgba(236, 48, 35, 0.05);
  padding: 13px 14px;
}

.rush-block .addon-name { font-weight: 800; }

/* form fields (Steps 3 & 4) */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row { display: flex; flex-direction: column; }

.form-row-half {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.form-row-half > div { flex: 1; display: flex; flex-direction: column; }

.form-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.form-label .req { color: var(--red); }

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s ease;
}

.form-input::placeholder { color: #ABABAB; font-weight: 400; }
.form-input:focus { outline: none; border-color: var(--red); }


.file-upload-wrap {
  position: relative;
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px;
  border: 2px dashed var(--gray-line);
  border-radius: 8px;
  background: var(--gray-bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.file-upload-display svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.file-upload-wrap:hover .file-upload-display,
.file-input:focus + .file-upload-display {
  border-color: var(--red);
  background: rgba(236, 48, 35, 0.04);
}

.file-upload-display.has-file {
  border-color: #22A559;
  background: rgba(34, 165, 89, 0.06);
  color: #1A7A42;
  font-weight: 700;
}

.upload-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
  line-height: 1.5;
}

.checkout-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #991B1B;
  line-height: 1.6;
}

.checkout-error a { color: #991B1B; font-weight: 700; }

/* price summary */
.price-summary {
  border-top: 2px solid var(--black);
  margin-top: 4px;
  padding-top: 12px;
}

.pl {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 5px 0;
  font-weight: 700;
  font-size: 15px;
}

.pl-total {
  border-top: 1px solid var(--gray-line);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.pl-total span:last-child { color: var(--red); font-size: 26px; }

.quote-note {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  padding: 6px 0 0;
}

/* CTA */
.order-cta {
  width: 100%;
  margin-top: 16px;
  padding: 18px 20px;
  font-size: 15.5px;
  line-height: 1.35;
  white-space: normal;
}

.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.secure-line svg { width: 15px; height: 15px; }

.of-demo-note {
  margin-top: 10px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-light);
  font-style: italic;
}

/* seals */
.order-seals {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.seal { width: 116px; }

.seal svg { width: 100%; height: auto; display: block; }

/* guarantee */
.guarantee-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 820px;
}

.guarantee-seal { width: 150px; flex: 0 0 auto; }

.guarantee-seal svg { width: 100%; height: auto; }

.guarantee-text p { color: var(--text-on-dark); }

.guarantee-tag { font-weight: 800; color: var(--white) !important; margin-top: 14px; }

/* ========== THANK YOU PAGE ========== */
.ty-check { margin-bottom: 16px; }

.ty-content {
  max-width: 700px;
  margin: 0 auto;
}

.ty-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}

.ty-step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-line);
}

.ty-step:last-child { border-bottom: 0; }

.ty-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ty-step-body h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ty-step-body p { color: var(--text-light); font-size: 15px; }

.ty-upload-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.12);
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 36px;
}

.ty-upload-card h2 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ty-upload-card h2::after { display: none; }

.ty-upload-card > p { color: var(--text-light); margin-bottom: 22px; }

.ty-send-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}

.ty-send-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14.5px;
}

.ty-send-item svg { color: var(--red); flex: 0 0 auto; }

.ty-email-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 15px;
  padding: 16px 20px;
  white-space: normal;
  line-height: 1.35;
}

.ty-email-direct {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-light);
}

.ty-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* video */
.video-inner { max-width: 760px; }

.video-placeholder {
  aspect-ratio: 16 / 9;
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text-on-dark);
  font-weight: 600;
  cursor: pointer;
}

.video-placeholder svg { width: 74px; height: 74px; transition: transform 0.15s ease; }

.video-placeholder:hover svg { transform: scale(1.07); }

.site-video {
  width: 100%;
  display: block;
  border-radius: 8px;
  background: var(--black);
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.25);
}

.video-section .video-inner { margin: 0 auto; text-align: center; }

.video-sub { color: var(--text-light); margin: -6px 0 24px; }

/* ---- get-a-quote page ---- */
.quote-main { padding-top: 44px; }

.quote-grid { display: grid; gap: 40px; }

.quote-intro h2 {
  text-align: left;
  font-size: 26px;
  margin-bottom: 18px;
}

.quote-intro h2::after { margin-left: 0; width: 110px; }

.quote-intro p { margin-bottom: 14px; max-width: 640px; }

.quote-intro strong { color: var(--black); }

.quote-card {
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  padding: 26px 22px 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.07);
  margin-top: 28px;
}

.quote-embed { max-width: 780px; margin: 0 auto; }

@media (min-width: 1200px) {
  .quote-grid { grid-template-columns: 1fr 128px; }

  .quote-seals {
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 96px;
  }
}

.quote-alt {
  text-align: center;
  margin-top: 18px;
  color: var(--text-light);
  font-size: 14.5px;
}

.order-afterhours-note {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

.order-quote-link {
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
}

.order-quote-link a { color: var(--red); font-weight: 700; }

/* ---- order page responsive ---- */
@media (min-width: 768px) {
  .order-band { padding: 56px 0; }
  .order-band h1 { font-size: 34px; }

  .order-grid { grid-template-columns: 1fr 1.05fr; gap: 44px; }

  .order-seals { grid-column: 1 / -1; }

  .order-form { padding: 32px 30px 34px; }

  .guarantee-inner {
    flex-direction: row;
    text-align: left;
  }

  .guarantee h2 { text-align: left; }
  .guarantee h2::after { margin-left: 0; }
}

@media (min-width: 1200px) {
  /* description left (narrow), form right (wide), seals rail far right */
  .order-grid { grid-template-columns: 0.78fr 1.52fr 128px; gap: 40px; }

  .order-seals {
    grid-column: auto;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 96px;
  }

  .seal { width: 128px; }
}

/* ---------- Pricing cards ---------- */
.pricing-section {
  border-radius: 12px;
  padding: 56px 28px 48px;
  margin-bottom: 52px;
}

.pricing-section::after { display: none; }

.pricing-section h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 14px;
}

.pricing-section h2::after { display: none; }

.pricing-sub {
  text-align: center;
  color: var(--text-on-dark);
  max-width: 620px;
  margin: 0 auto 8px;
}

.pricing-tagline {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-card {
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 32px 26px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  border-color: #555;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.pc-popular {
  border-color: var(--red);
}

.pc-popular:hover {
  border-color: var(--red);
  box-shadow: 0 12px 36px rgba(236, 48, 35, 0.25);
}

.pc-enterprise {
  border-color: #555;
}

.pc-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pc-badge-ent {
  background: #555;
}

.pc-name {
  color: var(--white);
  font-size: 20px;
  text-transform: none;
  margin-bottom: 6px;
}

.pc-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 86px;
}

.pc-price-range {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pc-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}

.pc-period {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  background: transparent;
  color: var(--white);
  border: 2px solid #555;
}

.btn-outline-dark:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

.pc-features {
  list-style: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #333;
  flex: 1;
}

.pc-features li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}

.pc-features li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

.pc-feat-bold {
  font-weight: 800;
  color: var(--white) !important;
}

.pc-feat-section {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 500;
  padding-top: 10px !important;
}

.pc-feat-section::before { display: none !important; }

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pricing-section h2 { font-size: 36px; }
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .pricing-section { padding: 64px 36px 56px; }
}

/* ---------- Legal pages (Privacy, Terms) ---------- */
.legal-inner {
  max-width: 780px;
}

.legal-content h2 {
  text-align: left;
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 14px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h2::after { display: none; }

.legal-content h3 {
  font-size: 16px;
  margin-top: 22px;
}

.legal-content p {
  color: var(--text-light);
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin: 8px 0 14px;
  color: var(--text-light);
}

.legal-content ul li {
  padding: 3px 0;
}

.legal-content a {
  color: var(--red);
  font-weight: 600;
}

/* ---------- SMS consent ---------- */
.sms-consent {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.sms-consent a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

/* Force GHL embedded forms visible (form_embed.js hides them until a
   postMessage fires; race condition sometimes leaves them hidden) */
iframe[data-form-id] {
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  left: auto !important;
  pointer-events: auto !important;
}
