/* --- CSS 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, 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.6;
  background: #E9EDF2;
  color: #174267;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}

:root {
  --primary: #174267;
  --secondary: #FFFFFF;
  --secondary-bg: #E9EDF2;
  --accent: #B05A21;
  --accent-bright: #D4763C;
  --border-radius: 18px;
  --shadow: 0 6px 24px rgba(23,66,103,0.10);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #174267;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.1rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #174267;
  margin-bottom: 12px;
}
strong { font-weight: 700; }
blockquote {
  font-style: italic;
  font-weight: 500;
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 280px;
}

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

.testimonial-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(23,66,103,0.13);
  border-radius: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  min-width: 280px;
  color: #17324c; /* readable dark */
  font-weight: 500;
}
.testimonial-card blockquote {
  flex: 1 1 100%;
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #234160;
  border-left-color: var(--accent-bright);
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card img {
  height: 20px;
  width: 20px;
  margin-right: 2px;
}

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

ul, ol {
  padding-left: 28px;
}
ul {
  list-style-type: disc;
}
li img {
  vertical-align: middle;
  margin-right: 10px;
  width: 22px;
  height: 22px;
}

a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.18s;
  font-weight: 600;
}
a:hover, a:focus {
  color: var(--accent-bright);
  text-decoration: none;
  outline: none;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright) 95%);
  color: white !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  border: none;
  border-radius: 100px;
  padding: 14px 42px;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(176, 90, 33, 0.09);
  transition: background 0.2s, transform 0.16s, box-shadow 0.18s;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent) 95%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px rgba(176, 90, 33, 0.15);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--primary);
  box-shadow: 0 6px 18px rgba(17,42,74,0.11);
  padding: 0;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}
nav > a > img {
  height: 48px;
  display: block;
}
nav ul {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 20px;
}
nav ul li {
  list-style-type: none;
}
nav ul li a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: 0;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--accent-bright);
  color: #fff;
}
nav .cta-btn {
  margin-left: 28px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright) 85%);
  font-size: 1.04rem;
  padding: 10px 30px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 140;
  background: var(--accent-bright);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  display: none;
  transition: background 0.14s, box-shadow 0.18s;
  box-shadow: 0 1px 12px rgba(212, 118, 60, 0.15);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--accent);
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23, 66, 103, 0.97);
  z-index: 160;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.7,.26,.33,1);
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
  animation: menuIn 0.4s cubic-bezier(.77,.15,.21,.95);
}
@keyframes menuIn {
  from { transform: translateX(-100vw); }
  to   { transform: translateX(0); }
}
.mobile-menu-close {
  background: var(--accent-bright);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin: 10px 22px 18px 22px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.14s;
  box-shadow: 0 1px 10px rgba(212, 118, 60, 0.10);
}
.mobile-menu-close:focus,
.mobile-menu-close:active {
  background: var(--accent);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  padding: 18px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 18px 0;
  border-radius: 12px;
  transition: background 0.16s, color 0.13s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

/* --- MAIN LAYOUT & RESPONSIVE FLEX RULES --- */
main {
  margin-top: 28px;
  margin-bottom: 48px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 36px 0 16px 0;
  margin-top: 24px;
  font-size: 1rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -3px 24px rgba(23,66,103,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 2px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 7px;
  transition: color 0.19s, background 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent-bright);
  color: #fff;
}
.footer-contact {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #E9EDF2;
  letter-spacing: 0.3px;
}
.footer-contact span {
  margin-right: 18px;
}

/* --- BUTTONS & FORM CONTROLS --- */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.15s;
  outline: none;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
}
button:focus, button:hover {
  background: var(--accent-bright);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #174267;
  padding: 28px 12px 18px 12px;
  border-top: 4px solid var(--accent);
  box-shadow: 0 -6px 30px rgba(23,66,103,0.10);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  animation: cookiefadein 0.7s cubic-bezier(.6,.04,.62,1.04);
}
@keyframes cookiefadein {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.cookie-banner button, .cookie-banner .cta-btn {
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  box-shadow: none;
  border: none;
  margin: 0 3px;
  transition: background 0.13s, transform 0.15s;
}
.cookie-banner button:hover, .cookie-banner .cta-btn:hover {
  background: var(--accent-bright);
  transform: translateY(-2px) scale(1.04);
}
.cookie-settings-btn {
  background: #174267;
  color: #fff;
  padding: 10px 22px;
}
.cookie-settings-btn:hover {
  background: var(--accent-bright);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(23, 66, 103, 0.70);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-bg 0.5s cubic-bezier(.32,.41,.60,1.09);
}
@keyframes fadein-bg { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 80px rgba(23,66,103,0.25);
  padding: 36px 30px;
  max-width: 440px;
  width: 88vw;
  color: #174267;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1.07rem;
  animation: modalslide .47s cubic-bezier(.48,.16,.46,1.03);
}
@keyframes modalslide { from { transform: translateY(100px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.cookie-modal h3 { font-family:'Montserrat',Arial,sans-serif;font-weight:700;margin-bottom:12px;font-size:1.18rem; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px; accent-color: var(--accent); margin-right: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* --- GENERAL SPACING & VISUAL HIERARCHY --- */
.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;
}

/* --- HIGH-CONTRAST DETAILS --- */
section {
  border-bottom: 3px solid var(--secondary-bg);
}
.content-wrapper {
  border: 1.5px solid var(--secondary-bg);
}

/* --- CUSTOM GEOMETRIC SHAPES/ACCENTS --- */
.content-wrapper:before {
  content: '';
  display: block;
  width: 42px;
  height: 7px;
  border-radius: 0px 0px 10px 10px;
  background: var(--accent-bright);
  margin-bottom: 24px;
  margin-left: 3px;
}

/* Hide geometry on intro/headers */
.content-wrapper>h1:first-child ~ p,
.content-wrapper>h1:first-child ~ a,
.content-wrapper>h2:first-child ~ ul {
  margin-top: -24px;
}

/* --- MEDIA QUERIES / RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .container { max-width: 990px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  header .container, footer .container { padding: 0 12px; }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 22px 3vw;
  }
  .content-wrapper {
    padding: 20px 8px;
    border-radius: 13px;
  }
  nav ul {
    display: none;
  }
  nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    border-radius: 0 0 12px 12px;
    min-height: 54px;
  }
  main {
    margin-top: 22px;
    margin-bottom: 30px;
  }
  .content-wrapper:before {
    width: 30px;
    height: 5px;
    margin-bottom: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 12px 10px;
  }
}
@media (max-width: 576px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.11rem; }
  .footer-contact { font-size: 0.93rem; }
  .cta-btn {
    font-size: 0.97rem;
    padding: 11px 21px;
  }
  .cookie-modal {
    padding: 24px 6vw;
  }
}

/* --- SUBTLE MICRO-INTERACTIONS/TRANSITIONS --- */
.card, .content-wrapper, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.20s;
}
.card:hover, .content-wrapper:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(212,118,60,0.13), 0 1.5px 8px #DEE8F5;
  transform: translateY(-3px) scale(1.008);
}

.cta-btn:active {
  transform: scale(0.97);
}

/* --- HIDE MOBILE MENU FOR DESKTOP --- */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- UTILITIES --- */
.text-section {
  margin-bottom: 10px; 
}

/* Force no grid/columns everywhere */
[class*="card"], [class*="grid"], [class*="container"], [class*="section"], [class*="feature"], [class*="content"] {
  /* no grid or columns allowed */
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

/* Prevent overlapping */
[class*="card"], [class*="content"] {
  margin-bottom: 20px;
}

/* --- END CSS --- */
