:root {
  --brand-primary: #1B4B7F;
  --brand-accent: #0A7B83;
  --brand-success: #2D8C5C;
  --brand-highlight: #D4A574;
  --danger-red: #DC2626;
  --light-bg: #F8FAFB;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #4a5568;
  --border-light: #e2e8f0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 16px 0;
  min-height: 90px;
  box-sizing: border-box;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand img {
  height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.nav-phone) {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:not(.nav-phone):hover {
  color: var(--brand-accent);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
}

.nav-phone:hover {
  color: var(--brand-primary);
}

.nav-links {
  flex-wrap: wrap;
  row-gap: 12px;
}

.btn-nav-cta {
  background: var(--brand-accent);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: var(--brand-primary);
  color: #fff !important;
}

/* Mobile nav toggle + collapse panel - the old markup had no way to reach
   nav links at all below the lg/xl breakpoint. */
.nav-toggle {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--brand-primary);
  padding: 4px 10px;
  line-height: 1;
}

.nav-phone-icon {
  color: var(--brand-accent);
  font-size: 20px;
  padding: 4px 6px;
}

.nav-mobile-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-collapse-mobile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border-light);
}

.nav-collapse-mobile a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 4px;
}

.nav-collapse-mobile a.btn-nav-cta {
  text-align: center;
  margin-top: 8px;
  padding: 14px 18px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 60px 0;
  width: 100%;
}

.hero .container {
  max-width: 1200px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-accent);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero .lead {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
  max-width: 600px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-highlight);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 30px;
}

/* Page header (non-home pages) */
.page-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.form-card.flat {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border-light);
}

.form-card h2, .form-card h3 {
  color: var(--brand-primary);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-card .subtitle {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(10, 123, 131, 0.1);
  outline: none;
}

.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  width: 100%;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 75, 127, 0.3);
}

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

.form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid var(--danger-red);
  color: var(--danger-red);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Honeypot - hidden from humans, still reachable by bots */
.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Why Section */
.why-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 48px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.comparison-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.comparison-card.nowell {
  border: 3px solid var(--brand-accent);
}

.comparison-card.generic {
  border: 2px solid var(--border-light);
  opacity: 0.8;
}

.comparison-card h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-card.nowell h4 {
  color: var(--brand-accent);
}

.comparison-card.generic h4 {
  color: var(--text-gray);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.comparison-item i {
  margin-top: 3px;
  font-size: 18px;
}

.comparison-card.nowell .comparison-item i {
  color: var(--brand-success);
}

.comparison-card.generic .comparison-item i {
  color: #cbd5e0;
}

/* Crisis / Industry Story Scenarios Section */
.crisis-section {
  padding: 80px 0;
  background: var(--white);
}

.crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.crisis-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

.crisis-card:hover {
  border-color: var(--danger-red);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
  text-decoration: none;
}

.crisis-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.crisis-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 12px;
  text-align: center;
}

.crisis-card p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.crisis-cost {
  background: rgba(220, 38, 38, 0.05);
  border-left: 4px solid var(--danger-red);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.crisis-cost-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--danger-red);
  margin-bottom: 4px;
}

.crisis-cost-amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--danger-red);
}

.crisis-link {
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  margin-top: auto;
}

.crisis-link i {
  transition: transform 0.2s;
}

.crisis-card:hover .crisis-link i {
  transform: translateX(4px);
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-grid > :nth-child(10):last-child {
  grid-column: 2 / 3;
}

@media (max-width: 991px) {
  .service-grid > :nth-child(10):last-child {
    grid-column: auto;
  }
}

.service-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 8px 24px rgba(10, 123, 131, 0.1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(10, 123, 131, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* Industry cards (homepage) */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.industry-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: var(--brand-accent);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text-dark);
}

.industry-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 123, 131, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
}

.industry-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-primary);
}

/* Trust Section */
.trust-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.trust-content {
  max-width: 900px;
  margin: 0 auto;
}

.trust-photo-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  margin-bottom: 32px;
}

.trust-photo {
  width: 100%;
  height: auto;
  display: block;
}

.trust-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(27, 75, 127, 0.95), transparent);
  color: var(--white);
  padding: 24px;
  font-size: 14px;
  font-weight: 600;
}

.trust-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.trust-text strong {
  color: var(--brand-primary);
  font-weight: 700;
}

.trust-highlight {
  background: var(--white);
  border-left: 4px solid var(--brand-highlight);
  padding: 24px;
  margin: 32px 0;
  border-radius: 8px;
}

.trust-highlight p {
  font-size: 20px;
  font-style: italic;
  color: var(--brand-primary);
  font-weight: 600;
  margin: 0;
}

/* Problem section - owner-language pain quotes */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.problem-item {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
}

.problem-item::before {
  content: '\201C';
  color: var(--brand-highlight);
  font-size: 32px;
  font-weight: 800;
  font-family: Georgia, serif;
  line-height: 0;
  margin-right: 4px;
  vertical-align: -6px;
}

@media (max-width: 767px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* How Nowell Tech Works - process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto 14px;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

@media (max-width: 767px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* Service grid - 4-column variant for the trimmed "how technology might
   solve it" homepage section (default service-grid is 3-col for the fuller
   services.html listing) */
.service-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .service-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .service-grid.cols-4 { grid-template-columns: 1fr; }
}

/* Proof / mini case study cards */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.proof-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
}

.proof-card .proof-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-accent);
  margin-bottom: 12px;
}

.proof-card p {
  font-size: 16px;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}

.proof-card .proof-tech {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-gray);
}

@media (max-width: 767px) {
  .proof-grid { grid-template-columns: 1fr; }
}

/* Closing CTA band */
.closing-cta-section {
  background: var(--brand-primary);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.closing-cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.closing-cta-section p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* No Hostages callout */
.no-hostages-box {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}

.no-hostages-box h3 {
  color: var(--brand-primary);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.no-hostages-box ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--text-gray);
}

.no-hostages-box li {
  margin-bottom: 8px;
}

/* Stats Bar */
.stats-bar {
  background: var(--brand-primary);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.stats-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 500px;
}

.stats-grid.cols-1 {
  grid-template-columns: 1fr;
  max-width: 280px;
}

.stat-item h3 {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand-highlight);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Health Check assessment widget */
.assessment-progress {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
}

.assessment-progress-bar {
  height: 100%;
  background: var(--brand-accent);
  transition: width 0.3s ease;
  width: 0%;
}

.assessment-category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-accent);
  margin-bottom: 8px;
}

.assessment-question {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
  min-height: 60px;
}

.assessment-answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.assessment-answer-btn {
  border: 2px solid var(--border-light);
  background: var(--white);
  border-radius: 10px;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.15s;
}

.assessment-answer-btn:hover {
  border-color: var(--brand-accent);
  background: rgba(10, 123, 131, 0.05);
}

.risk-band-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.risk-band-badge.low { background: rgba(45, 140, 92, 0.12); color: var(--brand-success); }
.risk-band-badge.moderate { background: rgba(212, 165, 116, 0.2); color: #a6702f; }
.risk-band-badge.high { background: rgba(220, 38, 38, 0.1); color: var(--danger-red); }
.risk-band-badge.critical { background: var(--danger-red); color: var(--white); }

.risk-score-display {
  font-size: 56px;
  font-weight: 900;
  color: var(--brand-primary);
}

.risk-score-max {
  font-size: 22px;
  color: var(--text-gray);
  font-weight: 600;
}

.problem-category-tag {
  display: inline-block;
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin: 4px;
}

/* Industry landing page - story narrative */
.story-section {
  padding: 70px 0;
  background: var(--white);
}

.story-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.story-day {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--danger-red);
  margin-bottom: 8px;
}

.story-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.story-highlight {
  background: rgba(220, 38, 38, 0.05);
  border-left: 4px solid var(--danger-red);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

.dream-highlight {
  background: rgba(45, 140, 92, 0.06);
  border-left: 4px solid var(--brand-success);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 0 30px;
}

footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--brand-highlight);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 12px 16px;
  z-index: 1000;
  display: none;
}

.mobile-sticky-cta .btn-primary {
  width: 100%;
  padding: 14px;
  margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 18px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .crisis-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .mobile-sticky-cta { display: block; }
  .assessment-answers { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 30px; }
  .section-title { font-size: 28px; }
  .form-card { padding: 24px; }
  .crisis-card { padding: 24px; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .crisis-grid { grid-template-columns: 1fr 1fr; }
}

/* Testimonials */
.testimonial-section {
  padding: 70px 0;
  background: var(--white);
}

.testimonial-header {
  text-align: center;
  margin-bottom: 40px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.testimonial-rating .stars {
  color: var(--brand-highlight);
  font-size: 20px;
  letter-spacing: 3px;
}

.testimonial-rating .rating-text {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 18px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--light-bg);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-card .stars {
  color: var(--brand-highlight);
  font-size: 14px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.7;
  flex-grow: 1;
}

.testimonial-author {
  font-weight: 800;
  color: var(--brand-primary);
  font-size: 14px;
}

@media (max-width: 991px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* Lead magnet capture box */
.lead-magnet-section {
  padding: 60px 0;
}

.lead-magnet-box {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 36px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.lead-magnet-box .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(10, 123, 131, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.lead-magnet-box h2,
.lead-magnet-box h3 {
  color: var(--brand-primary);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.lead-magnet-box p {
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 20px;
}

.lead-magnet-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.lead-magnet-form input[type="email"] {
  flex: 1;
  min-width: 200px;
}

.lead-magnet-form button {
  width: auto;
  padding: 12px 28px;
  white-space: nowrap;
}

.lead-magnet-status {
  font-size: 13px;
  color: var(--brand-success);
  margin-top: 12px;
  display: none;
}

.lead-magnet-status.visible {
  display: block;
}

.lead-magnet-status.error {
  color: var(--danger-red);
}

@media (max-width: 767px) {
  .lead-magnet-form { flex-direction: column; }
  .lead-magnet-form button { width: 100%; }
}

/* Stacked variant: email + optional name/company + newsletter consent +
   submit, used wherever a resource form collects more than just email. */
.lead-magnet-form.stacked {
  flex-direction: column;
  align-items: stretch;
}

.lead-magnet-form.stacked input[type="email"],
.lead-magnet-form.stacked input[type="text"] {
  width: 100%;
  min-width: 0;
}

.lead-magnet-form .form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.lead-magnet-form .form-row input {
  flex: 1;
  min-width: 0;
}

.lead-magnet-form.stacked button {
  width: 100%;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.45;
  margin: 2px 0 4px;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: auto;
}

@media (max-width: 767px) {
  .lead-magnet-form .form-row { flex-direction: column; }
}

/* Resource hub + landing pages */
.resource-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.resource-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.resource-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 123, 131, 0.1);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.resource-card h3 {
  color: var(--brand-primary);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.resource-card .resource-audience {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.resource-card p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.resource-card .resource-time {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.resource-card .resource-time i {
  color: var(--brand-accent);
  margin-right: 5px;
}

.resource-card .btn-primary {
  margin-top: auto;
  text-align: center;
}

/* Small inline "get this resource" CTA used inside services.html cards */
.service-card .resource-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-accent);
  text-decoration: none;
}

.service-card .resource-cta:hover {
  text-decoration: underline;
}

.resource-landing-hero {
  padding: 50px 0 20px;
  text-align: center;
}

.resource-landing-hero .resource-audience {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.resource-landing-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-gray);
  margin: 16px 0 8px;
}

.resource-landing-meta i {
  color: var(--brand-accent);
  margin-right: 5px;
}

/* What's Inside bullet list on resource landing pages */
.whats-inside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.whats-inside-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.5;
}

.whats-inside-list li i {
  color: var(--brand-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Returning-PDF-reader "ask a question" box */
.followup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.followup-form textarea.form-control {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}

.followup-form button {
  width: 100%;
}

.followup-status {
  font-size: 13px;
  color: var(--brand-success, #2D8C5C);
  margin-top: 12px;
  display: none;
}

.followup-status.visible {
  display: block;
}

.followup-status.error {
  color: var(--danger-red);
}
