/* ============================================
   PRIMEX — Editorial Serenity Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  color: #1A1A1A;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

a { color: #007BFF; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #0056b3; }

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

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p { margin-bottom: 1.25rem; color: #1A1A1A; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { margin-bottom: 0.5rem; }

blockquote {
  border-left: 4px solid #007BFF;
  padding: 16px 24px;
  margin: 2rem 0;
  background: #F5F5F5;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

blockquote p { color: #1A1A1A; font-size: 1.1rem; }
blockquote cite { font-style: normal; font-size: 0.875rem; color: #A0A0A0; display: block; margin-top: 8px; }

/* ---- Accent & Utility Colors ---- */
.text-accent { color: #007BFF; }
.text-muted { color: #A0A0A0; }
.text-light { color: #E0E0E0; }
.bg-secondary { background: #F5F5F5; }
.bg-dark { background: #1A1A1A; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.4;
}

.btn--primary {
  background: #007BFF;
  color: #FFFFFF;
  border-color: #007BFF;
}
.btn--primary:hover { background: #0056b3; border-color: #0056b3; color: #FFFFFF; }

.btn--outline {
  background: transparent;
  color: #007BFF;
  border-color: #007BFF;
}
.btn--outline:hover { background: #007BFF; color: #FFFFFF; }

.btn--ghost {
  background: transparent;
  color: #1A1A1A;
  border-color: #1A1A1A;
}
.btn--ghost:hover { background: #1A1A1A; color: #FFFFFF; }

.btn--white {
  background: #FFFFFF;
  color: #007BFF;
  border-color: #FFFFFF;
}
.btn--white:hover { background: #E0E0E0; color: #007BFF; border-color: #E0E0E0; }

/* ---- Section Spacing ---- */
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 112px 0; }

/* ---- Section Headers ---- */
.section-header { margin-bottom: 48px; }
.section-header--centered { text-align: center; }
.section-header__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #007BFF;
  margin-bottom: 12px;
  display: block;
}
.section-header__title { margin-bottom: 16px; }
.section-header__desc { color: #A0A0A0; font-size: 1.05rem; max-width: 600px; }
.section-header--centered .section-header__desc { margin: 0 auto; }

/* ---- Divider ---- */
.divider { height: 1px; background: #E0E0E0; margin: 0; }
.divider--accent { height: 3px; background: #007BFF; width: 48px; margin-bottom: 24px; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__mark {
  width: 36px;
  height: 36px;
  background: #007BFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__mark span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #FFFFFF;
  line-height: 1;
}

.logo__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #1A1A1A;
  letter-spacing: -0.02em;
}

.logo__text span { color: #007BFF; }

/* Main Nav */
.main-nav { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover { color: #007BFF; background: #F5F5F5; }
.nav-link.active { color: #007BFF; }

.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown__list { list-style: none; padding: 8px 0; margin: 0; }

.dropdown__link {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
  padding: 10px 20px;
  transition: all 0.2s;
  text-decoration: none;
}

.dropdown__link:hover { color: #007BFF; background: #F5F5F5; }

/* Search */
.header-actions { display: flex; align-items: center; gap: 12px; }

.search-trigger {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  color: #1A1A1A;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: 1px solid transparent;
}
.search-trigger:hover { background: #F5F5F5; border-color: #E0E0E0; color: #007BFF; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #1A1A1A;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.9);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay.active { opacity: 1; visibility: visible; }

.search-overlay__inner { width: 100%; max-width: 680px; padding: 0 24px; }

.search-overlay__form { position: relative; }

.search-overlay__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #E0E0E0;
  color: #FFFFFF;
  font-family: 'Merriweather', serif;
  font-size: 28px;
  padding: 16px 48px 16px 0;
  outline: none;
  transition: border-color 0.2s;
}

.search-overlay__input::placeholder { color: #A0A0A0; }
.search-overlay__input:focus { border-color: #007BFF; }

.search-overlay__close {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  background: none; border: none; color: #E0E0E0; cursor: pointer; padding: 8px;
  transition: color 0.2s;
}
.search-overlay__close:hover { color: #007BFF; }

.search-overlay__hint { color: #A0A0A0; font-size: 14px; margin-top: 16px; font-family: 'Montserrat', sans-serif; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1A1A1A;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,0.85) 40%, rgba(26,26,26,0.2) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 0;
}

.hero__category {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #007BFF;
  margin-bottom: 20px;
  display: block;
}

.hero__title {
  color: #FFFFFF;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__desc {
  color: #E0E0E0;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Variants */
.hero--inner {
  min-height: 320px;
  background: #1A1A1A;
}

.hero--inner .hero__content { padding: 60px 0; max-width: 100%; }
.hero--inner .hero__title { font-size: clamp(28px, 4vw, 42px); }

/* ============================================
   ARTICLE CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.article-card {
  background: #FFFFFF;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }

.article-card__image { aspect-ratio: 16/10; overflow: hidden; }

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card__image img { transform: scale(1.03); }

.article-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.article-card__category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #007BFF;
}

.article-card__date {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #A0A0A0;
}

.article-card__title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.article-card__title a { color: #1A1A1A; text-decoration: none; }
.article-card__title a:hover { color: #007BFF; }

.article-card__excerpt { font-size: 0.9rem; color: #A0A0A0; line-height: 1.6; flex: 1; margin-bottom: 20px; font-family: 'Merriweather', serif; }

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #E0E0E0;
}

.article-card__read {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #007BFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card__read svg { width: 14px; height: 14px; transition: transform 0.2s; }
.article-card:hover .article-card__read svg { transform: translateX(4px); }

.article-card__time { font-size: 12px; color: #A0A0A0; font-family: 'Montserrat', sans-serif; }

/* Featured Card */
.article-card--featured {
  grid-column: span 2;
  flex-direction: row;
}

.article-card--featured .article-card__image {
  width: 45%;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.article-card--featured .article-card__title { font-size: 1.4rem; }

/* Horizontal Card */
.article-card--horizontal {
  flex-direction: row;
  align-items: stretch;
}

.article-card--horizontal .article-card__image {
  width: 180px;
  flex-shrink: 0;
  aspect-ratio: auto;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; padding: 24px 0; }

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: #E0E0E0;
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}

.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; padding-right: 24px; }
.timeline-item:nth-child(odd) .timeline-dot { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-empty { grid-column: 3; }

.timeline-item:nth-child(even) .timeline-empty { grid-column: 1; }
.timeline-item:nth-child(even) .timeline-dot { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; padding-left: 24px; }

.timeline-dot {
  width: 48px;
  height: 48px;
  background: #007BFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: start;
  margin-top: 8px;
}

.timeline-dot__year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.2;
}

.timeline-content { background: #F5F5F5; border-radius: 4px; padding: 24px; border: 1px solid #E0E0E0; }

.timeline-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-content p { font-size: 0.9rem; color: #A0A0A0; margin: 0; line-height: 1.6; }

/* ============================================
   CATEGORY BLOCKS
   ============================================ */
.category-block {
  background: #F5F5F5;
  border-radius: 4px;
  padding: 32px;
  border: 1px solid #E0E0E0;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.category-block:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.category-block__icon {
  width: 48px;
  height: 48px;
  background: #007BFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.category-block__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A0A0A0;
  margin-bottom: 8px;
}

.category-block h3 { font-size: 1.2rem; margin-bottom: 12px; }
.category-block p { font-size: 0.875rem; color: #A0A0A0; line-height: 1.6; flex: 1; margin-bottom: 20px; }

.category-block__count {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #007BFF;
  font-weight: 600;
}

/* ============================================
   STATS / NUMBERS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid #E0E0E0;
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: #007BFF;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.875rem;
  color: #A0A0A0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid #E0E0E0;
  margin-bottom: 48px;
}

.breadcrumb__item {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #A0A0A0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item a { color: #A0A0A0; text-decoration: none; transition: color 0.2s; }
.breadcrumb__item a:hover { color: #007BFF; }
.breadcrumb__item.active { color: #1A1A1A; font-weight: 600; }
.breadcrumb__sep { color: #E0E0E0; }

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.article-body h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.875rem; }
.article-body p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.85; }
.article-body ul, .article-body ol { margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.625rem; font-size: 1.05rem; }

.article-body img {
  width: 100%;
  border-radius: 4px;
  margin: 2rem 0;
}

.article-body .image-caption {
  text-align: center;
  font-size: 0.8rem;
  color: #A0A0A0;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
}

.article-header { margin-bottom: 40px; }
.article-header__category {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #007BFF;
  margin-bottom: 16px;
  display: block;
}
.article-header__title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid #E0E0E0;
}
.article-header__author { font-family: 'Montserrat', sans-serif; font-size: 14px; color: #1A1A1A; font-weight: 600; }
.article-header__date { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #A0A0A0; }
.article-header__read { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #A0A0A0; }
.article-header__lead { font-size: 1.2rem; color: #A0A0A0; line-height: 1.7; margin-top: 24px; font-style: italic; }

/* Sidebar */
.sidebar { position: sticky; top: 96px; }

.sidebar__widget { margin-bottom: 40px; }

.sidebar__widget-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1A1A1A;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #007BFF;
  display: inline-block;
}

.sidebar__list { list-style: none; padding: 0; margin: 0; }
.sidebar__list li { padding: 12px 0; border-bottom: 1px solid #E0E0E0; }
.sidebar__list li:last-child { border-bottom: none; }
.sidebar__list a { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #1A1A1A; text-decoration: none; font-weight: 500; transition: color 0.2s; display: block; }
.sidebar__list a:hover { color: #007BFF; }
.sidebar__list .date { font-size: 12px; color: #A0A0A0; display: block; margin-top: 4px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  color: #1A1A1A;
  text-decoration: none;
  transition: all 0.2s;
}
.tag:hover { background: #007BFF; color: #FFFFFF; border-color: #007BFF; }

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
  background: #F5F5F5;
  border-left: 4px solid #007BFF;
  border-radius: 0 4px 4px 0;
  padding: 24px 28px;
  margin: 2rem 0;
}
.info-box__title { font-size: 1rem; margin-bottom: 8px; font-family: 'Montserrat', sans-serif; }
.info-box p { font-size: 0.9rem; margin: 0; color: #A0A0A0; }

/* ============================================
   PULL QUOTE
   ============================================ */
.pull-quote {
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic;
  color: #1A1A1A;
  line-height: 1.45;
  border-top: 3px solid #007BFF;
  border-bottom: 1px solid #E0E0E0;
  padding: 28px 0 24px;
  margin: 2.5rem 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Merriweather', serif;
  font-size: 16px;
  color: #1A1A1A;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-control:focus { border-color: #007BFF; box-shadow: 0 0 0 3px rgba(0,123,255,0.1); }
.form-control::placeholder { color: #A0A0A0; }
textarea.form-control { min-height: 160px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  border-radius: 4px;
  padding: 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.form-success.visible { display: block; }

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  background: #007BFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.contact-info-item__content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item__content p {
  font-size: 0.9rem;
  color: #A0A0A0;
  margin: 0;
}

.contact-info-item__content a { color: #007BFF; text-decoration: none; }
.contact-info-item__content a:hover { text-decoration: underline; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: #1A1A1A;
  padding: 80px 0;
}

.newsletter-section h2 { color: #FFFFFF; }
.newsletter-section p { color: #A0A0A0; }

.newsletter-form { display: flex; gap: 12px; max-width: 480px; }
.newsletter-form .form-control {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #FFFFFF;
  flex: 1;
}
.newsletter-form .form-control::placeholder { color: #A0A0A0; }
.newsletter-form .form-control:focus { border-color: #007BFF; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #1A1A1A; padding: 80px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__desc { color: #A0A0A0; font-size: 0.875rem; line-height: 1.7; margin-top: 16px; margin-bottom: 24px; }

.footer-brand .logo__text { color: #FFFFFF; }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #A0A0A0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-list a:hover { color: #007BFF; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #A0A0A0;
  margin: 0;
}

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

.footer-policies a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #A0A0A0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-policies a:hover { color: #007BFF; }

/* ============================================
   PAGE SPECIFIC
   ============================================ */
/* About */
.team-card {
  text-align: center;
  padding: 32px 24px;
  background: #F5F5F5;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #007BFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.team-card__name { font-size: 1.1rem; margin-bottom: 6px; }
.team-card__role { font-size: 0.85rem; color: #007BFF; font-family: 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.team-card__bio { font-size: 0.875rem; color: #A0A0A0; margin-top: 12px; line-height: 1.6; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
  color: #1A1A1A;
  text-decoration: none;
  transition: all 0.2s;
}

.page-btn:hover, .page-btn.active { background: #007BFF; color: #FFFFFF; border-color: #007BFF; }
.page-btn--wide { width: auto; padding: 0 16px; }

/* Filters */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding: 16px;
  background: #F5F5F5;
  border-radius: 4px;
}

.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #E0E0E0;
  background: #FFFFFF;
  color: #1A1A1A;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active { background: #007BFF; color: #FFFFFF; border-color: #007BFF; }

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-header {
  background: #F5F5F5;
  padding: 48px 0;
  border-bottom: 1px solid #E0E0E0;
  margin-bottom: 64px;
}

.policy-header h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.policy-header p { color: #A0A0A0; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; margin: 0; }

.policy-body { max-width: 860px; margin: 0 auto; padding-bottom: 80px; }

.policy-body h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 8px; border-bottom: 1px solid #E0E0E0; }
.policy-body h3 { font-size: 1.2rem; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.policy-body p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; color: #1A1A1A; }
.policy-body ul, .policy-body ol { margin-bottom: 1.25rem; }
.policy-body li { font-size: 1rem; line-height: 1.7; }

.policy-toc {
  background: #F5F5F5;
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 40px;
  border: 1px solid #E0E0E0;
}

.policy-toc h3 { font-size: 1rem; margin-bottom: 16px; }
.policy-toc ol { margin: 0; padding-left: 1.5rem; }
.policy-toc li { margin-bottom: 6px; }
.policy-toc a { color: #007BFF; font-size: 0.9rem; }

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.two-col__image { border-radius: 4px; overflow: hidden; }
.two-col__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-header {
  background: #F5F5F5;
  padding: 48px 0;
  border-bottom: 1px solid #E0E0E0;
  margin-bottom: 48px;
}

.search-bar {
  display: flex;
  gap: 12px;
  max-width: 600px;
}

.search-bar .form-control { flex: 1; }

/* Table of contents */
.toc {
  background: #F5F5F5;
  border-radius: 4px;
  padding: 24px;
  border: 1px solid #E0E0E0;
  margin-bottom: 32px;
}

.toc__title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-family: 'Montserrat', sans-serif; }
.toc__list { list-style: decimal; padding-left: 1.25rem; margin: 0; }
.toc__list li { margin-bottom: 6px; }
.toc__list a { font-size: 0.875rem; color: #007BFF; font-family: 'Montserrat', sans-serif; font-weight: 500; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #007BFF;
  color: #FFFFFF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #0056b3; transform: translateY(-2px); }

/* ============================================
   FADE IN ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .article-card--featured { flex-direction: column; grid-column: span 1; }
  .article-card--featured .article-card__image { width: 100%; aspect-ratio: 16/10; }
  .article-layout { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid #E0E0E0; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid #E0E0E0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 48px 1fr; }
  .timeline-item:nth-child(odd) .timeline-content { grid-column: 2; text-align: left; padding-right: 0; padding-left: 24px; }
  .timeline-item:nth-child(odd) .timeline-dot { grid-column: 1; }
  .timeline-item:nth-child(odd) .timeline-empty { display: none; }
  .timeline-item:nth-child(even) .timeline-empty { display: none; }
  .timeline-item:nth-child(even) .timeline-dot { grid-column: 1; }
  .timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .main-nav { display: none; position: fixed; inset: 0; top: 72px; background: #FFFFFF; flex-direction: column; align-items: flex-start; padding: 24px; overflow-y: auto; z-index: 999; border-top: 1px solid #E0E0E0; }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-link { font-size: 16px; padding: 16px 0; border-bottom: 1px solid #E0E0E0; border-radius: 0; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: #F5F5F5; margin-left: 16px; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-card--horizontal { flex-direction: column; }
  .article-card--horizontal .article-card__image { width: 100%; aspect-ratio: 16/10; }
  .hero__content { padding: 60px 0; }
  .section { padding: 56px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pagination { flex-wrap: wrap; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid #E0E0E0; }
  .stat-item:last-child { border-bottom: none; }
  .stat-item:nth-child(3) { border-right: none; }
}
