/* Ridgeline Benefits Advisory - Main Stylesheet */

/* ===== CSS Custom Properties ===== */
:root {
  --navy: #1A2E44;
  --gold: #C49A2A;
  --slate: #334155;
  --light-bg: #F8F7F4;
  --white: #FFFFFF;
  --success: #3D7A5F;
  --text-dark: #1D2B3A;
  --text-light: #F8F7F4;
  --border-light: rgba(26, 46, 68, 0.08);
  --border-dark: rgba(248, 247, 244, 0.1);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --section-pad: clamp(80px, 10vw, 140px);
  --side-pad: clamp(24px, 5vw, 80px);
}

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 0;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
  color: var(--text-dark);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d4a944;
}

/* ===== Container & Grid ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background-color: var(--navy);
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(26, 46, 68, 0.1);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  flex: 0 0 auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.375rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 46, 68, 0.95) 0%, rgba(26, 46, 68, 0.85) 50%, rgba(26, 46, 68, 0.92) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(196, 154, 42, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, transparent 30%, rgba(196, 154, 42, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  color: var(--white);
}

.hero-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.gold-text {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(248, 247, 244, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-page {
  min-height: 70vh;
  background: linear-gradient(135deg, rgba(26, 46, 68, 0.95) 0%, rgba(26, 46, 68, 0.85) 50%, rgba(26, 46, 68, 0.92) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  position: relative;
}

/* ===== Sections ===== */
.section-light {
  background-color: var(--light-bg);
  padding: var(--section-pad) 0;
}

.section-navy {
  background-color: var(--navy);
  padding: var(--section-pad) 0;
  color: var(--white);
}

.section-charcoal {
  background-color: #2D3D50;
  padding: var(--section-pad) 0;
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 1rem;
}

.white-text {
  color: var(--white);
}

.white-text.section-title {
  color: var(--white);
}

.white-text.section-lead {
  color: rgba(248, 247, 244, 0.85);
}

.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--slate);
  opacity: 0.85;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Stats Grid ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  background-color: var(--white);
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: rgba(248, 247, 244, 0.3);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-align: center;
  color: var(--white);
}

.benefit-card:hover {
  background-color: rgba(196, 154, 42, 0.1);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--white);
}
.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.benefit-provider {
  font-size: 0.875rem;
  color: rgba(248, 247, 244, 0.7);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.benefit-desc {
  font-size: 0.95rem;
  color: rgba(248, 247, 244, 0.85);
  line-height: 1.6;
}

/* ===== Steps Grid ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-card {
  background-color: var(--white);
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(26, 46, 68, 0.08);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ===== Trust Grid ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.trust-card {
  background-color: rgba(248, 247, 244, 0.08);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
}

.trust-card h3 {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.trust-card p {
  color: rgba(248, 247, 244, 0.85);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== Testimonial ===== */
.testimonial-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 400;
}

.testimonial-attribution {
  border-top: 2px solid var(--gold);
  padding-top: 1.5rem;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.testimonial-title {
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 500;
}

/* ===== Contact Section ===== */
.contact-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  background-color: rgba(248, 247, 244, 0.08);
  padding: 2.5rem;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
}

/* Light background contact form */
.contact-form.contact-form-light {
  background-color: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 8px 32px rgba(26, 46, 68, 0.08);
  overflow: hidden;
  padding: 2.5rem;
  box-sizing: border-box;
  max-width: 100%;
}

.contact-form.contact-form-light .form-group label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.contact-form.contact-form-light .form-group input,
.contact-form.contact-form-light .form-group textarea,
.contact-form.contact-form-light .form-group select {
  background-color: var(--light-bg);
  border: 2px solid rgba(196, 154, 42, 0.35);
  color: var(--text-dark);
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.contact-form.contact-form-light .form-group input:focus,
.contact-form.contact-form-light .form-group textarea:focus,
.contact-form.contact-form-light .form-group select:focus {
  background-color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 42, 0.15);
}

.contact-form.contact-form-light .form-row {
  max-width: 100%;
  overflow: hidden;
}

.honeypot {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-dark);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 154, 42, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: var(--font-body);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #d4a944;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(196, 154, 42, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn.full-width {
  width: 100%;
  display: block;
}

/* ===== Benefit Details Page ===== */
.benefit-details {
  display: grid;
  gap: 2rem;
}

.benefit-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 2px;
}

.benefit-detail-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.benefit-detail-content h3 {
  margin-bottom: 0.5rem;
}

.benefit-detail-provider {
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.benefit-detail-description {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.benefit-detail-list {
  list-style: none;
  columns: 2;
  gap: 1rem;
}

.benefit-detail-list li {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23C49A2A"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"/></svg>');
  background-repeat: no-repeat;
  background-position: 0 4px;
  background-size: 16px 16px;
  padding-left: 24px;
  margin-bottom: 0.75rem;
  color: var(--slate);
  font-size: 0.95rem;
}

/* ===== Comparison Grid (New Design) ===== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.comparison-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(196, 154, 42, 0.08);
}

.comparison-benefit {
  font-weight: 600;
  color: var(--navy);
}

.comparison-cost {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--slate);
  white-space: nowrap;
}

.comparison-summary {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 2px;
  padding: 2.5rem;
  text-align: center;
}

.comparison-total-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.comparison-total-item {
  text-align: center;
}

.total-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.total-amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
}

.total-amount.gold {
  color: var(--gold);
}

.total-sub {
  display: block;
  font-size: 0.875rem;
  color: var(--slate);
  margin-top: 0.25rem;
}

.comparison-vs {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate);
  opacity: 0.5;
}

.comparison-savings {
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1.7;
}

.comparison-savings strong {
  color: var(--gold);
}

.total-individual .total-amount {
  text-decoration: line-through;
  opacity: 0.6;
}

/* ===== Value Table (Legacy) ===== */
.value-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.value-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(248, 247, 244, 0.3);
  border: 1px solid var(--border-dark);
}

.value-table thead {
  background-color: rgba(196, 154, 42, 0.1);
  border-bottom: 2px solid var(--gold);
}

.value-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--white);
  font-family: var(--font-body);
}

.value-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-dark);
  color: rgba(248, 247, 244, 0.85);
}

.value-table tbody tr:hover {
  background-color: rgba(196, 154, 42, 0.05);
}

.combined-cell {
  vertical-align: middle;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.value-highlight {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.1) 0%, rgba(196, 154, 42, 0.05) 100%);
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--white);
}

.value-highlight p {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.value-highlight strong {
  color: var(--gold);
}

/* ===== Two Column Layout ===== */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.col-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}

.col-accent {
  display: flex;
  justify-content: center;
}

.accent-box {
  background-color: var(--white);
  border: 2px solid var(--gold);
  padding: 2rem;
  text-align: center;
  max-width: 350px;
  border-radius: 2px;
}

.light-accent {
  background-color: var(--navy);
  border: 2px solid var(--gold);
  color: var(--white);
}

.light-accent .accent-label {
  color: var(--gold);
}

.light-accent .accent-text {
  color: rgba(248, 247, 244, 0.9);
}

.accent-label {
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.accent-text {
  font-size: 1.125rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.accent-stat {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}

.accent-blue {
  color: var(--navy);
}

.accent-green {
  color: var(--success);
}

/* ===== Approach Grid ===== */
.approach-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.approach-card,
.solution-card {
  background-color: rgba(248, 247, 244, 0.08);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
}

.approach-card h3,
.solution-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.approach-card p,
.solution-card p {
  color: rgba(248, 247, 244, 0.85);
  line-height: 1.7;
}

.solution-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ===== Partnership Flow ===== */
.partnership-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.flow-item {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 2px;
}

.flow-item h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.flow-item p {
  color: var(--slate);
  line-height: 1.7;
  font-size: 0.95rem;
}

.flow-step {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--light-bg);
  display: inline-block;
  border-radius: 2px;
}

/* ===== Pain Points - Alternating Layout ===== */
.pain-alternating {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pain-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 2px;
}

.pain-block.reverse {
  grid-template-columns: 1fr 280px;
}

.pain-block.reverse .pain-stat-side {
  order: 2;
}

.pain-block.reverse .pain-text-side {
  order: 1;
}

.pain-stat-side {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-bg);
  border-left: 3px solid var(--gold);
}

.pain-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pain-stat-context {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.5;
}

.pain-text-side h3 {
  margin-bottom: 1rem;
  color: var(--navy);
}

.pain-text-side p {
  color: var(--slate);
  line-height: 1.8;
}

/* ===== Legacy Pain Points Grid (fallback) ===== */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.pain-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  text-align: center;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.pain-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(196, 154, 42, 0.1);
}

.pain-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--navy);
}

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

.pain-card h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.pain-card p {
  color: var(--slate);
  line-height: 1.7;
}

/* ===== ROI Section ===== */
.roi-wrapper {
  text-align: center;
}

.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.roi-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 2px;
}

.roi-card.highlight-card {
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.1) 0%, rgba(196, 154, 42, 0.05) 100%);
  border: 2px solid var(--gold);
}

.roi-label {
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.roi-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.highlight-value {
  color: var(--success);
}

.roi-desc {
  color: var(--slate);
  font-size: 0.95rem;
}

.roi-statement {
  background-color: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: 2px;
  margin-top: 2rem;
}

.roi-statement p {
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.7;
}

.roi-statement strong {
  color: var(--gold);
}

/* ===== Why Grid ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.why-card {
  background-color: rgba(248, 247, 244, 0.08);
  border: 1px solid var(--border-dark);
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
}

.why-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.why-card p {
  color: rgba(248, 247, 244, 0.85);
  line-height: 1.7;
}

/* ===== Implementation Steps ===== */
.implementation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.impl-step {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.impl-step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.impl-step h3 {
  margin-bottom: 1rem;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impl-step p {
  flex: 1;
}

.impl-arrow {
  display: none;
  text-align: center;
  font-size: 2rem;
  color: var(--gold);
}

/* ===== CTA Box ===== */
.cta-box {
  background: linear-gradient(135deg, rgba(196, 154, 42, 0.15) 0%, rgba(196, 154, 42, 0.05) 100%);
  border: 2px solid var(--gold);
  padding: 3rem 2rem;
  border-radius: 2px;
  text-align: center;
}

.cta-box .section-title {
  color: var(--navy);
  margin-bottom: 1rem;
}

.cta-box .section-lead {
  color: var(--slate);
  margin-bottom: 2rem;
}

.cta-buttons-center {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== CTA Split Layout ===== */
.cta-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-split-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-split-text p {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-split-action {
  background: var(--navy);
  padding: 3rem;
  text-align: center;
}

.cta-split-action .stat-line {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.cta-split-action .stat-sub {
  font-size: 0.875rem;
  color: rgba(248, 247, 244, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-split-action p {
  color: rgba(248, 247, 244, 0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: rgba(248, 247, 244, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(248, 247, 244, 0.8);
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(248, 247, 244, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.disclaimer {
  font-size: 0.8rem !important;
  color: rgba(248, 247, 244, 0.5) !important;
  line-height: 1.6;
}

/* ===== Privacy Policy Content ===== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.privacy-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.privacy-content p {
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.privacy-content ul {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
  padding-left: 0;
}

.privacy-content li {
  color: var(--slate);
  margin-bottom: 0.75rem;
  padding-left: 24px;
  position: relative;
}

.privacy-content li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.privacy-content strong {
  color: var(--navy);
}

.last-updated {
  color: var(--slate);
  font-size: 0.95rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: rgba(248, 247, 244, 0.9);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: none;
  border-top: 2px solid var(--gold);
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: rgba(248, 247, 244, 0.85);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  min-width: 300px;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.625rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.cookie-btn-accept:hover {
  background: #d4a944;
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(248, 247, 244, 0.7);
  border: 1px solid rgba(248, 247, 244, 0.2);
}

.cookie-btn-decline:hover {
  border-color: rgba(248, 247, 244, 0.5);
  color: var(--white);
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner p {
    min-width: unset;
  }
}

/* ===== Focus Styles ===== */
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .content-two-col {
    grid-template-columns: 1fr;
  }

  .benefit-detail-card {
    grid-template-columns: 1fr;
  }

  .benefit-detail-number {
    text-align: center;
  }

  .implementation-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .impl-arrow {
    display: block;
  }

  .impl-step h3 {
    margin-top: 1rem;
  }

  .pain-block,
  .pain-block.reverse {
    grid-template-columns: 1fr;
  }

  .pain-block.reverse .pain-stat-side,
  .pain-block.reverse .pain-text-side {
    order: unset;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px 0;
    --side-pad: 20px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 60px;
    right: 0;
    flex-direction: column;
    background-color: var(--navy);
    padding: 2rem;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 1rem 2rem;
    min-width: 200px;
  }

  .cta-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

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

  .benefits-grid,
  .steps-grid,
  .trust-grid,
  .approach-grid,
  .solution-grid,
  .pain-points-grid,
  .partnership-flow,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .benefit-detail-list {
    columns: 1;
  }

  .hero {
    padding-top: 120px;
    min-height: 80vh;
  }

  .hero-page {
    padding-top: 120px;
    min-height: 60vh;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .comparison-total-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root {
    --side-pad: 16px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 70vh;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-quote {
    font-size: 1.125rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .implementation-steps {
    grid-template-columns: 1fr;
  }
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Print Styles ===== */
@media print {
  .nav,
  .hero-ctas,
  .contact-form,
  .nav-toggle {
    display: none;
  }

  body {
    background-color: white;
  }

  .section-navy {
    background-color: var(--navy);
    color: black;
  }

  .white-text {
    color: black;
  }
}
