/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #16272A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, box-shadow 0.2s;
}
a:focus {
  outline: 2px solid #68B47B;
  outline-offset: 2px;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  box-sizing: border-box;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* VARIABLE COLOR SYSTEM */
:root {
  --color-primary: #16272A;
  --color-secondary: #68B47B;
  --color-accent: #F5F7FA;
  --color-white: #fff;
  --color-light-grey: #E6ECF2;
  --color-dark: #131E1F;
  --gradient-main: linear-gradient(93deg, #68B47B 0%, #38A2D7 100%);
}

/* TYPOGRAPHY SCALE */
h1,
.h1 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.13;
  color: var(--color-primary);
  margin-bottom: 24px;
}
h2,
.h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h3,
.h3 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h4,
.h4 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 8px;
}
p, li, a, td, th, .body-text {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-weight: 600;
}

/* GENERIC LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(22, 39, 42, 0.07);
}

/* FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(22, 39, 42, 0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  background: #fff;
  color: #16272A;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(22, 39, 42, 0.09);
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(104, 180, 123, 0.18);
  transform: translateY(-4px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HERO SECTION */
.hero {
  background: var(--gradient-main);
  color: var(--color-white);
  border-radius: 0 0 32px 32px;
  min-height: 340px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper {
  padding: 56px 0;
  align-items: flex-start;
  gap: 20px;
}
.hero h1,
.hero p {
  color: var(--color-white);
}
.hero .btn-primary {
  margin-top: 20px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 30px;
  box-shadow: 0 2px 12px 0 rgba(104,180,123,0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
  border: none;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #46a867;
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(104,180,123,0.20);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-block;
  padding: 12px 26px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 26px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  margin-left: 12px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #2B4346;
  box-shadow: 0 4px 20px 0 rgba(22,39,42,0.13);
}
.btn-link {
  color: var(--color-secondary);
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.18s;
}
.btn-link:hover,
.btn-link:focus {
  color: #38A2D7;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(22, 39, 42, 0.07);
  padding: 0 0;
  z-index: 888;
  width: 100%;
  height: 80px;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.logo {
  margin: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 24px;
}
.main-nav a {
  color: var(--color-primary);
  padding: 8px 12px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 22px;
  transition: background 0.16s, color 0.16s;
  box-shadow: none;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header .btn-primary {
  margin-left: auto;
  margin-right: 24px;
  padding: 11px 28px;
}
.mobile-menu-toggle {
  display: none;
  margin-right: 20px;
  font-size: 2rem;
  color: var(--color-secondary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  outline: none;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 39, 42, 0.80);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,0,.3,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 26px 10px 0;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10002;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223839;
}
.mobile-nav {
  background: #fff;
  width: 85vw;
  max-width: 390px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 50px 18px 24px 28px;
  box-shadow: -10px 0 26px 0 rgba(34, 56, 58, 0.08);
  align-items: flex-start;
  position: relative;
  overflow-y: auto;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 8px;
  width: 100%;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* SECTION & CARD LAYOUTS */
section {
  margin-bottom: 60px;
}
.text-section {
  background: var(--color-accent);
  border-radius: 12px;
  padding: 32px 20px;
  box-shadow: 0 2px 16px 0 rgba(22,39,42,0.07);
}
.category-filters,
.topic-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 0 0;
}
.category-filters ul,
.topic-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.category-filters li,
.topic-filters li {
  background: var(--color-light-grey);
  color: var(--color-primary);
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.98rem;
  font-weight: 500;
}
.product-highlights,
.author-highlights {
  margin-top: 30px;
}
.product-highlights ul,
.author-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 38px 0 rgba(104, 180, 123, 0.09);
  padding: 40px 0 30px 0;
}
.testimonials h2 {
  color: var(--color-primary);
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
}
.testimonial-card h4 {
  color: var(--color-secondary);
  font-size: 1.08rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 450;
  margin: 0;
}
.rating-summary, .star-ratings {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #16272A;
  font-size: 1.05rem;
}
.rating-summary img,
.star-ratings img {
  height: 22px;
  width: 22px;
  display: inline-block;
  vertical-align: middle;
}

/* CTA SECTION */
.cta {
  background: var(--gradient-main);
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(56, 162, 215, 0.12);
  padding: 44px 0 !important;
  margin-bottom: 32px;
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: #16272A;
  color: #fff;
  border-radius: 24px 24px 0 0;
  margin-top: 40px;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  padding: 4px 12px;
  border-radius: 16px;
  transition: background 0.13s;
  font-size: 1rem;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: rgba(255,255,255,0.08);
}
.contact-footer {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.contact-footer img {
  height: 54px;
  width: auto;
  margin-top: 5px;
}
.contact-footer div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-footer p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.99rem;
  color: #fff;
}
footer p {
  color: #E6ECF2;
  font-size: 0.97rem;
}

/* MAP EMBED PLACEHOLDER */
.map-embed-placeholder {
  background: var(--color-light-grey);
  border-radius: 16px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A4AEBA;
  font-size: 1rem;
  font-style: italic;
  margin-top: 14px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 18px 0 rgba(22,39,42,0.15);
  border-radius: 20px 20px 0 0;
  padding: 22px 28px 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 10000;
  animation: slideUpCookie 0.8s cubic-bezier(.6,0,.2,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-link {
  font-size: 0.98rem;
  padding: 8px 22px;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22,39,42,0.72);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s cubic-bezier(.7,0,.3,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 18px;
  min-width: 310px;
  max-width: 97vw;
  padding: 38px 30px 24px 30px;
  box-shadow: 0 8px 38px 0 rgba(104, 180, 123, 0.11);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleInCookie 0.45s cubic-bezier(0.38,0,0.22,1);
  position: relative;
}
@keyframes scaleInCookie {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(80px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.cookie-modal h3 {
  font-size: 1.15rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 400;
}
.cookie-toggle {
  width: 40px;
  height: 20px;
  appearance: none;
  background: #E6ECF2;
  outline: none;
  border-radius: 14px;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(104,180,123,0.12);
  transition: left 0.17s;
}
.cookie-toggle:checked::after {
  left: 22px;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary {
  margin-top: 12px;
  font-size: 0.99rem;
}
.cookie-modal .btn-link {
  color: var(--color-secondary);
  font-size: 0.97rem;
  align-self: flex-end;
}

/* UTILITIES */
.m-16 { margin: 16px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.flex-row { flex-direction: row !important; }
.flex-col { flex-direction: column !important; }
.flex-center { justify-content: center; align-items: center; }


/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 760px;
  }
  footer .container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  header {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 6px;
  }
  .main-nav {
    display: none !important;
  }
  .header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo {
    margin-left: 8px;
    height: 48px;
  }
  .hero {
    border-radius: 0 0 22px 22px;
    min-height: unset;
    padding: 24px 0 32px 0;
  }
  .hero .content-wrapper {
    padding: 32px 0 18px 0;
    align-items: flex-start;
    gap: 14px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 38px;
    border-radius: 10px;
  }
  .cta {
    padding: 31px 0 !important;
    border-radius: 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    gap: 10px;
    padding: 16px 10px;
    font-size: 0.98rem;
  }
  .footer-nav {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .contact-footer img {
    height: 37px;
    margin-top: 0;
  }
  footer {
    padding: 28px 0 16px 0;
    border-radius: 10px 10px 0 0;
  }
  .category-filters ul,
  .topic-filters ul {
    gap: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 10px 16px 16px;
    font-size: 0.97rem;
    border-radius: 12px 12px 0 0;
  }
  .cookie-modal {
    padding: 20px 7vw 18px 7vw;
    border-radius: 12px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero, .cta { padding-left: 0; padding-right: 0; }
  .map-embed-placeholder { font-size: 0.93rem; }
  .btn-primary, .btn-secondary { padding: 11px 18px; font-size: 1rem; }
}
