/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #233A63;
  background: #F8FAFE;
  line-height: 1.7;
  font-size: 16px;
  position: relative;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
a {
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}

/* --- CUSTOM PROPERTIES (fallbacks for older browsers) --- */
:root {
  --primary: #233A63;
  --secondary: #BAC8DB;
  --accent: #FFD700;
  --bg-gradient-top: #233A63;
  --bg-gradient-bottom: #BAC8DB;
  --alt-gradient: #355689;
  --border-radius: 18px;
  --shadow: 0 10px 24px rgba(35,58,99,0.07);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #233A63;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li, .text-section p {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
}
.tag, .category, .topic {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 16px;
  padding: 3px 16px;
  margin-right: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}
.tag {
  background: #FDF6E3;
  color: #D7A807;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER --- */
header {
  background: linear-gradient(120deg, var(--bg-gradient-top), var(--bg-gradient-bottom));
  box-shadow: 0 2px 12px rgba(35,58,99, 0.09);
  position: relative;
  z-index: 20;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px 0;
}
.header-top > a img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--border-radius);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(255,255,255,0.09);
  color: var(--accent);
}
.cta-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1rem;
  border: none;
  border-radius: var(--border-radius);
  padding: 11px 32px;
  box-shadow: 0 3px 14px rgba(255, 236, 110, 0.08);
  cursor: pointer;
  text-align: center;
  transition: background 0.16s, color 0.16s, box-shadow 0.22s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F7C600;
  color: #233A63;
  box-shadow: 0 6px 24px rgba(237, 203, 61, 0.16);
  outline: none;
}

/* --- MOBILE HEADER & BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  padding: 7px 17px 7px 13px;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 2px 7px rgba(0,0,0,0.03);
  transition: background 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFF3A3;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 82vw;
  max-width: 360px;
  background: #F8FAFE;
  box-shadow: -2px 0 30px rgba(35, 58, 99, 0.13);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.61, 0.04, 0.33, 0.97);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 44px 28px 28px 32px;
  gap: 18px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 1.95rem;
  border-radius: 8px;
  padding: 6px 13px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 1rem;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  color: var(--primary);
  background: #fff;
  border-radius: var(--border-radius);
  padding: 13px 12px 12px 12px;
  box-shadow: 0 1px 7px rgba(35,58,99,0.05);
  margin-bottom: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(132deg, var(--primary) 57%, var(--secondary) 98%);
  color: #fff;
  padding-top: 56px;
  padding-bottom: 68px;
  min-height: 350px;
  display: flex;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
  text-shadow: 0 2px 20px rgba(25,29,56, 0.13);
}
.hero h1 {
  font-size: 2.3rem;
}
.hero p {
  font-size: 1.08rem;
  max-width: 650px;
  margin-bottom: 18px;
}
.hero .cta-primary {
  box-shadow: 0 2px 9px rgba(255,255,255,0.10);
}

/* --- FLEX LAYOUTS (MANDATORY PATTERNS) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 310px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.15s;
}
.feature-item:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 14px 38px rgba(35,58,99,0.12);
}
.feature-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 3px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  flex: 1 1 380px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(35,58,99,0.10);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(59,85,131,0.06);
  color: #1B1E29;
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.testimonial-card span {
  color: #233A63;
  font-weight: 600;
  margin-left: 10px;
}
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.articles-list li {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  flex: 1 1 310px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}
.articles-list a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-top: auto;
  text-decoration: underline;
  transition: color 0.18s;
}
.articles-list a:hover {
  color: var(--accent);
}

/* Cards & News/Guides list */
.analysis-list,
.news-list,
.guides-list,
.quotes-grid,
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.analysis-list article,
.news-list article,
.guides-list article,
.quotes-grid > div,
.faq-list > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  flex: 1 1 290px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.analysis-list article:hover,
.news-list article:hover,
.guides-list article:hover,
.quotes-grid > div:hover {
  box-shadow: 0 10px 28px rgba(35,58,99,0.11);
  transform: translateY(-5px) scale(1.02);
}

/* --- CALLOUT, CTAS, and MISSION BLOCKS --- */
.cta-section, .callout-section {
  background: linear-gradient(95deg, var(--accent), #FFF5B5 84%);
  color: #233A63;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 18px rgba(255,223,63,0.09);
  margin-bottom: 60px;
  padding: 45px 20px 40px 20px;
}
.cta-section h2,
.callout-section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 18px;
}
.cta-section p,
.callout-section p {
  max-width: 650px;
  margin: 0 auto 24px auto;
}

/* --- STATS SECTION & COUNTERS --- */
.stats-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 30px 20px 36px 20px;
}
.statistic-counters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin: 32px 0;
  justify-content: space-between;
}
.statistic-counters > div {
  flex: 1 1 110px;
  min-width: 110px;
  text-align: center;
  background: #F8FAFE;
  border-radius: 16px;
  padding: 16px 10px 10px 10px;
  box-shadow: 0 1px 4px rgba(83,108,179, 0.04);
}
.statistic-counters h3 {
  color: var(--accent);
  font-size: 1.7rem;
  font-family: var(--font-display);
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(100deg, #233A63 60%, #264c85 97%);
  color: #fff;
  border-radius: 16px 16px 0 0;
  margin-top: 70px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 42px 0 29px 0;
}
.footer-top > img {
  height: 48px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 32px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 7px;
  padding: 5px 6px;
  transition: background 0.14s, color 0.14s;
  width: max-content;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.07);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  line-height: 1.5;
}
.footer-contact img {
  height: 17px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-social {
  display: flex;
  gap: 17px;
}
.footer-social a {
  display: flex;
  align-items: center;
  background: #EEF5FF;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  justify-content: center;
  transition: background 0.18s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--accent);
}
.footer-social img {
  width: 22px;
  height: 22px;
}
.footer-bottom {
  text-align: center;
  font-size: 0.97rem;
  color: #BAC8DB;
  padding: 18px 0;
  margin-top: 10px;
}

/* --- LEGAL, POLICY, AND STATIC PAGES --- */
.legal-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 22px 34px 22px;
}
.text-section ul, .legal-section ul {
  margin: 10px 0 18px 20px;
  list-style: disc inside;
  color: #355689;
  font-size: 1rem;
}
.legal-section h1, .legal-section h2 {
  color: var(--primary);
}
.text-section {
  margin-bottom: 28px;
}

/* --- SPECIAL COMPONENTS --- */
.analysis-filters, .news-filters, .guides-categories, .popular-tags, .topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.analysis-filters span.category,
.guides-categories .category,
.topics-list .topic {
  background: #E4F0FF;
  color: #255A99;
  font-weight: 600;
}
.popular-tags .tag {
  background: #FDF6E3;
  color: #B59B0A;
}
.top-news-slider, .expert-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 8px 0;
}
.top-news-slider > div,
.expert-slider > div {
  background: rgba(255,255,255,0.85);
  border-radius: 13px;
  padding: 14px 18px;
  min-width: 200px;
  box-shadow: 0 1px 10px rgba(35,58,99, 0.05);
  color: var(--primary);
}
.top-news-slider h3, .expert-slider h3 {
  color: var(--primary);
  font-size: 1.09rem;
  font-family: var(--font-display);
  font-weight: 600;
}

/* --- FAQ Section --- */
.faq-list {
  gap: 20px;
}
.faq-list > div {
  cursor: pointer;
  background: #F8FAFE;
  border-left: 4px solid var(--accent);
  transition: background 0.13s;
}
.faq-list > div:hover { background: #fffbe2; }
.faq-list h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

/* --- Infographics --- */
.infographic-list ul {
  margin: 12px 0 0 0;
  padding: 0;
}
.infographic-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.infographic-list img {
  width: 26px;
  height: 26px;
}

/* --- MAP & CONTACT --- */
.contact-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 7px;
}
.contact-info-block div {
  background: #EEF5FF;
  border-radius: 8px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #233A63;
}
.contact-info-block img {
  width: 18px;
  height: 18px;
}

.map-info {
  background: #F8FAFE;
  padding: 20px 16px;
  border-radius: 10px;
  font-size: 1rem;
  color: #233A63;
}

/* --- QUOTES --- */
.quotes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.quotes-grid > div {
  background: #f4faff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(35,58,99,0.06);
  padding: 22px 19px;
  color: #233A63;
  font-size: 1.08rem;
  min-width: 246px;
}
.quotes-grid blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: #355689;
  margin-bottom: 15px;
  font-size: 1.08rem;
}
.quotes-grid cite {
  font-size: 1rem;
  color: #7B93BC;
  font-style: normal;
}

/* --- CONFIRMATION SECTION --- */
.confirmation-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 54px 20px 36px 20px;
  text-align: center;
}
.thank-you-message p {
  font-size: 1.1rem;
  color: #233A63;
  margin-bottom: 20px;
}

/* --- BUTTONS & MICRO-INTERACTIONS --- */
button, .cta-primary, .main-nav a, .footer-nav a, .mobile-nav a {
  cursor: pointer;
  outline: none;
}
button:focus, .cta-primary:focus, .main-nav a:focus, .footer-nav a:focus, .mobile-nav a:focus {
  box-shadow: 0 0 0 3px #FFD70060 !important;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--secondary), #fff 100%);
  color: #233A63;
  box-shadow: 0 -2px 22px rgba(35,58,99,0.14);
  z-index: 1640;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 34px 22px 22px;
  font-size: 1rem;
  animation: cookiefadein 0.64s cubic-bezier(.42,0,.44,1.01);
}
@keyframes cookiefadein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  padding: 8px 22px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.16s, color 0.14s;
}
.cookie-banner .accept-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept-btn:hover {
  background: #F7C600;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #8C98B6;
  border: 1.5px solid #CBD8EC;
}
.cookie-banner .reject-btn:hover {
  background: #FDF6E3;
  border-color: #FFD700;
  color: #233A63;
}
.cookie-banner .settings-btn {
  background: #E4F0FF;
  color: var(--primary);
}
.cookie-banner .settings-btn:hover {
  background: #c8e0fa;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45,63,90,0.44);
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.34s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #233A63;
  border-radius: 16px;
  padding: 36px 32px 28px 32px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 8px 38px rgba(35,58,99,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1810;
  animation: popin 0.37s cubic-bezier(.42,0,.44,1.01);
}
@keyframes popin {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0 6px 0;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-right: 7px;
}
.cookie-category .category-descr {
  color: #8394B4;
  font-weight: 400;
  margin-left: 6px;
  font-size: 0.97rem;
}
.cookie-modal .modal-btns {
  margin-top: 10px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-btns button {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  padding: 8px 22px;
  cursor: pointer;
  font-weight: 700;
}
.cookie-modal .accept-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal .reject-btn {
  background: #EEF5FF;
  color: #8C98B6;
}
.cookie-modal .close-btn {
  background: #fff;
  border: 1.5px solid #CBD8EC;
  color: #233A63;
}
.cookie-modal .close-btn:hover, .cookie-modal .reject-btn:hover {
  background: #FDF6E3;
  color: #233A63;
}

/* --- MEDIA QUERIES | RESPONSIVE DESIGN --- */
@media (max-width: 1150px) {
  .feature-grid, .statistic-counters, .card-container, .content-grid, .quotes-grid,
  .analysis-list, .news-list, .guides-list, .faq-list, .articles-list {
    gap: 16px;
  }
  .statistic-counters > div {
    min-width: 98px;
    padding: 15px 5px 8px 5px;
  }
  .footer-top {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .header-top, .footer-top {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .main-nav, .footer-nav {
    flex-wrap: wrap;
    gap: 7px;
  }
  .feature-grid, .statistic-counters, .card-container, .content-grid, .quotes-grid,
  .analysis-list, .news-list, .guides-list, .faq-list, .articles-list {
    flex-wrap: wrap;
    gap: 14px;
  }
  .statistic-counters > div {
    flex-basis: 40%;
    min-width: 80px;
  }
  .footer-contact {
    max-width: 360px;
    width: 100%;
  }
  .footer-social {
    margin-bottom: 14px;
  }
}
@media (max-width: 768px) {
  .header-top {
    flex-direction: row;
    gap: 12px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 9px;
  }
  .cta-section, .callout-section {
    padding: 34px 12px 32px 12px;
    margin-bottom: 48px;
  }
  .section, section, .legal-section, .stats-section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .statistic-counters {
    flex-direction: column;
    gap: 19px;
  }
  .content-wrapper, .contact-info-block {
    gap: 18px;
  }
  .feature-grid, .card-container, .content-grid, .quotes-grid, .analysis-list, .news-list, .guides-list, .faq-list, .articles-list {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonials {
    padding-bottom: 12px;
  }
  .footer-top {
    padding: 27px 0 18px 0;
    gap: 15px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.02rem; }
  .container, .section, section, .legal-section {
    padding: 0 3px;
  }
  .footer-nav a, .main-nav a { font-size: 0.97rem; }
  .testimonial-card p { font-size: 0.98rem; }
  .hero { padding-top: 32px; padding-bottom: 43px; }
  .footer-top img { height: 36px; }
}

/* --- SCROLLBARS, SELECTION --- */
::-webkit-scrollbar {
  width: 8px;
  background: #f3f3f9;
}
::-webkit-scrollbar-thumb {
  background: #bac8db;
  border-radius: 4px;
}
::selection {
  background: #FFE27C;
  color: #233A63;
}
