/* =========================================
   Evora Finance — Design System
   ========================================= */

:root {
  --navy:        #1b2f5e;
  --navy-dark:   #12204a;
  --navy-light:  #2a4080;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #eff6ff;
  --green:       #16a34a;
  --green-hover: #15803d;
  --green-light: #f0fdf4;
  --orange:      #ea580c;
  --red:         #dc2626;

  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white:    #ffffff;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue) 0%, #7c3aed 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -1px;
}
.logo-text { font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.logo-text span { color: #60a5fa; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all .15s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
  text-decoration: none;
}
.site-nav a.active { background: rgba(37,99,235,.5); }

.header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.header-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .2s; }

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3a6e 100%);
  padding: 56px 0 48px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.hero-title .accent { color: #60a5fa; }
.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.hero-feature::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
}
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.stat-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat-value { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}
.trust-item .icon {
  font-size: 16px;
}

/* =========================================
   FILTERS
   ========================================= */
.filters-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.filters-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.filters-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.filter-btn:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
  margin-left: 5px;
}

/* =========================================
   OFFER CARD
   ========================================= */
.offers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, border-color .15s, transform .1s;
  position: relative;
}
.offer-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
  transform: translateY(-1px);
}
.offer-card.featured { border-left: 3px solid var(--green); }
.offer-badge {
  position: absolute;
  top: -1px; left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 6px 6px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.offer-logo {
  width: 64px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  line-height: 1.2;
}

.offer-info { min-width: 0; }
.offer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.offer-tagline {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.offer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-tag {
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.offer-tag.green { background: var(--green-light); color: var(--green); }
.offer-tag.orange { background: #fff7ed; color: var(--orange); }

.offer-params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex-shrink: 0;
}
.param { text-align: center; }
.param-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
}
.param-value.green { color: var(--green); }
.param-label { font-size: 11px; color: var(--gray-400); margin-top: 2px; white-space: nowrap; }

.offer-action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.btn-get {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green) 0%, #22c55e 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
  min-width: 130px;
  box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.btn-get:hover {
  background: linear-gradient(135deg, var(--green-hover) 0%, var(--green) 100%);
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--white);
}
.offer-rating { font-size: 12px; color: var(--gray-400); }
.stars { color: #f59e0b; font-size: 12px; }

.offer-legal {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
  margin-top: 4px;
}

/* =========================================
   SECTION HEADINGS
   ========================================= */
.section-header { margin-bottom: 32px; }
.section-label {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-subtitle { font-size: 16px; color: var(--gray-500); margin-top: 8px; }

/* =========================================
   HOW IT WORKS
   ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.step-number {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue) 0%, #7c3aed 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--white);
  margin-bottom: 16px;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step-text { font-size: 14px; color: var(--gray-500); line-height: 1.5; }

/* =========================================
   ADVANTAGES
   ========================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.advantage-icon { font-size: 36px; margin-bottom: 12px; }
.advantage-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.advantage-text { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  gap: 12px;
  transition: background .15s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question::after {
  content: '↓';
  font-size: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-question::after { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
}
.faq-item.open .faq-answer { display: block; }

/* =========================================
   SEO TEXT BLOCK
   ========================================= */
.seo-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.seo-block h2 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; margin-top: 28px; }
.seo-block h2:first-child { margin-top: 0; }
.seo-block h3 { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; margin-top: 20px; }
.seo-block p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.seo-block ul, .seo-block ol { padding-left: 20px; margin-bottom: 14px; }
.seo-block li { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 4px; }
.seo-block table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.seo-block th { background: var(--gray-100); padding: 10px 14px; text-align: left; font-size: 13px; font-weight: 600; color: var(--gray-600); }
.seo-block td { padding: 10px 14px; border-top: 1px solid var(--gray-200); font-size: 14px; color: var(--gray-700); }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--gray-900);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-icon { width: 32px; height: 32px; font-size: 16px; }
.footer-logo .logo-text { font-size: 18px; }
.footer-desc { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 16px; max-width: 280px; }
.footer-contact { font-size: 13px; color: var(--gray-400); }
.footer-contact a { color: var(--gray-300); }

.footer-col-title { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--gray-400); transition: color .15s; }
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 860px;
}
.footer-copy {
  font-size: 12px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy a { color: var(--gray-500); }

/* =========================================
   CATEGORY PAGE HERO
   ========================================= */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 48px 0 56px;
  margin-bottom: -20px;
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 32px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.6); }
.page-hero-breadcrumb a:hover { color: rgba(255,255,255,.9); text-decoration: none; }
.page-hero-breadcrumb span { margin: 0 6px; }
.page-hero-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 10px; }
.page-hero-subtitle { font-size: 16px; color: rgba(255,255,255,.7); max-width: 600px; }

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, transform .1s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-body { padding: 22px; }
.blog-card-category {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--blue); text-decoration: none; }
.blog-card-excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }
.blog-card-meta { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 12px; }
.blog-card-cover { width: 100%; aspect-ratio: 1200/630; overflow: hidden; background: #0d1527; }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.blog-card:hover .blog-card-cover img { transform: scale(1.03); }

/* =========================================
   ARTICLE PAGE
   ========================================= */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.article-body h1 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; line-height: 1.3; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--gray-900); margin: 32px 0 14px; }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--gray-800); margin: 24px 0 10px; }
.article-body p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body li { font-size: 15px; color: var(--gray-600); line-height: 1.7; margin-bottom: 6px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 14px; }
.article-body th { background: var(--navy); color: var(--white); padding: 10px 14px; text-align: left; font-size: 13px; }
.article-body td { padding: 10px 14px; border-top: 1px solid var(--gray-200); color: var(--gray-700); }
.article-body tr:nth-child(even) td { background: var(--gray-50); }

.article-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}
.sidebar-widget-title { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 14px; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav a {
  font-size: 13px;
  color: var(--gray-600);
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color .15s, background .15s;
}
.sidebar-nav a:first-child { color: var(--blue); font-weight: 600; }
.sidebar-nav a:hover { color: var(--blue); background: var(--blue-light); text-decoration: none; }

/* Inline offer widget inside articles */
.article-offers-widget {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f5e9 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 28px 0;
}
.widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-offers { display: flex; flex-direction: column; gap: 10px; }
.widget-offer {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.widget-offer-logo {
  width: 48px; height: 36px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: var(--white);
  text-align: center; flex-shrink: 0;
}
.widget-offer-info { flex: 1; min-width: 0; }
.widget-offer-name { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.widget-offer-params { font-size: 12px; color: var(--gray-500); }
.widget-offer-btn {
  background: var(--green);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.widget-offer-btn:hover { background: var(--green-hover); text-decoration: none; color: var(--white); }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* =========================================
   COMPARE TABLE
   ========================================= */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-table thead th { background: var(--navy); color: var(--white); padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 600; }
.compare-table tbody td { padding: 13px 16px; border-top: 1px solid var(--gray-100); font-size: 14px; color: var(--gray-700); }
.compare-table tbody tr:hover td { background: var(--gray-50); }
.compare-table .td-action { text-align: right; }
.compare-table .highlight { color: var(--green); font-weight: 700; }

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-muted { color: var(--gray-500); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.d-none { display: none; }

/* ---- Category tabs (main page) ---- */
.cat-tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cat-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}
.cat-tab.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* ---- Table scroll wrapper (set by JS for article tables) ---- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; }
.table-scroll table { margin-bottom: 0; min-width: 480px; }

/* =========================================
   RESPONSIVE
   ========================================= */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .offer-card { grid-template-columns: 56px 1fr auto; }
  .offer-params { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Navigation */
  .site-nav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 8px 12px 16px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 15px; }
  .burger { display: flex; }
  .header-badge { display: none; }

  /* Hero */
  .hero { padding: 36px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 110px; }
  .hero-title { font-size: clamp(24px, 6vw, 38px); }
  .hero-features { gap: 6px; }
  .hero-feature { font-size: 12px; padding: 5px 10px; }

  /* Page hero */
  .page-hero { padding: 28px 0 32px; }
  .page-hero-title { font-size: clamp(22px, 5vw, 32px); }
  .page-hero-subtitle { font-size: 14px; }

  /* Container */
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }

  /* Offer cards */
  .offer-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 16px;
  }
  .offer-params { display: none; }
  .offer-action {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
  }
  .offer-legal { display: none; }
  .offer-name { font-size: 15px; white-space: normal; }
  .btn-get { min-width: 115px; min-height: 44px; font-size: 13px; padding: 9px 18px; }

  /* Category tabs */
  .cat-tabs-bar { gap: 6px; }
  .cat-tab { padding: 8px 14px; font-size: 13px; min-height: 44px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-title { font-size: 15px; }
  .filters-bar { padding: 12px 14px; }
  .filters-row { gap: 6px; }
  .filter-btn { font-size: 12px; padding: 6px 12px; }

  /* Article */
  .article-body { overflow-x: hidden; }
  .article-body h1 { font-size: clamp(22px, 5.5vw, 30px); }
  .article-body h2 { font-size: 20px; margin: 24px 0 12px; }
  .article-body h3 { font-size: 17px; margin: 18px 0 8px; }
  .article-body p, .article-body li { font-size: 16px; }

  /* Widget offers — vertical stack with full-width 44px tap target */
  .widget-offer { flex-direction: column; align-items: stretch; gap: 8px; }
  .widget-offer-info { min-width: 0; }
  .widget-offer-btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Page hero — override any inline padding */
  .page-hero { padding: 28px 0 32px !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-bar-inner { gap: 14px; }
  .steps-grid, .advantages-grid { grid-template-columns: 1fr; }

  /* Tables */
  .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table th, .compare-table td { padding: 9px 10px; font-size: 13px; white-space: nowrap; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero { padding: 28px 0 36px; }
  .hero-title { font-size: clamp(22px, 7vw, 30px); }

  .offer-card { padding: 14px 12px; gap: 10px; }
  .offer-logo { width: 44px; height: 36px; font-size: 10px; }
  .offer-name { font-size: 14px; }
  .offer-tagline { font-size: 12px; }
  .btn-get { min-width: 100px; font-size: 12px; padding: 8px 14px; }

  .blog-card-body { padding: 16px; }
  .blog-card-title { font-size: 14px; }
  .blog-card-excerpt { font-size: 12px; }
  .blog-card-meta { font-size: 11px; gap: 8px; }

  .article-body h1 { font-size: clamp(22px, 6.5vw, 26px); }
  .article-body h2 { font-size: 20px; }
  .article-body h3 { font-size: 17px; }
  .article-body p, .article-body li { font-size: 16px; line-height: 1.75; }

  .widget-offer { padding: 10px 12px; }
  .widget-offer-logo { width: 40px; height: 30px; font-size: 8px; }
  .widget-offer-name { font-size: 14px; }
  .widget-offer-params { font-size: 12px; }
  .widget-offer-btn { min-height: 44px; }

  .article-offers-widget { padding: 16px 14px; }
  .widget-title { font-size: 14px; }

  .page-hero-title { font-size: clamp(20px, 7vw, 28px); }
  .page-hero-subtitle { font-size: 13px; }

  .sidebar-widget { padding: 16px; }
  .section { padding: 28px 0; }
  .section-title { font-size: clamp(20px, 6vw, 26px); }
}
