/* ==========================================================================
   VINTORO Health Journal - Established 2018
   Authoritative Men's Wellness, Longevity & Prostate Health
   Clean Human Code Footprint - Fully Responsive
   ========================================================================== */

:root {
  --primary: #0f2b48;
  --primary-dark: #091a2c;
  --primary-light: #1b4570;
  --accent: #0f766e;
  --accent-hover: #0d5f59;
  --accent-light: #e6f4f1;
  --gold: #b45309;
  --gold-light: #fef3c7;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-focus: #0f766e;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 32px -8px rgba(15, 23, 42, 0.16);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --font-serif: "Georgia", "Cambria", "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0f766e, #2dd4bf);
  z-index: 99999;
  transition: width 0.1s linear;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.2rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-hover);
}

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

/* Top Notification / Verification Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.top-bar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-bar a:hover {
  color: #ffffff;
}
.badge-verification {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(15, 118, 110, 0.25);
  color: #2dd4bf;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

/* Main Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.1;
}
.brand-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--bg-surface);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 43, 72, 0.2);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--border-color);
  background: #ffffff;
  color: var(--text-dark);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-surface);
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.0625rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  padding: 14px 0 20px;
  border-top: 1px solid var(--border-color);
}
.mobile-nav.open {
  display: block;
}
.mobile-nav .nav-link {
  display: block;
  padding: 10px 12px;
}
.mobile-nav .btn {
  width: 100%;
  margin-top: 10px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091a2c 0%, #0f2b48 50%, #173f67 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(15, 118, 110, 0.22) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #93c5fd;
}
.hero-title {
  color: #ffffff;
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 2rem;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-trust-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  color: #94a3b8;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-item i {
  color: #2dd4bf;
}
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}
.hero-card-header i {
  font-size: 1.75rem;
  color: var(--accent);
}
.hero-card h3 {
  margin: 0;
  font-size: 1.25rem;
}
.hero-card p {
  font-size: 0.9375rem;
  color: var(--text-body);
}

/* Organic Medical Disclaimer Alert (WebMD / Mayo Clinic style) */
.disclaimer-banner {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 30px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.disclaimer-banner.warning {
  background-color: #fffbeb;
  border-color: #fde68a;
  border-left-color: #d97706;
}
.disclaimer-icon {
  color: #16a34a;
  font-size: 1.25rem;
  margin-top: 2px;
}
.disclaimer-banner.warning .disclaimer-icon {
  color: #d97706;
}
.disclaimer-text {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.55;
}
.disclaimer-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

/* Statistics & Credibility Strip */
.stats-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 10px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Common */
.section {
  padding: 70px 0;
}
.section-muted {
  background-color: var(--bg-surface);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Feature Cards Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.card-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.card-icon-box {
  width: 54px;
  height: 54px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.card-pillar p {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.card-link {
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Assessment Tool */
.assessment-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
}
.assessment-intro {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
.assessment-step {
  display: none;
  animation: fadeIn 0.3s ease;
}
.assessment-step.active {
  display: block;
}
.step-counter {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.step-question {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  margin-bottom: 20px;
  color: var(--primary);
}
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.option-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-page);
}
.option-label:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.option-label input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.option-text {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Assessment Results Card */
.result-card {
  text-align: center;
  padding: 20px 10px;
}
.result-score-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.result-score-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.result-score-max {
  font-size: 0.75rem;
  opacity: 0.8;
}
.result-tier-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.result-tier-desc {
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--text-body);
}
.result-checklist {
  text-align: left;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 0 auto 30px;
  max-width: 680px;
}
.result-checklist h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--primary);
}
.result-checklist ul {
  list-style: none;
}
.result-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}
.result-checklist li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Articles Section & Cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-surface);
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}
.article-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 43, 72, 0.9);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.article-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.article-card h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card h3 a {
  color: var(--text-dark);
}
.article-card h3 a:hover {
  color: var(--accent);
}
.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8125rem;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
}
.faq-icon {
  font-size: 1rem;
  color: var(--accent);
  transition: transform var(--transition-normal);
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item.open .faq-body {
  padding: 0 22px 20px;
}

/* Editorial / Board Cards */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.board-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.board-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--accent-light);
}
.board-name {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.board-role {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.board-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.form-alert.success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-alert.error {
  display: block;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Content / Legal Pages */
.legal-page-header {
  background: var(--primary);
  color: #ffffff;
  padding: 50px 0;
  margin-bottom: 40px;
}
.legal-page-header h1 {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.legal-page-header .page-subtitle {
  color: #cbd5e1;
  font-size: 1rem;
}
.legal-content-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
}
.legal-content-box h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  color: var(--primary);
}
.legal-content-box h3 {
  font-size: 1.2rem;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}
.legal-content-box ul, .legal-content-box ol {
  margin-left: 24px;
  margin-bottom: 1.2rem;
}
.legal-content-box li {
  margin-bottom: 6px;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.policy-table th, .policy-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  text-align: left;
}
.policy-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--text-dark);
}

/* Footer */
.site-footer {
  background-color: #0b1e32;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.0625rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #94a3b8;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: #ffffff;
  padding-left: 3px;
}
.footer-brand {
  margin-bottom: 16px;
}
.footer-brand-title {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
}
.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact-list i {
  color: #2dd4bf;
  margin-top: 4px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.footer-disclaimer-text {
  max-width: 900px;
  margin: 0 auto 16px;
  color: #64748b;
  font-size: 0.78125rem;
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 999;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cards-grid-3, .article-grid, .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav, .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .cards-grid-3, .article-grid, .board-grid, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .assessment-wrapper {
    padding: 24px 18px;
  }
  .legal-content-box {
    padding: 24px 18px;
  }
}
