/* =====================================================
   CSS Reset & Normalize – Cross Browser Consistency
====================================================== */
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;
  vertical-align: baseline;
  font: inherit;
  font-size: 100%;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  background: #fff;
  line-height: 1.6;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* =====================
   Brand Color Palette
   (monochrome_sophisticated)
   ===================== */
:root {
  --color-dark: #101316;
  --color-mid: #36383B;
  --color-light: #F8F9FA;
  --color-gray: #A6B0B8;
  --color-accent: #fff;
  --color-primary: #222;
  --color-secondary: #494B4F;
  --color-brand: #174A63;
  --color-brand-light: #A6B0B8;
  --color-shadow: rgba(35,38,44,0.06);
  --color-brand-shadow: rgba(23,74,99,0.08);
}

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

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  background: var(--color-accent);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.1;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: #101316;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #181B1F;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #222;
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--color-primary);
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
  color: var(--color-secondary);
}

/* =========================
   Container and Layout
   ========================= */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 20px;
  box-shadow: 0 6px 32px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Card Container Example */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px;
}
.card {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 30px var(--color-brand-shadow);
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Content Grid: e.g. for features, columns */
.content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* =============================
   Header & Navigation Styles
   ============================= */
header {
  background: #fff;
  border-bottom: 2px solid #f1f3f6;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
header img {
  height: 46px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #181B1F;
  font-size: 1rem;
  padding: 4px 2px;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-brand);
}
header .cta.primary {
  margin-left: 24px;
  font-size: 1.1rem;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
  padding: 8px 12px;
  margin-left: 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e5e8ec;
}

/* =============================
   Mobile Menu Overlay
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,19,22,0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  align-self: flex-end;
  margin: 18px 30px 10px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-brand-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0 32px;
  gap: 24px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 0;
  min-width: 230px;
  transition: color 0.2s, background 0.2s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gray);
  background: rgba(255,255,255,0.07);
}

/* ===============
   Main Content
================*/
main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 4px 22px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper > ul,
.content-wrapper > ol {
  padding-left: 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-wrapper > ul > li {
  margin-left: 0;
  padding-left: 2px;
  list-style-type: disc;
}

/* ================================
   Buttons, Primary Actions (CTA)
================================= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 24px;
  border: none;
  outline: none;
  cursor: pointer;
  text-transform: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.19s, transform 0.14s;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.cta.primary {
  background: #101316;
  color: #fff;
  border: 2px solid #101316;
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: #101316;
  border: 2px solid #101316;
  box-shadow: 0 4px 20px var(--color-brand-shadow);
  transform: translateY(-2px) scale(1.045);
}
.cta.secondary {
  background: #fff;
  color: #101316;
  border: 2px solid #494B4F;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #101316;
  color: #fff;
  border-color: #101316;
  box-shadow: 0 4px 14px var(--color-shadow);
  transform: translateY(-2px) scale(1.045);
}

/* Link-style Buttons */
.content-wrapper a.cta {
  margin-top: 14px;
  min-width: 180px;
}

/* ===================
   Tables
====================*/
table {
  width: 100%;
  margin: 24px 0 14px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 7px var(--color-shadow);
  font-size: 0.97rem;
  overflow: hidden;
}
table caption {
  font-weight: 600;
  text-align: left;
  margin-bottom: 12px;
  color: #36383B;
}
table th, table td {
  border: none;
  padding: 13px 14px;
  text-align: left;
}
table thead {
  background: #F4F5F7;
  color: #101316;
  font-size: 1.02rem;
  font-weight: 700;
}
table tbody tr:nth-child(even) { background: #F8F9FA; }
table tbody tr { transition: background 0.2s; }
table tbody tr:hover { background: #eceef0; }

/* ===================
   Testimonials
====================*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 16px var(--color-shadow);
  color: #191B1F;
  font-size: 1.06rem;
  font-style: italic;
  position: relative;
  min-width: 270px;
  flex-direction: row;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card p {
  font-style: italic;
  font-weight: 500;
  color: #181B1F;
}
.testimonial-card strong {
  font-weight: 600;
  color: #181B1F;
  margin-left: 18px;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--color-brand-light);
  margin-right: 12px;
  line-height: 1;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px var(--color-brand-shadow);
  transform: translateY(-1px) scale(1.022);
}

/* ===============================
   Feature List Items
================================*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ===============================
   Footer
================================*/
footer {
  background: #181B1F;
  color: #fff;
  padding: 48px 0 0 0;
  width: 100%;
  border-top: 3px solid #ccc;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 60px;
  margin-bottom: 10px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F8F9FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 3px;
  position: relative;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-brand-light);
}
.footer-contact {
  color: #babfc5;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.footer-legal {
  font-size: 0.96rem;
  color: #8D9499;
  margin: 14px 0 0 0;
  text-align: left;
}
footer nav {
  flex-direction: row;
  gap: 14px;
}
footer nav a {
  color: #cdd4db;
  font-size: 1.01rem;
}

/* ===============================
   Cookie Consent Banner
================================*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1a1a1e;
  color: #F8F9FA;
  box-shadow: 0 -3px 14px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 30px 28px 30px 22px;
  gap: 28px;
  z-index: 9999;
  font-size: 1.04rem;
  border-radius: 0;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 30px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 20px;
  padding: 9px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
  margin-right: 6px;
}
.cookie-btn.accept {
  background: #fff;
  color: #222;
  border: 2px solid #101316;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #181B1F;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #494B4F;
  border: 2px solid #494B4F;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #494B4F;
  color: #fff;
}
.cookie-btn.settings {
  background: #101316;
  color: #fff;
  border: 2px solid #101316;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #101316;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16,19,22,0.85);
  z-index: 10010;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #181B1F;
  border-radius: 18px;
  box-shadow: 0 9px 40px var(--color-shadow);
  padding: 36px 34px 30px 34px;
  min-width: 310px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1.04rem;
  font-weight: 500;
}
.cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 12px;
  background: #e6e8ee;
  position: relative;
  border: none;
  outline: none;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: #174A63;
}
.cookie-toggle .toggle-knob {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s, background 0.15s;
}
.cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 18px;
  background: #fff;
}
.cookie-modal .cookie-buttons {
  margin-top: 18px;
}
.cookie-modal .close {
  color: #222;
  background: none;
  font-size: 2rem;
  position: absolute;
  top: 16px; right: 20px;
  border: none;
  cursor: pointer;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #174A63;
}

/* ===============================
   Utility Classes & Miscellaneous
================================*/
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.gap-20 { gap: 20px; }

/* Animations */
@keyframes fadeInSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .card, .testimonial-card {
  animation: fadeInSlideUp 0.7s cubic-bezier(.45,.05,.55,.95) both;
}

/* =============== Responsive ================ */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }
  .section, section {
    padding: 35px 10px;
  }
  header .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  nav { display: none !important; } /* Hide main nav on mobile */
  .mobile-menu-toggle {
    display: inline-block;
  }
  .header .cta.primary {
    display: none;
  }
  footer .container {
    gap: 18px;
  }
  .section, section {
    padding: 22px 4vw;
    border-radius: 11px;
  }
  .testimonial-card, .card {
    padding: 16px 12px;
    font-size: 1rem;
    min-width: 0;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 13px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 9px 22px 9px;
    gap: 18px;
  }
  .cookie-banner .cookie-buttons {
    margin-left: 0;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.05rem; }
  .container { padding: 0 2vw; }
  .cookie-modal { padding: 18px 8vw 15px 8vw; min-width: 0; }
  .mobile-nav { margin-left: 12px; }
  .footer-contact, .footer-legal { font-size: 0.96rem; }
}
/*
Ensure all default paddings, margins, backgrounds present as per style requirements!
===================================================
*/
