/* ====================
   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, main, 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;
}
body {
  line-height: 1.5;
  background: #F9FAFB;
  color: #1A3567;
  -webkit-font-smoothing: antialiased;
  font-family: 'Roboto', Arial, sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ========================
   VARIABLE DEFINITIONS
   ======================== */
:root {
  --color-primary: #1A3567;
  --color-secondary: #399F8B;
  --color-accent: #F9FAFB;
  --color-dark: #0B1631;
  --color-white: #FFFFFF;
  --color-grey: #DBE2EF;
  --color-focus: #399F8B;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-card: 0 4px 24px rgba(26,53,103,0.08);
  --shadow-hover: 0 6px 32px rgba(57,159,139,0.10);
  --radius: 16px;
  --duration: 0.28s;
}

/* =======================
   TYPOGRAPHY
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.15rem;
}
p, li, a, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark);
}
strong {
  font-weight: 700;
}

/* ====================
   CONTAINER & LAYOUT
   ==================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ================
   HEADER & NAVBAR
   ================ */
header {
  background: var(--color-white);
  box-shadow: 0px 2px 12px rgba(26,53,103, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  transition: color var(--duration);
  padding: 8px 0;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
}
.cta-button {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  border-radius: 36px;
  box-shadow: 0 2px 18px rgba(57,159,139,0.13);
  cursor: pointer;
  font-size: 1rem;
  outline: none;
  border: none;
  margin-left: 24px;
  transition: background var(--duration), box-shadow var(--duration), transform var(--duration);
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.04);
}
/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background var(--duration);
  cursor: pointer;
  z-index: 1201;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}

/* ==================
   MOBILE MENU STYLES
   ================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  box-shadow: 0 4px 38px rgba(26,53,103,0.11);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--duration) cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 38px 30px 26px 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 2rem;
  padding: 0.2em 0.7em;
  border-radius: 50%;
  margin-bottom: 42px;
  cursor: pointer;
  border: none;
  transition: background var(--duration);
}
.mobile-menu-close:hover {
  background: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 14px 0;
  border-radius: 8px;
  transition: background var(--duration), color var(--duration);
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ===============
   FOOTER
   =============== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 44px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: color var(--duration);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.footer-contact p, .footer-contact img {
  color: var(--color-accent);
  font-size: 1em;
}
footer img {
  max-width: 50px;
  margin-bottom: 18px;
}

/* =====================
   FLEX CONTENT PATTERNS
   ===================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
  padding: 24px 18px 22px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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 {
  background: var(--color-accent);
  border-left: 6px solid var(--color-secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(26,53,103, 0.08);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-top: 12px;
  color: #1A3567;
}
.testimonial-card strong {
  color: #1A3567;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* ==============
   CARD TEASERS
   ============== */
.review-teasers, .review-grid, .news-teasers, .news-grid, .guides-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.review-teasers article, .news-teasers article, .review-grid article, .news-grid article, .guides-grid article {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  min-width: 260px;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 350px;
  position: relative;
}
.review-grid article span, .review-teasers article span {
  color: var(--color-secondary);
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-weight: bold;
  letter-spacing: 0.09em;
}
.news-grid .featured-article, .guides-grid .featured-guide {
  border: 2px solid var(--color-secondary);
  background: #eafcf8;
  box-shadow: 0 8px 36px rgba(57,159,139,0.04);
}

@media (max-width: 900px) {
  .review-teasers,
  .review-grid,
  .news-teasers,
  .news-grid,
  .guides-grid,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .review-teasers article,
  .review-grid article,
  .news-grid article,
  .guides-grid article {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* =============
   BUTTONS ETC.
   ============= */
.see-all-button {
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  background: transparent;
  border-radius: 36px;
  padding: 10px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 16px;
  transition: all var(--duration);
}
.see-all-button:hover, .see-all-button:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* CATEGORY/TAG FILTERS */
.category-filters, .categories, .topic-tags {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}
.category-filters ul, .categories ul, .topic-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.category-filters a, .categories a, .topic-tags a {
  padding: 8px 18px;
  background: #eafcf8;
  border-radius: 28px;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 700;
  color: var(--color-secondary);
  transition: background var(--duration), color var(--duration);
  border: 2px solid transparent;
}
.category-filters a:hover,
.category-filters a:focus,
.categories a:hover,
.categories a:focus,
.topic-tags a:hover,
.topic-tags a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}

/* PRIVACY NOTE */
.privacy-note {
  color: #697091;
  font-size: 0.95em;
  margin-top: 10px;
  font-style: italic;
}

.last-update {
  color: #636d89;
  font-size: 0.97em;
  margin-top: 16px;
}

/*******************
  FORMS (NEWSLETTER)
********************/
form input, form textarea {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 13px 18px;
  margin-bottom: 15px;
  border: 2px solid #DBE2EF;
  font-size: 1em;
  font-family: var(--font-body);
  transition: border var(--duration), box-shadow var(--duration);
}
form input:focus, form textarea:focus {
  border: 2px solid var(--color-secondary);
  box-shadow: 0 0 0 2px #cff6ed;
}
form button, input[type="submit"] {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 36px;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  transition: background var(--duration);
}
form button:hover, form button:focus {
  background: var(--color-primary);
}

/*************************
  CONTACT PAGE BLOCKS
**************************/
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details img,
.business-hours img {
  margin-right: 10px;
  vertical-align: middle;
}
.business-hours, .map {
  margin-top: 18px;
  background: #F4F8FA;
  border-left: 4px solid var(--color-secondary);
  padding: 18px 26px;
  border-radius: 9px;
}

/************************
  COOKIE CONSENT BANNER
*************************/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #ffffff;
  box-shadow: 0 -4px 24px rgba(26,53,103,0.06);
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-primary);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1), opacity 0.26s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
}
.cookie-consent-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  margin: 0 2px;
  transition: background var(--duration), color var(--duration), box-shadow var(--duration);
}
.cookie-consent-btn.accept {
  background: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 2px 12px rgba(57,159,139,0.09);
}
.cookie-consent-btn.accept:hover {
  background: var(--color-primary);
}
.cookie-consent-btn.reject {
  background: #FF4F5A;
  color: var(--color-white);
}
.cookie-consent-btn.reject:hover {
  background: #B80019;
}
.cookie-settings-btn {
  background: var(--color-white);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/*************************
  COOKIE MODAL POPUP
**************************/
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,53,103,0.16);
  z-index: 3100;
  transition: opacity var(--duration);
}
.cookie-modal {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(26,53,103, 0.16);
  padding: 40px 24px;
  width: 100%;
  max-width: 480px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: modal-in 0.38s cubic-bezier(.77,0,.18,1);
}
@keyframes modal-in {
  0% {transform: scale(0.95); opacity:0;}
  100% {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--color-secondary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.cookie-category label {
  font-weight: 700;
  font-size: 1.1em;
}
.cookie-category .toggle {
  appearance: none;
  width: 48px;
  height: 28px;
  background: #ddeff1;
  border-radius: 40px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background var(--duration);
}
.cookie-category .toggle:checked {
  background: var(--color-secondary);
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 3px;
  transition: transform var(--duration);
  box-shadow: 0 1px 5px rgba(40,60,85,0.13);
}
.cookie-category .toggle:checked:before {
  transform: translateX(20px);
}
.cookie-category .cookie-desc {
  font-size: 0.92em;
  color: #5F6A8A;
  margin-left: 10px;
}
.cookie-modal .cookie-btns {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  color: var(--color-secondary);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
}

/* ==============================
   HERO / LANDING PAGE VARIANTS
   ============================== */
main > section:first-of-type {
  background: linear-gradient(100deg, #F9FAFB 80%, #e8f8f4 100%);
  box-shadow: 0 2px 36px rgba(57,159,139, 0.04);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 42px;
  padding-top: 54px;
  padding-bottom: 50px;
}
main > section:first-of-type h1 {
  color: var(--color-secondary);
  font-size: 2.2rem;
}
main > section:first-of-type .cta-button {
  margin-top: 20px;
}

/* ============================
   RESPONSIVE & MEDIA QUERIES
   ============================ */
@media (max-width: 1150px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
}
@media (max-width: 1080px) {
  footer .container, header .container {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    align-items: center;
    justify-content: center;
  }
  .footer-contact {
    font-size: 1em;
  }
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 670px) {
  .container {
    padding: 0 6px;
    min-width: 0;
  }
  .section {
    margin-bottom: 36px;
    padding: 30px 4px;
    border-radius: 0;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  footer {
    padding-top: 24px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start;
  }
}

/*******************************
   SPACING, GAP, FLEX TOOLS
*******************************/
/* Ensure global margin between flex-wrapped children */
.card-container > *,
.content-grid > *,
.review-teasers > *,
.review-grid > *,
.news-teasers > *,
.news-grid > *,
.guides-grid > * {
  margin-bottom: 20px;
}
.section > .container {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}
main > section:not(:last-of-type) {
  margin-bottom: 48px;
}

/******************************
MICRO-INTERACTIONS & EFFECTS
*******************************/
.card,
.review-teasers article,
.review-grid article,
.news-grid article,
.guides-grid article {
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover,
.review-teasers article:hover,
.review-grid article:hover,
.news-grid article:hover,
.guides-grid article:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.012);
}

a, button, input[type="submit"], .cta-button {
  transition: background var(--duration), color var(--duration), border var(--duration), box-shadow var(--duration), transform var(--duration);
}

.testimonial-card {
  transition: box-shadow var(--duration);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

/********************************
   ENSURE NO GRID PROPERTIES
********************************/
/* [No grid or columns properties used, per requirements] */