/* 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; width:100%; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.55;
  min-height: 100vh;
  background: #F7F8F9;
  color: #222;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  font-variant-ligatures: normal;
  letter-spacing: 0.01em;
  transition: background 0.3s, color 0.3s;
}
img, svg { max-width: 100%; height: auto; display: block; }

/* ROOT COLORS, TYPOGRAPHY */
:root {
  --primary: #11344D;
  --secondary: #4E8397;
  --accent: #FFD977;
  --neutral: #F7F8F9;
  --grey: #D6DBDF;
  --border: #CED4DA;
  --text: #222222;
  --text-light: #495969;
  --white: #FFF;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(17,52,77,0.09);
  --shadow-hover: 0 4px 28px rgba(17,52,77,0.15);
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Georgia', 'Times New Roman', serif;
}

body {
  font-family: var(--font-body);
  background: var(--neutral);
  color: var(--text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.7rem; line-height: 1.18; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height:1.23; margin-bottom: 18px; }
h3 { font-size: 1.32rem; line-height:1.29; margin-bottom: 13px; }
h4 { font-size: 1.13rem; line-height:1.5; margin-bottom: 10px; }

p, ul, ol, address, li {
  font-size: 1rem; color: var(--text-light);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
ul, ol {
  margin-left: 24px;
  padding-left: 10px;
}
li {
  margin-bottom: 9px;
  line-height: 1.7;
}
b, strong {font-weight: 700; color: var(--primary);}

/* LINKS */
a { color: var(--secondary); text-decoration: underline; transition: color .2s, background .2s; }
a:hover, a:focus { color: var(--primary); background-color: var(--accent); text-decoration: none; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

/* HEADER & NAVIGATION */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(17,52,77,0.04);
  position: relative;
  z-index: 12;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 26px;
}
header nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

.button-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 13px 36px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.025rem;
  line-height:1.2;
  letter-spacing: 0.01em;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .19s, box-shadow .19s, color .15s;
}
.button-primary:hover, .button-primary:focus {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.button-link {
  display:inline-block;
  background: transparent;
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
  padding:4px 0 3px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color .18s, border-color .15s;
  text-decoration:none;
}
.button-link:hover, .button-link:focus {
  color: var(--secondary);
  border-color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  border: none;
  font-size: 2.1rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 13px;
  z-index: 30;
  transition: background .18s, color .13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 340px;
  max-width: 95vw;
  height: 100vh;
  background: var(--primary);
  color: var(--white);
  z-index: 90;
  box-shadow: -6px 0 16px rgba(17,52,77,0.19);
  transform: translateX(120%);
  transition: transform .34s cubic-bezier(.82,.18,.32,1.02);
  display: flex;
  flex-direction: column;
  padding: 35px 28px 20px 28px;

gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color .15s;
  z-index: 105;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.18rem;
  padding: 10px 10px 10px 0;
  text-decoration: none;
  border-radius: 7px;
  transition: background .18s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ------- HERO SECTION ------- */
.hero {
  background: linear-gradient(120deg, #F7F8F9 60%, #E7ECF1 100%);
  padding: 40px 0 30px 0;
  margin-bottom: 0;
}
.hero .container {
  align-items: center;
  min-height: 290px;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  font-family: var(--font-display);
  margin-bottom:8px;
}
.hero p {
  font-size: 1.23rem;
  color: var(--text-light);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.hero .button-primary {
  margin-top: 12px;
}

/* ----- SECTION SPACING ------- */
main {
  margin-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  box-shadow: none;
}
section .container {
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 840px;
}

/* ----- FLEX LAYOUTS ------- */
.feature-grid,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.feature-grid > div,
.service-grid > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 22px 22px;
  flex: 1 1 210px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  transition: box-shadow .2s, border-color .15s;
}
.feature-grid > div:hover,
.service-grid > div:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}
.feature-grid img,
.service-grid img {
  width: 38px; height: 38px; margin-bottom:6px;}
.feature-grid h3,
.service-grid h3 {
  margin: 0;
  font-size: 1.19rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
}
.feature-grid p,
.service-grid p {
  font-size: 1.01rem;
  color: var(--text-light);
  margin: 0;
}

/* List with icons */
ul li img, ol li img {
  width: 23px; height: 23px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: -5px;
}
ul li, ol li {
  padding-left: 0.5em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----- CARDS & TESTIMONIALS ------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 26px 20px;
  min-width: 200px; max-width: 380px;
  flex: 1 1 220px;
  transition: box-shadow .18s, border-color .12s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

.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;
  margin-bottom: 16px;
}
.text-image-section img {max-width:280px;border-radius:var(--radius);box-shadow:var(--shadow);}
.text-image-section .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  overflow-x: auto;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 420px;
  transition: box-shadow .16s;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: var(--text-light);
  font-family: var(--font-body);
  align-self: flex-end;
}

/* ----- FAQ/SUPPORT ------- */
.faq-preview, .support-channels, .service-commitments {
  margin-bottom: 20px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}

/* ----- FOOTER ------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 20px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 44px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 0.97rem;
  padding: 3px 0;
  text-decoration: underline;
  transition: color .14s;text-underline-position:under;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--white); text-decoration: none; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}
.footer-contact img {
  width: 54px; height: auto; margin-bottom: 7px;
}
.footer-contact address {
  font-size: 1rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-style: normal;
}
.footer-contact a {
  color: var(--accent);
  text-decoration: underline;
  font-size: 1rem;
}
.footer-contact a:hover, .footer-contact a:focus { color: var(--white);text-decoration:none; }

/* ----- MAP EMBEDDED ------- */
.embedded-map {
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1.11rem;
  color: var(--white);
  background: var(--secondary);
  box-shadow: var(--shadow);
}

/* ----- COOKIE CONSENT BANNER & MODAL ------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -2px 28px rgba(17,52,77,0.09);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding: 26px 12px 18px 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  transition: transform .36s cubic-bezier(.78,.2,.16,1.04);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-text {
  color: var(--primary);
  font-size: 1.11rem;
  margin-bottom: 6px;
  text-align: center;
  font-family: var(--font-body);
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  justify-content: center;
}
.cookie-banner .button-secondary,
.cookie-banner .button-settings {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--secondary);
  padding: 12px 23px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight:600;
  cursor: pointer;
  transition: background .13s, color .16s, border .12s;
}
.cookie-banner .button-secondary:hover, .cookie-banner .button-secondary:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .button-settings:hover, .cookie-banner .button-settings:focus {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--primary);
}
.cookie-banner .button-accept {
  background: var(--primary);
  color: var(--accent);
  border: none;
  padding: 12px 27px;
  font-weight: 700;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size:1rem;
  cursor:pointer;
  transition: background .16s, color .15s;
}
.cookie-banner .button-accept:hover, .cookie-banner .button-accept:focus {
  background: var(--secondary);
  color: var(--white);
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1010;
  left: 0; top: 0; right:0; bottom:0;
  width:100vw; height:100vh;
  background: rgba(17,52,77, 0.67);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeInModal .33s;
}
@keyframes fadeInModal { from { opacity:0; } to { opacity:1;} }
.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 36px 32px 27px 32px;
  min-width: 300px;
  max-width: 95vw;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 14px;
  background: none;
  color: var(--secondary);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--primary);
}
.cookie-modal-content h2 {margin-top: 0; font-size: 1.55rem;}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 2px 0 12px 0;
}
.cookie-option {
  display: flex; flex-direction: row; align-items: center; gap:10px;
}
.cookie-option label {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-option input[type=checkbox]{width:18px;height:18px;}
.cookie-option .cookie-essential {
  font-weight:700;
  color: var(--primary);
  margin-right:6px;
}

/* Micro-Interactions */
.card, .feature-grid > div, .service-grid > div, .testimonial-card, .faq-preview, .support-channels, .service-commitments {
  transition: box-shadow .15s, border-color .11s;
}
.card:hover, .feature-grid > div:hover, .service-grid > div:hover, .testimonial-card:hover, .faq-preview:hover, .support-channels:hover, .service-commitments:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}

/* -- Responsive Design -- */
@media (max-width: 1100px) {
  .container { max-width: 960px;}
  .feature-grid > div, .service-grid > div {min-width:160px;max-width:48vw;}
}
@media (max-width: 900px) {
  .container { max-width: 100%; }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .feature-grid, .service-grid {
    justify-content: flex-start;
    gap: 24px 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.4rem; }
  .hero .container { min-height: 170px; }
  section { padding: 28px 6px; }
  .feature-grid, .service-grid, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px;}
  header .container { flex-direction: row; gap:12px;}
  footer .container { gap:18px; }
}

@media (max-width: 580px) {
  .container { padding-left: 7px; padding-right: 7px; }
  .feature-grid > div, .service-grid > div, .card {
    max-width: 100%; min-width: 60vw;
  }
  section {padding-left:6px; padding-right: 6px;}
  h1 {font-size:1.3rem;}
}
@media (max-width: 750px) {
  header nav { display:none; }
  .button-primary { display: none; }
  .mobile-menu-toggle { display: flex;}
}
@media (min-width: 751px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* -- END CSS -- */