/* ==== CSS RESET & BASE ==== */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #222C36;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #222C36;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #009CA6;
  outline: none;
}

/* ======= BRAND TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  margin-bottom: 0.5em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 0.6em;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.07rem;
  font-weight: 600;
}
p, ul, ol, .content-wrapper > div {
  margin-bottom: 1.2em;
}
ul, ol {
  margin-left: 1em;
}
strong {
  font-weight: 600;
}

/* ======= LAYOUT CONTAINERS ======= */
.container {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
}
.text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 28px rgba(30,36,40,0.06);
  padding: 40px 24px;
  margin-bottom: 40px;
}

/* ======= HEADER & NAVIGATION ======= */
header {
  background: #fff;
  border-bottom: 1.5px solid #E6E8EC;
  position: relative;
  min-height: 72px;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px 24px;
}
.site-logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 30px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #222C36;
  padding: 8px 6px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #222C36;
  color: #fff;
}
.cta-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: 32px;
  padding: 12px 33px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.17s;
  box-shadow: 0 4px 24px rgba(30,36,40,0.09);
  display: inline-block;
  text-align: center;
  letter-spacing: 0.01em;
  margin-left: 20px;
}
.cta-button.primary {
  background: #222C36;
  color: #fff;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #fff;
  color: #222C36;
  border: 2px solid #222C36;
  box-shadow: 0 6px 32px rgba(30,36,40,0.13);
}

/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  background: #222C36;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  margin-left: 16px;
  display: none;
  cursor: pointer;
  z-index: 1202;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #111;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(24,32,40,0.97);
  backdrop-filter: blur(1.5px);
  z-index: 1201;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 32px 0 0 32px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  align-self: flex-start;
  z-index: 1203;
  padding: 0 0 16px 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 26px;
  gap: 22px;
  padding: 0 36px;
}
.mobile-nav a {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  padding: 16px 0 8px 0;
  border-bottom: 1px solid #333943;
  transition: color 0.18s, background 0.19s, padding 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #009CA6;
  background: #181D22;
  padding-left: 15px;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
    margin-left: 10px;
  }
  .cta-button {
    margin-left: 12px;
    padding: 10px 22px;
    font-size: 1rem;
  }
  header .container {
    padding: 16px 15px 16px 15px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== HERO SECTIONS ========== */
.hero {
  background: #fff;
  border-bottom: 1.5px solid #E6E8EC;
  margin-bottom: 60px;
  padding: 0 0 18px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 310px;
}
.hero h1 {
  color: #111;
  font-size: 2.5rem;
  margin-bottom: 0.4em;
}
.hero h2 {
  color: #444;
  font-size: 1.3rem;
  margin-bottom: 1.1em;
  font-weight: 500;
}
.hero p {
  font-size: 1.13rem;
  color: #2B3340;
  margin-bottom: 1.6em;
}

@media (max-width: 768px) {
  .hero .container {
    min-height: 200px;
    padding: 20px 0 20px 0;  
  }
  h1 {
    font-size: 2rem;
  }
}

/* ========== SECTIONS & CARD LAYOUTS ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 3px 24px rgba(30,36,40,0.04);
  padding: 28px 24px;
  min-width: 260px;
  transition: box-shadow 0.17s, background 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px rgba(30,36,40,0.09);
  background: #f2f2f2;
}
.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: #f9f9fb;
  border-radius: 15px;
  padding: 20px 30px;
  box-shadow: 0 6px 36px rgba(37,48,65,0.07);
  margin-bottom: 22px;
  flex-direction: row;
}
.testimonial-text {
  color: #1A1A1A;
  font-size: 1.13rem;
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #222C36;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FEATURES GRIDS & CATEGORIES ==========
   Each page uses different feature/class names, so both handled below */
.feature-grid, .category-grid, .review-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 0 0;
}
.feature, .category, .review {
  background: #F5F3EB;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(30,36,40,0.04);
  padding: 28px 24px 22px 24px;
  text-align: left;
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, background 0.19s;
  margin-bottom: 20px;
}
.feature:hover, .category:hover, .review:hover {
  box-shadow: 0 5px 20px rgba(30,36,40,0.12);
  background: #fff;
}
.feature img, .category img { height: 46px; margin-bottom: 16px; }
.category span {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* ================= CTA SECTIONS ================= */
.cta {
  background: #222C36;
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 36px rgba(30,36,40,0.09);
  margin-bottom: 64px;
}
.cta .content-wrapper {
  text-align: center;
}
.cta h2 {
  color: #fff;
  margin-bottom: 0.5em;
}
.cta p {
  color: #F5F3EB;
  margin-bottom: 1.5em;
}
.cta .cta-button.primary {
  background: #fff;
  color: #222C36;
  margin-top: 1.2em;
}
.cta .cta-button.primary:hover, .cta .cta-button.primary:focus {
  background: #F5F3EB;
  color: #222C36;
  border: 2px solid #fff;
}

/* ========== SERVICES/ABOUT/LEGAL TEXT SECTIONS ========== */
.services ul,
section .text-section ul {
  list-style: disc inside;
  margin: 14px 0 20px 1em;
  color: #292929;
  font-size: 1.07rem;
}
.services li, .about li, .text-section li {
  margin-bottom: 0.6em;
}
.services h3, .about h3 {
  margin-top: 1.1em;
}
.legal {
  background: #fafbfc;
  border-radius: 20px;
}
.legal .content-wrapper {
  background: none;
  box-shadow: none;
  padding: 38px 16px;
}

/* =========== REVIEW CARDS (Smartphone-Tests) =========== */
.review-list {
  gap: 24px;
  flex-wrap: wrap;
}
.review {
  background: #F5F3EB;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(30,36,40,0.04);
  padding: 24px 22px;
  max-width: 350px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, background 0.18s;
}
.review:hover {
  background: #fff;
  box-shadow: 0 6px 26px rgba(40, 48, 58, 0.11);
}

/* =========== CONTACT DETAILS ========== */
.contact-details div, .contact-block div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-details img {
  height: 24px;
  width: 24px;
}
.contact-details a {
  color: #222C36;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.18s;
}
.contact-details a:hover, .contact-details a:focus {
  color: #009CA6;
}
.social-media-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.social-media-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #222C36;
  padding: 7px 12px;
  border-radius: 6px;
  background: #f3f3f5;
  transition: background 0.15s, color 0.12s;
}
.social-media-links li a:hover, .social-media-links li a:focus {
  background: #222C36;
  color: #fff;
}

/* =========== FOOTER ========== */
footer {
  background: #191C20;
  color: #fff;
  border-top: 2px solid #E6E8EC;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 24px 26px 24px;
  gap: 32px;
}
.footer-logo img {
  height: 42px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 6px;
  border-radius: 8px;
  transition: color 0.18s, background 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #222C36;
}
.contact-block div {
  color: #EDF1F4;
  font-size: 1rem;
}
.contact-block a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.19s;
}
.contact-block a:hover, .contact-block a:focus {
  color: #009CA6;
}
.copyright {
  font-size: 0.98rem;
  color: #c1c6cb;
  margin-top: 18px;
}

/* =========== THANK YOU SECTION ========== */
.thank-you {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9fb;
  border-radius: 18px;
  min-height: 260px;
}
.thank-you .content-wrapper {
  text-align: center;
}

/* =========== GAP & LAYOUT HELPERS ========== */
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* =========== RESPONSIVENESS ========== */
@media (max-width: 992px) {
  .container {
    max-width: 860px;
    padding: 0 10px;
  }
  .feature-grid, .category-grid, .review-list {
    gap: 18px;
  }
  .footer-nav {
    gap: 12px;
  }
  section, .section {
    padding: 24px 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, .category-grid, .review-list,
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 10px;
  }
  .hero {
    padding: 0 0 8px 0;
  }
  section, .section {
    margin-bottom: 36px;
    padding: 17px 4px;
  }
  .text-section {
    padding: 24px 8px;
  }
  .footer-logo img {
    height: 34px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 580px) {
  .container {
    max-width: 99vw;
    padding: 0 2vw;
  }
  .feature, .category, .review {
    min-width: 90vw;
    max-width: 99vw;
    padding: 16px 10px;
  }
  .text-section {
    padding: 13px 3px;
    border-radius: 10px;
  }
  .hero h1 {
    font-size: 1.32rem;
  }
}

/* =========== BUTTONS & LINK MICRO-INTERACTIONS ========== */
button, .cta-button {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
button:active, .cta-button:active {
  box-shadow: 0 1px 4px #bbb inset;
  opacity: 0.96;
}

/* =========== CARD SHADOWS & INTERACTION ========== */
.card, .feature, .category, .testimonial-card, .review {
  transition: box-shadow 0.14s, background 0.18s;
}
.card:focus-within, .feature:focus-within, .category:focus-within, .testimonial-card:focus-within, .review:focus-within {
  outline: 2px solid #009CA6;
  outline-offset: 2px;
}

/* =========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #222C36;
  color: #fff;
  box-shadow: 0 -4px 32px rgba(20, 24, 32, 0.22);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 1700;
  align-items: center;
  gap: 15px;
  font-size: 1.02rem;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 08px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  background: #fff;
  color: #222C36;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(30,36,40,0.07);
}
.cookie-banner button:hover, 
.cookie-banner button:focus {
  background: #009CA6;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 10px 20px;
  margin-left: 8px;
}
.cookie-banner .cookie-settings:hover, 
.cookie-banner .cookie-settings:focus {
  background: #fff;
  color: #222C36;
}

/* ======= COOKIE MODAL ======= */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,32,40,0.83);
  z-index: 1750;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.34s;
}
.cookie-modal {
  background: #fff;
  color: #222C36;
  border-radius: 18px;
  box-shadow: 0 12px 54px rgba(28,30,36,0.21);
  padding: 35px 24px 30px 24px;
  max-width: 420px;
  min-width: 290px;
  width: 90vw;
  position: relative;
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: slide-up-modal 0.33s cubic-bezier(.4,.51,.19,.9);
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 500;
  color: #111;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 46px;
  height: 25px;
  border-radius: 999px;
  background: #ccc;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #009CA6;
}
.cookie-modal .cookie-toggle:after {
  content: '';
  display: block;
  width: 21px; height: 21px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.2s cubic-bezier(.4,.51,.19,.9);
}
.cookie-modal .cookie-toggle:checked:after {
  left: 23px;
}
.cookie-modal .essential {
  color: #8d8d91;
  font-size: 1rem;
  margin-left: 10px;
}
.cookie-modal button {
  margin-top: 8px;
  background: #222C36;
  color: #fff;
  border-radius: 22px;
  padding: 11px 22px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 16px; right: 14px;
  background: transparent;
  color: #222C36;
  border: none;
  font-size: 1.65rem;
  cursor: pointer;
  padding: 0;
}
.cookie-modal .cookie-close-modal:hover, .cookie-modal .cookie-close-modal:focus {
  color: #009CA6;
}
@keyframes fade-in {
  0% {opacity:0;} 100% {opacity:1;}
}
@keyframes slide-up-modal {
  0% {transform: translateY(80px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}

/* ===== TWEAK SCROLLBAR (MONOCHROME CLEAN) ===== */
::-webkit-scrollbar { width: 8px; background: #f2f2f2; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #888; }

/* ===================== UTILITY ===================== */
.sr-only {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ***************** UTILITY FLEXBOX HELPERS ***************** */
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ================ HIGH CONTRAST FOR MONOCHROME SECTIONS ================ */
.bg-dark, .dark-section, .bg-black {
  background: #111;
  color: #fff;
}
.bg-light, .light-section, .bg-white {
  background: #fff;
  color: #222C36;
}

/* =================== SELECTION STYLING =================== */
::selection { background: #222C36; color: #fff; }

/* ========== PRINT SUPPORT (MONOCHROME) ========== */
@media print {
  body, h1, h2, h3, h4, h5, h6 { color: #000 !important; background: #fff !important; }
  nav, .main-nav, .cta-button, .mobile-menu, .footer-nav, header, footer, .cookie-banner { display: none !important; }
  a[href]:after { content: " (" attr(href) ")"; }
}
