/* CSS RESET & BASELINE -------------------------- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F7FA;
  color: #174057;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
}
*::selection {
  background: #B11329;
  color: #fff;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 1.5em;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* CONTAINERS & LAYOUT -------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* GENERAL SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(23, 64, 87, 0.08);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(23,64,87,0.04);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(23,64,87,0.13);
  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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F3F7FA;
  border-left: 5px solid #B11329;
  border-radius: 10px;
  padding: 20px 24px 20px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(23,64,87,0.06);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(23,64,87,0.13);
}
.testimonial-details {
  color: #174057;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.8;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TYPOGRAPHY ----------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #174057;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.18rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.91rem; }
p, li, address, blockquote, summary, details { font-size: 1rem; }
p { margin-bottom: 8px; }
strong, b { font-weight: 700; }
a {
  color: #174057;
  text-decoration: underline;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #B11329;
  outline: none;
}
blockquote {
  border-left: 3px solid #174057;
  padding-left: 10px;
  color: #174057;
  font-style: italic;
  background: transparent;
}
details summary {
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
  outline: none;
  transition: color 0.15s;
}
details[open] summary, details summary:hover {
  color: #B11329;
}
details div {
  padding: 6px 0 0 6px;
  font-size: 0.97rem;
}

/* BUTTONS/CTAS --------------------------------- */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 1.18rem;
  font-weight: 700;
  background: #174057;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(23,64,87,0.09);
  border: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  margin-right: 12px;
}
.cta.primary {
  background: #B11329;
}
.cta:hover,
.cta:focus {
  background: #15425f;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(23,64,87,0.17);
}
.cta.primary:hover, .cta.primary:focus {
  background: #931124;
}

/* HEADER, NAVIGATION --------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(23,64,87,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
.logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #174057;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.12s, border-color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B11329;
  border-bottom: 2px solid #B11329;
  outline: none;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: #174057;
  color: #fff;
  padding: 6px 17px;
  border-radius: 7px;
  border: none;
  margin-left: auto;
  margin-right: 0;
  transition: background 0.12s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #B11329;
}

/* MOBILE MENU ----------------------------------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #174057;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.65,.01,.32,1); /* slide in */
  opacity: 0.99;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: #B11329;
  font-size: 1.6rem;
  border-radius: 5px;
  align-self: flex-end;
  margin: 24px 32px 0 0;
  padding: 3px 14px;
  border: none;
  transition: background 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #931124;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px auto 0 auto;
  align-items: center;
  width: 90%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B11329;
  color: #fff;
}

/* HERO, FEATURES, OTHER SECTIONS --------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}
section ul img, section ol img {
  vertical-align: middle;
  height: 1.4em;
  margin-right: 9px;
  margin-bottom: 0.15em;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #E8EDF1;
  color: #728A9F;
  padding: 24px;
  border-radius: 8px;
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* FOOTER --------------------------------------- */
footer {
  background: #174057;
  color: #fff;
  padding: 48px 0 18px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #F3F7FA;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.85;
  transition: color 0.15s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #B11329;
  opacity: 1.0;
}
.footer-contact address, .footer-contact div {
  color: #F3F7FA;
  font-size: 1rem;
  margin-bottom: 5px;
  font-style: normal;
}
.footer-contact a {
  color: #F3F7FA;
  font-weight: 500;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #B11329;
}

/* COOKIE CONSENT BANNER -------------------- */
.cookie-banner {
  position: fixed;
  z-index: 1500;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  max-width: 100vw;
  background: #F3F7FA;
  color: #174057;
  box-shadow: 0 -2px 16px 0 rgba(23,64,87,0.13);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: transform 0.3s, opacity 0.22s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn {
  padding: 9px 24px;
  font-size: 1rem;
  border-radius: 5px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  transition: box-shadow 0.13s, background 0.18s, color 0.16s;
}
.cookie-btn.accept {
  background: #B11329;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #931124;
}
.cookie-btn.reject {
  background: #174057;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #305F76;
}
.cookie-btn.settings {
  background: #F3F7FA;
  color: #174057;
  border: 1px solid #174057;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E8EDF1;
}

/* COOKIE PREFERENCE MODAL ------------------ */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,64,87, 0.44);
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 36px 0 rgba(23,64,87,0.18);
  max-width: 410px;
  width: 92vw;
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalIn 0.33s cubic-bezier(.37,.98,.46,1.01);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  margin-bottom: 2px;
  font-size: 1.42rem;
}
.cookie-modal-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #E8EDF1;
  border-radius: 24px;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #174057;
  border-radius: 50%;
  transition: transform 0.2s, background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-toggle-slider {
  transform: translateX(20px);
  background: #B11329;
}
.cookie-modal .cookie-btn {
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 1.4rem;
  background: none;
  color: #174057;
  border-radius: 4px;
  padding: 2px 11px;
  border: 1px solid #F3F7FA;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #E8EDF1;
  color: #B11329;
}

/* UTILITY & ANIMATION -------------------------- */
@media (max-width: 968px) {
  .container { max-width: 96vw; }
  header .container {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 8px; }
  .content-wrapper, .text-section {
    gap: 20px;
  }
  section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
  h1 { font-size: 1.72rem; }
  h2 { font-size: 1.32rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer-brand img {
    height: 28px;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 18px 12px 18px 12px;
  }
  .card {
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-modal {
    padding: 20px 7vw;
    max-width: 97vw;
  }
}

/* VISUAL ENHANCEMENTS -------------------------- */
.section, .card, .testimonial-card, .cookie-modal {
  box-shadow: 0 2px 12px 0 rgba(23,64,87,0.08);
}
.section, .card, .testimonial-card, .cookie-modal, .cookie-banner {
  border-radius: 12px;
}
.card, .testimonial-card {
  transition: box-shadow 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(23,64,87,0.11);
}

/* SPACING PATTERNS (as per requirements) ------- */
.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; }

/* FIX: All major flex layouts (and prevent grid/columns) ------------------------- */
/* ONLY flexbox patterns are used above. grid/columns are NOT present. */

/* END OF STYLE.CS
*/