/* =======================
  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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #1E293B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: #1E293B;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:focus,
a:hover {
  color: #B91C1C;
  outline: none;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}

/* Box-sizing border-box globally (repeat for inputs/buttons to ensure coverage) */
*, *:before, *:after {
  box-sizing: border-box;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ===============
  TYPOGRAPHY
================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 24px;
  color: #181818;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #232323;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  color: #343a40;
}

.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #5E5E5E;
  font-weight: 400;
  margin-bottom: 32px;
}

p, li, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  color: #242424;
}
strong {
  font-weight: 700;
  color: #181818;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #2d2d2d;
}

/* ========================
    LAYOUT CONTAINERS
======================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper,
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-section {
  align-items: flex-start;
  gap: 20px;
}

.card-container  {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,41,59,0.07), 0 1.5px 4px rgba(0,0,0,0.03);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.12s ease;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(30,41,59,0.11), 0 2.5px 8px rgba(0,0,0,0.04);
  transform: translateY(-4px) scale(1.01);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ================
  HEADER/NAVIGATION
================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1.5px solid #ECECEC;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(30,41,59,0.06);
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
}
header img {
  height: 39px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  position: relative;
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.18s, box-shadow 0.16s;
}
nav a:hover,
nav a:focus {
  color: #B91C1C;
  background: #ECECEC;
  box-shadow: 0 2px 10px rgba(185,28,28,0.09);
}

.cta {
  background: #1E293B;
  color: #fff !important;
  border-radius: 8px;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 14px rgba(30,41,59,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.12s;
  border: 1.5px solid #1E293B;
  margin-left: 16px;
  display: inline-block;
}
.cta:hover,
.cta:focus {
  background: #B91C1C;
  color: #fff;
  box-shadow: 0 4px 18px rgba(185,28,28,0.14);
  transform: scale(1.035);
  border-color: #B91C1C;
}

button.mobile-menu-toggle {
  font-size: 2rem;
  background: #fff;
  color: #1E293B;
  border-radius: 10px;
  padding: 6px 14px;
  border: 1.5px solid #ECECEC;
  margin-left: 10px;
  display: none;
  transition: background 0.18s, color 0.18s;
}
button.mobile-menu-toggle:focus {
  background: #ECECEC;
}

/* ================
   MOBILE MENU
================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(24,24,24,0.80);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.5, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.15rem;
  color: #fff;
  background: transparent;
  margin: 34px 24px 0 0;
  align-self: flex-end;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 201;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #232323;
  box-shadow: 0 1px 6px rgba(0,0,0,0.09);
}
.mobile-nav {
  background: #fff;
  border-radius: 20px 0 0 20px;
  padding: 44px 36px 30px 36px;
  box-shadow: -3px 0 20px rgba(30,41,59,0.30);
  margin-top: 38px;
  min-height: 320px;
  min-width: 78vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  z-index: 202;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  color: #1E293B;
  padding: 15px 6px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #B91C1C;
  background: #ECECEC;
}

/* ===============
    FOOTER
================ */
footer {
  background: #181818;
  color: #F1F5F9;
  border-top: 2px solid #ECECEC;
  padding: 44px 0 32px 0;
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #F1F5F9;
}
.footer-brand img {
  width: 36px;
  height: auto;
}
.footer-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-menu li a {
  color: #F1F5F9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.99rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.13s, color 0.15s;
}
.footer-menu li a:hover,
.footer-menu li a:focus {
  background: #232323;
  color: #B91C1C;
}
.footer-contact {
  font-size: 0.97rem;
  color: #F1F5F9;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 320px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}

/* =============================
    SECTION & CARD SPACING
============================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0px 0px rgba(0,0,0,0.01);
}
.container > section {
  padding-left: 0;
  padding-right: 0;
}

.card-container { margin-bottom: 40px; }

/* ===============
     UL/LISTS
================ */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 13px;
}

ul li img, ol li img {
  width: 23px;
  height: 23px;
  margin-right: 4px;
}

/* Feature List Style */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
    TESTIMONIAL CARDS
===================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F1F5F9;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(30,41,59,0.08);
  color: #232323;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-style: italic;
  color: #181818;
  margin-bottom: 2px;
}
.testimonial-card div {
  font-size: 1.1rem;
  color: #B91C1C;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #3b3b3b;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-left: auto;
}

/* =====================
    BUTTONS
===================== */
button, .button, input[type="submit"] {
  background: #1E293B;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  cursor: pointer;
  outline: none;
  margin: 0 6px 0 0;
}
button:hover, .button:hover, input[type="submit"]:hover,
button:focus, .button:focus, input[type="submit"]:focus {
  background: #B91C1C;
  color: #fff;
  box-shadow: 0 2px 10px rgba(185,28,28,0.08);
  transform: scale(1.03);
}


/* =====================
    COOKIE CONSENT
===================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #181818;
  color: #fff;
  padding: 22px 16px 18px 16px;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 14px rgba(23,23,23,0.19);
  gap: 20px;
  flex-wrap: wrap;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cc-text {
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 500px;
  color: #ECECEC;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-left: 17px;
}
.cookie-btn {
  background: #fff;
  color: #1E293B;
  border: 1px solid #1E293B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 8px 18px;
  transition: background 0.18s, color 0.18s, border 0.14s;
}
.cookie-btn.cookie-accept {
  background: #1E293B;
  color: #fff;
  border-color: #232323;
}
.cookie-btn.cookie-accept:hover,
.cookie-btn.cookie-accept:focus {
  background: #B91C1C;
  color: #fff;
  border-color: #B91C1C;
}
.cookie-btn.cookie-reject {
  background: #fff;
  color: #B91C1C;
  border-color: #B91C1C;
}
.cookie-btn.cookie-reject:hover,
.cookie-btn.cookie-reject:focus {
  background: #ECECEC;
  color: #B91C1C;
  border-color: #B91C1C;
}
.cookie-btn.cookie-settings {
  background: #ECECEC;
  color: #1E293B;
  border-color: #ECECEC;
}
.cookie-btn.cookie-settings:hover,
.cookie-btn.cookie-settings:focus {
  background: #F1F5F9;
  color: #1E293B;
  border-color: #232323;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: #fff;
  color: #232323;
  padding: 38px 34px 30px 34px;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(30,41,59,0.22);
  z-index: 3500;
  min-width: 325px;
  max-width: 95vw;
  min-height: 210px;
  display: none;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  transition: opacity 0.28s, transform 0.19s cubic-bezier(.45,0,.19,1);
}
.cookie-modal.show {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-toggle {
  min-width: 38px;
  height: 22px;
  appearance: none;
  border: 1.5px solid #1E293B;
  border-radius: 12px;
  background: #ECECEC;
  outline: none;
  position: relative;
  transition: background 0.15s, border 0.14s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #B91C1C;
  border-color: #B91C1C;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1);
  position: absolute;
  top: 1px;
  left: 2px;
}
.cookie-toggle:checked::after {
  transform: translateX(14px);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.55rem;
  background: transparent;
  color: #1E293B;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 5px 13px;
  transition: background 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #ECECEC;
}


/* ============
UTILITIES
============ */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }

hr {
  border: none;
  border-top: 1.5px solid #ECECEC;
  margin: 32px 0;
}

/* ========================
  RESPONSIVE/MOBILE FIRST
======================== */
@media (max-width: 1150px) {
  .container {
    max-width: 96vw;
    padding: 0 14px;
  }
  header .container {
    gap: 12px;
  }
}
@media (max-width: 950px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .footer-brand {
    margin-bottom: 10px;
  }
}
@media (max-width: 850px) {
  nav {
    gap: 13px;
  }
  .footer-menu {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 13px;
    min-height: 58px;
  }
  nav {
    display: none;
  }
  .cta {
    font-size: 0.98rem;
    min-width: 130px;
    padding: 8px 17px;
    margin-left: 0;
  }
  button.mobile-menu-toggle {
    display: inline-block;
  }
  section {
    padding: 32px 0;
    margin-bottom: 38px;
  }
  .footer-menu {
    gap: 10px;
    flex-wrap: wrap;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px;
  }
  .content-grid, .card-container, .footer-contact {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 570px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
  }
  .footer-contact {
    gap: 4px;
    font-size: 0.95rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px 13px 10px;
  }
  .cookie-actions {
    margin-left: 0;
  }
  .cookie-modal {
    padding: 19px 10px 19px 10px;
    min-width: unset;
    max-width: 98vw;
  }
}

/* =======
 SCROLLBAR
======== */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background: #DFDFDF;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: #F8F8F8;
  border-radius: 10px;
}

/* ================
   FOCUS STATES
================== */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, .footer-menu li a:focus {
  outline: 2px solid #B91C1C;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #ececec;
}

/* ================
   SHADOWS
================== */
.shadow-md {
  box-shadow: 0 4px 24px rgba(30,41,59,0.09);
}
.shadow-lg {
  box-shadow: 0 8px 48px rgba(30,41,59,0.13);
}

/* ================
  MONOCHROME EFFECTS
================== */
.card, .content-wrapper, .footer-menu,
.card-container, .footer-brand, .footer-contact {
  color-scheme: only dark light;
}


/* ================
  ANIMATIONS
================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  animation: fadeIn 0.4s cubic-bezier(.49,0,.51,1);
}
@keyframes slideInMenu {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.mobile-menu.active {
  animation: slideInMenu 0.32s cubic-bezier(0.59,0,.49,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner {
  animation: slideUpBanner 0.33s cubic-bezier(.47,0,.38,1);
}

/* ===============
  CUSTOM CLASSES
================ */
.bg-accent { background: #F1F5F9; }
.text-brand { color: #1E293B; }
.text-accent { color: #B91C1C; }

/* =========================
   PRINT HEADINGS IN DARK
========================= */
@media print {
  body, .container, .content-wrapper, .card, .testimonial-card, .footer-brand, .footer-contact {
    background: #fff !important;
    color: #181818 !important;
  }
}
