/* --- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #22313F;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #22313F;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}
/* --- BRAND COLORS & VARIABLES --- */
:root {
  --primary: #22313F;
  --secondary: #C6D7B9;
  --accent: #F5F6FA;
  --dark: #16202A;
  --mid-gray: #5D6D7E;
  --light-gray: #E9ECF2;
  --white: #FFFFFF;
  --shadow: 0 2px 16px rgba(34,49,63,0.08);
  --border-radius: 12px;
  --transition: all 0.18s cubic-bezier(.4,0,.2,1);
}
/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 20;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 10px 0;
}
.nav-bar nav {
  display: flex;
  gap: 28px;
}
.nav-bar nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--white);
  padding: 8px 0;
  transition: color 0.16s;
  position: relative;
  letter-spacing: 0.03em;
}
.nav-bar nav a:hover, .nav-bar nav a.active {
  color: var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(50, 72, 93, 0.09);
  transition: var(--transition);
  border: 2px solid var(--secondary);
  letter-spacing: 0.04em;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--secondary);
}
.mobile-menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color: var(--white);
  position: absolute;
  right: 24px;
  top: 22px;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(198,215,185,0.12);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: var(--white);
  box-shadow: -2px 0 32px rgba(34,49,63,0.19);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
  padding: 40px 28px 24px 28px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 32px;
  color: var(--primary);
  background: none;
  margin-bottom: 18px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(34,49,63,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  color: var(--primary);
  padding: 14px 0 14px 0;
  transition: background 0.13s, color 0.13s;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 1024px) {
  .nav-bar nav {
    gap: 18px;
  }
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 920px) {
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  .nav-bar nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-bar {
    padding-bottom: 0;
  }
}
/* --- HERO SECTION --- */
.hero {
  width: 100%;
  background: var(--primary);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 4px 14px rgba(34,49,63,0.08);
  margin-bottom: 40px;
  padding: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 48px 0 32px 0;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.13;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 18px;
  color: var(--secondary);
  max-width: 540px;
  margin-bottom: 10px;
}
.hero .cta-btn {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--shadow);
  border: 2px solid var(--secondary);
  margin-top: 8px;
}
.hero .cta-btn:hover {
  background: var(--primary);
  color: var(--secondary);
}
@media (max-width: 768px) {
  .hero .container {
    min-height: 220px;
  }
  .hero .content-wrapper {
    padding: 32px 0 20px 0;
    gap: 18px;
  }
  .hero h1 {
    font-size: 24px;
  }
}

/* --- PAGE SECTION SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 8px;
    gap: 12px;
  }
}

/* --- CARD & FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 26px rgba(34,49,63,0.13);
  z-index: 9;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(34,49,63,0.07);
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  flex: 1 1 320px;
}
.testimonial-card p {
  color: var(--dark);
  font-weight: 500;
  margin-right: 16px;
  flex: 1;
}
.testimonial-card div {
  font-size: 15px;
  color: var(--mid-gray);
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--border-radius);
  padding: 18px 18px 14px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 200px;
  font-family: 'Roboto', Arial, sans-serif;
}
/* --- FEATURE GRID (For features on home) ---*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
}
.feature-grid > div {
  flex: 1 1 210px;
  min-width: 170px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 18px 24px 18px;
  gap: 12px;
  transition: box-shadow .18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 30px rgba(34,49,63,0.11);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.feature-grid h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.feature-grid p {
  font-size: 15px;
  color: var(--mid-gray);
}
@media (max-width: 992px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 160px;
    padding: 18px 12px 17px 12px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    width: 100%;
    min-width: 0;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
/* --- CONTENT WRAPPER --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 14px;
  }
}
/* --- HEADINGS & TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--mid-gray);
  margin-bottom: 8px;
}
li {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
ul img {
  margin-right: 8px;
}
b {
  font-weight: 700;
  color: var(--primary);
}
.info-box {
  background: var(--accent);
  padding: 15px 18px;
  border-radius: 8px;
  color: var(--primary);
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 4px;
  box-shadow: 0 2px 12px rgba(34,49,63,0.06);
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 23px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  p, li { font-size: 15px; }
}

/* --- BUTTONS & INTERACTIONS --- */
button, .cta-btn, .cookie-btn, .cookie-link {
  transition: var(--transition);
}
button:active, .cta-btn:active, .cookie-btn:active { opacity: 0.92; }

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 44px 0 24px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}
.footer-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--secondary);
  font-size: 15px;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: var(--white);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--white);
  font-size: 15px;
}
.contact-details img {
  vertical-align: middle;
  width: 19px;
  margin-right: 7px;
}
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
  }
  .contact-details {
    gap: 4px;
    font-size: 14px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(34,49,63,0.10);
  z-index: 2000;
  padding: 22px 20px 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  border-radius: 12px 12px 0 0;
  transition: transform 0.28s;
  flex-wrap: wrap;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: var(--primary);
  color: var(--white);
  border-radius: 7px;
  padding: 9px 22px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: inherit;
  font-size: 15px;
  margin: 0 2px;
  box-shadow: 0 1px 8px rgba(34,49,63,0.07);
  transition: background .14s, color .14s, box-shadow .18s;
}
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-link {
  color: var(--mid-gray);
  text-decoration: underline;
  margin-left: 8px;
  font-size: 15px;
  transition: color 0.14s;
}
.cookie-link:hover, .cookie-link:focus {
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 8px 20px 10px;
    font-size: 14px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
    flex-wrap: wrap;
  }
}
/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,49,63,0.32);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 6px 40px rgba(34,49,63,0.21);
  padding: 38px 26px 28px 26px;
  max-width: 420px;
  width: 96vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  font-size: 16px;
}
.cookie-modal h2 {
  font-size: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 30px;
  color: var(--mid-gray);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
  border-radius: 5px;
  padding: 2px 10px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.cookie-category-label {
  font-weight: 600;
  color: var(--primary);
  min-width: 110px;
}
.cookie-category-toggle {
  accent-color: var(--secondary);
}
.cookie-category-always {
  color: var(--primary);
  background: var(--accent);
  border-radius: 8px;
  padding: 1px 10px;
  font-size: 13px;
  margin-left: 3px;
  font-weight: 500;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6vw 16px 7vw;
    font-size: 14px;
    max-width: 99vw;
  }
  .cookie-modal h2 {
    font-size: 16px;
  }
}
/* --- ANIMATIONS --- */
@keyframes slideInMenu {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutMenu {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}
@keyframes fadeIn {
  from {opacity: 0;}
  to   {opacity: 1;}
}
@keyframes appearUp {
  from {opacity:0; transform: translateY(20px);}
  to   {opacity:1; transform: translateY(0);}
}
.mobile-menu.open {
  animation: slideInMenu 0.33s cubic-bezier(.4,0,.2,1);
}
.mobile-menu:not(.open) {
  animation: slideOutMenu 0.29s cubic-bezier(.4,0,.2,1);
}
.cookie-modal {
  animation: appearUp 0.25s;
}

/* --- GENERAL FORMATTING --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section li {
  margin-bottom: 5px;
}

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 10px;
  background: var(--light-gray);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 8px;
}

/* --- ACCESSIBILITY: FOCUS RING --- */
a:focus, button:focus, .cookie-btn:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  z-index: 9999;
}

/* PATCHES FOR SPACING BETWEEN ALL MAJOR BLOCKS */
section:not(.hero):not(:last-child) {
  margin-bottom: 60px;
}
section .container:not(:last-child) {
  margin-bottom: 32px;
}

/* --- RESPONSIVE: CARD & LAYOUT ADJUSTMENTS --- */
@media (max-width: 568px) {
  .card, .feature-item {
    padding: 15px 9px;
    min-width: 0;
  }
  .testimonial-card {
    padding: 12px 8px;
  }
}

/* --- Z-INDEXES --- */
header { z-index: 20; }
.mobile-menu { z-index: 999; }
.cookie-banner { z-index: 2000; }
.cookie-modal-backdrop { z-index: 2100; }

/* --- END --- */
