/*-------------------------------*/
/*         CSS RESET             */
/*-------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  background: #fff;
  color: #232323;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.03em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: #B01030;
  text-decoration: none;
  transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #23293D;
  text-decoration: underline;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #232323;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.5rem; line-height:1.18;}
h2 {font-size: 2rem; line-height:1.2;}
h3 {font-size: 1.375rem; line-height:1.3;}
h4 {font-size: 1.125rem;}

p, li, blockquote {
  font-size: 1rem;
  color: #2d2d2d;
}
strong {
  font-weight: 700;
  color: #23293D;
}
blockquote {
  border-left: 4px solid #23293D;
  padding-left: 18px;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 8px;
  color: #23293D;
}
span.stars {
  color: #B01030;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.08em;
}

/*-----------------------------*/
/*    CONTAINERS & SECTIONS    */
/*-----------------------------*/
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f6f6f6;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(40,40,50,0.07);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  min-width: 240px;
  transition: box-shadow .2s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(60,60,80,0.14);
  z-index:2;
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testimonial-card {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(17,17,16,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1.5px solid #e7e7ea;
  max-width: 480px;
  transition: box-shadow .2s cubic-bezier(.4,0,.2,1);
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(60,60,60,0.16);
  border-color: #D4D4D7;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*-------------------------------*/
/*         HEADER                */
/*-------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(24,24,30,0.11);
  position: sticky;
  top: 0;
  z-index: 25;
  width: 100%;
}
.logo-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 6px 0;
}
.logo-bar img {
  height: 36px;
}
.logo-bar .tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #787878;
  font-weight: 500;
  letter-spacing: 0.03em;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 12px 0 10px 0;
  align-items: center;
}
nav > a {
  color: #23293D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 5px;
  transition: background .15s, color .17s;
  line-height: 1.4;
}
nav > a:hover, nav > a:focus {
  background: #23293D;
  color: #fff;
  outline: none;
}
.cta.primary {
  background: #23293D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 7px;
  margin-left: 30px;
  box-shadow: 0 2px 14px rgba(44,44,60,0.13);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background .2s, box-shadow .21s;
  position: relative;
}
.cta.primary:hover, 
.cta.primary:focus {
  background: #B01030;
  color: #fff;
  box-shadow: 0 4px 23px rgba(176,16,48,0.15);
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #23293D;
  cursor: pointer;
  margin-left: auto;
  transition: color .17s;
  padding: 6px 18px 6px 6px;
  z-index: 40;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #B01030;
  outline: none;
}

/*-------------------------------*/
/*      MOBILE MENU STYLES       */
/*-------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 14px 40px rgba(40,40,40,0.14);
  transform: translateX(-105vw);
  z-index: 1100;
  transition: transform .34s cubic-bezier(.62,.13,.4,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #23293D;
  font-size: 2.1rem;
  padding: 18px 24px 12px 0;
  border: none;
  cursor: pointer;
  transition: color .2s;
  z-index: 1200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B01030;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 14px 32px;
  width: 100%;
  margin-top: 0;
}
.mobile-nav a {
  color: #23293D;
  background: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  padding: 12px 4px;
  border-radius: 4px;
  font-weight: 500;
  transition: background .16s, color .2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #f2e9da;
  color: #B01030;
  outline: none;
}

/*-------------------------------*/
/*          MAIN LAYOUT          */
/*-------------------------------*/
main {
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-height: 62vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comparison-table {
  width:100%;
  margin: 18px 0 12px 0;
}
.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fafbfc;
  margin-bottom: 8px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 1rem;
}
.comparison-table th, .comparison-table td {
  padding: 11px 18px;
  border-bottom: 1px solid #ececec;
  text-align: left;
}
.comparison-table th {
  background: #ededed;
  color: #23293D;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/*-------------------------------*/
/*           FOOTER              */
/*-------------------------------*/
footer {
  background: #23293D;
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo img {
  height: 42px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #B01030;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.social-links img {
  width: 28px;
  height: 28px;
  filter: grayscale(1) contrast(1.3);
  opacity: 0.82;
  transition: opacity .18s, filter .2s;
}
.social-links img:hover,
.social-links img:focus {
  filter: none;
  opacity: 1;
}

/*------------------------------*/
/*      BUTTONS & CTA           */
/*------------------------------*/
.cta,
button,
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 6px;
  border: none;
  outline: none;
  text-align: center;
  cursor: pointer;
  transition: background .17s, color .18s, box-shadow .18s, border .15s;
}
.cta.primary, button.primary, input.primary[type="submit"] {
  background: #B01030;
  color: #fff;
  padding: 10px 28px;
  box-shadow: 0 2px 13px rgba(176,16,48,0.14);
}
.cta.primary:hover,
button.primary:hover,
input.primary[type="submit"]:hover,
.cta.primary:focus,
button.primary:focus,
input.primary[type="submit"]:focus {
  background: #23293D;
  color:#fff;
  box-shadow: 0 4px 21px rgba(35,41,61,0.13);
  outline: 2px solid #B01030;
}
.cta.secondary, button.secondary {
  background: #23293D;
  color: #fff;
  padding: 10px 22px;
  border-radius: 5px;
  margin-left: 0;
  box-shadow: 0 2px 12px rgba(35,41,61,0.12);
}
.cta.secondary:hover, button.secondary:hover, .cta.secondary:focus {
  background: #B01030;
  color: #fff;
}

/*-------------------------------*/
/*             LISTS             */
/*-------------------------------*/
ul, ol {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 10px;
  line-height: 1.7;
  color: #23293D;
}
ul li, ol li {
  position: relative;
  padding-left: 32px;
  color: #23293D;
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23293D;
  opacity: 0.25;
}
ol li:before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  left: 7px;
  top: 0;
  background: none;
  color: #B01030;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
ol {
  counter-reset: li;
}

.table th, .table td {
  border: 1px solid #e3e3e7;
  padding: 10px;
  text-align: left;
}

/*------------------------*/
/*     COOKIE CONSENT     */
/*------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(44,44,44,0.97);
  color: #fff;
  border-top: 2.5px solid #B01030;
  box-shadow: 0 -6px 34px rgba(30,30,30,0.15);
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  font-size: 1rem;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .43s cubic-bezier(.55,.1,.29,.99), opacity .37s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.cookie-banner button {
  margin: 0;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  box-shadow: 0 1.5px 7px rgba(35,41,61,0.06);
  font-weight: 600;
  transition: background .18s, color .19s;
}
.cookie-banner .accept {
  background: #B01030;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #23293D;
  color: #fff;
}
.cookie-banner .reject, .cookie-banner .reject-all {
  background: #23293D;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #B01030;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #23293D;
  border: 1.2px solid #e7e7e7;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #f2e9da;
  color: #B01030;
}

/*---- Cookie Modal Popup ----*/
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 3000;
  background: rgba(44,44,44,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #23293D;
  padding: 38px 30px 22px 30px;
  border-radius: 14px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 7px 30px rgba(44,44,44,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-size: 1.06rem;
}
.cookie-modal-content h3 {
  font-size: 1.28rem;
  color: #23293D;
  margin-bottom: 7px;
}
.cookie-modal-content label {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 8px 0;
}
.cookie-modal-content .essential {
  color: #B01030;
  font-weight: 600;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #B01030;
  font-size: 2.15rem;
  position: absolute;
  top: 14px; right: 25px;
  cursor: pointer;
  padding: 2px 8px;
  transition: color .21s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #23293D;
  outline: none;
}
.cookie-toggle {
  margin-left: auto;
}

/*-------------------------------*/
/*          MEDIA QUERIES        */
/*-------------------------------*/
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0 0;
  }
}
@media (max-width: 960px) {
  .content-wrapper { max-width: 98vw; }
  .footer-logo img { height: 36px; }
  .footer-menu { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section, section {
    padding: 24px 8px;
    margin-bottom: 34px;
  }
  .logo-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 6px 0;
  }
  nav {
    display: none;
  }
  .cta.primary {
    margin-left: 0;
    margin-top: 11px;
    margin-bottom: 9px;
    padding: 11px 20px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .container { max-width: 98vw; padding: 0 4px; }
  .testimonial-card { max-width: 99%; }
  .content-wrapper { padding: 0; }
}
@media (max-width:540px) {
  html { font-size: 14px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  .logo-bar img { height: 28px; }
  .footer-logo img { height: 23px; }
  .cookie-modal-content { padding: 21px 6vw 17px 6vw;} 
  .cookie-modal-close { top: 3px; right: 2vw; font-size:1.65rem; }
}
@media (max-width: 420px) {
  .cookie-banner { font-size: 0.94rem; padding: 13px 5vw 12px 5vw; }
}

/*--- Responsive flexboxes ---*/
@media (max-width: 900px) {
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/*-------------------------------*/
/*          GENERAL UI            */
/*-------------------------------*/
::-webkit-scrollbar { width: 9px; background: #e9e9e9; }
::-webkit-scrollbar-thumb { background: #dadada; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #23293d22; }

hr {
  border-top: 1px solid #dddddd;
  margin: 18px 0;
}

/*-------------------------------*/
/*  ANIMATIONS & MICROINTERACTIONS */
/*-------------------------------*/
.card,
.testimonial-card {
  transition: box-shadow .24s cubic-bezier(.4,0,.2,1), border-color .22s;
}
.cta, button, .cookie-banner button {
  transition: background .17s, color .18s, box-shadow .18s, border .18s;
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: transform, opacity;
}

/*-------------------------------*/
/*           PRINT                */
/*-------------------------------*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main, section, .container { box-shadow: none !important; background: #fff !important; }
}
