/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: linear-gradient(120deg, #FFF 0%, #F6F6F6 100%);
  color: #212121;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* BRAND FONTS */
h1, h2, h3, .cta-primary, .cta-secondary, header nav a, .mobile-nav a {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #991B1B;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #20504F;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #991B1B;
}
p, ul li, ol li {
  font-size: 1rem;
  color: #212121;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: #991B1B;
}
.text-section h2 {
  color: #20504F;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 rgba(153,27,27,0.09);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(153,27,27,0.22);
  transform: translateY(-4px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 24px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(32,80,79,0.09);
  border-left: 3px solid #991B1B;
  max-width: 500px;
  transition: box-shadow 0.25s, border-color 0.28s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(153, 27, 27, 0.13);
  border-color: #20504F;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F6F6;
  padding: 20px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(32,80,79,0.05);
}

/* HEADER */
header {
  width: 100%;
  box-shadow: 0 2px 10px rgba(32, 80, 79, 0.03);
  background: linear-gradient(90deg, #FFF 60%, #F6F6F6 100%);
  position: sticky;
  top: 0; z-index: 100;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-top: 0;
  padding-bottom: 0;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 32px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #20504F;
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.88;
  padding: 8px 4px;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #F6F6F6;
  color: #991B1B;
}
.cta-primary {
  margin-left: 24px;
  background: linear-gradient(90deg, #991B1B, #20504F 92%);
  color: #FFF;
  font-weight: 600;
  font-size: 1.06rem;
  border: none;
  border-radius: 8px;
  padding: 10px 32px;
  box-shadow: 0 4px 8px 0 rgba(153,27,27,0.09);
  transition: background 0.20s, box-shadow 0.18s, transform 0.18s;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #20504F, #991B1B 92%);
  color: #FFF;
  box-shadow: 0 7px 20px 0 rgba(32,80,79,0.22);
  transform: translateY(-3px) scale(1.03);
}
.cta-secondary {
  background: #FFF;
  color: #991B1B;
  border: 2px solid #991B1B;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 1.01rem;
  border-radius: 8px;
  margin-top: 8px;
  transition: background 0.20s, color 0.15s, border-color 0.18s;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #20504F;
  color: #FFF;
  border-color: #20504F;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  font-size: 2rem;
  color: #991B1B;
  background: #FFF;
  border-radius: 6px;
  padding: 6px 10px;
  display: none;
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6F6F6;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 40px 0 rgba(153,27,27,0.07);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.67,0,.28,1);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #20504F;
  background: #f6f6f6;
  border-radius: 8px;
  padding: 8px 14px;
  position: absolute;
  right: 28px;
  top: 18px;
  z-index: 311;
  box-shadow: 0 2px 8px 0 rgba(153,27,27,0.03);
  transition: background 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #991B1B;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 90px;
  padding: 36px 32px;
  height: 100%;
  gap: 0;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: #20504F;
  padding: 15px 0;
  font-weight: 600;
  transition: color 0.13s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #991B1B;
  background: none;
}
body.mobile-menu-open {
  overflow: hidden;
}

/* HERO & KEY SECTIONS */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}
main section:first-child {
  padding-top: 50px;
}
main section .container {
  gap: 0;
  max-width: 900px;
}

/* UL/LIST SECTIONS */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 10px;
}
.content-wrapper ul li {
  background: #FFF;
  border-radius: 11px;
  flex: 1 1 210px;
  padding: 28px 20px 22px 20px;
  min-width: 220px;
  max-width: 340px;
  box-shadow: 0 2px 10px 0 rgba(32,80,79,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.content-wrapper ul li:hover {
  box-shadow: 0 6px 20px 0 rgba(32,80,79,0.13);
  transform: translateY(-2px) scale(1.015);
}
.content-wrapper ul li img {
  height: 34px;
  width: 34px;
  margin-bottom: 11px;
}
.content-wrapper ul li h3 {
  font-size: 1.13rem;
  margin-bottom: 5px;
  color: #20504F;
  font-weight: 700;
}
.content-wrapper ul li p {
  color: #444;
  font-size: 0.99rem;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #F6F6F6 60%, #FFF 100%);
  border-top: 1px solid #ECECEC;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #20504F;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #991B1B;
}
.footer-contact {
  color: #444;
  font-size: 0.97rem;
  margin-top: 7px;
  line-height: 1.4;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 4px #d7d7d7;
  transition: box-shadow 0.16s;
}
.footer-social a:hover img {
  box-shadow: 0 0 11px #991B1B;
}

/* COOKIES CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: linear-gradient(90deg, #F6F6F6 60%, #FFF 100%);
  color: #20504F;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  box-shadow: 0 -2px 16px rgba(32,80,79,0.12);
  gap: 32px;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.33s cubic-bezier(.7, 0, .3, 1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  outline: none;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  font-size: 1rem;
}
.cookie-banner .cookie-accept {
  background: #991B1B;
  color: #FFF;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #20504F;
}
.cookie-banner .cookie-reject {
  background: #F6F6F6;
  color: #991B1B;
  border: 2px solid #991B1B;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #991B1B;
  color: #FFF;
}
.cookie-banner .cookie-settings {
  background: #20504F;
  color: #FFF;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #991B1B;
}
/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2100;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(32,80,79,0.21);
  width: 96%;
  max-width: 380px;
  transform: translate(-50%, -50%) scale(0.98);
  padding: 30px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity 0.25s, transform 0.16s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-modal-header h3 {
  font-size: 1.13rem;
  color: #991B1B;
}
.cookie-modal-close {
  font-size: 1.45rem;
  color: #20504F;
  background: #F6F6F6;
  padding: 5px 10px;
  border-radius: 7px;
  border: none;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal-close:hover {
  background: #20504F;
  color: #FFF;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  background: #F6F6F6;
  padding: 10px 14px;
  border-radius: 8px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #991B1B;
  width: 17px;
  height: 17px;
}
.cookie-category input[disabled] {
  background: #AFAFAF;
}
.cookie-category .cookie-essential-label {
  color: #AFAFAF;
  font-weight: 600;
  font-size: 0.99rem;
}
.cookie-modal-footer {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal-footer .cookie-btn {
  min-width: 95px;
}

/* MEDIA QUERIES: Responsive Design */
@media (max-width: 1150px) {
  .container { max-width: 99vw; }
}
@media (max-width: 950px) {
  .content-wrapper ul {
    gap: 18px;
  }
  .content-wrapper ul li {
    min-width: 160px;
    max-width: 99vw;
  }
  main section .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  header > .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav, .footer-contact, .footer-social {
    flex: 0 0 100%;
    margin-bottom: 9px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 18px 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .content-wrapper ul {
    flex-direction: column;
    gap: 13px;
  }
  .content-wrapper ul li {
    width: 100%;
    min-width: unset;
    max-width: unset;
    padding: 18px 13px 15px 13px;
  }
  .section, main section {
    padding: 22px 0;
    margin-bottom: 38px;
  }
  .testimonial-card {
    padding: 15px 13px;
    margin-bottom: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 13px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.98rem;
    padding: 13px 7px 20px 6px;
  }
  .cookie-btns {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .cookie-modal {
    padding: 14px 7px 10px 7px;
  }
}
/* MICRO-INTERACTIONS */
li, .card, .cta-primary, .cta-secondary, .footer-social a img {
  transition: box-shadow 0.17s, transform 0.18s, color 0.12s, background 0.16s;
}
li:active, .cta-primary:active, .cta-secondary:active {
  transform: scale(0.98);
}

/* ACCESSIBILITY & FOCUS */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #991B1B;
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR FOR DESKTOP */
@media (min-width: 769px) {
  ::-webkit-scrollbar {
    width: 10px;
    background: #F6F6F6;
  }
  ::-webkit-scrollbar-thumb {
    background: #E9E9E9;
    border-radius: 5px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #C2C2C2;
  }
}

/* SPECIAL LAYOUT CLASSES FOR FLEXSPACING (MANDATORY) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* END */
