/* ===== CSS VARIABLES & DESIGN TOKENS ===== */
:root {
  --navy: #010432;
  --background: #f9f5f1;
  --orange: #f15c30;
  --beige: #ecdfce;
  --grey: #d6d6d6;
  --radius-large: 16px;
  --text-medium: 18px;
  --text-tiny: 12px;
}

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

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--background);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ===== BUTTONS ===== */
.btn-orange {
  background: var(--orange);
  color: var(--background);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  transition: opacity .2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-orange:hover { opacity: .9; transform: scale(1.02); }

.btn-outline-light {
  background: transparent;
  color: var(--background);
  border: 1px solid rgba(249,245,241,0.5);
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  transition: background .2s, transform 0.2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); transform: scale(1.02); }

.btn-navy {
  background: var(--navy);
  color: var(--background);
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 16px;
  border: 1px solid var(--navy);
  transition: opacity .2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-navy:hover { opacity: .85; transform: scale(1.02); }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; max-width: 768px; margin: 0 auto 40px; }
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  line-height: 1.5;
  opacity: .5;
}

/* ===== LOGO MARQUEE ===== */
.logo-marquee {
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background-color: var(--background);
}
.logo-marquee__list {
  flex: none;
  align-items: center;
  display: flex;
  position: relative;
}
.logo-marquee__item {
  flex: none;
  align-items: center;
  padding: 1em 24px;
  display: flex;
  background-color: var(--background);
}
.logo-marquee__item img {
  height: 50px;
  mix-blend-mode: darken;
}
@keyframes marqueeScroll {
  to { transform: translateX(-100%); }
}
[data-css-marquee-list] {
  animation: marqueeScroll 30s linear infinite;
  animation-play-state: paused;
}

/* ===== STATS ===== */
.stats-section { padding: 80px 0; }
.stats-layout {
  display: flex;
  gap: 80px;
  align-items: center;
}
.stats-left { flex: 1; }
.stats-left .tag { font-weight: 500; text-transform: uppercase; font-size: 16px; margin-bottom: 16px; }
.stats-left h2 { font-size: 32px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.stats-left > p { font-size: 16px; line-height: 1.5; margin-bottom: 40px; }
.stat-item {
  padding-left: 32px;
  margin-bottom: 40px;
  border-left: 2px solid transparent;
  transition: border-color 0.3s;
}
.stat-item.active { border-color: var(--orange); }
.stat-item .num { font-size: 64px; font-weight: 700; line-height: 1.2; }
.stat-item .label { font-size: 24px; font-weight: 400; font-family: 'Georgia', serif; }
.stat-item .desc { font-size: 16px; line-height: 1.5; opacity: .6; margin-top: 4px; }
.stats-right {
  flex: 1;
  aspect-ratio: 1;
  border-radius: var(--radius-large);
  overflow: hidden;
}
.stats-right img { width: 100%; height: 100%; object-fit: cover; }

/* ===== TABS ===== */
.tabs {
  display: flex;
  background: var(--beige);
  border-radius: 50px;
  padding: 0;
  width: fit-content;
  margin: 0 auto 40px;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--background);
  background: transparent;
  text-transform: uppercase;
  transition: background 0.3s;
}
.tab-btn.active { background: var(--orange); }
.tab-btn:not(.active) { background: var(--navy); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}
.blog-card {
  background: var(--background);
  border: 1px solid var(--grey);
  border-radius: var(--radius-large);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1,4,50,0.1);
}
.blog-card-tall { display: flex; flex-direction: column; }
.blog-card-tall .blog-card-body { flex: 1; }
.blog-card-wide { display: flex; flex-direction: row; }
.blog-card-wide .blog-card-body { flex: 1; }
.blog-card-wide .blog-card-img { flex: 1; height: auto; }
.blog-card-img { height: 300px; overflow: hidden; }
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.blog-tag {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-card-body h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.blog-card-body p { font-size: 16px; line-height: 1.5; margin-bottom: 16px; opacity: .7; }
.blog-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.blog-card-small .blog-card-body h3 { font-size: 24px; }
.blog-right { display: flex; flex-direction: column; gap: 32px; }
.view-all-center { text-align: center; margin-top: 40px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.5;
  padding-top: 8px;
}
.breadcrumb a { transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: 1px solid var(--grey);
  background: var(--background);
  color: var(--navy);
}
.pagination a:hover {
  background: var(--beige);
  transform: scale(1.05);
}
.pagination .active {
  background: var(--orange);
  color: var(--background);
  border-color: var(--orange);
}
.pagination .dots {
  border: none;
  background: none;
  min-width: auto;
  padding: 0 4px;
}
.pagination .prev,
.pagination .next {
  font-weight: 700;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  background: var(--beige);
  padding: 24px;
  border-radius: var(--radius-large);
  margin: 32px 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.filter-group label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.filter-group select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--background);
  border: 1px solid var(--grey);
  border-radius: 50px;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  font-family: 'Satoshi', sans-serif;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23010432' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.filter-group select:focus { border-color: var(--orange); }
.filter-search { align-self: flex-end; }
.filter-search .btn-orange {
  padding: 12px 32px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-layout { flex-direction: column; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-wide { flex-direction: column; }
  .blog-card-wide .blog-card-img { height: 250px; }
  .blog-small-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-header h2 { font-size: 26px; }
  .stat-item .num { font-size: 48px; }
  .stat-item .label { font-size: 18px; }
  .blog-card-body h3 { font-size: 22px; }
  .btn-orange, .btn-outline-light { text-align: center; justify-content: center; padding: 16px 24px; }
  body.has-sticky-cta { padding-bottom: 72px; }
}
