/* CSS RESET & NORMALIZATION */
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, 
main, 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  color: #253A59;
  background-color: #fff;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img, video {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: 4px;
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #253A59;
  background: #fff;
}
h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  color: #253A59;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.17; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, li, span {
  font-weight: 400;
  line-height: 1.7;
  color: #253A59;
  font-size: 1rem;
}
strong, b { font-weight: 700; }
a {
  color: #253A59;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD43B;
  text-decoration: underline;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 1.5rem;
}
li {
  margin-bottom: 12px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(37,58,89,0.05);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(37,58,89,0.06);
  overflow: hidden;
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(37,58,89,0.12);
}

.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: 12px;
  box-shadow: 0 2px 12px rgba(37,58,89,0.07);
  margin-bottom: 20px;
  color: #253A59;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive FEATURE GRIDS */
.feature-grid, .team-grid, .video-list, .news-list, .opinion-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div, .team-grid > div, .video-list > div, .news-list > article, .opinion-blocks > article {
  flex: 1 1 250px;
  min-width: 250px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 2px 8px rgba(37,58,89,0.06);
  transition: box-shadow 0.16s;
}
.feature-grid > div:hover,
.team-grid > div:hover,
.video-list > div:hover,
.opinion-blocks > article:hover {
  box-shadow: 0 3px 18px rgba(37,58,89,0.12);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 16px rgba(37,58,89,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 14px 20px 14px 20px;
  min-height: 72px;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  color: #253A59;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFD43B;
}
.cta-btn {
  background: #FFD43B;
  color: #253A59;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(37,58,89,0.08);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #253A59;
  color: #FFD43B;
  box-shadow: 0 4px 16px rgba(37,58,89,0.18);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #253A59;
  cursor: pointer;
  margin-left: 12px;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E6E8EB;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px;
  z-index: 3000;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.95, 0.01, 0.63, 1.1);
  box-shadow: 0 4px 32px rgba(37,58,89,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #253A59;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 3100;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E6E8EB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #253A59;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 6px;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E6E8EB;
  color: #FFD43B;
}

/* HERO/BANNER SECTIONS */
.hero {
  background: #E6E8EB;
  border-radius: 0 0 20px 20px;
  padding-top: 52px;
  padding-bottom: 48px;
}
.hero .content-wrapper,
.category-hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.category-hero {
  background: #E6E8EB;
  border-radius: 0 0 20px 20px;
  padding-top: 52px;
  padding-bottom: 48px;
}

.cta_banner, .cta-banner, .newsletter-cta, .callout, .insight-cta {
  background: #fff8dc;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 24px rgba(37,58,89,0.08);
  display: flex;
  align-items: center;
}

/* NEWS/LIST FEEDS */
.news-feed {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 16px rgba(37,58,89,0.06);
}
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.news-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(37,58,89,0.04);
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
}
.news-list article:hover {
  box-shadow: 0 3px 16px rgba(37,58,89,0.10);
}

.filter-options {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.filter-options button {
  background: #E6E8EB;
  color: #253A59;
  border: none;
  border-radius: 18px;
  padding: 7px 22px;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 2px;
  cursor: not-allowed;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar input {
  border: 1px solid #E6E8EB;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1rem;
  background: #fff;
  outline: none;
  width: 220px;
}
.search-bar button {
  background: #FFD43B;
  color: #253A59;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  cursor: not-allowed;
}

/* FOOTER */
footer {
  background: #f8f9fb;
  padding: 60px 0 34px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 12px rgba(37,58,89,0.06);
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}
.footer-logo img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}
.footer-nav a {
  color: #253A59;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD43B;
}
.footer-contact {
  color: #253A59;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact img {
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
  display: inline-block;
}

/* SPECIAL SECTIONS / BLOCKS */
.highlights, .region-highlights, .numbers {
  background: #fff;
  border-radius: 16px;
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(37,58,89,0.06);
}
.region-features {
  background: #f8f9fb;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(37,58,89,0.04);
}
.about, .confirmation, .legal, .contact, .location {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(37,58,89,0.05);
}
.stats-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 24px;
}
.stats-highlights li {
  flex: 1 1 180px;
  background: #E6E8EB;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 1.12rem;
  color: #253A59;
}
.milestones {
  margin-top: 12px;
  color: #757a85;
}
.author-profiles {
  margin-top: 32px;
  color: #253A59;
  font-weight: 600;
}
.address-block, .info-block {
  background: #E6E8EB;
  border-radius: 10px;
  padding: 18px 18px 10px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 12px 0;
}

/* VIDEO FEED & TABS */
.video-list, .team-grid {
  gap: 32px;
}
.category-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.category-tabs button {
  background: #E6E8EB;
  color: #253A59;
  border: none;
  border-radius: 16px;
  padding: 7px 18px;
  font-weight: 500;
  font-size: 0.98rem;
  cursor: not-allowed;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(37,58,89,0.06);
}
.testimonial-card {
  background: #f7fafd;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37,58,89,0.06);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #253A59;
  font-size: 1.08rem;
  min-width: 0;
}
.testimonial-card span {
  color: #253A59;
  font-weight: 600;
  opacity: 0.77;
  margin-left: 16px;
}

/* FORM BUTTON & INTERACTIVE */
button, [type=button] {
  font-family: inherit;
  font-size: 1rem;
  appearance: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow .15s;
  padding: 10px 22px;
  border-radius: 20px;
  background: #FFD43B;
  color: #253A59;
  font-weight: 600;
}
button:disabled, [type=button][disabled], button[disabled] {
  background: #E6E8EB;
  color: #979dac;
  cursor: not-allowed;
}
button:not(:disabled):hover, .cta-btn:not(:disabled):hover {
  filter: brightness(0.97);
  box-shadow: 0 2px 16px rgba(37,58,89,0.08);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #253A59;
  color: #fff;
  z-index: 4100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 16px;
  box-shadow: 0 -2px 18px rgba(37,58,89,0.12);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieAppear 0.44s cubic-bezier(0.7,0.1,0.3,0.9);
}
@keyframes cookieAppear {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  margin-left: 18px;
  padding: 10px 28px;
  border-radius: 16px;
  background: #FFD43B;
  color: #253A59;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  margin-right: 6px;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #253A59;
}
.cookie-banner .secondary {
  background: #E6E8EB;
  color: #253A59;
}
.cookie-banner .secondary:hover,
.cookie-banner .secondary:focus {
  background: #FFD43B;
  color: #253A59;
}

/* COOKIE PREF MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,58,89,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4200;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.24s;
  animation: fadeIn 0.32s cubic-bezier(0.66,0,0.33,1);
}
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 374px;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 6px 36px rgba(37,58,89,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: modalShow 0.25s cubic-bezier(0.69,0,0.3,1);
}
@keyframes modalShow {
  from {transform: translateY(28px) scale(0.98); opacity: 0;} to {transform:none; opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Merriweather', serif;
  color: #253A59;
  margin-bottom: 20px;
}
.cookie-modal ul {
  list-style: none;
  margin-bottom: 18px;
  padding: 0;
  width: 100%;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #253A59;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal .toggle {
  width: 38px;
  height: 22px;
  display: inline-block;
  border-radius: 11px;
  background: #E6E8EB;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .toggle-input {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}
.cookie-modal .toggle-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px;
  height: 16px;
  background: #FFD43B;
  border-radius: 50%;
  transition: transform 0.22s;
}
.cookie-modal .toggle-input:checked + .toggle-slider {
  transform: translateX(16px);
  background: #253A59;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 1.3rem;
  color: #979dac;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.14s;
}
.cookie-modal .close-modal:hover {
  background: #ECEEEF;
}

/* UTILS */
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-24 { margin-top: 24px; } 
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* ACCESSIBILITY FOCUS */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px dashed #FFD43B;
  outline-offset: 2px;
}

/* MEDIA QUERIES: MOBILE-FIRST RESPONSIVE */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .stats-highlights li { min-width: 120px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid, .video-list, .team-grid, .news-list, .opinion-blocks {
    gap: 18px;
  }
  .feature-grid > div, .team-grid > div, .video-list > div, .news-list > article, .opinion-blocks > article {
    min-width: 180px;
    padding: 18px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.15rem; }
  .section, .about, .confirmation, .legal, .testimonials,
  .cta_banner, .cta-banner, .newsletter-cta, .contact, .location, .region-features,
  .region-highlights, .numbers, .callout {
    padding: 26px 8px;
    border-radius: 12px;
  }
  footer {
    border-radius: 20px 20px 0 0;
    padding: 32px 0 20px 0;
    margin-top: 0;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 0;
  }
  .feature-grid, .team-grid, .video-list, .news-list, .opinion-blocks {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .team-grid > div, .video-list > div, .news-list > article, .opinion-blocks > article {
    min-width: 0;
    width: 100%;
    padding: 14px 6px;
  }
  .stats-highlights { flex-direction: column; gap: 14px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  .container { padding: 0 4px; }
  .hero, .category-hero {
    padding-top: 20px;
    padding-bottom: 18px;
    border-radius: 0 0 10px 10px;
  }
  .footer-logo img, header img { height: 26px; }
  .cta-btn, button, .cookie-banner .cookie-btn {
    padding: 8px 14px;
    font-size: .96rem;
    min-width: 104px;
  }
}

/* Animations, micro-interactions */
.cta-btn, button, .card, .feature-grid > div, .team-grid > div, .video-list > div, .news-list > article, .opinion-blocks > article {
  transition: box-shadow 0.16s, background 0.13s, color 0.13s, transform 0.11s;
}
.cta-btn:active, button:active {
  transform: scale(0.97);
}

/* Hide scroll for mobile menu when open */
body.menu-open {
  overflow: hidden;
}

/* Hide mobile menu by default on desktop */
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}
