/* 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, main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #FAFAFA;
  color: #222;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  color: inherit;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #1E4057;
  --color-secondary: #679189;
  --color-accent: #FAFAFA;
  --color-bg: #FAFAFA;
  --color-dark: #181F23;
  --color-neutral: #EBF0F3;
  --color-border: #E5E7EA;
  --color-grey: #728197;
  --color-text: #222222;
  --color-link: #1E4057;
  --radius-sm: 8px;
  --radius-md: 16px;
  --shadow-subtle: 0 2px 12px 0 rgba(30,64,87,0.05);
  --shadow-card: 0 2px 16px 0 rgba(30,64,87,0.09);
  --spacing-1: 8px;
  --spacing-2: 16px;
  --spacing-3: 24px;
  --spacing-4: 32px;
  --spacing-5: 40px;
  --spacing-6: 60px;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-3);
  line-height: 1.16;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: var(--spacing-2);
  line-height: 1.2;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-1);
}
strong {
  font-weight: 700;
}

.container {
  max-width: 1080px;
  width: 100%;
  padding: 0 var(--spacing-2);
  margin: 0 auto;
  box-sizing: border-box;
}

/* SECTION LAYOUTS */
section {
  margin-bottom: var(--spacing-6);
  padding: var(--spacing-5) var(--spacing-2);
  background: transparent;
}
.content-wrapper {
  margin-bottom: var(--spacing-4);
  padding: var(--spacing-3) 0;
}
.content-wrapper:last-child {
  margin-bottom: 0;
}
.text-section {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* FLEXBOX PATTERNS & CARDS */
.features-grid, .services-list, .services-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: var(--spacing-3);
}
.features-grid > div, .services-list > div, .services-card-grid > div {
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  border-radius: var(--radius-sm);
  padding: var(--spacing-3);
  flex: 1 1 calc(50% - 24px);
  min-width: 240px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid > div:hover, .services-list > div:hover, .services-card-grid > div:hover {
  box-shadow: 0 6px 32px 0 rgba(30,64,87,0.10);
  transform: translateY(-2px) scale(1.01);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  padding: var(--spacing-3);
}

.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;
  margin-bottom: 20px;
  background: #F8FAFB;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  border: 1px solid #DFE5EA;
  max-width: 600px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(30,64,87,0.10);
}
.testimonial-card blockquote {
  color: var(--color-dark);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}
.testimonial-card cite {
  font-style: normal;
  color: var(--color-secondary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: var(--spacing-3) 0;
}
.contact-info > div {
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  padding: var(--spacing-2);
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  min-width: 180px;
  gap: 16px;
}
.contact-info img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  padding: 24px 0;
  margin-top: 16px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3);
  margin-top: var(--spacing-2);
}
.faq-accordion > div {
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 8px 32px 0 rgba(30,64,87,0.09);
}

/* NAVIGATION HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(30,64,87,0.03);
  position: sticky;
  top: 0;
  z-index: 102;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px var(--spacing-2);
}
nav > a img {
  height: 40px;
  width: auto;
  display: block;
}
nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0 24px;
}
nav ul li {
  margin: 0;
}
nav ul li a {
  color: var(--color-primary);
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 6px;
  border-radius: 4px;
  transition: background .18s, color .18s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.button-primary {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px 0 rgba(30,64,87,0.07);
  transition: background 0.22s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
  margin-left: 18px;
  display: inline-block;
}
.button-primary:hover, .button-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(30,64,87,0.14);
  transform: translateY(-1px) scale(1.012);
}
.button-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 11px 26px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.15s, transform 0.12s;
  cursor: pointer;
  margin-top: var(--spacing-2);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
  box-shadow: 0 2px 12px 0 rgba(30,64,87,0.09);
  transform: translateY(-0.5px) scale(1.01);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: var(--spacing-2);
  top: 11px;
  font-size: 2rem;
  background: none;
  border: none;
  z-index: 111;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F1F7FA;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,64,87,0.95);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.65,.05,.36,1), opacity 0.22s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  margin: 24px 24px 0 0;
  align-self: flex-end;
  z-index: 200;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 36px;
  margin-top: 16px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 18px 6px 13px 6px;
  margin-bottom: 8px;
  width: 100%;
  border-radius: 6px;
  transition: background 0.21s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Hide nav on mobile, show burger */
@media (max-width: 970px) {
  nav ul, nav .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    padding-right: 62px;
  }
}

@media (min-width: 971px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* RESPONSIVE: LAYOUTS */
@media (max-width: 768px) {
  section {
    padding: var(--spacing-4) var(--spacing-1);
  }
  h1 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-2);
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-1);
  }
  .features-grid, .services-list, .services-card-grid, .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div, .services-list > div, .services-card-grid > div {
    min-width: 0;
    flex-basis: auto;
    width: 100%;
    padding: var(--spacing-2);
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    font-size: 0.98rem;
  }
  .contact-info > div {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.14rem; }
  h2 { font-size: 1rem; }
  .container {
    padding: 0 8px;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-4) 0 0 0;
  box-shadow: 0 -2px 8px 0 rgba(30,64,87,0.03);
  margin-top: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  color: var(--color-grey);
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .15s, color .14s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-primary);
  background: #F1F7FA;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--color-grey);
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
}
.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (max-width: 625px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  footer .container {
    align-items: flex-start;
    gap: 9px;
  }
  footer {
    padding-left: 12px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  box-shadow: 0 -2px 20px 0 rgba(30,64,87,0.11);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  padding: 22px 28px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  font-size: 1rem;
  color: var(--color-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-message {
  flex: 1 1 auto;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn, .cookie-btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  background: var(--color-neutral);
  color: var(--color-dark);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: none;
}
.cookie-btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(30,64,87,0.06);
}
.cookie-btn-primary:hover, .cookie-btn-primary:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F1F7FA;
  color: var(--color-primary);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 10px 24px 13px;
    font-size: 0.96rem;
  }
  .cookie-banner-buttons {
    gap: 10px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 6000;
  background: rgba(30,64,87,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  padding: 40px 30px 28px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 34px 0 rgba(30,64,87,0.15);
  min-width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal-content h3 {
  color: var(--color-primary);
  font-size: 1.26rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-category:last-child {
  margin-bottom: 0;
}
.cookie-toggle {
  width: 46px;
  height: 28px;
  background: #EDEDED;
  border-radius: 18px;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-secondary);
}
.cookie-toggle-knob {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-knob {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #666;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 7000;
  transition: color .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-primary);
}
@media (max-width: 520px) {
  .cookie-modal-content {
    padding: 20px 10px 16px 10px;
  }
}

/* Miscellaneous */
a, .button-primary, .button-secondary, .footer-links a, .mobile-nav a, .cookie-btn, .cookie-btn-primary {
  outline: none;
  transition: box-shadow 0.18s, background 0.18s, color 0.16s, border 0.14s;
}
a:focus, .button-primary:focus, .button-secondary:focus, .footer-links a:focus, .mobile-nav a:focus, .cookie-btn:focus, .cookie-btn-primary:focus {
  box-shadow: 0 0 0 2px var(--color-secondary);
}

/* Typography hierarchy */
ul, ol {
  list-style-position: inside;
  margin: 0 0 var(--spacing-1) 0;
}
ul li, ol li {
  margin-bottom: 7px;
  line-height: 1.7;
}
.text-section ul {
  margin-bottom: var(--spacing-2);
}


/** Custom styles for FAQ/Accordion (all open)**/
.faq-accordion h3 {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.faq-accordion p {
  font-size: 1rem;
  color: var(--color-text);
}

/* Subtle hover for icons */
.features-grid img, .services-list img, .contact-info img {
  filter: grayscale(10%) brightness(0.93);
  transition: filter 0.16s;
}
.features-grid > div:hover img, .services-list > div:hover img {
  filter: none;
}

/* Z-INDEX SAFETY FOR ALL OVERLAYS */
.mobile-menu, .cookie-modal {
  z-index: 5000;
}

/* Utility classes */
.mt-2 { margin-top: var(--spacing-2); }
.mt-3 { margin-top: var(--spacing-3); }
.mt-4 { margin-top: var(--spacing-4); }

/* Hide visually but accessible for screen readers */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Ensure cards never overlap by adding spacing */
.features-grid > div:not(:last-child), .services-list > div:not(:last-child), .services-card-grid > div:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Ensure testimonial readability */
.testimonial-card {
  background: #F8FAFB;
  color: #222;
}

/* --- End --- */
