/* ------------------------
   CSS Reset and 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, 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;
}
footer p {
  color: white;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #181818;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

/* --------------------------
   Monochrome Sophisticated palette
---------------------------*/
:root {
  --brand-primary: #234375;
  --brand-secondary: #68A3D2;
  --brand-accent: #F8F8F8;
  --black: #181818;
  --white: #fff;
  --gray-900: #222;
  --gray-800: #313131;
  --gray-700: #424242;
  --gray-400: #bdbdbd;
  --gray-200: #ededed;
  --gray-100: #f8f8f8;
  --focus-outline: #68A3D2;
}

/* Fonts - elegant, modern */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--white);
  color: var(--black);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--gray-900);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.14; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; font-weight: 600; }
h4, h5, h6 { font-weight: 500; }
p, ul, ol, .subtitle { font-size: 1rem; color: var(--gray-800); }
p:not(:last-child), ul:not(:last-child) { margin-bottom: 16px; }
.subtitle { font-size: 1.15rem; color: var(--gray-700); margin-bottom: 18px; }
strong { font-weight: 600; }

/*----------------------
  Section Layout Patterns
-----------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 780px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: var(--gray-100);
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(24,24,24,0.07);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 380px;
  color: var(--black);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 290px;
  box-shadow: 0 3px 14px 0 rgba(24,24,24,0.07);
  border: 1px solid var(--gray-200);
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.service-card:hover {
  box-shadow: 0 8px 24px 0 rgba(35,67,117,0.12);
  transform: translateY(-6px);
}

.faq-list h3 {
  font-size: 1.08rem;
  color: var(--brand-primary);
  margin-bottom: 5px;
  margin-top: 18px;
}
.faq-list p {
  color: var(--gray-700);
  margin-bottom: 6px;
}

.faq-contact-cta {
  margin-top: 32px;
  font-size: 1.05rem;
}


/*---------------------
  HERO SECTIONS
---------------------*/
.hero {
  background: linear-gradient(90deg, var(--gray-100) 75%, var(--white) 100%);
  padding: 60px 0 40px 0;
  margin-bottom: 54px;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--brand-primary);
  margin-bottom: 15px;
}
.hero .subtitle {
  color: var(--gray-800);
  margin-bottom: 24px;
}

/*---------------------
  NAVIGATION & HEADER
---------------------*/
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 72px;
  width: 100%;
  box-shadow: 0px 0px 18px 1px rgba(35,67,117,0.04);
}
header > a img {
  height: 48px;
  margin: 10px 0 10px 18px;
}
.main-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-left: 30px;
  flex: 1 1 auto;
}
.main-navigation a {
  color: var(--gray-700);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.09rem;
  padding: 6px 2px;
  border-radius: 2px;
  transition: background 0.16s, color 0.16s;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: var(--brand-primary);
  background: var(--gray-100);
}
header .cta-primary {
  margin-left: 32px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: var(--brand-primary);
  margin-left: 18px;
  margin-right: 12px;
  cursor: pointer;
  border: none;
  z-index: 22;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--focus-outline);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.94);
  z-index: 40;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.8,-0.01,.19,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--white);
  padding: 26px 22px 0 18px;
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 41;
}
.mobile-nav {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 26px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover {
  background: rgba(52,92,154,0.19);
  color: var(--brand-secondary);
}

@media (max-width: 1119px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .main-navigation {
    gap: 14px;
    margin-left: 10px;
  }
  header .cta-primary {
    margin-left: 16px;
    font-size: 1rem;
    padding: 11px 18px;
  }
}
@media (max-width: 820px) {
  .main-navigation{
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .cta-primary {
    display: none;
  }
}
/*---------------------
  CTA BUTTONS
---------------------*/
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 32px;
  cursor: pointer;
  border: none;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(35,67,117,0.07);
  transition: background 0.16s, color 0.16s, box-shadow 0.17s, transform 0.13s;
  outline: none;
}
.cta-primary {
  background: var(--brand-primary);
  color: var(--white);
  border: 1.5px solid var(--brand-primary);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-secondary);
  color: var(--white);
  box-shadow: 0 4px 18px 0 rgba(35,67,117,0.12);
  transform: translateY(-2px);
}
.cta-secondary {
  background: var(--gray-100);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  margin-left: 15px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 4px 18px 0 rgba(35,67,117,0.12);
  transform: translateY(-2px);
}

/*---------------------
  TESTIMONIALS
---------------------*/
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  min-width: 250px;
  flex: 1 1 320px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 2px 10px 0 rgba(34,34,34,0.06);
  color: var(--black);
  transition: border 0.19s, box-shadow 0.15s, transform 0.13s;
  margin-bottom: 20px;
  margin-right: 0;
}
.testimonial-card:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 4px 18px 0 rgba(104,163,210,0.13);
  transform: scale(1.019);
}
.testimonial-card strong {
  color: var(--brand-primary);
}

/* STAR RATING styling */
.testimonial-card div:last-child {
  color: #ffb000;
  font-size: 1.33em;
  letter-spacing: 0.12em;
}

/*----------------------
  FOOTER
-----------------------*/
footer {
  background: var(--black);
  color: var(--gray-100);
  padding: 48px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 14px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 11px;
}
.footer-menu a {
  color: var(--gray-100);
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  opacity: 0.94;
  transition: color 0.15s, opacity 0.18s;
}
.footer-menu a:hover {
  color: var(--brand-secondary);
  opacity: 1;
}
.footer-contact {
  font-size: 1rem;
  opacity: 0.92;
  text-align: center;
  margin-bottom: 8px;
}
footer a {
  color: var(--brand-secondary);
  text-decoration: underline;
}
.copyright {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-top: 10px;
}

/*----------------------
  COOKIE CONSENT BANNER & MODAL
-----------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--gray-900);
  border-top: 2px solid var(--gray-200);
  box-shadow: 0 -4px 24px 0 rgba(35,67,117,0.09);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px 16px 24px 16px;
  gap: 28px;
  z-index: 200;
  animation: slideInBanner 0.48s ease;
}
@keyframes slideInBanner {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  max-width: 540px;
  font-size: 1.03rem;
  color: var(--gray-800);
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: 36px;
}
.cookie-btn {
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 7px;
  border: none;
  padding: 10px 26px;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.19s;
  box-shadow: 0 2px 10px 0 rgba(35,67,117,0.07);
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn.settings {
  background: var(--gray-100);
  color: var(--brand-primary);
  border: 1.3px solid var(--brand-primary);
}
.cookie-btn.reject {
  background: #313131;
  color: var(--white);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-secondary);
  color: var(--white);
}
.cookie-btn.settings:hover {
  background: var(--brand-primary);
  color: var(--white);
}
.cookie-btn.reject:hover {
  background: #181818;
  color: var(--gray-100);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: var(--white);
  color: var(--black);
  max-width: 410px;
  min-width: 286px;
  width: 95vw;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(24,24,24,0.18);
  z-index: 220;
  padding: 38px 30px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.34s cubic-bezier(.81,-0.03,.19,1.09);
}
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%,-40%) scale(0.93); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: var(--brand-primary);
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.03rem;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 25px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: var(--gray-200);
  border-radius: 24px;
  transition: background 0.14s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--brand-primary);
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  left: 5px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.18s;
  box-shadow: 0 1px 4px rgba(35,67,117,0.08);
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .toggle-switch input:disabled + .slider {
  background: var(--gray-400);
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  top: 8px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--gray-700);
  cursor: pointer;
}

.cookie-modal-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 13px;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 30px 8px 16px 12px;
    min-width: unset;
    max-width: 99vw;
  }
}

/*---------------------
  Misc Lists, Typography, FAQ
---------------------*/
ul, ol {
  margin-left: 22px;
  margin-bottom: 14px;
  color: var(--gray-800);
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.7;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

a {
  color: var(--brand-primary);
  text-underline-position: under;
  text-decoration-thickness: 2px;
}
a:hover, a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}

/*---------------------
  Responsive Layouts
---------------------*/
@media (max-width: 900px){
  .content-wrapper, .text-image-section, .testimonials {
    flex-direction: column;
    gap: 20px;
  }
  .services-grid {
    gap: 16px;
  }
}
@media (max-width: 680px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper{
    gap: 14px;
  }
  .service-card, .testimonial-card {
    min-width: 98%;
    max-width: 100%;
    padding: 19px 10px;
  }
  .hero {
    padding: 34px 0 24px 0;
    min-height: 140px;
  }
  .section {
    padding: 24px 5px;
    margin-bottom: 34px;
  }
  footer {
    padding: 36px 0 19px 0;
    gap: 17px;
  }
  .footer-menu {
    gap: 11px;
  }
}
@media (max-width: 580px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.28rem; }
  .hero h1 { font-size: 1.75rem; }
  .subtitle, p, li { font-size: 0.98rem; }
  .testimonial-card, .service-card {
    box-shadow: 0 1px 7px 0 rgba(35,67,117,0.05);
    padding: 12px 5px;
  }
  ul, ol {
    margin-left: 8px;
  }
}

/*---------------------
  Micro-interactions: Focus & transitions
---------------------*/
a, button, .cta-primary, .cta-secondary, .cookie-btn {
  transition: color 0.18s, background 0.18s, box-shadow 0.16s, border 0.13s, transform 0.11s;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
  z-index: 11;
}

/* Hide visually for a11y (e.g., cookie modals) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/*---------------------
  Utility Classes
---------------------*/
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.flex-center {
  display: flex; align-items: center; justify-content: center;
}
.flex-col { display: flex; flex-direction: column; }


/*---------------------
  Print Styles
---------------------*/
@media print {
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
}
