:root {
  /* Paleta AHERJ - baseada na logo */
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-hover: #f1f5f9;
  --color-primary: #1e40af;
  --color-primary-light: #2563eb;
  --color-primary-dark: #1e3a8a;
  --color-accent: #dc2626;
  --color-accent-hover: #b91c1c;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-text .logo-a { color: var(--color-primary); }
.logo-text .logo-h { color: var(--color-accent); }
.logo-text .logo-erj { color: var(--color-primary); }

.logo-sub {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-accent);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero with background image */
.hero-with-image .hero-content {
  position: relative;
  z-index: 2;
}

.hero-with-image .hero-title-main,
.hero-with-image .hero-title-accent,
.hero-with-image .hero-desc {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-with-image .hero-title-accent {
  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 64, 175, 0.75) 0%, rgba(30, 58, 138, 0.9) 100%);
  z-index: 1;
}

.hero-with-image .hero-stats {
  z-index: 2;
}

.hero-with-image .hero-stats .stat-num,
.hero-with-image .hero-stats .stat-label {
  color: #fff;
}

.hero-with-image .hero-stats .stat-label {
  opacity: 0.9;
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* Hero - Platform */
.hero-platform {
  min-height: 90vh;
  padding: 7rem 0 5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(30, 64, 175, 0.1);
  color: var(--color-primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(30, 64, 175, 0.06) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  background: linear-gradient(to top, rgba(255,255,255,0.98), transparent);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Hero content (shared) */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-title {
  font-family: var(--font-sans);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.hero-title-main {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(30, 64, 175, 0.06);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  display: block;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card.highlight {
  border-color: var(--color-accent);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, var(--color-surface) 100%);
}

/* About with image */
.about-with-image {
  padding: 5rem 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.about-text .section-title-left {
  text-align: left;
  margin-bottom: 1.25rem;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-text .btn {
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-image-wrap { order: -1; }
  .about-image { height: 280px; }
}

/* Testimonials */
.testimonials {
  background: var(--color-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid rgba(30, 64, 175, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 0;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  font-family: var(--font-sans);
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-author strong {
  color: var(--color-primary);
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.feature-icon,
.feature-icon-wrap {
  margin-bottom: 1rem;
}

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrap.feature-icon-accent {
  font-size: 2rem;
  background: rgba(220, 38, 38, 0.1);
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .btn-primary {
  background: var(--color-accent);
  color: white;
}

.cta-box .btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Page content (sobre, servicos, noticias, contato) */
.page-hero {
  padding: 6rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(30, 64, 175, 0.08);
}

.page-hero-with-image {
  position: relative;
  padding: 8rem 0 4rem;
}

.page-hero-with-image .container {
  position: relative;
  z-index: 1;
}

.page-hero-with-image h1,
.page-hero-with-image p {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1200&q=80') center/cover no-repeat;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 64, 175, 0.8) 0%, rgba(30, 58, 138, 0.95) 100%);
}

.page-content-intro {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.page-intro-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .page-content-intro {
    grid-template-columns: 1fr;
  }
  .page-intro-image { height: 200px; }
}

.page-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--color-text-muted);
}

.page-content {
  padding: 3rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2rem 0 1rem;
}

.page-content p, .page-content li {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.page-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(30, 64, 175, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-legal p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* ========== LOGIN ========== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
}

.login-box {
  width: 100%;
  max-width: 420px;
  background: var(--color-bg);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.login-box h1 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.login-box .subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.login-box .btn {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
}

.login-box .footer-link {
  text-align: center;
  margin-top: 1.5rem;
}

.login-box .footer-link a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
}

/* ========== ÁREA DO ASSOCIADO (Dashboard) ========== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 60px;
}

.sidebar {
  width: 260px;
  background: var(--color-surface);
  border-right: 1px solid rgba(30, 64, 175, 0.08);
  padding: 1.5rem 0;
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.sidebar-nav a:hover {
  background: var(--color-surface-hover);
  color: var(--color-primary);
}

.sidebar-nav a.active {
  background: rgba(30, 64, 175, 0.1);
  color: var(--color-primary);
  font-weight: 600;
}

.sidebar-nav .icon {
  font-size: 1.2rem;
}

/* Sidebar user block */
.sidebar-user {
  padding: 1.25rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(30, 64, 175, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.sidebar-user-info strong {
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-info span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Dashboard welcome banner */
.dashboard-welcome {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}

.dashboard-welcome-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=800&q=60') center/cover no-repeat;
}

.dashboard-welcome-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  opacity: 0.92;
}

.dashboard-welcome-content {
  position: relative;
  z-index: 1;
  padding: 2rem 2.5rem;
}

.dashboard-welcome-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.dashboard-welcome-content p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

/* Dashboard cards with icons */
.dash-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}

.dash-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dash-card-icon-docs {
  background: rgba(30, 64, 175, 0.1);
}

.dash-card-icon-events {
  background: rgba(220, 38, 38, 0.1);
}

.dash-card-icon-chart {
  background: rgba(37, 99, 235, 0.1);
}

.dash-card-content {
  flex: 1;
  min-width: 0;
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.dashboard-action-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid rgba(30, 64, 175, 0.1);
  border-radius: var(--radius);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.dashboard-action-card:hover {
  border-color: var(--color-primary);
  background: rgba(30, 64, 175, 0.06);
}

.dashboard-action-card .action-icon {
  font-size: 1.25rem;
}

.dashboard-sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dashboard-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-card {
  background: var(--color-bg);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.dash-card:hover {
  border-color: var(--color-primary);
}

.dash-card .label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.dash-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.dash-card .meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.dashboard-section {
  margin-bottom: 2rem;
}

.dashboard-section h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.doc-list, .event-list {
  list-style: none;
}

.doc-list li, .event-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid rgba(30, 64, 175, 0.08);
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.doc-list a, .event-list .event-title {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.doc-list a:hover {
  text-decoration: underline;
}

.doc-list .date, .event-list .date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Notícias grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--color-bg);
  border: 1px solid rgba(30, 64, 175, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.news-card:hover {
  border-color: var(--color-primary);
}

.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--color-bg);
}

.news-card .news-body {
  padding: 1.25rem;
}

.news-card .news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.news-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Contact form */
.contact-form {
  max-width: 500px;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-legal p {
    text-align: center;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }

  .dashboard-main {
    margin-left: 0;
  }

  .dashboard-layout {
    flex-direction: column;
  }
}
