/* Clean425 Pay — public-facing palette (matches the campaign design).
   Navy / Sky / Orange on a Cream background. */
:root {
  --navy: #0E1D42;
  --sky: #27AAE1;
  --orange: #F58220;
  --orange-dark: #d96d10;
  --navy-deep: #091230;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --gray-text: #5A6478;
  --border: #E5E9F0;
}

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

html, body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
  background: var(--navy); color: var(--white);
  padding: 10px 24px; text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
}

.header {
  background: var(--white); padding: 8px 24px;
  border-bottom: 3px solid var(--orange);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo {
  /* Compact header logo — the full mascot lives in the hero on
     campaign pages, so the header just needs the brand mark at a
     glance. object-fit: contain preserves aspect regardless of
     the declared box. */
  width: 150px; height: 64px;
  display: block; object-fit: contain;
}
.header-contact {
  text-align: right; font-size: 13px; color: var(--gray-text); line-height: 1.4;
}
.header-contact strong {
  display: block; color: var(--navy); font-size: 15px; font-weight: 900;
}
.header-contact a { color: var(--gray-text); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: 56px 24px 64px;
  position: relative; overflow: hidden;
}
.hero.hero-compact { padding: 36px 24px 40px; }
.hero::before {
  content: ""; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(39,170,225,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.hero-text { flex: 1 1 480px; max-width: 720px; }

/* Mascot art on the right of the hero. Sits directly on the navy
   gradient with no badge / circle — the PNG carries its own transparency,
   so what reads is the character only. Subtle drop-shadow grounds it
   against the dark background. */
.hero-mascot {
  flex: 0 0 auto;
  width: 200px; height: auto; max-height: 220px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}
@media (max-width: 760px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-mascot { width: 140px; align-self: center; }
}

/* Inline-color "markdown" used in admin-authored headlines and copy.
   Syntax in admin input: [text|sky], [text|orange], [text|white], [text|gray]
   The filter in lib/templating.py wraps each match in a span; these
   styles paint the spans. Anywhere the filter is applied works — hero
   text, lede, page descriptions, etc. */
.hl-sky    { color: var(--sky); }
.hl-orange { color: var(--orange); }
.hl-white  { color: var(--white); }
.hl-gray   { color: var(--gray-text); }
.hl-navy   { color: var(--navy); }
.hero-eyebrow {
  display: inline-block; background: var(--orange); color: var(--white);
  font-size: 12px; font-weight: 900; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 4px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 14px;
}
.hero h1 span { color: var(--sky); }
.hero p.lede {
  font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.85);
}
/* Property map — framed card directly below the hero. Must stay fully
   visible (no crop, no darken) because it shows the crew's start/finish
   points. Framed with a soft drop-shadow + thin border so it reads as
   a deliberate part of the page rather than a raw embed. */
.site-map {
  background: linear-gradient(180deg, #f4f6fa 0%, #ffffff 100%);
  padding: 36px 24px 44px;
  position: relative;
}
.site-map::before,
.site-map::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.site-map::before {
  top: -60px; left: -60px;
  background: radial-gradient(circle, rgba(39,170,225,0.10) 0%, transparent 70%);
}
.site-map::after {
  bottom: -60px; right: -60px;
  background: radial-gradient(circle, rgba(239,127,26,0.08) 0%, transparent 70%);
}
.site-map-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.site-map-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white, #fff);
  border: 1px solid var(--border, #e3e7ee);
  color: var(--navy, #0b2a56);
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.site-map-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange, #ef7f1a);
  box-shadow: 0 0 0 3px rgba(239,127,26,0.18);
}
.site-map-frame {
  background: var(--white, #fff);
  border: 1px solid var(--border, #e3e7ee);
  border-radius: 14px;
  padding: 10px;
  box-shadow:
    0 1px 2px rgba(11, 42, 86, 0.05),
    0 12px 32px -10px rgba(11, 42, 86, 0.22);
  overflow: hidden;
}
.site-map-frame img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
}
.site-map-caption {
  margin-top: 12px;
  font-size: 13px; line-height: 1.5;
  color: var(--gray-text, #4b5563);
  text-align: center;
}
.site-map-caption strong { color: var(--navy, #0b2a56); font-weight: 700; }

/* "+ tax" tag next to the price on each service card. Spacing is
   handled by the parent .price-row's `gap`, so no margin needed. */
.price-tax {
  font-size: 12px; font-weight: 600; color: var(--gray-text);
  opacity: 0.85;
}

/* Property address inside the details bar — stacked on multiple lines
   (street / city, state ZIP) instead of crammed onto one. */
.address-block {
  margin-top: 4px;
  font-weight: 400;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.4;
}
.address-block > div { display: block; }

/* Details bar (campaign page) */
.details-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 24px;
}
.details-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.detail-item { display: flex; align-items: flex-start; gap: 12px; }
.detail-icon {
  width: 38px; height: 38px; background: var(--sky); color: var(--white);
  border-radius: 8px; display: grid; place-items: center;
  font-weight: 900; font-size: 16px; flex-shrink: 0;
}
.detail-label {
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray-text); margin-bottom: 2px;
}
.detail-value {
  font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3;
}
@media (max-width: 720px) {
  .details-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Generic panels (pay form, thanks, not-found) */
.panel {
  max-width: 720px; margin: 32px auto; padding: 0 24px;
}
.panel.narrow { max-width: 560px; }
.panel-inner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
}
.panel-title {
  font-size: 22px; font-weight: 900; margin-bottom: 18px; color: var(--navy);
  letter-spacing: -0.3px;
}
.panel-inner p { margin-bottom: 12px; color: var(--gray-text); }
.panel-inner p.lede { font-size: 16px; color: var(--navy); }

.alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: rgba(245, 130, 32, 0.10); color: var(--orange-dark); border: 1px solid rgba(245, 130, 32, 0.35); }

/* Form */
.pay-form .form-row { margin-bottom: 16px; }
.pay-form label {
  display: block; font-size: 13px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.pay-form label .opt { color: var(--gray-text); font-weight: 400; font-size: 11px; }
.pay-form input[type="text"],
.pay-form input[type="email"],
.pay-form input[type="tel"] {
  width: 100%; padding: 11px 12px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white);
  font-family: inherit; font-size: 15px; color: var(--navy);
}
.pay-form input:focus { outline: 2px solid var(--sky); outline-offset: -1px; }
.pay-form .hint { font-size: 12px; color: var(--gray-text); margin-top: 4px; }

.amount-wrap {
  position: relative;
}
.amount-wrap .dollar {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 700; color: var(--gray-text);
  pointer-events: none;
}
/* Selector specificity has to outrank .pay-form input[type="text"] above,
   otherwise that rule's `padding: 11px 12px` shorthand wipes out
   padding-left and the placeholder slides under the $ sign. */
.pay-form .amount-wrap input[type="text"] {
  padding-left: 32px; font-size: 22px; font-weight: 700;
}
.pay-form .amount-wrap input::placeholder { color: var(--border); font-weight: 400; }

.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-2col { grid-template-columns: 1fr; } }

/* 3-col layout for city / state / zip — city stretches, state + zip stay tight */
.form-3col-csz { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-3col-csz { grid-template-columns: 1fr; } }

/* Legacy single-row section header — superseded by .form-group below but
   kept for any template still referencing it. */
.form-section {
  font-size: 13px; font-weight: 900; color: var(--navy);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin: 24px 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.form-section:first-of-type { margin-top: 6px; }

/* Grouped form sections — visually separated by horizontal dividers,
   each headed by a numbered orange badge + uppercase title + optional
   muted subtitle. Keeps the form light (no nested cards) while making
   the logical grouping obvious. */
.form-group {
  padding-top: 22px; margin-top: 18px;
  border-top: 1px solid var(--border);
}
.form-group:first-of-type {
  padding-top: 0; margin-top: 0; border-top: 0;
}
.form-group-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.form-group-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); color: #ffffff;
  font-size: 13px; font-weight: 900;
  flex-shrink: 0;
}
.form-group-titles { line-height: 1.25; }
.form-group-title {
  font-size: 13px; font-weight: 900; color: var(--navy);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin: 0;
}
.form-group-sub {
  display: block; margin-top: 2px;
  font-size: 12px; font-weight: 400; letter-spacing: 0;
  color: var(--gray-text); text-transform: none;
}

/* Accepted-cards hint under the Card details section */
.accepted-cards {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: -4px 0 14px; font-size: 11px; color: var(--gray-text);
}
.accepted-cards .brand {
  display: inline-block;
  background: var(--navy); color: #ffffff;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 7px; border-radius: 4px;
}

/* Per-field validation states. The .field-msg lives at the bottom of
   the .form-row container; the input border colour shifts to match. */
.pay-form .form-row.field-invalid input,
.pay-form .form-row.field-invalid select {
  border-color: #d6411e;
  background-color: #fef6f3;
}
.pay-form .form-row.field-valid input,
.pay-form .form-row.field-valid select {
  border-color: #4caf6f;
}
.pay-form .form-row .field-msg {
  font-size: 12px; color: #b91c1c;
  margin-top: 4px; line-height: 1.3;
}
.pay-form .form-row.field-valid .field-msg { color: #1c7c47; }

/* Card brand badge that floats inside the card-number input */
.card-brand-badge {
  display: none; position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: var(--navy); color: var(--white);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 4px;
}

.pay-btn {
  display: inline-block; background: var(--orange); color: var(--white);
  border: none; cursor: pointer; text-decoration: none;
  text-align: center; padding: 14px 24px; border-radius: 8px;
  font-weight: 900; font-size: 15px; letter-spacing: 0.5px;
  text-transform: uppercase; width: 100%;
  transition: background 0.2s ease;
}
.pay-btn:hover { background: var(--orange-dark); }
.pay-btn:disabled { background: #c5cad6; cursor: not-allowed; }
.pay-btn-secondary {
  background: var(--navy); color: var(--white); width: auto;
}
.pay-btn-secondary:hover { background: var(--navy-deep); text-decoration: none; }

.secure {
  text-align: center; font-size: 12px; color: var(--gray-text); margin-top: 12px;
}

/* Campaign body */
.campaign-body { max-width: 1100px; margin: 0 auto; padding: 56px 24px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-eyebrow {
  color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 8px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 34px); font-weight: 900; color: var(--navy);
  letter-spacing: -0.3px;
}

.services {
  /* Narrower cards (240px wide) packed in centered columns. auto-fit
     plus a hard-capped max in minmax() keeps every card the same
     width — without it the last row's stretched cards looked clumsy. */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
  gap: 18px;
  justify-content: center;
  max-width: 800px; margin: 0 auto;
}
.service {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(14, 29, 66, 0.12); }
.service-tag {
  background: var(--navy); color: var(--sky);
  font-size: 11px; font-weight: 900; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 8px 20px;
}
.service-tag.popular { background: var(--orange); color: var(--white); }
.service-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service h3 { font-size: 20px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.service .desc { color: var(--gray-text); font-size: 14px; margin-bottom: 16px; }
.service ul { list-style: none; margin-bottom: 20px; }
.service ul li {
  font-size: 13px; color: var(--navy); padding: 4px 0 4px 22px; position: relative;
}
.service ul li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--sky); font-weight: 900;
}
.price-row {
  /* Pack price + unit + tax tightly left-aligned. The old layout used
     space-between which pushed "/ month" all the way to the right of
     the card; visually it read as unrelated. */
  display: flex; align-items: baseline; justify-content: flex-start;
  gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  /* Cards stretch to equal height (grid default); push the price + add button
     to the bottom so every card's button lines up. Any slack falls above the
     price, between it and the description/bullets. */
  margin-top: auto;
}
.price {
  font-size: 32px; font-weight: 900; color: var(--orange); letter-spacing: -1px;
}
.price-unit { font-size: 13px; color: var(--gray-text); font-weight: 700; }

.empty {
  padding: 40px; text-align: center; color: var(--gray-text);
  font-size: 15px;
}
.footer-note {
  margin-top: 24px; padding: 16px;
  text-align: center; font-size: 13px; color: var(--gray-text);
}

/* Topbar (campaign-aware) */
.topbar span { color: var(--sky); }

/* Wrap main column on campaign pages */
main { max-width: 1100px; margin: 0 auto; padding: 56px 24px; }

/* How it works */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 56px; padding: 28px;
  background: var(--white); border-radius: 12px; border: 1px solid var(--border);
}
.step { text-align: center; padding: 8px; }
.step-num {
  width: 36px; height: 36px; background: var(--orange); color: var(--white);
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 16px; margin: 0 auto 10px;
}
.step h4 {
  font-size: 14px; font-weight: 900; color: var(--navy); margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.step p { font-size: 13px; color: var(--gray-text); line-height: 1.4; }
@media (max-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* Service cards: button styling on the campaign cards (vs the / form) */
.services .pay-btn {
  display: block; padding: 14px 20px; font-size: 15px; width: 100%;
  text-decoration: none;
}
.services .pay-btn:disabled { background: #c5cad6; color: var(--white); cursor: not-allowed; }

/* Quantity picker — shown only on offerings priced per-unit (e.g. per
   skylight). Sits between the price row and the Add button. */
.qty-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.qty-label {
  font-size: 13px; font-weight: 700; color: var(--navy);
}
.qty-input {
  width: 84px; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; font-weight: 700;
  text-align: center; color: var(--navy); background: var(--white);
  font-variant-numeric: tabular-nums;
}
.qty-input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.service.qty-invalid .qty-input {
  border-color: #d23b3b;
  box-shadow: 0 0 0 3px rgba(210,59,59,0.12);
}
.qty-hint {
  font-size: 12px; font-weight: 700; color: #d23b3b;
  margin: -6px 0 12px;
}

/* Add-to-cart label (works as a toggle around a hidden checkbox) */
.add-to-cart {
  display: block; cursor: pointer;
  background: var(--orange); color: var(--white);
  text-align: center; padding: 14px 20px; border-radius: 8px;
  font-weight: 900; font-size: 15px; letter-spacing: 0.5px;
  text-transform: uppercase; transition: background 0.15s ease;
  user-select: none;
}
.add-to-cart:hover { background: var(--orange-dark); }
.add-to-cart .added-state { display: none; }
.add-to-cart.is-added {
  background: var(--navy); color: var(--white);
}
.add-to-cart.is-added:hover { background: var(--navy-deep); }
.add-to-cart.is-added .add-state   { display: none; }
.add-to-cart.is-added .added-state { display: inline; }

/* Floating cart bar — sticky at the bottom of the viewport so the resident
   always sees the running total while scrolling through offerings. */
#cart-bar {
  position: sticky; bottom: 16px; z-index: 5;
  max-width: 720px; margin: 32px auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(14, 29, 66, 0.18);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
#cart-bar .cart-summary {
  flex: 1; font-weight: 700; color: var(--navy);
  font-size: 15px;
}
#cart-bar .cart-summary .cart-sep { color: var(--border); margin: 0 4px; }
#cart-bar .cart-summary .cart-total {
  font-size: 18px; color: var(--orange); margin-left: 4px;
}
#cart-bar .cart-continue {
  width: auto; padding: 12px 20px; font-size: 14px;
  border: none; cursor: pointer;
}
@media (max-width: 540px) {
  #cart-bar { flex-direction: column; align-items: stretch; }
  #cart-bar .cart-continue { width: 100%; }
}

/* Deadline banner */
.deadline {
  margin: 48px 0 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white); padding: 28px; border-radius: 12px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 8px 24px rgba(245, 130, 32, 0.25);
}
.deadline-icon { font-size: 36px; line-height: 1; flex-shrink: 0; }
.deadline h3 {
  font-size: 18px; font-weight: 900; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.deadline p { font-size: 14px; opacity: 0.95; }

/* Trust row */
.trust {
  margin-top: 56px; background: var(--white);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center;
}
.trust-item .num {
  font-size: 28px; font-weight: 900; color: var(--sky);
  letter-spacing: -0.5px; line-height: 1; margin-bottom: 6px;
}
.trust-item .label {
  font-size: 12px; color: var(--gray-text); text-transform: uppercase;
  letter-spacing: 0.8px; font-weight: 700;
}
@media (max-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* Social proof */
.social-proof {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); border-radius: 12px;
  padding: 40px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.social-proof::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245,130,32,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.social-proof .eyebrow {
  color: var(--sky); font-size: 12px; font-weight: 900;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.social-proof h2 {
  font-size: clamp(24px, 3vw, 30px); font-weight: 900; color: var(--white);
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.social-proof .stars {
  color: var(--orange); font-size: 26px; letter-spacing: 4px;
  margin: 14px 0 6px;
}
.social-proof .rating-line {
  color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 24px;
}
.social-proof .rating-line strong { color: var(--white); font-weight: 900; }
.review-platforms {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px 28px; margin-top: 6px; position: relative; z-index: 1;
}
.review-platform {
  color: rgba(255,255,255,0.95); font-size: 14px; font-weight: 700;
  letter-spacing: 0.3px;
}
.review-platform .platform-stars {
  color: var(--orange); margin-right: 6px; font-size: 13px;
}

/* FAQ */
.faq { margin-top: 56px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 900; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--orange); font-size: 22px; font-weight: 900;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .answer {
  padding: 0 22px 20px; color: var(--gray-text);
  font-size: 14px; line-height: 1.6;
}

/* Checkout */
.checkout-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px 48px; }
.checkout-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 28px;
  align-items: start;
}
@media (max-width: 760px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.checkout-h {
  font-size: 16px; font-weight: 900; color: var(--navy);
  margin: 8px 0 12px; text-transform: uppercase; letter-spacing: 0.5px;
}

.checkout-cart {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 24px;
  position: sticky; top: 16px;
}
.cart-list { list-style: none; }
.cart-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.cart-list li:last-child { border-bottom: none; }
.cart-list .cart-name { color: var(--navy); }
.cart-list .cart-qty { color: var(--gray-text); font-weight: 600; font-size: 12px; white-space: nowrap; }
.cart-list .cart-line { color: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums; }

.cart-totals { padding-top: 12px; }
.cart-line-row {
  display: flex; justify-content: space-between; padding: 4px 0;
  font-size: 14px; color: var(--gray-text);
}
.cart-line-row.total {
  border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px;
  font-size: 18px; color: var(--navy); font-weight: 900;
}
.cart-back { font-size: 13px; margin-top: 16px; }
.cart-back a { color: var(--gray-text); }

.checkout-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 28px;
}
.checkout-form .form-row { margin-bottom: 14px; }

/* Native <select> rendering differs by OS and is shorter than our text
   inputs out of the box. Forcing the same padding + font-size + an
   identical visual chevron (via appearance:none + inline SVG bg) makes
   the State dropdown line up to the pixel with City / ZIP next to it.
   Scoped to .pay-form (not .checkout-form) so it covers BOTH the
   campaign checkout and the generic / pay form. */
.pay-form select.select-input {
  width: 100%;
  padding: 11px 38px 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6478' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 7px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
.pay-form select.select-input:focus {
  outline: 2px solid var(--sky); outline-offset: -1px;
}

.checkout-form textarea {
  width: 100%; padding: 11px 12px; font-family: inherit; font-size: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; color: var(--navy); resize: vertical;
}
.checkout-form .pay-btn { margin-top: 8px; }

/* Rich footer (replaces the simple .site-footer used earlier) */
.site-footer-rich {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 36px 24px 24px; text-align: center; margin-top: 64px;
}
.site-footer-rich .footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-contact { font-size: 14px; margin-bottom: 12px; color: var(--white); }
.footer-contact a {
  color: var(--sky); text-decoration: none; font-weight: 700;
}
.footer-services {
  font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px;
}
.legal {
  font-size: 12px; color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px; margin-top: 12px;
}
.ver { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; opacity: 0.5; margin-left: 8px; }
