/* =======================================
   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;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #F6F7FB;
  color: #313246;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #2D3C6A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C3665A;
  outline: none;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
:root {
  --color-primary: #313246;
  --color-secondary: #E5E8F4;
  --color-accent: #C3665A;
  --color-bg: #F6F7FB;
  --color-dark: #1D1E2C;
  --color-white: #FFF;
  --color-gray: #929AB7;
  --shadow-card: 0 4px 16px 0 rgba(55, 60, 120, 0.08);
  --radius: 12px;
  --transition: 0.17s cubic-bezier(.58,.08,.19,.97);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.375rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.625rem;
  line-height: 1.3;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.text-section {
  margin-bottom: 22px;
}
.editor-notes {
  font-style: italic;
  color: var(--color-accent);
  background: var(--color-secondary);
  border-left: 4px solid var(--color-accent);
  padding: 10px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.faq-list h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* =======================================
   CONTAINER, SECTIONS, GRID, FLEX
======================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.content-wrapper,
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(49,50,70,0.14);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-secondary);
  color: var(--color-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  font-size: 1.08rem;
  transition: box-shadow var(--transition);
}
.testimonial-card strong {
  color: var(--color-primary);
  margin-left: 12px;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(49,50,70,0.18);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 25px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.trend-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  background: var(--color-secondary);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}
.text-section ul, .text-section ol {
  margin-left: 20px;
}

/* Ensure 20px or larger gap between all content cards/sections */
.section ul > li, .section ol > li, .content-wrapper > * {
  margin-bottom: 20px;
}

/* =======================================
   HEADER & NAVIGATION
======================================= */
header {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(49,50,70,0.06);
  position: sticky;
  top: 0;
  z-index: 98;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px; /* For spacing between logo-nav-cta on desktop */
  min-height: 76px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.08rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cta-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 12px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(49,50,70,0.04);
  margin-left: 24px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  border: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(49,50,70,0.14);
}

/* Mobile burger menu button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-secondary);
  border-radius: 6px;
  padding: 6px 12px;
  margin-left: 16px;
  transition: background 0.15s, color 0.15s;
  border: none;
  cursor: pointer;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Hide mobile menu on desktop by default */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 0 4px 26px rgba(49,50,70,0.18);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.71,.06,.3,.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 20px 20px;
  gap: 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 32px 8px rgba(49,50,70,0.18);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  padding: 4px 12px;
  margin-bottom: 22px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  padding: 13px 15px;
  border-radius: 8px;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: var(--color-secondary);
}

/* Hide/Show navigation for mobile/desktop */
@media (max-width: 1024px) {
  header nav,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =======================================
   MAIN, SECTIONS & LAYOUTS
======================================= */
main {
  margin: 0 auto;
  max-width: 100vw;
  width: 100%;
  min-height: 60vh;
}
section {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section .container {
  padding-top: 18px;
  padding-bottom: 18px;
}

/* =======================================
   FOOTER
======================================= */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 44px 0 20px 0;
  box-shadow: 0 -2px 10px 0 rgba(49,50,70,0.08);
}
footer .container {
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-white);
  font-size: 1.02rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 32px;
  font-size: 1rem;
}
.footer-contact span {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  color: var(--color-white);
  background: rgba(49,50,70, 0.12);
  border-radius: 6px;
  padding: 7px 14px 7px 10px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  filter: brightness(3) grayscale(1) opacity(0.90);
}
footer a img {
  margin-bottom: 8px;
}

/* =======================================
   LISTS & DETAILS
======================================= */
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--color-primary);
}
ul > li, ol > li {
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.5;
}
ul > li img {
  height: 24px;
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

/* =======================================
   SPECIAL COMPONENTS: CONTACT DETAILS & HOURS
======================================= */
.contact-details, .opening-hours {
  margin-bottom: 18px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 0;
}
.contact-details li, .opening-hours p {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =======================================
   BUTTONS (incl. cookie settings)
======================================= */
.btn, .cookie-btn {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 10px 22px;
  margin-right: 12px;
  margin-bottom: 10px;
  font-size: 1.04rem;
  display: inline-block;
  border: none;
  transition: background 0.17s, color 0.15s, box-shadow 0.16s;
  box-shadow: 0 2px 8px rgba(49,50,70,0.06);
  cursor: pointer;
}
.btn:hover, .cookie-btn:hover, .btn:focus, .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(49,50,70,0.12);
}
.btn-light, .cookie-btn-light {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.btn-light:hover, .cookie-btn-light:hover, .btn-light:focus, .cookie-btn-light:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-outline, .cookie-btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover, .cookie-btn-outline:hover, .btn-outline:focus, .cookie-btn-outline:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* =======================================
   COOKIE CONSENT BANNER & MODAL
======================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  box-shadow: 0 -2px 20px 2px rgba(49,50,70,0.10);
  border-top: 2px solid var(--color-secondary);
  z-index: 299;
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 1.05rem;
  animation: fadeInBanner 0.48s 0s ease-in;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}
.cookie-consent-banner p {
  flex: 2;
  color: var(--color-dark);
  margin-bottom: 0;
}
.cookie-consent-actions {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  justify-content: flex-end;
  align-items: center;
}

.cookie-preference-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 301;
  width: 100vw;
  height: 100vh;
  background: rgba(49,50,70,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.33s 0s ease-in;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-preference-content {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 48px 2px rgba(49,50,70,0.22);
  max-width: 410px;
  width: 90vw;
  padding: 36px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: fadeInBanner 0.33s 0s ease-in;
}
.cookie-preference-content h2 {
  color: var(--color-primary);
  font-size: 1.38rem;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-secondary);
  transition: 0.2s;
  border-radius: 24px;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-primary);
  transition: .2s;
  border-radius: 50%;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: var(--color-accent);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: var(--color-accent);
}
.cookie-close {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--color-secondary);
  color: var(--color-dark);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  cursor: pointer;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.cookie-close:hover, .cookie-close:focus {
  background: var(--color-accent);
  color: var(--color-white);
}

/* =======================================
   RESPONSIVE DESIGN – MOBILE-FIRST
======================================= */
@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .trend-grid, .card-container, .footer-contact {
    gap: 18px;
  }
  .trend-grid > div, .card {
    min-width: 140px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.69rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .container {
    padding: 0 7px;
  }
  header .container {
    gap: 14px;
    padding: 0 7px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .trend-grid,
  .card-container,
  .features,
  .content-grid,
  .card {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section,
  .section,
  .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 17px 10px;
    gap: 7px;
  }
  .section {
    padding: 23px 7px;
    margin-bottom: 31px;
  }
  .trend-grid > div {
    margin-bottom: 14px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 15px 10px 15px 10px;
    font-size: 1.01rem;
  }
  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 540px) {
  .footer-contact span {
    padding: 6px 7px;
    font-size: 0.98rem;
  }
  .section {
    margin-bottom: 22px;
    padding: 13px 2px;
  }
  .trend-grid > div, .card, .testimonial-card, .feature-item {
    padding: 14px 7px;
  }
  .cookie-preference-content {
    padding: 16px 4vw;
  }
}

/* =======================================
   UTILITY CLASSES, EFFECTS, MICROINTERACTIONS
======================================= */
.shadow {
  box-shadow: var(--shadow-card);
}
.rounded {
  border-radius: var(--radius);
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 32px; }
.mb-3 { margin-bottom: 32px; }

/* Animations for micro-interactions */
.cta-primary, .btn, .cookie-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Custom scrollbar (desktop only) */
@media (min-width: 850px) {
  ::-webkit-scrollbar {
    width: 8px;
    background: var(--color-secondary);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 6px;
  }
}

/* =======================================
   HIDE NO-GAP ON LAST ITEMS
======================================= */
.card-container > .card:last-child,
.feature-item:last-child,
.section ul > li:last-child,
.section ol > li:last-child,
.content-wrapper > *:last-child {
  margin-bottom: 0 !important;
}

/* =======================================
   ACCESSIBILITY FOCUS
======================================= */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* END OF STYLE SHEET */
