/* === 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F6F7FB;
  color: #223355;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3BA17C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #223355;
  text-decoration: underline;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
strong {
  font-weight: 700;
}

/* === BRAND TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #223355;
  letter-spacing: 0.02em;
  font-weight: 800;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.15;
  text-transform: uppercase;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  line-height: 1.18;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.22;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  color: #223355;
  font-size: 1rem;
  margin-bottom: 14px;
}
em {
  font-style: italic;
  color: #3BA17C;
}
blockquote {
  background: #F6F7FB;
  border-left: 5px solid #3BA17C;
  padding: 20px 28px;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #223355;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* === SPACING UTILITIES & LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 22px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 24px 0 rgba(34,51,85,0.06);
}
@media (max-width: 600px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
  gap: 24px;
}

/* === FLEX STRUCTURE CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 6px 24px 0 rgba(34,51,85,0.05);
  border-radius: 18px;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.12s;
  border: 2px solid #F6F7FB;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 10px 32px 0 rgba(59,161,124,0.10);
  transform: translateY(-2px) scale(1.01);
  border-color: #3BA17C44;
}
.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;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px 0 rgba(34,51,85,0.10);
  margin-bottom: 20px;
  border-left: 7px solid #3BA17C;
  font-size: 1.05rem;
  color: #223355;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #223355;
  border-bottom: 4px solid #3BA17C;
  box-shadow: 0 2px 12px 0 rgba(34,51,85,0.04);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 0;
}
header nav {
  display: flex;
  gap: 23px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.1s;
}
header nav a.cta {
  font-weight: 700;
}
header nav a.cta.primary {
  background: #3BA17C;
  color: #fff;
  padding: 7px 20px;
  border-radius: 24px;
  box-shadow: 0 2px 9px 0 rgba(59,161,124,0.09);
}
header nav a:not(.cta):hover,
header nav a:not(.cta):focus {
  background: #F6F7FB22;
  color: #3BA17C;
}
header nav a.cta.primary:hover,
header nav a.cta.primary:focus {
  background: #223355;
  color: #3BA17C;
}
header img {
  height: 48px;
  width: auto;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  color: #fff;
  font-size: 2.3rem;
  background: #3BA17C;
  border-radius: 12px;
  padding: 2px 14px;
  margin-left: 18px;
  transition: background 0.18s, color 0.1s, box-shadow 0.2s;
  box-shadow: 0 2px 9px 0 rgba(59,161,124,0.15);
  z-index: 1101;
  border: none;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #223355;
  color: #3BA17C;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #223355F6;
  z-index: 1100;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.66,.01,.23,1);
  box-shadow: 4px 0 28px 0 rgba(34,51,85,0.21);
  padding: 28px 18px 32px 18px;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  color: #3BA17C;
  font-size: 2rem;
  background: #fff;
  border-radius: 40px;
  padding: 2px 13px;
  margin-bottom: 18px;
  line-height: 1;
  box-shadow: 0 2px 9px 0 rgba(59,161,124,0.15);
  z-index: 1200;
  transition: background 0.16s, color 0.1s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #3BA17C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 0 12px 4px;
  border-radius: 8px;
  transition: background 0.12s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #3BA17C;
  color: #fff;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* === MAIN CARDS, FEATURES, NEWS, RANKINGS, GUIDES === */
.feature-grid, .guide-cards, .review-cards, .ranking-cards, .news-cards, .ranking-list, .guide-list, .team-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}
.feature-grid > div, .guide-cards > div, .review-cards > div, .ranking-cards > div, .news-cards > div, .ranking-list > div, .guide-list > div, .team-profile > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 17px 0 rgba(34,51,85,0.06);
  padding: 24px 18px;
  border: 2px solid #F6F7FB;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.17s, border 0.14s, transform 0.13s;
  min-width: 230px;
  margin-bottom: 20px;
  min-height: 210px;
}
/* Team profile for about page */
.team-profile {
  gap: 32px;
}
.team-profile > div {
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  min-width: 270px;
  min-height: 240px;
  gap: 9px;
}
.team-profile img {
  height: 38px;
  margin-bottom: 8px;
}
.feature-grid img, .team-profile img {
  height: 38px;
  width: 38px;
  margin-bottom: 10px;
}
.feature-grid > div:hover, .guide-cards > div:hover, .review-cards > div:hover, .ranking-cards > div:hover, .news-cards > div:hover, .ranking-list > div:hover, .guide-list > div:hover, .team-profile > div:hover {
  border-color: #3BA17C44;
  box-shadow: 0 7px 35px 0 rgba(59,161,124,0.10);
  transform: translateY(-2px) scale(1.012);
}

.guide-list > div, .ranking-list > div {
  min-width: 210px;
  min-height: 110px;
}

.review-cards > div {
  min-width: 220px;
  min-height: 110px;
}

.guide-cards, .team-profile {
  margin-bottom: 12px;
}

.guide-search, .filters, .review-options, .news-search {
  margin-bottom: 14px;
}
.filters {
  font-size: 0.99rem;
  color: #223355;
}

/* == LISTS == */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.5;
}
ul li::marker,
ol li::marker {
  color: #3BA17C;
  font-size: 1.35em;
}
/* == CALLOUT BOXES == */
.callout {
  padding: 18px 23px;
  background: #3BA17C12;
  border-radius: 16px;
  border-left: 6px solid #3BA17C;
}

/* == MAP PLACEHOLDER == */
.map-placeholder {
  margin-top: 20px;
  background: #F6F7FB;
  border: 1.5px dashed #3BA17C;
  border-radius: 12px;
  padding: 16px 12px;
  color: #223355;
  font-size: 1rem;
}

/* === BUTTONS & CTAS === */
.cta {
  display: inline-block;
  background: #3BA17C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  padding: 11px 28px;
  box-shadow: 0 3px 12px 0 rgba(59,161,124,0.09);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, box-shadow 0.12s, transform 0.08s;
  margin-top: 4px;
  border: none;
}
.cta:active, .cta:focus {
  transform: scale(0.97);
  outline: 1.5px solid #3BA17C;
}
.cta:hover {
  background: #223355;
  color: #3BA17C;
  box-shadow: 0 6px 24px 0 rgba(34,51,85,0.10);
}
/* == Buttons in Cookie Banner == */
.cookie-banner .cta, .cookie-banner .cta-secondary {
  margin: 0 8px 0 0;
  padding: 9px 19px;
  font-size: 0.95rem;
}
.cookie-banner .cta-secondary {
  background: #fff;
  color: #3BA17C;
  border: 2px solid #3BA17C;
  font-weight: 700;
  border-radius: 22px;
  transition: background 0.15s, color 0.1s, border-color 0.13s;
}
.cookie-banner .cta-secondary:hover, .cookie-banner .cta-secondary:focus {
  background: #3BA17C;
  color: #fff;
  border-color: #223355;
}

/* === FOOTER === */
footer {
  background: #223355;
  color: #fff;
  width: 100%;
  padding-top: 35px;
  padding-bottom: 35px;
  border-top: 4px solid #3BA17C;
  margin-top: 36px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}
footer img {
  height: 39px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 9px;
}
footer nav a {
  color: #3BA17C;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: #F6F7FB;
}
.footer-contact img {
  height: 19px;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
.footer-copy {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #97a4c8;
  letter-spacing: 0.01em;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .feature-grid > div, .guide-cards > div, .review-cards > div, .ranking-cards > div, .news-cards > div, .team-profile > div {
    min-width: 170px;
    padding: 16px 8px;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
  footer .container,
  .footer-contact {
    gap: 9px;
  }
  .feature-grid, .guide-cards, .review-cards, .ranking-cards, .news-cards, .team-profile {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .feature-grid > div, .guide-cards > div, .review-cards > div, .ranking-cards > div, .news-cards > div, .team-profile > div {
    min-width: unset;
    min-height: unset;
    font-size: 0.98rem;
    padding: 12px 5px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    font-size: 0.93rem;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #3BA17C;
  box-shadow: 0 -3px 18px 1px rgba(34,51,85,0.11);
  z-index: 9999;
  padding: 20px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  animation: cookieBannerSlideIn 0.56s cubic-bezier(.69,-0.08,.3,1.22);
  font-size: 1rem;
}
.cookie-banner .cookie-message {
  color: #223355;
  font-family: 'Roboto', Arial, sans-serif;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
@keyframes cookieBannerSlideIn { from { transform: translateY(80px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 9px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #22335584;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.22s;
}
@keyframes fadeInCookieModal { from { opacity: 0; } to { opacity:1; } }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px 2px rgba(34,51,85,0.18);
  padding: 32px 30px 27px 30px;
  max-width: 410px;
  width: 89vw;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.29s cubic-bezier(.69,-0.08,.3,1.22);
}
@keyframes cookieModalIn { from { transform: scale(0.90); opacity: 0.6; } to { transform: scale(1); opacity:1; } }
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #223355;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-toggle {
  width: 44px;
  height: 25px;
  border-radius: 14px;
  border: 2px solid #3BA17C;
  background: #F6F7FB;
  position: relative;
  transition: background 0.18s;
  margin-left: 9px;
  cursor: pointer;
}
.cookie-toggle[aria-checked="true"] {
  background: #3BA17C;
}
.cookie-toggle .cookie-knob {
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 17.5px;
  height: 17.5px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
  box-shadow: 0 0 2.5px 0 #22335522;
}
.cookie-toggle[aria-checked="true"] .cookie-knob {
  left: 22.5px;
  background: #223355;
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal .cta,
.cookie-modal .cta-secondary {
  padding: 9px 19px;
  font-size: 0.95rem;
}
.cookie-modal .cta-secondary {
  background: #fff;
  color: #3BA17C;
  border: 2px solid #3BA17C;
}
.cookie-modal .cta-secondary:hover, .cookie-modal .cta-secondary:focus {
  background: #3BA17C;
  color: #fff;
  border-color: #223355;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 20px;
  top: 19px;
  color: #223355;
  font-size: 1.35rem;
  background: #F6F7FB;
  border-radius: 12px;
  padding: 3px 11px;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(59,161,124,0.10);
  cursor: pointer;
  transition: background 0.16s, color 0.1s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #3BA17C;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 7px 18px 17px;
    max-width: 97vw;
    font-size: 1rem;
  }
}

/* === GEOMETRIC AND STRUCTURED VISUAL DESIGN === */
.card, .feature-grid > div, .guide-cards > div, .review-cards > div, .ranking-cards > div, .news-cards > div, .testimonial-card, .team-profile > div {
  border-radius: 18px 4px 18px 4px;
  /* geometric clipped corners */
  border-style: solid;
  border-width: 2px;
}
.section {
  border-radius: 20px 60px 24px 16px;
  border-bottom: 5px solid #3BA17C22;
  border-left: 2px solid #22335511;
}
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
h1 {
  text-shadow: 0 2px 12px #3ba17c11, 0 0.5px 0 #3BA17C22;
}
.cta, .cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 16px 36px 16px 36px;
}

/* === SPACING AND FLOW PROTECTION === */
.section, .feature-grid, .review-cards, .news-cards, .guide-cards, .ranking-cards, .ranking-list, .guide-list, .team-profile,
.card-container, .testimonial-card {
  margin-bottom: 32px;
}
.feature-grid > div, .guide-cards > div, .review-cards > div, .ranking-cards > div, .news-cards > div, .ranking-list > div, .guide-list > div, .team-profile > div {
  margin-bottom: 20px;
}

/* === MICRO-INTERACTIONS & HOVER EFFECTS === */
a, .cta, .cta.primary, .card,
.feature-grid > div, .guide-cards > div, .review-cards > div, .ranking-cards > div, .news-cards > div, .team-profile > div {
  transition: 
    color 0.16s,
    background 0.2s,
    box-shadow 0.2s,
    border-color 0.18s,
    transform 0.13s;
}
.feature-grid > div:focus-within, .guide-cards > div:focus-within, .review-cards > div:focus-within, .ranking-cards > div:focus-within, .news-cards > div:focus-within {
  border-color: #3BA17C;
  box-shadow: 0 0 0 3px #3BA17C33;
}
.cta:focus {
  outline: 2px solid #3BA17C;
}

/* == ACCESSIBILITY: KEYBOARD FOCUS == */
a:focus, button:focus, .cta:focus {
  outline: 2px solid #3BA17C;
  outline-offset: 1px;
  box-shadow: 0 0 2px #3BA17C88;
}

/* === NEWSLETTER INFO BOXES (INACTIVE) === */
.newsletter-box, .newsletter-info {
  background: #F6F7FB;
  border-radius: 14px;
  border-left: 5px solid #3BA17C;
  padding: 15px 22px;
  color: #223355;
  font-size: 1rem;
  margin-bottom: 7px;
}

/* === STRUCTURED LAYOUT FOR RESPONSIVENESS === */
@media (max-width: 600px) {
  .feature-grid, .guide-cards, .review-cards, .ranking-cards, .news-cards, .ranking-list, .guide-list, .team-profile {
    flex-direction: column;
    gap: 13.5px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
  }
}

/* === GENERAL UTILITIES === */
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
.fw-bold { font-weight: bold; }
.fw-medium { font-weight: 500; }
.fw-light { font-weight: 300; }
.txt-accent { color: #3BA17C; }
.bg-accent { background: #F6F7FB; }

/* == Hide visually but keep accessible == */
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* === END === */
