/* --- 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, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F6EE;
  color: #1a2230;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #205072; text-decoration: none; transition: color 0.2s cubic-bezier(.47,1.64,.41,.8); }
a:hover, a:focus { color: #e84c3d; text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; letter-spacing: -1px; line-height: 1.15; }
h1 { font-size: 2.5rem; margin-bottom: 20px; color: #205072; }
h2 { font-size: 2rem; margin-bottom: 18px; color: #329D9C; }
h3 { font-size: 1.3rem; margin-bottom: 12px; color: #205072; }
p { margin-bottom: 14px; font-size: 1rem; letter-spacing: 0.02em; }
strong { color: #205072; font-weight: bold; }

/* ---- CONTAINER & WRAPPERS ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

/********** HEADER & NAV *********/
header {
  background: #205072;
  box-shadow: 0 3px 20px rgba(32,80,114,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 16px;
}
header a img {
  height: 42px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: #F7F6EE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 7px;
  transition: background 0.25s, color 0.22s;
  letter-spacing: 0.05em;
}
.main-nav a:hover, .main-nav a:focus {
  background: #329D9C;
  color: #fff;
  text-decoration: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F7F6EE;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 35;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover { background: rgba(50,157,156,0.12); }

/***** MOBILE NAVIGATION ******/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(32,80,114, 0.96);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.6,.25,.41,1.12);
  z-index: 100;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin-top: 20px;
  margin-left: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  transition: color 0.2s;
  align-self: flex-start;
}
.mobile-menu-close:hover { color: #FBC531; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin: 42px 0 0 0;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 9px 0;
  border-radius: 5px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #329D9C;
  color: #F7F6EE;
  text-decoration: underline;
}

/********** HERO SECTION **********/
.hero {
  background: linear-gradient(90deg, #F7F6EE 75%, #329D9C 120%);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero .container {
  min-height: 260px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #205072;
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 1px 3px 15px rgba(32,80,114,0.08);
}
.hero p {
  color: #329D9C;
  font-size: 1.18rem;
  margin-bottom: 10px;
  font-weight: 500;
}

/***** CTA BUTTONS *****/
.cta-button,
button.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: #329D9C;
  padding: 13px 36px;
  border: none;
  border-radius: 38px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 8px 40px rgba(50, 157, 156, 0.13);
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.24s cubic-bezier(.47,1.64,.41,.8), transform 0.18s;
}
.cta-button:hover, .cta-button:focus {
  background: #205072;
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.02);
  text-decoration: none;
}

/********* FEATURES & CARDS **********/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  justify-content: space-between;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(32, 80, 114, 0.09);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.23s, transform 0.21s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 48px rgba(50, 157, 156, 0.15);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img { width: 40px; height: 40px; margin-bottom: 7px; }
.feature-grid h3 {
  font-size: 1.14rem;
  color: #205072;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-grid p { font-size: 0.99rem; color: #265e87; }

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: 17px; box-shadow: 0 3px 18px rgba(32,80,114,0.08); margin-bottom: 20px; position: relative; transition: box-shadow 0.21s, transform 0.17s; }
.card:hover { box-shadow: 0 6px 34px rgba(50,157,156,0.13); transform: translateY(-2px) scale(1.012); }

/******** SECTION GENERAL *********/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/***** LISTS, REVIEWS, HIGHLIGHTS *****/
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 6px;
  padding-left: 0;
}
.highlight-list li {
  background: #fff;
  border-left: 6px solid #329D9C;
  padding: 15px 18px;
  border-radius: 0 15px 15px 0;
  box-shadow: 0 3px 12px rgba(32,80,114,0.05);
  color: #205072;
  font-size: 1rem;
}
.review-snippets, .recommendation-cards, .tip-cards, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
  justify-content: flex-start;
}
.recommendation-cards > div,
.review-snippets > .review,
.tip-cards > div,
.faq-list > div {
  flex: 1 1 260px;
  padding: 22px 16px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(32, 80, 114, 0.08);
  display: flex; flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s;
}
.recommendation-cards > div:hover, .tip-cards > div:hover, .faq-list > div:hover {
  box-shadow: 0 6px 24px rgba(32,80,114,0.09);
  background: #f2fcfb;
}
.category-tag {
  background: #329D9C;
  color: #fff;
  display: inline-block;
  font-size: 0.87rem;
  padding: 2px 12px;
  border-radius: 18px;
  margin-bottom: 3px;
  font-weight: 600;
}

/**** NEWSLETTER / CTA / PROMOS ****/
ul {
  margin-bottom: 14px;
}
ul li {
  margin-left: 18px;
  margin-bottom: 8px;
  font-size: 1rem;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: #329D9C;
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
  font-size: 1.2em;
}

/*********** FOOTER ***********/
footer {
  background: #205072;
  color: #fff;
  padding-top: 34px;
  padding-bottom: 18px;
}
footer .container { padding: 0 20px; }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}
.logo-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
}
.logo-contact img { width: 34px; margin-bottom: 5px; }
footer address {
  font-style: normal;
  color: #f5f5f5;
  font-size: 1rem;
  margin-top: 5px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 170px;
  margin: 0 30px;
}
.footer-links a {
  color: #f7f6ee;
  font-weight: 700;
  font-size: 1rem;
}
.footer-links a:hover, .footer-links a:focus {
  color: #329D9C;
}
.social-media {
  display: flex;
  gap: 18px;
}
.social-media a img {
  width: 28px;
  height: 28px;
  filter: brightness(0.99) contrast(1.2) saturate(2.2);
  transition: filter 0.25s, transform 0.13s;
}
.social-media a:hover img, .social-media a:focus img {
  filter: brightness(1.2) sepia(0.38) hue-rotate(-20deg);
  transform: scale(1.1);
}

/********* PAGE SECTIONS *********/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/********* REVIEWS-LIST & OTHERS *********/
.reviews-list, .recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.reviews-list li, .recommendations-list li {
  background: #fff;
  border: 2px solid #329D9C;
  border-radius: 15px;
  padding: 18px 20px;
  box-shadow: 0 1px 10px rgba(32,80,114,0.07);
  color: #205072;
  font-size: 1.06rem;
  transition: box-shadow 0.22s;
  margin-bottom: 18px;
}
.reviews-list li:hover {
  box-shadow: 0 6px 18px rgba(50,157,156,0.11);
  border-color: #205072;
}
.reviews-list li a {
  display: inline-block;
  margin-top: 8px;
  color: #329D9C;
  font-weight: 600;
}

/**** ADVICE & SUPPORT OPTIONS ****/
.advice-snippets ul {
  margin-top: 12px;
  margin-bottom: 0;
}
.support-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 8px 0 20px 0;
  align-items: center;
}
.support-options > div {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(32,80,114,0.07);
  padding: 12px 13px 12px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #205072;
  font-weight: 600;
}

/******* FAQ & EDITOR PICKS *******/
.faq-list, .editor-picks{
  display: flex; flex-wrap: wrap;
  gap: 18px;
}
.editor-picks > h3 {
  color: #329D9C;
  font-size: 1.2rem;
  margin: 14px 0 0 0;
}

/******* PRIVACY/TEXT SECTIONS ******/
.privacy-text-sections, .terms-of-use-sections, .gdpr-overview, .user-rights, .cookie-policies, .opt-out-instructions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-privacy-officer {
  margin-top: 22px;
  background: #fff;
  color: #329D9C;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(32,80,114,0.04);
  padding: 15px 20px;
  font-size: 1rem;
}

/****** MAP EMBED ******/
.map-embed {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #EFFCFA;
  border-radius: 10px;
  padding: 12px 20px;
  margin-top: 16px; margin-bottom: 8px;
  color: #205072;
  font-size: 0.98rem;
  box-shadow: 0 1px 8px rgba(32,80,114,0.09);
}
.map-embed img {
  width: 36px;
  height: 36px;
}

/***** EDITOR NOTE / HIGHLIGHT SNIPPETS ******/
.featured-book, .editor-note, .highlight-snippets {
  background: #fffbe6;
  border-left: 8px solid #FBC531;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 3px 14px rgba(251,197,49,0.09);
  padding: 18px 20px;
  margin: 12px 0 0 0;
}
.editor-note {
  background: #f2fcfb;
  border-left-color: #329D9C;
}

/****** FILTERS AND SORT CONTROLS *****/
.filter-sort-controls, .category-filters {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  background: #EFFCFA;
  color: #205072;
  border-radius: 9px;
  padding: 9px 18px;
  font-size: 1rem;
}
.filter-sort-controls span, .category-filters span {
  color: #329D9C;
}

/******* TESTIMONIAL CARDS *******/
.testimonial-card {
  background: #fff;
  color: #205072;
  border-radius: 15px;
  box-shadow: 0 2px 23px rgba(32,80,114,0.11);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: box-shadow 0.18s;
  margin-bottom: 20px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px rgba(50,157,156,0.21);
}

/******** COOKIE BANNER ********/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 150;
  background: #205072;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  gap: 16px;
  font-size: 1rem;
  box-shadow: 0 -2px 23px 1px rgba(50,157,156,0.15);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.29,.9,.3,1.15), opacity 0.3s;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  padding: 10px 26px;
  margin: 0;
  border-radius: 24px;
  background: #329D9C;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.17s;
  box-shadow: 0 2px 12px rgba(32, 80, 114, 0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FBC531;
  color: #205072;
}
.cookie-btn.reject {
  background: #e84c3d;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #bd2b18;
  color: #fff;
}
.cookie-btn.settings {
  background: #205072;
  border: 2px solid #fff;
  color: #FBC531;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #329D9C;
  border-color: #FBC531;
  color: #fff;
}

/******** COOKIE MODAL ********/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.81);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.29,.9,.3,1.12);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #205072;
  border-radius: 21px;
  box-shadow: 0 2px 46px rgba(50,157,156,0.16);
  padding: 35px 36px 30px 36px;
  max-width: 420px;
  width: 92vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #205072;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 18px; right: 30px;
  z-index: 110;
  transition: color 0.17s;
}
.cookie-modal-close:hover { color: #e84c3d; }
.cookie-preferences-category {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cookie-preferences-category label {
  font-weight: 700;
  cursor: pointer;
  color: #205072;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-preferences-category input[type='checkbox'] {
  accent-color: #329D9C;
  margin-right: 7px;
  min-width: 18px;
  min-height: 18px;
  cursor: pointer;
}
.cookie-preferences-category input[disabled] {
  accent-color: #AAA;
  cursor: not-allowed;
}
.cookie-modal-action {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

/******* MISCELLANEOUS *******/
::-webkit-scrollbar { width: 10px; background: #f2fcfb; }
::-webkit-scrollbar-thumb { background: #329D9C; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #205072; }

input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}

/****** ANIMATIONS & EFFECTS ******/
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.content-wrapper > *, .section > * {
  animation: fadeInUp 0.75s cubic-bezier(.22,.68,.49,1) both;
}

/******************* RESPONSIVE DESIGN **********************/
@media (max-width: 1024px) {
  .feature-grid,
  .review-snippets,
  .recommendation-cards,
  .tip-cards,
  .faq-list,
  .support-options {
    gap: 15px;
  }
  .footer-links { margin: 0 10px; }
}

@media (max-width: 900px) {
  .footer-links, .social-media { min-width: unset; }
  .content-wrapper { gap: 20px; }
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 14px 7px;
  }
  .hero .container { min-height: 120px; }
  .hero h1 {
    font-size: 1.5rem;
  }
  .content-wrapper { gap: 16px; }
  .feature-grid, .review-snippets, .recommendation-cards, .tip-cards, .faq-list, .support-options {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  section, .section {
    padding: 29px 8px;
    margin-bottom: 36px;
  }
  .highlight-list li, .reviews-list li, .recommendations-list li {
    padding: 12px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 14px 13px 14px;
    font-size: 0.97rem;
  }
  .cookie-buttons { gap: 10px; }
  .cookie-modal-content { padding: 16px 8px 12px 14px; max-width: 96vw; font-size: 1rem; }
}

@media (max-width: 500px) {
  .hero .content-wrapper h1 { font-size: 1.09rem; }
  .featured-book, .editor-note, .highlight-snippets {
    padding: 13px 8px;
  }
  .social-media a img { width: 23px; height: 23px; }
  .cookie-modal-content { padding: 9px 4px 8px 6px; font-size: 0.95rem; }
}
