/* RESET & NORMALIZE ------------------------------------------------- */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
body { min-height: 100vh; font-family: 'Roboto', Arial, sans-serif; background: #F5F7FA; color: #232323; line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; border: 0; }
ul, ol { margin: 0 0 16px 24px; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
input, button, select, textarea { font: inherit; outline: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* GENERAL TYPOGRAPHY ------------------------------------------------- */
h1, h2, h3, h4 { font-family: 'Montserrat', 'Arial', sans-serif; font-weight: 700; }
h1 { font-size: 2.5rem; letter-spacing: -1.2px; margin-bottom: 20px; color: #111; }
h2 { font-size: 2rem; margin-bottom: 18px; color: #181818; }
h3 { font-size: 1.25rem; margin-bottom: 10px; color: #232323; font-weight: 600; }
h4 { font-size: 1.1rem; }
p, li, address { font-size: 1rem; margin-bottom: 10px; color: #232323; }
strong { font-weight: 700; color: #181818; }

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

/* HEADER & NAVIGATION ------------------------------------------------ */
header {
  background: #fff;
  border-bottom: 1px solid #e6e8ef;
  position: sticky;
  top: 0;
  z-index: 990;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.logo img { height: 38px; width: auto; display: block; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
  padding: 0 2px;
  position: relative;
  opacity: 0.84;
  transition: color 0.18s, opacity 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #20469B;
  opacity: 1;
  text-shadow: 0 1px 0 #F5F7FA, 0 2px 10px rgba(32,70,155,0.06);
}
.cta-primary {
  background: #181818;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 26px;
  box-shadow: 0 3px 20px rgba(16,16,22,0.05), 0 1.5px 4px rgba(0,0,0,0.02);
  font-weight: 600;
  letter-spacing: 0.046rem;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  margin-left: 18px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #20469B;
  color: #fff;
  box-shadow: 0 5px 28px rgba(32,70,155,0.10);
}

/* MOBILE NAVIGATION -------------------------------------------------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em 0.58em;
  font-size: 2.08rem;
  background: #fff;
  color: #20469B;
  border-radius: 8px;
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 1030;
  border: 1px solid #e6e8ef;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 12px rgba(40,50,80,0.04);
  outline: none;
}
.mobile-menu-toggle:focus {
  background: #20469B;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14,16,22, 0.97);
  color: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.82,.02,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1200;
  opacity: 0.9;
  border: 2px solid #444;
  border-radius: 7px;
  padding: 2px 10px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #181818;
  color: #21A179;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 84px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  opacity: 0.92;
  padding: 3px 0 3px 6px;
  border-left: 4px solid transparent;
  border-radius: 0 3px 3px 0;
  transition: border 0.15s, background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #21A179;
  background: #232323;
  border-left: 4px solid #21A179;
  opacity: 1;
}

@media (min-width: 820px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 819px) {
  .main-nav { display: none; }
  .cta-primary { display: none; }
}

/* BANNER/SECTION SPACING & FLEX PATTERNS ------------------------- */
.section,
.hero,
.features,
.search,
.guides,
.reviews,
.contact,
.legal,
.confirmation,
.about,
.team,
.brands-list,
.cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(35,35,35,0.06);
}
.hero { background: #F5F7FA; box-shadow: none; border-radius: 0; }
@media (max-width: 819px) {
  .section, .hero, .features, .contact, .legal, .confirmation, .about, .team, .brands-list, .cta, .guides, .reviews {
    padding: 26px 9px;
    margin-bottom: 38px;
    border-radius: 0;
    box-shadow: none; 
  }
}

/* FLEX PATTERNS --------------------------------------------------- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; flex: 1 1 270px; background: #fff; border-radius: 13px;
  box-shadow: 0 0.5px 8px rgba(32, 70, 155, .05);
}
.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: #FAFAFC; border-radius: 15px; box-shadow: 0 1px 8px rgba(16,16,22,0.06); margin-bottom: 24px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, .feature-icons, .brand-cards, .review-cards, .guide-list, .feature-descriptions {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .text-image-section, .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* FLEXIBLE FEATURE/GRID & UTILS ----------------------------------- */
.feature-grid, .feature-icons, .feature-descriptions, .brand-cards, .review-cards, .guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div,
.brand-cards > div,
.feature-icons > div,
.feature-descriptions > div,
.review-cards > div,
.guide-list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px rgba(35,35,35,0.06);
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .brand-cards > div:hover, .feature-icons > div:hover, .feature-descriptions > div:hover, .review-cards > div:hover, .guide-list > div:hover {
  box-shadow: 0 7px 22px rgba(32,70,155,0.09);
  transform: translateY(-4px) scale(1.02);
}

/* BUTTONS ---------------------------------------------------------- */
button, .cta-primary, .mobile-menu-toggle {
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
}
button[disabled], .cta-primary[disabled] {
  opacity: 0.42;
  cursor: default;
}

/* FORMS & INPUTS --------------------------------------------------- */
input[type="text"], input[type="email"], textarea {
  background: #F5F7FA;
  border: 1.5px solid #D0D3DA;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 1rem;
  color: #232323;
  margin-bottom: 12px;
  transition: border 0.18s, box-shadow 0.18s;
}
input[type="text"]:focus, textarea:focus {
  border: 1.5px solid #20469B;
  box-shadow: 0 1.5px 7px rgba(32,70,155,0.11);
}
.search-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .search-form { flex-direction: column; gap: 12px; align-items: stretch; }
}
.filters, .quick-links, .categories, .popular-tags, .quick-brands-filter {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
.filters span, .categories a, .quick-brands-filter a, .quick-links a, .popular-tags {
  font-size: 1rem;
  background: #F5F7FA;
  color: #232323;
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: 2px;
  transition: background 0.16s, color 0.15s;
}
.filters span img { width: 19px; height: 19px; margin-right: 7px; vertical-align: middle; }
.quick-links a:hover, .categories a:hover, .quick-brands-filter a:hover {
  background: #232323;
  color: #fff;
}

/* TABLE STYLES ----------------------------------------------------- */
.comparison-table { width: 100%; margin-bottom: 30px; overflow-x: auto; }
.comparison-table table { border-collapse: collapse; min-width: 620px; width: 100%; background: #FAFAFC; border-radius: 18px; box-shadow: 0 1px 8px rgba(32,32,40,0.065); }
.comparison-table th, .comparison-table td {
  padding: 16px 20px; text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
  font-weight: 500;
}
.comparison-table th { background: #232323; color: #fff; border-bottom: 3px solid #e6e8ef; }
.comparison-table tr { border-bottom: 1.5px solid #edeff1; }
.comparison-table tbody tr:nth-child(even){ background: #fff; }
.comparison-table td { font-family: 'Roboto', Arial, sans-serif; font-weight: 400; }
.comparison-table .stars { font-size: 1.07rem; color: #20469b; letter-spacing: .1rem; }

/* STAR RATINGS ----------------------------------------------------- */
.stars, .user-ratings {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #20469B;
  font-size: 1.09rem;
  margin-top: 6px;
}

/* TESTIMONIAL & REVIEWS ------------------------------------------- */
.testimonials {
  background: #fff;
}

.testimonial-card {
  box-shadow: 0 1.5px 11px rgba(32,32,60,.08);
  background: #FAFAFC;
  color: #181818;
  border: 2px solid #eee;
  margin-bottom: 24px;
  flex-direction: row;
}
.testimonial-card strong { font-size: 1.09rem; }
.testimonial-card img { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 2px solid #E6E6E6; margin-right: 7px; }
.testimonial-card p { font-size: 1.08rem; margin-bottom: 5px; color: #232323; }
@media (max-width: 600px){
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.user-ratings { margin-bottom: 2px; color: #20469B; font-weight: 700; }

/* BRANDS/LOGO SECTION --------------------------------------------- */
.brands-logos {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: center;
  margin: 18px 0 0 0;
  padding: 10px 0;
}
.brands-logos img { height: 38px; width: auto; opacity: 0.95; }

/* CONTACT & FOOTER ------------------------------------------------ */
footer {
  background: #1d1d1d;
  color: #F5F7FA;
  padding: 40px 0 10px 0;
  margin-top: 20px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: 8px 0 12px 0;
}
.footer-nav a {
  color: #F5F7FA;
  font-size: 1rem;
  opacity: 0.77;
  transition: color 0.19s, opacity 0.17s, text-decoration 0.14s;
}
.footer-nav a:hover {
  color: #21A179;
  opacity: 1;
  text-decoration: underline;
}
.contact-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 0.98rem;
  align-items: center;
  margin-top: 7px;
}
.contact-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-footer img { width: 21px; height: 21px; filter: grayscale(1) contrast(0.78); }
@media (max-width: 600px) {
  .contact-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}


/* ABOUT / TEAM PAGE CARDS --------------------------------------- */
.timeline p { font-size: 1.02rem; color: #232323; margin: 0 0 7px 0; }
.values ul, .brand-trustpoints ul, .test_criteria_list ul, .faq ul, .opening_hours ul {
  list-style: disc inside;
  margin-left: 0; margin-bottom: 0;
  color: #232323;
}
.values ul li, .brand-trustpoints ul li, .test_criteria_list ul li, .faq ul li, .opening_hours ul li {
  margin-bottom: 7px;
  font-size: 1.01rem;
}

/* CONTACT PAGE -------------------------------------------------- */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: flex-start;
}
.contact-details div {
  display: flex;
  align-items: center;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 10px 18px;
  gap: 11px;
  font-size: 1.02rem;
}
.contact-details img { width: 24px; height: 24px; }
.map {
  margin-top: 18px;
  font-size: 1rem;
  color: #222;
  background: #f3f4f7;
  border-radius: 10px;
  padding: 11px 18px;
}

/* LEGAL/CONFIRMATION/BASIC INFO --------------------------------- */
.legal .text-section, .about .text-section, .confirmation .content-wrapper, .faq ul, .test_criteria_list ul {
  margin: 0 0 22px 0;
}

/* NAVIGATION LINKS ON CONFIRMATION PAGE -------------------------- */
.navigation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}
.navigation-links a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #181818;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 8px 24px;
  transition: background 0.18s, color 0.18s;
}
.navigation-links .cta-primary { background: #232323; color: #fff; }
.navigation-links a:hover {
  background: #181818;
  color: #fff;
}

/* FAQ ACCORDION (SIMPLE) ------------------------------------------ */
.faq h3 { margin-bottom: 6px; }
.faq ul li { line-height: 1.56; margin-bottom: 10px; padding-left: 6px; }

/* ADDRESS INFO---------------------------------------------------- */
.address_info address {
  font-style: normal;
  color: #232323;
  background: #F5F7FA;
  padding: 8px 18px;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 1rem;
}

/* ANIMATIONS ----------------------------------------------------- */
@keyframes slideInMenu {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideUp {
  0% { transform: translateY(38px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.mobile-menu.open {
  animation: slideInMenu 0.4s cubic-bezier(.82,.02,.3,1);
}

/* COOKIE BANNER & MODAL --------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1800;
  background: #232323;
  color: #fff;
  padding: 24px 13px 21px 13px;
  box-shadow: 0 -1.5px 18px rgba(32,32,52,0.13);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  font-size: 1rem;
  animation: slideUp 0.44s cubic-bezier(.77,.04,.19,1.12);
}
.cookie-banner__text { flex: 2 1 340px; max-width: 710px; margin-right: 18px; }
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F5F7FA;
  color: #232323;
  border-radius: 24px;
  padding: 8px 24px;
  font-size: 1.02rem;
  margin-left: 0;
  border: none;
  font-weight: 600;
  box-shadow: 0 1.5px 7px rgba(40,50,80,0.04);
  transition: background 0.2s, color 0.16s;
}
.cookie-btn--primary { background: #20469B; color: #fff; }
.cookie-btn--primary:hover, .cookie-btn--primary:focus { background: #181818; color: #fff; }
.cookie-btn--reject { background: #fff; color: #232323; border: 1.2px solid #ccc; }
.cookie-btn--reject:hover, .cookie-btn--reject:focus { background: #232323; color: #fff; }
.cookie-btn--settings { background: #21A179 !important; color: #fff; }
.cookie-btn--settings:hover { background: #20469B !important; color: #fff; }
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 17px;  }
  .cookie-banner__text { margin-right: 0; max-width: unset; }
}

.cookie-modal {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2000;
  background: rgba(16,18,22,0.82);
  display: flex;
  align-items: center; justify-content: center;
  animation: slideUp 0.25s cubic-bezier(.8,.03,.14,1.13);
}
.cookie-modal__window {
  background: #fff;
  padding: 34px 28px;
  border-radius: 18px;
  box-shadow: 0 3px 34px rgba(32, 70, 155, 0.15);
  min-width: 320px; max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__title { font-size: 1.25rem; font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; color: #20469B; margin-bottom: 1px; }
.cookie-modal__category {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
}
.cookie-modal__toggle {
  width: 44px; height: 24px; background: #eee; border-radius: 14px; position: relative; transition: background 0.18s;
  cursor: pointer;
  display: inline-block;
}
.cookie-modal__toggle[aria-checked="true"] { background: #21A179; }
.cookie-modal__toggle__circle {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 0.5px 5px rgba(40,44,52,0.11);
  transition: left 0.17s;
}
.cookie-modal__toggle[aria-checked="true"] .cookie-modal__toggle__circle { left: 22px; }
.cookie-modal__actions {
  display: flex; gap: 17px; justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 23px;
  right: 33px;
  background: none;
  color: #20469B;
  font-size: 1.6rem;
  border: none;
  opacity: 0.80;
  cursor: pointer;
}
.cookie-modal__close:hover { color: #21A179; opacity: 1;  }

@media (max-width: 480px) {
  .cookie-modal__window { min-width: unset; max-width: 97vw; padding: 18px 4vw; }
  .cookie-modal__close { top: 11px; right: 16px; }
}

/* DARK/LIGHT MODES BASED ON SECTION ------------------------------- */
.hero, .cta, .confirmation { background: #F5F7FA; }
.section, .features, .contact, .legal, .guides, .brands-list, .about, .team, .search, .reviews { background: #fff; }

/* MEDIA QUERIES RESPONSIVE ------------------------------------------ */
@media (max-width: 470px){
  html { font-size: 15px; }
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.23rem; }
}
@media (max-width: 400px){
  html { font-size: 13.5px; }
  .cta-primary, .cookie-btn, .mobile-nav a { font-size: 1rem; padding: 7px 13px; }
}

/* ACCESSIBILITY FOCUS STATES ----------------------------------------- */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus{
  outline: 2px solid #20469B;
  outline-offset: 1.5px;
  box-shadow: 0 0 0 2px rgba(32, 70, 155, 0.11);
}

/* VISUAL HIERARCHY & DRAMATIC CONTRAST ------------------------------- */
h1, h2, h3, h4, .cta-primary, .cookie-btn--primary {
  text-shadow: 0 1.5px 12px rgba(0,0,0,0.045);
}

/* SOPHISTICATED MONOCHROME ACCENTS ----------------------------------- */
body, .feature-grid > div, .brand-cards > div, .guide-list > div, .review-cards > div { border: 1.2px solid #ECECEC; }
h1,h2,h3,h4 { color: #181818; }
/* Small accent lines */
h2:before, h3:before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2.5px;
  background: #232323;
  border-radius: 2px;
  margin-right: 13px;
  vertical-align: middle;
  opacity: 0.12;
}

/* Hide visually-unneeded elements in print */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, .footer-nav, .cta-primary { display: none !important; }
  header, footer { border: none; }
  .section, .hero, .features, .contact, .legal, .confirmation, .about, .team, .brands-list, .cta { box-shadow: none !important; padding: 0 !important; background: #fff !important; border-radius: 0; }
}
