/* 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, menu, 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,
main, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #EAF0F6;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #EAF0F6;
  color: #1A283A;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #C01F27;
  transition: color 0.2s;
  font-weight: bold;
  word-break: break-word;
}
a:hover, a:focus {
  color: #1A283A;
}

/* TYPOGRAPHY -------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #1A283A;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  font-weight: 700;
}
p, ul, ol, li, address, dl, dd, dt {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 900;
}


/* CONTAINERS AND LAYOUTS -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(26,40,58,0.08);
}

/* FLEX PATTERNS mandated --------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26,40,58,0.09);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}
.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;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26,40,58,0.09);
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-card.featured {
  border-left: 6px solid #C01F27;
  background: #EAF0F6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GAPS for mobile and desktop (use with flex-wrap) */
.feature-grid, .service-list, .simple-stepper, .step-by-step-process {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.feature-grid li, .service-list li, .simple-stepper li, .step-by-step-process li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,40,58,0.07);
  padding: 28px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid li:hover, .service-list li:hover, .simple-stepper li:hover, .step-by-step-process li:hover {
  box-shadow: 0 8px 24px rgba(192,31,39,0.11);
  transform: translateY(-3px) scale(1.02);
}

.price {
  color: #C01F27;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  margin-top: 10px;
}

/* HERO ------------------------------------------------------------ */
.hero {
  background: #1A283A;
  color: #fff;
  padding: 70px 0 60px 0;
  margin-bottom: 60px;
  position: relative;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 18px;
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero .cta {
  margin-top: 10px;
}

/* BUTTONS & CTA --------------------------------------------------- */
.cta, button, .button, input[type=submit] {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  border-radius: 30px;
  border: none;
  padding: 14px 32px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 4px;
  background: #C01F27;
  color: #fff;
  box-shadow: 0 2px 8px rgba(192,31,39,0.09);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.cta.primary, button.primary, input[type=submit].primary {
  background: #C01F27;
  color: #fff;
}
.cta.secondary {
  background: #1A283A;
  color: #fff;
}
.cta:active, button:active {
  transform: scale(0.97);
}
.cta:hover, .cta:focus, button:hover, input[type=submit]:hover, input[type=submit]:focus {
  background: #9e1b22;
  box-shadow: 0 4px 12px rgba(192,31,39,0.14);
  outline: none;
}

/* HEADER & NAVIGATION --------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 7px rgba(26,40,58,0.03);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 22;
}
header .logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  padding-right: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1A283A;
  background: none;
  border-radius: 24px;
  padding: 8px 18px;
  transition: background 0.18s;
}
.main-nav a.cta.primary {
  background: #C01F27;
  color: #fff;
  border-radius: 30px;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(192,31,39,0.07);
}
.main-nav a:hover:not(.primary) {
  background: #F3F7FB;
  color: #C01F27;
}
.main-nav a:focus {
  outline: 2px solid #C01F27;
}

/* MOBILE NAVIGATION ----------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #C01F27;
  padding: 10px 20px 10px 0;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #1A283A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 24px rgba(26,40,58,0.13);
  z-index: 120;
  transition: transform 0.35s cubic-bezier(.4,1.4,.6,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(-100vw);
  left: 0;
  pointer-events: auto;
  visibility: visible;
  animation: slideInMenu 0.35s cubic-bezier(.4,1.4,.6,1);
}
@keyframes slideInMenu {
  from { transform: translateX(100vw); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  font-size: 2.2rem;
  color: #C01F27;
  padding: 18px 28px 0px 0px;
  cursor: pointer;
  z-index: 121;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1A283A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A283A;
  padding: 14px 0 10px 0;
  border-bottom: 1px solid #EAF0F6;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C01F27;
  background: #F3F7FB;
}

/* Hide nav on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ABOUT + GENERIC TEXT SECTIONS ----------------------------------- */
.text-section ul, .content-wrapper ul {
  padding-left: 18px;
  margin-bottom: 16px;
}
.text-section ul li:before, .content-wrapper ul li:before {
  content: '\25B6';
  display: inline-block;
  color: #C01F27;
  margin-right: 8px;
  font-size: 0.9em;
  vertical-align: middle;
}
.text-section ul li, .content-wrapper ul li {
  list-style: none;
  margin-bottom: 7px;
}


/* FEATURE CARDS + STEP CARDS -------------------------------------- */
.feature-grid li img, .simple-stepper li img, .step-by-step-process li img, .service-list li img {
  height: 44px;
  width: 44px;
  margin-bottom: 3px;
}


/* STEP-BY-STEP / PROCESS ------------------------------------------ */
.simple-stepper, .step-by-step-process {
  counter-reset: stepper;
}
.simple-stepper li:before, .step-by-step-process li:before {
  counter-increment: stepper;
  content: counter(stepper);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #C01F27;
  color: #fff;
  border-radius: 50%;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 12px;
  margin-right: 0;
}

/* TABLES ---------------------------------------------------------- */
.service-comparison {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26,40,58,0.09);
  margin-bottom: 24px;
  margin-top: 8px;
}
.service-comparison th, .service-comparison td {
  padding: 14px 18px;
  font-size: 1rem;
  border-bottom: 1px solid #EAF0F6;
  text-align: left;
}
.service-comparison th {
  background: #1A283A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
}
.service-comparison td {
  font-family: 'Roboto', Arial, sans-serif;
}
.service-comparison tr:last-child td {
  border-bottom: none;
}


/* TESTIMONIALS ---------------------------------------------------- */
.testimonials-preview .testimonial-card, .testimonial-card {
  box-shadow: 0 2px 10px rgba(26,40,58,0.10);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 20px;
  padding: 20px 32px;
  color: #1A283A;
  font-size: 1.07rem;
}
.testimonial-meta {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1A283A;
  margin-top: 7px;
  margin-bottom: 0;
  font-weight: bold;
}
.star-rating {
  color: #C01F27;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2px;
}
.star-rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}


/* CONTACT / ADDRESS ----------------------------------------------- */
.address-block {
  margin-top: 16px;
  margin-bottom: 14px;
  background: #f5faff;
  border-radius: 12px;
  padding: 18px 16px;
  font-size: 1.06rem;
  box-shadow: 0 1px 3px rgba(26,40,58,0.08);
  color: #1A283A;
  font-family: 'Roboto', Arial, sans-serif;
  word-break: break-word;
}
.map-placeholder {
  width: 100%;
  max-width: 430px;
  min-height: 200px;
  border-radius: 15px;
  background: #EAF0F6;
  box-shadow: 0 2px 6px rgba(26,40,58,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  margin-top: 8px;
}
.map-placeholder img {
  width: 90%;
  max-width: 340px;
  opacity: 0.95;
}


/* FAQ LIST -------------------------------------------------------- */
.faq-list {
  width: 100%;
  margin-bottom: 24px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A283A;
  font-size: 1.1rem;
  margin-top: 18px;
  margin-bottom: 7px;
}
.faq-list dd {
  margin-bottom: 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
}


/* FOOTER ---------------------------------------------------------- */
footer {
  background: #1A283A;
  color: #fff;
  padding: 50px 0 0 0;
}
footer .container {
  max-width: 1200px;
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  padding-bottom: 24px;
}
.footer-brand {
  flex: 1 1 180px;
  display: flex;
  align-items: center;
  min-width: 140px;
}
.footer-brand img {
  height: 56px;
  width: auto;
  filter: brightness(1.4);
}
.footer-links, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.footer-links a, .footer-legal a {
  color: #EAF0F6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-legal a:hover {
  color: #C01F27;
}
.footer-contact {
  flex: 1 1 220px;
  color: #EAF0F6;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 6px;
}
.footer-contact a {
  color: #C01F27;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.footer-social a img {
  width: 32px; height: 32px;
  filter: grayscale(0.2) contrast(1.2);
  transition: filter 0.12s, transform 0.12s;
}
.footer-social a:hover img {
  filter: grayscale(0) contrast(1.7);
  transform: scale(1.09);
}

/* Cookie Consent Banner -------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 300;
  background: #1A283A;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-shadow: 0 -3px 24px rgba(26,40,58,0.13);
  font-size: 1rem;
  transition: transform 0.4s;
  border-radius: 16px 16px 0 0;
  gap: 24px;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1;
  margin-right: 12px;
  font-size: 1.04rem;
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner .cta, .cookie-banner button {
  padding: 8px 22px;
  font-size: 1rem;
  min-width: 120px;
  border-radius: 26px;
  font-weight: 800;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #C01F27;
  border: 2px solid #C01F27;
}
.cookie-banner .cookie-settings:hover {
  background: #EAF0F6;
  color: #1A283A;
}

/* Cookie Modal ----------------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 311;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw; height:100vh;
  background: rgba(26,40,58,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal-backdrop.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  width: 97vw;
  max-width: 400px;
  background: #fff;
  border-radius: 16px;
  padding: 34px 28px 28px 28px;
  position: relative;
  box-shadow: 0 6px 32px rgba(26,40,58,0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 315;
  animation: modalPop 0.3s;
}
@keyframes modalPop {
  0% { transform: scale(0.92) translateY(24px); opacity: 0; }
  80% { transform: scale(1.03) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1A283A;
  margin-bottom: 12px;
}
.cookie-modal-categories {
  width: 100%;
  margin-bottom: 12px;
}
.cookie-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #1A283A;
}
.cookie-category-toggle {
  width: 36px;
  height: 20px;
  background: #EAF0F6;
  border-radius: 12px;
  position: relative;
  transition: background 0.17s;
  cursor: pointer;
  border: none;
}
.cookie-category-toggle[aria-checked="true"], .cookie-category-toggle.toggle-on {
  background: #C01F27;
}
.cookie-category-toggle::before {
  content: '';
  display: block;
  height: 16px; width: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.15s;
}
.cookie-category-toggle[aria-checked="true"]::before, .cookie-category-toggle.toggle-on::before {
  left: 18px;
}
.cookie-modal-footer {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #C01F27;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1A283A;
}


/* VISUAL ELEMENTS: BADGES & TRUST ---------------------------------------- */
.trust-badges {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
.trust-badges img {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #EAF0F6;
  padding: 6px;
  box-shadow: 0 1px 4px rgba(26,40,58,0.09);
}


/* MEDIA QUERIES RESPONSIVE ---------------------------------------- */
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .feature-grid li, .service-list li, .simple-stepper li, .step-by-step-process li, .card {
    min-width: 195px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

@media (max-width: 850px) {
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-bottom: 14px;
  }
  .footer-social {
    margin-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 22px 6px;
  }
  .feature-grid, .service-list, .simple-stepper, .step-by-step-process, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .service-list li, .simple-stepper li, .step-by-step-process li, .card {
    min-width: 92vw;
    max-width: 99vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .hero {
    padding: 40px 0 28px 0;
  }
  .hero h1 {
    font-size: 1.65rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 14px 12px 10px 10px;
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.08rem; }
  .section { padding: 14px 3px; }
  .container { padding: 0 3px; }
  .card, .feature-grid li, .service-list li {
    min-width: 92vw;
    padding: 14px 6px;
  }
  .testimonial-card, .testimonials-preview .testimonial-card {
    padding: 12px 6px;
  }
  .cookie-modal {
    padding: 18px 4vw 16px 4vw;
  }
}

/* MICRO-ANIMATIONS ------------------------------------------------ */
.card, .feature-grid li, .service-list li, .simple-stepper li, .step-by-step-process li, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature-grid li:hover, .service-list li:hover, .simple-stepper li:hover, .step-by-step-process li:hover, .testimonial-card:hover {
  box-shadow: 0 6px 26px 0px rgba(192,31,39,0.10);
  transform: translateY(-2px) scale(1.01);
}

/* SELECTION STYLING ----------------------------------------------- */
::selection {
  background: #C01F27;
  color: #fff;
}

/* GEOMETRIC ACCENTS: strong shapes on cards/sections --------------- */
.card, .feature-grid li, .service-list li {
  border-radius: 20px 10px 20px 10px;
}
.section {
  border-radius: 30px 12px 30px 12px;
}

/* Misc Elements --------------------------------------------------- */
hr {
  border: none;
  border-top: 2px solid #C01F27;
  margin: 18px 0;
}

/* Hide visually but accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}