/* ==========================================================================
   Senter Insurance (senterinsurance.com)
   Design System: Organic Corporate Fiduciary (Warm Sage, Deep Forest, Warm Sand)
   Human-centric, approachable, trustworthy, non-generic.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,500;1,9..144,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Fraunces', Georgia, serif;
  
  /* Natural Earth & Organic Corporate Palette */
  --bg-body: #fbfbf9;
  --bg-surface: #ffffff;
  --bg-sage: #f0f4f1;
  --bg-dark: #0f221e;
  
  --primary: #0f766e;
  --primary-hover: #115e59;
  --forest: #14372e;
  --amber: #d97706;
  --warm-sand: #f5efe6;
  --accent-gold: #c29d59;
  
  --text-main: #1c2a26;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  
  --border-light: rgba(15, 118, 110, 0.12);
  --border-focus: #0f766e;
  
  --shadow-sm: 0 2px 8px rgba(15, 34, 30, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 34, 30, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 34, 30, 0.12);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--forest);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 28px;
}

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 251, 249, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.logo-link img {
  height: 48px;
  width: auto;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
}

.btn-secondary {
  background: var(--warm-sand);
  color: var(--forest);
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.btn-secondary:hover {
  background: #eae2d5;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

/* Natural Card System */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 118, 110, 0.25);
}

/* Blog Cards */
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 118, 110, 0.3);
}

.blog-card-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--forest);
}

.blog-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.blog-read-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-more:hover {
  color: var(--primary-hover);
  gap: 10px;
}

/* Article Styling */
.article-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-content {
  font-size: 18px;
  line-height: 1.85;
  color: #334155;
}

.article-content h2 {
  font-size: 28px;
  margin: 44px 0 18px 0;
  color: var(--forest);
}

.article-content h3 {
  font-size: 22px;
  margin: 32px 0 14px 0;
  color: var(--forest);
}

.article-content p {
  margin-bottom: 24px;
}

.article-content ul, .article-content ol {
  margin: 0 0 24px 28px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-callout {
  background: var(--bg-sage);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 16px 16px 0;
  margin: 36px 0;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #f8fafc;
  padding: 80px 0 30px 0;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

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

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #2dd4bf;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #2dd4bf;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a:hover {
  color: #ffffff;
}
