/* ===================================================
   HospiceShield — Shared Stylesheet
   Edit this ONE file to update all pages at once.
   Page-specific CSS stays in each page's <style> block.
   =================================================== */

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

/* BRAND VARIABLES */
:root {
  --navy: #0b1629;
  --gold: #c9a84c;
  --red: #c0392b;
  --green: #1d5c2e;
}

/* BASE */
body {
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 15% 50%,
      rgba(201, 168, 76, 0.05),
      transparent 45%),
    radial-gradient(circle at 85% 30%,
      rgba(192, 57, 43, 0.03),
      transparent 45%),
    radial-gradient(circle at 50% -10%,
      rgba(201, 168, 76, 0.04),
      transparent 40%),
    var(--navy);
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  position: relative;
}

/* Global Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.60' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}

/* Technical Grid Overlay Class */
.tech-grid {
  position: relative;
}

.tech-grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 85%);
}

/* Data Grid Pattern - tighter, more subtle */
.data-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Mesh Glow - multi-tonal light effect */
.mesh-glow {
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(19, 36, 61, 0.8) 0%, transparent 40%),
    rgba(11, 22, 41, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

a {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 22, 41, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo span {
  color: var(--gold);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: #fff;
}

.lang-toggle {
  background: none;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition:
    border-color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
}

.lang-opt {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
  line-height: 1;
}

.lang-sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.18);
  line-height: 1;
}

.lang-opt.active {
  color: #fff;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── NAV LINKS ROW ───────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.nav-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--gold);
}

/* ── SECTION UTILITIES ───────────────────────────── */
.section {
  padding: 80px 40px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-wide {
  max-width: 1200px;
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  padding: 80px 40px 60px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 100%);
}

.badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d4b455 0%, var(--gold) 100%);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.3);
}

.sub-cta {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── SPEED BAR ───────────────────────────────────── */
.speed-bar {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 10px;
  padding: 20px 28px;
  max-width: 680px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  text-align: center;
}

.speed-bar .col {
  padding: 0 24px;
}

.speed-bar .col-divider {
  background: rgba(201, 168, 76, 0.25);
}

.speed-bar .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.speed-bar .val {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: #fff;
}

.speed-bar .val em {
  font-style: italic;
  color: var(--gold);
}

/* ── NEWS TICKER ─────────────────────────────────── */
.news-ticker-wrap {
  max-width: 680px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-bar {
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.news-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 5px;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.news-bar p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.news-bar strong {
  color: #fff;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.09),
      transparent);
  max-width: 820px;
  margin: 0 auto;
}

/* ── SECTIONS ────────────────────────────────────── */
.section {
  padding: 64px 40px;
  max-width: 820px;
  margin: 0 auto;
}

.section-wide {
  max-width: 1200px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}

.section p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar {
  background: #0f1e38;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 20px 28px;
  max-width: 820px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stats-bar .stat-item {
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
  border-radius: 6px;
}

.stats-bar .stat-item:last-child {
  border-right: none;
}

.stats-bar .stat-item:hover {
  background: rgba(201, 168, 76, 0.05);
}

.stats-bar .stat-num {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stats-bar .stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

/* ── TRUST BLURB ─────────────────────────────────── */
.trust-blurb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 820px;
  margin: 20px auto 0;
  line-height: 1.7;
  padding: 0 40px;
  text-align: center;
}

/* ── SCORE BOX ───────────────────────────────────── */
.score-box {
  background: rgba(29, 92, 46, 0.15);
  border: 1px solid rgba(29, 92, 46, 0.4);
  border-radius: 12px;
  padding: 32px 28px;
  margin-top: 32px;
}

.score-box h3 {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  color: #fff;
  margin-bottom: 12px;
}

.score-box p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.metric {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 14px;
  transition: background 0.18s;
}

.metric:hover {
  background: rgba(255, 255, 255, 0.08);
}

.metric .mnum {
  font-size: 11px;
  font-weight: 500;
  color: rgba(201, 168, 76, 0.7);
  margin-bottom: 4px;
}

.metric p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin: 0;
}

.score-cta {
  background: rgba(29, 92, 46, 0.3);
  border: 1px solid rgba(29, 92, 46, 0.5);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.score-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

.score-cta p strong {
  color: #fff;
}

.score-cta-btn {
  background: #1d5c2e;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
  transition:
    transform 0.18s,
    opacity 0.18s;
}

.score-cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── VS ROW ──────────────────────────────────────── */
.vs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.vs-card {
  border-radius: 10px;
  padding: 24px;
  transition: transform 0.2s;
}

.vs-card:hover {
  transform: translateY(-2px);
}

.vs-card.them {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.vs-card.us {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.vs-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 14px;
}

.us .vs-label {
  color: rgba(201, 168, 76, 0.7);
}

.vs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.vs-item:last-child {
  border-bottom: none;
}

.vi-label {
  color: rgba(255, 255, 255, 0.55);
}

.vi-val {
  font-weight: 500;
  color: #fff;
}

.us .vi-val {
  color: var(--gold);
}

/* ── FLAGS ───────────────────────────────────────── */
.flags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.flag-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 20px;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.flag-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.flag-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.flag-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 0;
}

/* ── TIERS / PRICING ─────────────────────────────── */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 1100px) {
  .section-wide .tiers {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tier {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tier::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.tier:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tier.featured {
  background: rgba(201, 168, 76, 0.05);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: inset 0 0 20px rgba(201, 168, 76, 0.05);
}

.tier.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.tier.featured:hover {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(201, 168, 76, 0.1);
}

.tier.recurring {
  background: rgba(29, 92, 46, 0.04);
  border-color: rgba(29, 92, 46, 0.25);
}

.tier.recurring:hover {
  border-color: rgba(29, 92, 46, 0.4);
}

.tier.defense {
  background: rgba(192, 57, 43, 0.04);
  border-color: rgba(192, 57, 43, 0.25);
}

.tier.defense:hover {
  border-color: rgba(192, 57, 43, 0.4);
}

.tier-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 10px;
}

.featured .tier-tag {
  color: rgba(201, 168, 76, 0.7);
}

.recurring .tier-tag {
  color: rgba(100, 200, 120, 0.8);
}

.tier.defense .tier-tag {
  color: #e67e22;
}

.tier .price {
  font-family: "DM Serif Display", serif;
  font-size: 34px;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.tier-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recurring .tier-name {
  color: #7ee28b;
}

.tier.defense .tier-name {
  color: #ff8c00;
}

.delivery {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
  font-style: italic;
}

.tier ul {
  list-style: none;
  padding: 0;
  margin-bottom: auto;
}

.tier ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tier ul li:last-child {
  border-bottom: none;
}

.tier ul li::before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
  flex-shrink: 0;
}

.recurring ul li::before {
  color: #6dc87a;
}

.tier.defense ul li::before {
  color: #e67e22;
}

.tier-pay-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.tier-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
  background: #d4b96a;
}

.tier.recurring .tier-pay-btn {
  background: rgba(46, 125, 50, 0.9);
  color: #fff;
}

.tier.recurring .tier-pay-btn:hover {
  background: #388e3c;
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.tier.defense .tier-pay-btn {
  background: rgba(192, 57, 43, 0.9);
  color: #fff;
}

.tier.defense .tier-pay-btn:hover {
  background: #c0392b;
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

.tier-stripe-url {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  word-break: break-all;
  text-decoration: none;
  transition: color 0.2s;
}

.tier-stripe-url:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ── UPGRADE / REINSTATE BOXES ───────────────────── */
.upgrade-box,
.reinstate-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.upgrade-box:hover,
.reinstate-box:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.upgrade-box {
  border-left: 4px solid var(--red);
}

.reinstate-box {
  border-left: 4px solid var(--gold);
}

.upgrade-box p,
.reinstate-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.upgrade-box p strong,
.reinstate-box p strong {
  color: #fff;
  font-weight: 600;
}

.upgrade-btn,
.reinstate-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.upgrade-btn {
  background: var(--red);
  color: #fff;
}

.reinstate-btn {
  background: var(--gold);
  color: var(--navy);
}

.upgrade-btn:hover,
.reinstate-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {

  .upgrade-box,
  .reinstate-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* ── CTA SECTION ─────────────────────────────────── */
.cta-section {
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 16px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 40px 80px;
}

.cta-section h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ── BOOK / CALENDLY ─────────────────────────────── */
.book-section {
  text-align: center;
  padding-bottom: 80px;
}

.book-section h2 {
  margin-bottom: 16px;
}

.book-section>p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 500px;
  margin: 0 auto 40px;
}

.calendly-wrap {
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 16px;
  overflow: hidden;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq-section {
  padding: 64px 40px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-section h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
}

.faq-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question span {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.faq-icon {
  color: var(--gold);
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Smooth slide (JS toggles .open — no JS change needed) */
.faq-answer {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  transition:
    max-height 0.32s ease,
    padding 0.32s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 22px 18px;
}

.faq-testimonial-placeholder {
  margin-top: 32px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  padding: 24px 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  text-align: center;
}

/* ── LEAD CAPTURE FORM ───────────────────────────── */
.lead-form-section {
  padding: 48px 40px;
  max-width: 820px;
  margin: 0 auto;
}

.lead-form-section .section-label {
  margin-bottom: 12px;
}

.lead-form-section h2 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
}

.lead-form-section h2 em {
  font-style: italic;
  color: var(--gold);
}

.lead-form-section>p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Card wrapper (compliance / score / audit / suspended) */
.lead-form-card {
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  padding: 40px 36px;
}

.lead-form-card .form-header-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.lead-form-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(20px, 2.8vw, 26px);
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.lead-form-card>p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 28px;
  line-height: 1.65;
}

/* Inline form (index.html main CTA) */
.lead-capture-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
}

/* Shared form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row-single {
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-field input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.form-field input:focus {
  border-color: rgba(201, 168, 76, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

/* .form-submit = Group B pages  |  .form-submit-btn = index.html */
.form-submit,
.form-submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  letter-spacing: 0.3px;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    opacity 0.18s;
}

.form-submit:hover,
.form-submit-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.28);
}

.form-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-reposition-label {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  font-family: "DM Sans", sans-serif;
}

/* ── SSL BADGE (legacy) ──────────────────────────── */
.ssl-badge {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: 8px;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 40px;
  text-align: center;
}

.footer-phone {
  display: none;
  margin-bottom: 14px;
}

.footer-phone a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-phone a:hover {
  color: #fff;
}

footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.8;
}

footer strong {
  color: rgba(255, 255, 255, 0.45);
}

/* ── STICKY MOBILE CTA ───────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(to top,
      rgba(11, 22, 41, 1) 40%,
      rgba(11, 22, 41, 0));
}

.sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  padding: 15px 20px;
  border-radius: 10px;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.sticky-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 640px) {
  nav {
    padding: 16px 20px;
  }

  .nav-phone {
    display: none;
  }

  .footer-phone {
    display: block;
  }

  .nav-links {
    padding: 8px 20px;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero {
    padding: 60px 20px 40px;
  }

  .section {
    padding: 48px 20px;
  }

  .faq-section {
    padding: 48px 20px;
  }

  .trust-blurb {
    padding: 0 20px;
  }

  .speed-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .speed-bar .col-divider {
    display: none;
  }

  .vs-row {
    grid-template-columns: 1fr;
  }

  .cta-section {
    margin: 0 20px 60px;
    padding: 40px 24px;
  }

  .book-section {
    padding: 48px 20px 60px;
  }

  footer {
    padding: 24px 20px;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 90px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 12px;
  }

  .stats-bar .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 8px;
  }

  .stats-bar .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stats-bar .stat-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .lead-form-section {
    padding: 32px 20px;
  }

  .lead-capture-form {
    padding: 24px 20px;
  }

  .lead-form-card {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .nav-cta {
    padding: 8px 14px;
    font-size: 12px;
  }

  .lang-toggle {
    padding: 5px 9px;
  }
}

/* ── PREMIUM UTILITIES ───────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(201, 168, 76, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── LAYOUT UTILITIES ────────────────────────────── */
.section {
  padding: 80px 40px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.section-wide {
  max-width: 1200px;
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 20%,
      rgba(201, 168, 76, 0.25) 50%,
      rgba(255, 255, 255, 0.08) 80%,
      transparent 100%);
  border: none;
}

/* ── MODERN HERO LAYOUT ───────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(19, 36, 61, 0.8) 0%, transparent 50%),
    var(--navy);
}

.hero-section>canvas#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  /* Soften the canvas overlay */
}

.hero-section>*:not(canvas) {
  position: relative;
  z-index: 1;
}

.hero-section .hero {
  background: none;
  padding-bottom: 30px;
}

/* Surface Bloom - subtle glow for containers */
.surface-bloom {
  position: relative;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.surface-bloom::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), transparent 60%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  letter-spacing: 0.03em;
  margin: -8px auto 36px;
  max-width: 600px;
}

.hero-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  position: relative;
  z-index: 1;
}

.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  text-align: left;
}

.hero-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-col-left p {
  text-align: left;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.8;
}

.hero-col-left .cta-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 18px 32px;
}

.trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 10px 4px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--gold);
}

.trust-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.cta-ghost {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.cta-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px 60px;
  }

  .hero-col-left {
    align-items: center;
    text-align: center;
  }

  .hero-col-left p {
    text-align: center;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
  }

  .hero-col-left .cta-btn {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
  }

  .hero-tagline {
    font-size: 16px;
    padding: 0 20px;
    margin-bottom: 24px;
  }

  .hero {
    padding: 56px 20px 32px;
  }

  .hero h1 {
    font-size: clamp(28px, 6vw, 42px);
  }

  .section {
    padding: 56px 24px;
  }

  .news-ticker-wrap {
    margin: 24px 0 0;
  }
}

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  max-width: 1100px;
  margin: 40px auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  background: var(--navy);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.stat-num {
  font-family: "DM Serif Display", serif;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

@media (max-width: 960px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 24px 20px;
    background: none;
    border: none;
    gap: 12px;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 12px;
  }

  .stat-num {
    font-size: 28px;
    margin-bottom: 4px;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    gap: 8px;
  }

  .stat-item {
    padding: 20px 10px;
  }

  .stat-num {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }
}

/* ── STICKY MOBILE CTA ────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  gap: 12px;
  z-index: 2000;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.sticky-cta-btn {
  flex: 1.6;
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.2);
}

.sticky-cta-ghost-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s;
}

.sticky-cta-ghost-btn:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .sticky-cta {
    display: flex;
  }

  body {
    padding-bottom: 120px;
    /* More room for dual sticky cta */
  }

  nav {
    padding: 14px 20px;
  }

  .logo {
    font-size: 19px;
  }

  .nav-cta,
  .nav-phone {
    display: none;
  }

  /* Hide hero redundancy when sticky is active */
  .hero-col-left .cta-ghost,
  .hero-col-left .trust-strip {
    display: none;
  }

  .hero h1 {
    line-height: 1.1;
    margin-bottom: 16px;
  }
}