/* --- CSS RESET & NORMALIZATION --- */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background-color: #F5F7FA;
  color: #1C2232;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img,svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3575D3;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 700;
}
a:hover, a:focus {
  color: #1C2232;
  outline: none;
}
ul,ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul:last-child,ol:last-child {
  margin-bottom: 0;
}

/* --- FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

:root {
  --primary: #1C2232;
  --secondary: #3575D3;
  --accent: #FFE36E;
  --background: #F5F7FA;
  --white: #FFF;
  --text-dark: #1C2232;
  --text-light: #fff;
  --border-radius: 18px;
  --shadow: 0 6px 26px 0 rgba(28,34,50,.08), 0 1.5px 8px 0 rgba(53,117,211,.10);
  --shadow-hover: 0 10px 32px 0 rgba(28,34,50,.13), 0 2.5px 10px 0 rgba(53,117,211,.14);
  --transition: all 0.25s cubic-bezier(.56,.2,.07,1.07);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1184px;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  min-width: 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px 0 rgba(28,34,50,.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 72px;
}
.logo {
  margin-right: 28px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  flex: 1 1 auto;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.main-nav a {
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: width 0.18s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.cta-btn.primary {
  background: var(--secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 18px;
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 32px;
  margin-left: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: scale(1.04);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 32px;
  padding: 8px 16px;
  margin-left: auto;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,34,50, 0.96);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.73,-0.01,.36,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 38px;
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 1003;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--secondary);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  margin: 90px 0 0 40px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  padding: 10px 0;
  transition: color 0.17s;
  text-transform: uppercase;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--secondary);
}

/* --- TYPOGRAPHY SYSTEM --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.13;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 14px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--secondary);
  margin-bottom: 6px;
}
p, li, address {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.66;
  color: var(--primary);
}
strong {
  font-weight: 900;
}
.section > h2, .container > h2, section > h2 {
  margin-top: 0;
  margin-bottom: 26px;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 700;
  color: var(--primary);
  background: var(--accent);
  border-left: 5px solid var(--secondary);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 18px 32px 18px 22px;
  margin-bottom: 20px;
}

/* --- HERO AND FEATURES --- */
.hero-section, .hero-news-section, .hero-guides-section, .hero-reviews-section, .hero-events-section {
  background: linear-gradient(99deg, #f5f7fa 70%, var(--accent) 110%);
  padding: 68px 0 40px 0;
  margin-bottom: 56px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 24px 0 rgba(53,117,211,.05);
}
.hero-section h1, .hero-news-section h1, .hero-guides-section h1, .hero-reviews-section h1, .hero-events-section h1 {
  color: var(--secondary);
}
.hero-section p, .hero-news-section p, .hero-guides-section p,.hero-reviews-section p,.hero-events-section p{
  max-width: 600px;
  margin-bottom: 22px;
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}

/* --- FEATURES GRID --- */
.features-section .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-section .feature-item {
  min-width: 220px;
  flex: 1 1 calc(20% - 25px);
  border: 3.5px solid var(--accent);
  background: #fff;
}
.feature-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 6px;
}
.feature-item h3 {
  color: var(--secondary);
  font-size: 1.16rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.feature-item .feature-price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 900;
  background: var(--accent);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.98rem;
  margin-top: 6px;
}

/* --- LATEST ARTICLES --- */
.latest-articles-section .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.latest-articles-section article {
  flex: 1 1 320px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 270px;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.latest-articles-section article:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03);
}
.latest-articles-section h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.latest-articles-section p {
  margin-bottom: 13px;
}
.read-more {
  color: var(--secondary);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  transition: color 0.2s, text-decoration 0.2s;
}
.read-more:hover, .read-more:focus {
  color: var(--primary);
  text-decoration: underline;
}

/* --- NEWSLETTER SIGNUP --- */
.newsletter-signup-section {
  background: var(--secondary);
  color: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 50px;
}
.newsletter-signup-section h2 {
  color: var(--accent);
}
.newsletter-signup-section .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.newsletter-benefits ul {
  color: var(--accent);
  font-weight: 700;
}
.newsletter-signup-section .cta-btn.primary {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(28,34,50,0.10);
}
.newsletter-signup-section .cta-btn.primary:hover {
  background: var(--white);
  color: var(--secondary);
}

/* --- ABOUT & VALUE LISTS --- */
.about-section .content-wrapper,
.values-section .content-wrapper, 
.why-us-section .content-wrapper {
  max-width: 680px;
  margin: 0 auto;
}
.value-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin-top: 8px;
}
.value-list li {
  display: flex;
  align-items: center;
  font-size: 1.10rem;
  font-weight: 700;
  gap: 14px;
  color: var(--secondary);
}
.value-list img {
  width: 28px;
  height: 28px;
}

/* --- NEWS & SIDEBAR --- */
.news-feed-section .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 2 1 70%;
}
.news-list article {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-list article:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.015);
}
.news-list h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-weight: 900;
  margin-bottom: 6px;
}
.news-filters {
  flex: 1 1 28%;
  background: var(--primary);
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
}
.news-filters h4 {
  color: var(--accent);
  margin-bottom: 12px;
}
.news-filters ul {
  list-style: none;
  gap: 8px;
  display: flex;
  flex-direction: column;
}
.news-filters a {
  color: var(--accent);
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.sidebar-widget {
  margin-top: 38px;
}
.sidebar-widget .content-wrapper {
  background: var(--secondary);
  border-radius: var(--border-radius);
  color: var(--accent);
  padding: 24px 22px 22px 22px;
  box-shadow: var(--shadow);
  gap: 15px;
}
.sidebar-widget h3 {
  color: var(--accent);
}
.sidebar-widget a {
  color: var(--accent);
}

/* --- PORADNIKI --- */
.sortable-guides-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.sortable-guides-grid article {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.sortable-guides-grid article:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03);
}
.guides-filters {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
  margin-bottom: 10px;
}
.guides-filters a {
  color: var(--secondary);
  background: var(--accent);
  border-radius: 8px;
  padding: 4px 14px;
  font-size: 0.96rem;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.20s, color 0.18s;
}
.guides-filters a:hover {
  background: var(--secondary);
  color: var(--white);
}
.guides-search {
  margin-top: 14px;
  display: flex;
}
.guides-search input {
  padding: 10px 18px;
  border: 2px solid var(--secondary);
  border-radius: 12px;
  font-size: 1rem;
  width: 100%;
  max-width: 340px;
  font-family: 'Roboto', Arial, sans-serif;
}
.guides-search input:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

/* --- REVIEW CARDS --- */
.review-feed-section .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.review-card {
  flex: 1 1 280px;
  min-width: 210px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
  color: var(--primary);
}
.review-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03);
}
.review-card h3 {
  color: var(--secondary);
  font-weight: 900;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.review-stars {
  color: #FFD600;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(28,34,50,0.13);
}
.review-card span {
  font-size: 0.99rem;
  color: var(--secondary);
}

/* --- EVENTS --- */
.events-calendar-section .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 26px;
}
.calendar-widget {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  min-width: 298px;
  flex: 1 1 49%;
}
.calendar-widget ul {
  list-style: disc;
  color: var(--primary);
}
.event-highlights {
  color: var(--secondary);
  font-weight: 900;
  background: var(--accent);
  border-radius: 10px;
  padding: 22px 18px;
  flex: 1 1 42%;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- GENERAL CTA --- */
.cta-custom-guide, .cta-review-device, .cta-become-partner {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 40px 0 24px 0;
}
.cta-custom-guide .content-wrapper, .cta-review-device .content-wrapper, .cta-become-partner .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cta-custom-guide .cta-btn.primary, .cta-review-device .cta-btn.primary, .cta-become-partner .cta-btn.primary {
  background: var(--accent);
  color: var(--primary);
}
.cta-custom-guide .cta-btn.primary:hover, .cta-review-device .cta-btn.primary:hover, .cta-become-partner .cta-btn.primary:hover {
  background: var(--secondary);
  color: var(--white);
}

/* --- CONTACT --- */
.map-location {
  background: var(--accent);
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--primary);
}
.contact-details p {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  margin: 8px 0;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 22px 0;
  margin-top: 80px;
  border-radius: 36px 36px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  width: 100%;
}
.footer-brand {
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand img {
  width: 48px;
  margin-bottom: 4px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: var(--accent);
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.96rem;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: var(--secondary);
}
.footer-contact-short address {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0;
}
.footer-contact-short a {
  color: var(--accent);
  font-weight: 900;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  width: 38px;
  height: 38px;
  background: var(--accent);
  border-radius: 50%;
  justify-content: center;
  transition: background 0.17s, transform 0.18s;
}
.social-links a:hover {
  background: var(--secondary);
  transform: scale(1.11);
}
.social-links img {
  width: 20px;
}

/* --- RESPONSIVENESS (MOBILE-FIRST) --- */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 787px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 23px;
  }
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2.1rem;
  }
  h2, .h2 {
    font-size: 1.3rem;
  }
  header .container {
    min-height: 58px;
    gap: 11px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn.primary {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1.06rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero-section,.hero-news-section,.hero-guides-section,.hero-reviews-section,.hero-events-section {
    padding: 48px 0 21px 0;
    border-radius: 0 0 18px 18px;
  }
  .features-section .feature-grid, 
  .sortable-guides-grid, 
  .review-feed-section .content-wrapper,
  .latest-articles-section .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .news-feed-section .content-wrapper, .events-calendar-section .content-wrapper {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-signup-section .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .calendar-widget, .event-highlights {
    min-width: unset;
    padding: 16px 11px;
  }
  .cta-custom-guide .content-wrapper, .cta-review-device .content-wrapper, .cta-become-partner .content-wrapper {
    flex-direction: column;
    gap: 9px;
  }
  .value-list {
    gap: 10px;
  }
}
@media (max-width: 536px) {
  .container { padding: 0 8px; }
  blockquote { padding: 11px 14px; font-size: .99rem; }
  .feature-item, .card, .review-card {
    padding: 11px 7px;
  }
  .footer-brand img {
    width: 34px;
  }
  .mobile-nav {
    margin: 70px 0 0 12px;
  }
  .mobile-menu-close {
    right: 8px; top: 8px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 -4px 20px rgba(28,34,50,0.18);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 18px;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.73,-0.01,.36,1);
  animation: cb-slideIn 0.7s;
}
@keyframes cb-slideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__btn {
  margin: 0 9px;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(28,34,50,0.07);
  transition: background 0.15s, color 0.13s, transform 0.17s;
}
.cookie-banner__accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner__accept:hover {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.08);
}
.cookie-banner__reject {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner__reject:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.08);
}
.cookie-banner__settings {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--accent);
  margin-left: 0;
}
.cookie-banner__settings:hover {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.08);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2300;
  background: rgba(28,34,50,0.82);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.23s;
}
.cookie-modal__content {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  padding: 38px 34px 28px 34px;
  min-width: 310px;
  max-width: 99vw;
  text-align: left;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: cb-fadeIn 0.36s;
}
@keyframes cb-fadeIn {
  from { opacity: 0; transform: scale(0.89); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal__content h3 {
  color: var(--secondary);
  margin-bottom: 5px;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.cookie-modal__settings-group {
  margin-bottom: 11px;
  padding: 9px 0 9px 0;
  border-bottom: 1px solid #eee;
}
.cookie-modal__settings-group:last-child {
  border-bottom: 0;
}
.cookie-modal input[type="checkbox"][disabled] {
  accent-color: var(--secondary);
  opacity: 0.6;
}
/* Cookie toggles */
.cookie-toggle {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
  margin-right: 10px;
}
/* Group label */
.cookie-modal__group-label {
  color: var(--primary);
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 3px;
}
.cookie-modal__group-desc {
  color: #4d4d4d;
  font-size: 0.96rem;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
}
.cookie-modal .cookie-banner__btn {
  padding: 9px 24px;
  box-shadow: none;
  font-size: 1.06rem;
}
.cookie-modal__close {
  position: absolute;
  top: 19px; right: 23px;
  background: none; border: none;
  color: var(--secondary);
  font-size: 30px;
  cursor: pointer;
  transition: color 0.17s;
  border-radius: 8px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--accent);
  background: #ececec;
}
@media (max-width: 500px) {
  .cookie-modal__content {
    min-width: 80vw;
    padding: 18px 8px 10px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal__actions {
    flex-direction: column;
    gap: 11px;
  }
}

/* --- OTHER GENERAL/MISC --- */
.section, .hero-section, .features-section, .newsletter-signup-section, .about-section, .values-section, .why-us-section,
.contact-section, .office-info-section, .thanks-section, .privacy-policy-section, .gdpr-section, .cookies-policy-section, .terms-section {
  margin-bottom: 60px;
  padding: 40px 20px 40px 20px;
}

/* Prevent element overlapping and ensure spacing */
.section > *, .container > *, .content-wrapper > *, .card-container > *, .feature-grid > *, .sortable-guides-grid > *, .review-feed-section .content-wrapper > *, .news-list > *, .footer-menu > *, .mobile-nav > *, .value-list > *, .event-reports-section ul > * {
  margin-bottom: 20px;
}
.section > *:last-child, .container > *:last-child, .content-wrapper > *:last-child, .card-container > *:last-child, .feature-grid > *:last-child, .sortable-guides-grid > *:last-child, .review-feed-section .content-wrapper > *:last-child, .news-list > *:last-child, .footer-menu > *:last-child, .mobile-nav > *:last-child, .value-list > *:last-child, .event-reports-section ul > *:last-child {
  margin-bottom: 0;
}

/* Hide cookie modal by default */
.cookie-modal[hidden] {
  display: none !important;
}

/* --- END OF CSS --- */
