/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: Roboto, Arial, sans-serif;
  background: linear-gradient(135deg, #FFEDC2 0%, #f6f8fc 100%);
  color: #193055;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #28457a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #193055;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 16px;
  color: #193055;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, address, li, em, span {
  font-family: Roboto, Arial, sans-serif;
  color: #213550;
  font-size: 1rem;
	margin-bottom: 8px;
}
strong { font-weight: 700; color: #193055; }

/* FLEX & LAYOUTS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(40, 69, 122, 0.12);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 290px;
  max-width: 400px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32, 32, 64, 0.13);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(25, 48, 85, 0.10);
  min-width: 260px;
  max-width: 480px;
  margin-bottom: 20px;
  border-left: 5px solid #6176A6;
}
.testimonial-card p {
  color: #213550;
  font-size: 1rem;
}
.testimonial-card span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6176A6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Custom Snippet and Teaser Cards */
.review-snippet, .recommendation-teaser, .list-teaser, .list-card, .guide-snippet {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(25,48,85,0.10);
  padding: 18px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.list-card, .guide-snippet {
  min-width: 250px;
  max-width: 380px;
}
.review-card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(25,48,85,0.11);
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.genre-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  align-items: center;
}
.genre-nav a {
  background: #FFEDC2;
  color: #193055;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
  transition: background 0.18s;
}
.genre-nav a:hover, .genre-nav a:focus {
  background: #fff6dc;
}
/* Feature icons in lists */
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 14px;
  vertical-align: middle;
}
ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #213550;
}

/* MAIN CTA BUTTONS */
.cta {
  display: inline-block;
  font-family: Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 12px 32px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.18s, color 0.24s, box-shadow 0.18s;
  margin-bottom: 8px;
  text-align: center;
}
.primary-btn {
  background: linear-gradient(90deg, #193055 0%, #28457a 100%);
  color: #FFEDC2;
  box-shadow: 0 3px 16px rgba(40,69,122,0.14);
  border: 2px solid #28457a;
}
.primary-btn:hover, .primary-btn:focus {
  background: linear-gradient(90deg, #213550 5%, #6176A6 98%);
  color: #fff;
}
.secondary-btn {
  background: #FFEDC2;
  color: #193055;
  border: 2px solid #28457a;
  box-shadow: 0 1px 6px rgba(40,69,122,0.09);
}
.secondary-btn:hover, .secondary-btn:focus {
  background: #fff;
  color: #6176A6;
}
.text-link {
  color: #28457a;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
  padding-left: 2px;
}
.text-link:hover, .text-link:focus {
  color: #193055;
  text-decoration: none;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #fff 70%, #FFEDC2 100%);
  box-shadow: 0 4px 20px rgba(25,48,85,0.045);
  padding: 0;
  position: relative;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 18px 16px;
  position: relative;
  min-height: 70px;
}
.logo {
  margin-right: 16px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 36px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #213550;
  font-size: 1rem;
  position: relative;
  padding: 8px 0 8px 0;
  border-radius: 2px;
  font-weight: 500;
  transition: color 0.15s, background 0.17s;
}
.main-nav a:hover, .main-nav a.active {
  color: #28457a;
  background: #FFEDC2;
  text-decoration: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #193055;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.18s;
  z-index: 1101;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFEDC2;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #fff 80%, #FFEDC2 100%);
  box-shadow: 0 9px 48px 0 rgba(25,48,85,0.18);
  z-index: 1400;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 22px 20px 28px;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.77,.2,.05,1.01);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #193055;
  align-self: flex-end;
  cursor: pointer;
  padding: 0 2px 4px 0;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6176A6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 12px 0;
  color: #193055;
  font-weight: 600;
  background: transparent;
  border-bottom: 1px solid #FFEDC2;
  border-radius: 0;
  transition: color 0.17s, background 0.18s;
  touch-action: manipulation;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #6176A6;
  background: #FFEDC2;
}

/*--- FOOTER ---*/
footer {
  background: linear-gradient(to right, #193055 88%, #6176A6 100%);
  color: #fff;
  margin-top: 60px;
  padding-top: 36px;
  padding-bottom: 0;
  font-size: 0.97rem;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-bottom: 1px solid #6176A6;
  padding-bottom: 28px;
}
.footer-col {
  flex: 1 1 220px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col h4 {
  color: #FFEDC2;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.footer-col a, .footer-col address, .footer-col p {
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}
.footer-col a:hover, .footer-col a:focus {
  color: #FFEDC2;
  text-decoration: underline;
}
.footer-bottom {
  padding: 20px 0 12px 0;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.legal-links a {
  color: #FFEDC2;
  font-size: 0.98rem;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.legal-links a:hover, .legal-links a:focus {
  opacity: 1;
  text-decoration: underline;
}
footer img {
  height: 34px;
  margin-bottom: 6px;
}

/* Responsive -- MOBILE FIRST */
@media (max-width: 1100px) {
  .footer-cols { gap: 20px; }
  .container { max-width: 99vw; }
}
@media (max-width: 880px) {
  .footer-cols {
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid #344c75;
  }
  .footer-col { max-width: 98vw; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 25px;
    top: 23px;
  }
  .container {
    padding: 0 10px;
  }
  section {
    margin-bottom: 38px;
    padding: 26px 7px;
  }
  .card-container, .content-grid, .footer-cols {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { max-width: 98vw; }
  .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-cols {
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  .primary-btn, .secondary-btn, .cta { font-size: 0.98rem; padding: 10px 24px; }
  .card, .review-card, .testimonial-card, .list-card, .guide-snippet {
    padding: 14px 10px;
    min-width: unset;
    max-width: 100%;
  }
  .footer-bottom { padding: 10px 0 8px 0; }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fffbe8;
  box-shadow: 0 -2px 16px 0 rgba(25,48,85,0.09);
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 28px;
  font-size: 1rem;
  color: #223357;
  min-height: 62px;
  transition: transform 0.36s cubic-bezier(.85,.02,.2,1.1), opacity 0.25s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-btn {
  border: none;
  border-radius: 22px;
  padding: 8px 20px;
  font-size: 1rem;
  margin-left: 2px;
  font-weight: 600;
  cursor: pointer;
  background: #6176A6;
  color: #fff;
  transition: background 0.18s, color 0.2s;
}
.cookie-consent-btn.accept {
  background: #193055;
}
.cookie-consent-btn.reject {
  background: #FFEDC2;
  color: #193055;
}
.cookie-consent-btn.settings {
  background: #fff;
  color: #6176A6;
  border: 1.5px solid #6176A6;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  opacity: 0.85;
  background: #28457a;
  color: #FFEDC2;
}
.cookie-consent-btn.settings:hover, .cookie-consent-btn.settings:focus {
  background: #FFEDC2;
  color: #213550;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3000;
  background: rgba(25, 48, 85, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(25,48,85,0.18);
  width: 96vw;
  max-width: 380px;
  padding: 35px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookie-modal-fadein 0.33s cubic-bezier(.81,.2,.3,.9);
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; transform: scale(0.98) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 6px;
}
.cookie-pref-option {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-pref-label {
  font-size: 1rem;
  color: #213550;
}
.cookie-pref-toggle {
  width: 40px; height: 22px; border-radius: 14px;
  background: #FFEDC2;
  position: relative;
  cursor: pointer;
  border: 1px solid #6176A6;
  transition: background 0.18s;
}
.cookie-pref-toggle.enabled {
  background: #6176A6;
  border: 1px solid #28457a;
}
.cookie-pref-toggle::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left 0.18s;
}
.cookie-pref-toggle.enabled::after {
  left: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #6176A6;
  cursor: pointer;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* Accessibility focus outline */
a:focus, button:focus, .cta:focus, .cookie-consent-btn:focus {
  outline: 2px solid #6176A6;
  outline-offset: 1.5px;
}

/* Small Utility Styles */
.text-section { max-width: 760px; margin-bottom: 16px; }
.content-wrapper.text-section { align-items: flex-start; }
.review-card em, .review-card strong { color: #6176A6; }
address {
  font-style: normal;
  display: block;
  margin-bottom: 8px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #f1f1f1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #FFF3D1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFEDC2;
}

/* Hide mobile menu when not open */
@media (max-width: 1000px) {
  .mobile-menu {
    display: none;
  }
  .mobile-menu.open {
    display: flex;
  }
}

/* Hide cookie modal by default */
.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.show {
  display: flex;
}

/* Prevent absolute for content, only for icon/close btn */
/* Satisfies critical requirement. */

/* --- End of CSS --- */
