/* =======================================================
   CSS RESET & NORMALIZATION (mobile-first, wide support)
   ======================================================= */
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 {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  line-height: 1.6;
  background: #F4F7FA;
  color: #154273;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  border-style: none;
}
a {
  color: #154273;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F8AF2A;
  outline: none;
}
ul, ol {
  list-style: none;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  line-height: 1.15;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
  background: none;
}

/* =======================
   CORE TYPOGRAPHY
   ======================= */
h1, h2, h3, h4, h5, h6 {
  color: #154273;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
@media (min-width: 600px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
p, ul, ol, blockquote, cite {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: #2C4866;
  background: #F7FAFD;
  border-left: 4px solid #F8AF2A;
  padding: 16px 20px;
  margin: 0 0 16px 0;
}
cite {
  font-size: 0.95rem;
  color: #6E859A;
}

/* =====================================================
   LAYOUT CONTAINERS & SECTIONS
   ===================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 900px) {
  .content-wrapper {
    padding: 0 32px;
  }
  .section {
    padding: 60px 40px;
    margin-bottom: 80px;
  }
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 14px -8px rgba(0,32,64,0.07);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 54px;
  padding-right: 10px;
}
.logo-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.main-nav {
  display: none;
}
@media (min-width: 900px) {
  .main-nav {
    display: contents;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #154273;
    padding: 6px 14px;
    border-radius: 16px;
    transition: background .18s, color .18s;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: #F4F7FA;
    color: #F8AF2A;
  }
  .main-nav .cta-primary {
    background: #154273;
    color: #fff;
    padding: 8px 24px;
    border-radius: 24px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 8px -6px #15427344;
    transition: background .2s, color .2s;
  }
  .main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
    background: #F8AF2A;
    color: #154273;
  }
}

/* ================================
   MOBILE MENU & BURGER NAVIGATION
   ================================ */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  background: #154273;
  color: #fff;
  border: none;
  border-radius: 10px;
  transition: background .20s, box-shadow .18s;
  z-index: 1021;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1E528E;
}
@media (min-width: 900px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 0 0;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.7,.1,.2,1);
  box-shadow: 2px 0 32px 0 rgba(0,0,0,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 0 28px 18px 0;
  font-size: 2.1rem;
  background: #F4F7FA;
  color: #154273;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F8AF2A;
  color: #154273;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 20px 36px 30px 36px;
  gap: 8px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #154273;
  border-radius: 12px;
  padding: 14px 12px;
  width: 100%;
  margin-bottom: 4px;
  background: #F4F7FA;
  transition: background .17s, color .15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8AF2A;
  color: #154273;
  outline: none;
}
@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* =====================
   HERO SECTION
   ===================== */
.hero-section {
  background: #F4F7FA;
  padding-top: 44px;
  padding-bottom: 44px;
  min-height: 280px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.2rem;
  color: #154273;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
  letter-spacing: 0.008em;
}
.hero-section p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #335170;
}
.hero-section .cta-primary {
  margin-top: 8px;
}
@media (min-width:600px) {
  .hero-section h1 { font-size: 2.7rem; }
}

/* ========================
   FLEX CONTAINER UTILITYS
   ======================== */
.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px -4px #0d223314;
  padding: 28px 24px;
  flex: 1 1 220px;
  min-width: 200px;
  transition: box-shadow .23s;
}
.card:hover,
.card:focus {
  box-shadow: 0 6px 20px -2px #15427322;
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 24px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px -4px #15427314;
  margin-bottom: 20px;
  max-width: 680px;
  transition: box-shadow .15s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px -6px #15427326;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px -6px #15427315;
  padding: 28px 24px;
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 20px;
  transition: box-shadow .2s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px -10px #F8AF2A44;
}
.feature-item img {
  height: 38px;
  margin-bottom: 6px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
  margin-top: 18px;
}
@media (max-width: 820px) {
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 620px) {
  .feature-item, .card {
    padding: 20px 12px;
    min-width: 130px;
  }
  .feature-grid {
    gap: 16px;
  }
}

/* =============================
   ARTICLES & ARTICLE CARDS
   ============================= */
.articles-preview, .category-grid, .articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.articles-preview {
  margin-bottom: 26px;
}
.article-card, .article-list-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px -6px #15427312;
  padding: 24px 18px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 180px;
  transition: box-shadow .16s, transform .14s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-card:hover,
.article-list-item:hover {
  box-shadow: 0 7px 24px -10px #15427332;
  transform: translateY(-3px);
}
.article-card h3, .article-list-item h3 {
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #154273;
}
.article-card p, .article-list-item p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #466284;
}
.article-card a {
  color: #F8AF2A;
  font-weight: 600;
  text-decoration: underline;
  align-self: flex-start;
  margin-top: 8px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.article-card a:hover,
.article-card a:focus {
  color: #154273;
  background: #F8AF2A33;
}
.category-grid {
  margin-bottom: 0;
}
.category-card {
  background: #fff;
  color: #154273;
  border-radius: 15px;
  box-shadow: 0 2px 8px -6px #15427314;
  padding: 24px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  min-width: 130px;
  flex: 1 1 140px;
  text-align: center;
  transition: box-shadow .16s, color .17s, background .12s;
}
.category-card:hover, .category-card:focus {
  background: #154273;
  color: #fff;
  box-shadow: 0 4px 18px -4px #15427344;
}
.filters-search {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.filters-search input[type="text"] {
  border: 1px solid #D4D8DC;
  border-radius: 10px;
  padding: 10px 14px;
  background: #FCFCFD;
  min-width: 180px;
  font-size: 1rem;
  margin-bottom: 0;
  transition: border .13s;
}
.filters-search input[type="text"]:focus {
  border: 1.5px solid #F8AF2A;
  background: #fffbe5;
}
.filters-search select {
  border-radius: 10px;
  padding: 9px 23px 9px 11px;
  font-size: 1rem;
  background: #FCFCFD;
  border: 1px solid #D4D8DC;
  min-width: 130px;
  transition: border .13s;
}
.filters-search select:focus {
  border: 1.5px solid #F8AF2A;
}
@media (min-width: 650px) {
  .filters-search {
    flex-direction: row;
    gap: 18px;
  }
}

/* =============================
   TEAM & TESTIMONIALS
   ============================= */
.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.team-member {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px -5px #15427313;
  padding: 22px 20px;
  flex: 1 1 220px;
  min-width: 160px;
  margin-bottom: 20px;
}
.team-member h3 {
  font-size: 1.12rem;
  margin-top: 0;
}
.team-member p, .team-member ul li {
  color: #35516B;
  margin-bottom: 7px;
  font-size: 1rem;
}
.team-member ul {
  padding-left: 9px;
  margin-bottom: 0;
}

/* =====================
   CTA & BUTTON STYLES
   ===================== */
.cta-primary {
  background: #154273;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 30px;
  padding: 12px 28px;
  box-shadow: 0 3px 16px -8px #15427333;
  transition: background .22s, color .18s, box-shadow .19s;
  display: inline-block;
  margin-top: 12px;
  border: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F8AF2A;
  color: #154273 !important;
  box-shadow: 0 7px 26px -10px #F8AF2A66;
}
.cta-secondary {
  background: #F8AF2A;
  color: #154273;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 26px;
  padding: 11px 26px;
  transition: background .19s, color .18s, box-shadow .13s;
  display: inline-block;
  box-shadow: 0 2px 10px -7px #f8af2a55;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #154273;
  color: #fff;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #fff;
  width: 100%;
  border-top: 1px solid #E1E8EE;
  box-shadow: 0 -2px 14px -10px #15427315;
  padding-top: 34px;
  padding-bottom: 18px;
  margin-top: 0;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-logo {
  margin-bottom: 8px;
}
.footer-logo img {
  height: 38px;
  width: auto;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}
.footer-nav a, .footer-legal a {
  font-size: 0.97rem;
  color: #466284;
  padding: 3px 12px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-legal a:hover {
  background: #F4F7FA;
  color: #154273;
}
.footer-contact-block {
  font-size: 0.95rem;
  color: #467298;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact-block img {
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.copyright {
  font-size: 0.92rem;
  color: #9bacba;
  margin-top: 8px;
}
footer .cta-primary {
  margin-top: 12px;
}
@media (min-width: 900px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 34px;
    padding: 0 36px;
  }
  .footer-logo{
    margin-bottom: 0;
  }
  .footer-nav, .footer-legal {
    gap: 18px;
  }
  .footer-contact-block {
    min-width: 270px;
  }
  .copyright {
    min-width: 180px;
    text-align: right;
  }
}

/* ===================
   TIPS LISTS
   =================== */
.tip-list {
  margin: 16px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tip-list li::before {
  content: '•';
  color: #F8AF2A;
  font-weight: bold;
  margin-right: 9px;
}
@media (max-width:700px) {
  .tip-list {
    padding-left: 11px;
  }
}

/* ====================
   MISCELLANEOUS/GENERIC
   ==================== */
.text-section {
  margin-bottom: 14px;
}
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.03rem;
}
.contact-information img {
  height: 19px;
  margin-right: 8px;
  vertical-align: bottom;
}
.opening-hours {
  font-size: 0.98rem;
  margin-bottom: 22px;
  color: #6E859A;
}
.cta-contact {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============== RESPONSIVE SECTIONS ============== */
@media (max-width:900px) {
  .feature-grid, .articles-preview, .articles-list, .category-grid, .team-section, .content-grid {
    flex-direction: column;
  }
  .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }
}
@media (max-width:650px) {
  .section { padding: 24px 2px; }
  .footer-container {
    padding: 0 2px;
  }
}
@media (max-width:480px) {
  .container { padding: 0 2px; }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  .card, .feature-item, .article-card, .article-list-item {
    padding: 15px 8px;
    min-width: unset;
  }
  .cta-primary, .cta-secondary {
    font-size: 1rem;
    padding: 8px 12px;
  }
}

/* ===========================================
   COOKIE CONSENT BANNER & MODAL
   =========================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 18px -8px #15427333;
  border-top: 1px solid #E1E8EE;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 9999;
  padding: 20px 16px 20px 16px;
  gap: 16px;
  transition: transform .28s cubic-bezier(.65,0,.37,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  color: #2C4866;
  font-size: 1rem;
  margin: 0 0 6px 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.btn-cookie {
  background: #F4F7FA;
  color: #154273;
  border-radius: 18px;
  padding: 9px 28px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  outline: none;
  transition: background .18s, color .17s;
  box-shadow: 0 1px 6px -3px #bdbdbd22;
}
.btn-cookie.accept {
  background: #154273;
  color: #fff;
}
.btn-cookie.reject {
  background: #e7e7ed;
  color: #154273;
}
.btn-cookie.settings {
  background: #F8AF2A;
  color: #154273;
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: #F8AF2A;
  color: #154273;
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: #fcf1de;
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: #154273;
  color: #fff;
}
@media (min-width: 600px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 22px 34px;
    gap: 38px;
  }
  .cookie-banner p {
    margin-bottom: 0;
  }
}

.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(31,60,106,0.18);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .22s cubic-bezier(.38,0,.51,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  box-shadow: 0 8px 40px -10px #1542731f;
  border-radius: 20px;
  padding: 32px 30px;
  min-width: 280px;
  max-width: 94vw;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154273;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #2C4866;
}
.cookie-category input[type='checkbox'] {
  accent-color: #F8AF2A;
  width: 19px;
  height: 19px;
  border-radius: 5px;
}
.cookie-category.essential label {
  font-weight: bold;
  color: #154273;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 550px) {
  .cookie-modal-dialog {
    padding: 17px 6px;
    min-width: 0;
  }
}

/* ============== MODAL ANIMATION ============= */
.cookie-modal { animation: fadeIn .22s; }
@keyframes fadeIn {
  from { opacity: 0; }
  to {   opacity: 1; }
}
.cookie-banner { animation: slideUp .23s; }
@keyframes slideUp {
  from { transform: translateY(140%); }
  to   { transform: translateY(0); }
}

/* =======================
   MICRO-INTERACTIONS
   ======================= */
.card, .article-card, .feature-item, .testimonial-card, .category-card, .team-member {
  transition: box-shadow .18s, transform .14s;
}
.card:hover,
.article-card:hover,
.feature-item:hover,
.category-card:hover,
.team-member:hover {
  box-shadow: 0 6px 20px -2px #F8AF2A22;
  transform: translateY(-3px) scale(1.015);
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(.97);
}

/* =========================
   VISUAL HIERARCHY & SPACING
   ========================= */
main {
  min-height: 60vh;
  margin-bottom: 24px;
}
.section:not(:last-child) {
  border-bottom: 1px solid #E1E8EE;
}

/* ================================
   HELPER/UTILITY CLASSES
   ================================ */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);white-space: nowrap; border: 0; }

/* Prevent card/text overlap */
.card, .article-card, .feature-item, .team-member {
  min-width: 0;
  word-break: break-word;
}

/* ========== END CSS ========== */