/* =========================
   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;
}
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #181818;
  background: #fff;
  min-height: 100vh;
  -webkit-tap-highlight-color: rgba(32,120,104,0.1);
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a { color: #15444C; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #207868; text-decoration: underline; }
strong, b { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; border: none; }

/* ===============================
   Font Face (Brand)
   =============================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #181818;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-top: 0; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.38rem; line-height: 1.24; }
h4 { font-size: 1.1rem; line-height: 1.36; }
ul, ol { margin-left: 1.25rem; margin-bottom: 1.5rem; }
li { margin-bottom: 10px; }
p, blockquote, dl, dd { font-size: 1rem; margin-bottom: 1.25rem; }
blockquote {
  border-left: 4px solid #207868;
  background: #F7F7F7;
  color: #181818;
  font-style: italic;
  margin: 0 0 20px 0;
  padding: 16px 24px;
}

hr {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 32px 0;
}

/* ===============================
   Color Palette (Monochrome)
   =============================== */
:root {
  --primary: #207868;
  --secondary: #2A2A2A;
  --accent: #F6DFBE;
  --bg: #fff;
  --bg-dark: #181818;
  --border: #d0d0d0;
  --gray: #757575;
  --gray-light: #f7f7f7;
  --gray-dark: #222;
  --button: #181818;
  --button-hover: #207868;
  --button-alt: #fff;
  --button-alt-hover: #222;
  --shadow: 0 2px 12px rgba(32,32,32,0.04), 0 1.5px 8px rgba(20,40,60,.08);
}

/* ================================
   Layout Containers
   ================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: inherit;
  border-radius: 16px;
  box-shadow: none;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .section {
    margin-bottom: 80px;
    padding: 60px 48px;
  }
  .content-wrapper {
    gap: 16px;
    align-items: flex-start;
  }
}

/* Monochrome Feature Cards/Grids */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div {
  flex: 1 1 200px;
  min-width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #ececec;
  transition: box-shadow .22s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(32,32,32,0.08),0 2px 8px rgba(32,100,100,0.09);
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 32px 28px;
  transition: box-shadow .22s;
  border: 1px solid #ececec;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(32,32,32,0.08),0 2px 8px rgba(32,100,100,0.09);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1.5px solid #ececec;
  margin-bottom: 20px;
  transition: box-shadow .23s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(32,32,32,0.08),0 2px 8px rgba(32,100,100,0.08);
}
.testimonial-card blockquote {
  margin: 0 0 0 0;
  border: none;
  padding: 0;
  color: #181818;
  font-size: 1.05rem;
  font-family: 'Roboto', sans-serif;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #757575;
  margin-left: 8px;
  font-style: normal;
}

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

/* ====================================
   MONOCHROME SOPHISTICATED TYPOGRAPHY
   ==================================== */
.text-section {
  font-size: 1.08rem;
  color: #222;
  background: #fff;
  border-radius: 10px;
  box-shadow: none;
  margin-bottom: 0;
}
.text-section h2, .text-section h3 {
  color: #1a1a1a;
}
.text-section ul li {
  color: #333;
}
.text-section a {
  color: #207868;
  font-weight: 500;
}
@media (max-width: 768px){
  .container {padding: 0 12px;}
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
/* Hero section adjustments */
.hero {
  background: linear-gradient(95deg,#fff 60%, #f4f4f4 96%);
  border-bottom: 1.5px solid #f1f1f1;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
}
.hero .container {
  padding-top: 40px;
  padding-bottom: 40px;
  align-items: stretch;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -.5px;
}
.hero p {
  color: #333;
  max-width: 580px;
  font-size: 1.18rem;
  margin-bottom: 24px;
}

/* ====================================
   Navigation (Desktop & Mobile)
   ==================================== */
header {
  background: #fff;
  border-bottom: 1.5px solid #f0f0f0;
  padding-top: 0;
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 101;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  height: 72px;
  width: 100%;
  padding: 0 24px;
  background: transparent;
}
.main-nav > a {
  color: #181818;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background .16s, color .16s;
  font-weight: 500;
  font-size: 1rem;
  display: flex; align-items: center;
}
.main-nav > a:not(.cta-primary):hover,
.main-nav > a:not(.cta-primary):focus {
  background: #f6f6f6;
  color: #207868;
}
.main-nav > a.cta-primary {
  background: #181818;
  color: #fff !important;
  font-weight: 700;
  border-radius: 22px;
  padding: 8px 22px;
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 1px 6px rgba(20,30,20,.07);
  transition: background .16s, color .14s, transform .18s;
}
.main-nav > a.cta-primary:hover {
  background: #207868;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.main-nav img, .footer-branding img { height: 36px; width: auto; margin-right: 4px; }

/* --- Hamburger menu icon (Mobile) --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 250;
  background: none;
  border: none;
  padding: 7px 8px 8px 7px;
  font-size: 2rem;
  color: #181818;
  cursor: pointer;
  border-radius: 7px;
  transition: background .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e7e7e7;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- Mobile menu overlay --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.97);
  box-shadow: 1px 0 36px 12px rgba(20,20,20,0.15);
  z-index: 5000;
  transform: translateX(-110%);
  transition: transform .32s cubic-bezier(.55,.17,.37,1.12);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #181818;
  border: none;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  padding: 8px 12px 8px 8px;
  border-radius: 7px;
  transition: background .15s;
  cursor: pointer;
  z-index: 5010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f1f1f1;
  color: #207868;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
  margin-top: 18px;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.21rem;
  color: #181818;
  padding: 14px 8px 14px 0;
  border-bottom: 1px solid #e6e6e6;
  min-width: 90vw;
  transition: color .14s, background .14s;
  border-radius: 6px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #207868;
  background: #f3f3f3;
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========================================
   CTA Buttons (Primary, Secondary, Tertiary)
   ======================================== */
.cta-primary, .cta-secondary, .cta-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 1px 6px rgba(32,40,40,.07);
  min-width: 168px;
  min-height: 40px;
  padding: 10px 28px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  background: #181818;
  color: #fff;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
  margin-top: 12px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #207868;
  color: #fff;
  transform: scale(1.048);
}
.cta-secondary {
  background: #fff;
  color: #181818;
  border: 1.3px solid #181818;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #181818;
  color: #fff;
}
.cta-tertiary {
  background: #F6DFBE;
  color: #181818;
  border: 1.2px solid #207868;
}
.cta-tertiary:hover, .cta-tertiary:focus {
  background: #f9edd9;
  color: #207868;
}

/* ===========================================
   Footer
   =========================================== */
footer {
  background: #181818;
  color: #fff;
  padding: 0;
  margin-top: 48px;
  border-top: 2.5px solid #e7e7e7;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 20px;
  gap: 0;
}
footer .content-wrapper {
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 7px;
  font-size: .98rem;
  color: #fff;
  justify-content: flex-start;
}
.footer-nav a {
  color: #fff;
  opacity: 0.85;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: opacity .14s, text-decoration .15s;
}
.footer-nav a:hover, .footer-nav a:focus { opacity: 1; text-decoration: underline; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #d6d6d6;
  font-size: .96rem;
  margin-bottom: 8px;
}
.footer-contact img {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-branding {
  margin: 6px 0 16px 0;
}
.footer-branding img {
  height: 40px;
  width: auto;
}
footer small {
  font-size: .95rem;
  color: #d8d8d8;
}
@media (max-width: 600px){
  footer .container {padding: 0 6px;}
  .footer-contact, .footer-nav { font-size: .93rem; gap: 7px; }
}

/* ========================================
   Blog custom classes
   ======================================== */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  font-size: 1rem;
  color: #757575;
  margin-top: 14px;
}
.blog-categories strong { color: #181818; margin-right: 7px; font-weight: 500; font-family: 'Montserrat',sans-serif; }
.blog-categories span {background: #f5f5f5; color: #222; border-radius: 11px; padding: 2px 13px; font-size: .92rem;}

/* =============================================
   List styles
   ============================================= */
ul, ol {
  margin-bottom: 22px;
  margin-left: 1.36em;
}
li {
  margin-bottom: 8px;
  color: #272727;
  font-size: 1.01rem;
}
li a { transition: color .16s; }
dt { font-weight: 600; display: block; color: #222; margin-bottom: 5px; }
dd { margin-bottom: 18px; color: #444; }

/* ==============================
   Misc: Info blocks, details, dl
   ============================== */
details, summary {
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  margin-bottom: 18px;
}
details[open] summary:before { content:'− '; }
details summary:before { content: '+ '; }

/* ==============================
   Utility Classes
   ============================== */
.mt-32 { margin-top: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* ==============================
   Animations & Transitions
   ============================== */
:focus, button:focus, a:focus {
  outline: 2px solid #207868;
  outline-offset: 2px;
}

button,.cta-primary,.cta-secondary,.cta-tertiary{
  transition: background .19s, color .19s, box-shadow .22s, transform .15s;
}

@media (hover: hover) and (pointer: fine) {
  button:hover {
    box-shadow: 0 3.5px 14px rgba(32, 120,104, .09);
  }
}

/* ==============================
   Cookie Consent Banner & Modal
   ============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10010;
  width: 100%;
  background: #fff;
  color: #232323;
  box-shadow: 0 -4px 16px 2px rgba(0,0,0,0.06);
  border-top: 2px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 22px 16px 16px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform .35s cubic-bezier(.55,.14,.32,1.14), opacity .2s;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  color: #181818;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 5px;
}
.cookie-consent-btn, .cookie-settings-btn {
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  min-width: 124px;
  min-height: 36px;
  padding: 9px 19px;
  cursor: pointer;
  transition: background .19s, color .19s;
}
.cookie-consent-btn.accept {
  background: #207868;
  color:#fff;
}
.cookie-consent-btn.accept:hover, .cookie-consent-btn.accept:focus{
  background: #15444C;
  color:#fff;
}
.cookie-consent-btn.reject {
  background: #222;
  color: #fff;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #181818;
  color:#F6DFBE;
}
.cookie-settings-btn {
  background: #F6DFBE;
  color: #181818;
  border: 1.2px solid #cea54a;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #f9edd9;
  color: #207868;
}

/* Cookie preference modal popup */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(34,34,34,0.32);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .29s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  position: relative;
  border-radius: 18px;
  max-width: 410px;
  min-width: 0;
  width: 92vw;
  box-shadow: 0 7px 32px rgba(24,48,48,0.21);
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #181818;
  z-index: 12100;
}
.cookie-modal-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-modal-header strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: #181818;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #181818;
  font-size: 1.45rem;
  padding: 3px 11px 3px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal-close:hover,.cookie-modal-close:focus{ background: #f1f1f1; color: #207868; }
.cookie-modal-categories{
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-category label {
  font-weight: 500;
  color: #181818;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  background: #FFF;
  border: 2px solid #c4c4c4;
  border-radius: 5px;
  width: 20px;
  height: 20px;
  margin-top: 0.2em;
  cursor: pointer;
  transition: border .14s, background .14s;
  position: relative;
}
.cookie-category input[type="checkbox"]:checked {
  background: #207868;
  border: 2px solid #207868;
}
.cookie-category input[type="checkbox"]:checked:after {
  content: '\2714';
  color: #fff;
  font-size: 1.0em;
  position: absolute;
  left: 2px; top: 0.3em;
}
/* Modal Category description */
.cookie-category-desc {
  color: #888;
  font-size: .96em;
  margin-top: 2px;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 9px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 112px;
}

@media (max-width: 500px){
  .cookie-modal { padding: 20px 7vw 14px 7vw; min-width: 0; }
  .cookie-modal-header strong { font-size: 1.08rem; }
}

/* ===============================
   Responsive Typography Scaling
   =============================== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.13rem; }
  body { font-size: 15.6px; }
  .hero { padding-bottom: 0; }
}

/* ===============================
   Spacing Between Cards/Sections
   =============================== */
.section, .card, .testimonial-card, .feature-grid > div {
  margin-bottom: 24px;
}

.feature-grid > div:not(:last-child),
.card:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 24px;
}

/* ===============================
   Cards on mobile
   =============================== */
@media (max-width: 600px) {
  .card, .testimonial-card, .feature-grid > div {
    padding: 20px 12px 18px 12px;
  }
}

/* ===============================
   Misc
   =============================== */
::-webkit-input-placeholder { color: #a7a7a7; }
::-moz-placeholder { color: #a7a7a7; }
:-ms-input-placeholder { color: #a7a7a7; }
::placeholder { color: #a7a7a7; }

/* Icon alignment in contact lists */
.text-section ul li img {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
.text-section ul li a { color: #207868; }

/* FAQ block (dt/dd) */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #181818;
}
dd {
  font-size: 1rem;
  margin-left: 0;
  color: #333;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Hide cookie modal close on desktop if not needed */
@media (max-width: 500px){
  .cookie-modal-close { font-size: 1.1rem; right: 10px; }
}

/* Accessibility tweak for focus state */
*:focus-visible {
  outline: 2.5px solid #207868;
  outline-offset: 2px;
}

/* Prevent content overlap on small screens */
@media (max-width: 460px) {
  .container { padding: 0 2vw; }
  .card, .testimonial-card { min-width: 0; }
}
