/* ==== CSS RESET & NORMALIZATION ==== */
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, main, 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, html {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #fff;
  color: #23272A;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-top: 0.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.35em;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==== BRAND & MONOCHROME VARIABLES ==== */
:root {
  --color-primary: #23272A;
  --color-secondary: #575C61;
  --color-accent: #F7FAFC;
  --color-light: #fff;
  --color-gray: #B8BCC1;
  --color-dark: #0F1113;
  --color-link: #23272A;
  --color-link-hover: #000;
  --color-cta-bg: #23272A;
  --color-cta-text: #fff;
  --color-border: #D0D3D8;
  --color-shadow: rgba(35, 39, 42, 0.10);
  --color-shadow-strong: rgba(35, 39, 42, 0.15);
  --color-cookie-bg: #23272A;
  --color-cookie-fg: #fff;
  --color-cookie-btn: #fff;
  --color-cookie-btn-bg: #23272A;
  --color-cookie-btn-hover: #7289DA;
  --shadow-card: 0 4px 20px 0 var(--color-shadow);
  --radius-soft: 14px;
  --radius-pill: 99px;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}
h1 {
  font-size: 2.625rem; /* 42px */
  line-height: 1.13;
  margin-bottom: 16px;
  color: #000;
}
h2 {
  font-size: 2rem; /* 32px */
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--color-dark);
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p, ul, ol, dl, blockquote {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  margin-bottom: 1.1em;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
small {
  font-size: 0.92em;
  color: var(--color-secondary);
  font-style: italic;
}
blockquote {
  border-left: 3px solid var(--color-secondary);
  padding-left: 14px;
  color: var(--color-secondary);
  margin: 18px 0;
  font-style: italic;
}

a {
  color: var(--color-link);
  text-decoration: underline;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}

.cta {
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  border-radius: var(--radius-pill);
  padding: 12px 36px;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 var(--color-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
  display: inline-block;
  margin-top: 18px;
}
.cta:hover, .cta:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 10px 32px -4px var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.02);
}

/* ==== LAYOUT HELPERS ==== */
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-soft);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 34px 0 var(--color-shadow-strong);
  transform: translateY(-2px) scale(1.012);
}
.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: 10px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-soft);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border-left: 5px solid var(--color-primary);
  transition: border-color 0.2s, box-shadow 0.18s;
}
.testimonial-card:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 34px 0 var(--color-shadow-strong);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}

/* ==== HEADER & NAV ==== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  max-height: 38px;
  height: 38px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-primary);
  font-size: 1.03rem;
  font-family: var(--font-body);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.18s;
}
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus {
  color: var(--color-secondary);
}
.main-nav .cta {
  margin-left: 18px;
  padding: 8px 25px;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
  transition: background 0.16s;
  border: none;
  font-family: var(--font-display);
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 1.6em;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  border: none;
  margin-left: 16px;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
}

/* ==== MOBILE NAV ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff;
  box-shadow: 0 2px 20px var(--color-shadow);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin: 22px 20px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2000;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 50px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  background: none;
  border: none;
  padding: 7px 0;
  transition: color 0.18s, background 0.20s;
  border-radius: var(--radius-pill);
  width: fit-content;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background-color: var(--color-accent);
}

@media (max-width: 991px) {
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 800px) {
  .main-nav {
    gap: 9px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==== HERO SECTION ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container > .content-wrapper > h1,
.container > .content-wrapper > h2 {
  margin-top: 0.6em;
}

/* ==== FEATURES/BENEFITS LIST ==== */
section ul {
  list-style-type: none;
  padding-left: 0;
}
section ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
  font-size: 1.1em;
  color: var(--color-primary);
}
section ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
section ul strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* ==== BLOG ENTRIES ==== */
article {
  background: #fff;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  padding: 26px 20px 20px 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
article h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
article h2 a {
  color: var(--color-primary);
  font-family: var(--font-display);
  transition: color 0.18s;
}
article h2 a:hover { color: var(--color-secondary); }
article a {
  font-size: 1.02em;
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 500;
  padding-top: 4px;
  transition: color 0.16s;
}
article a:hover {
  color: #000;
}

/* ==== CONTACT INFO & MAP LOCATION ==== */
.contact-info, .map-location {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.contact-info img, .map-location img {
  width: 28px;
  height: 28px;
}
.contact-info a {
  color: var(--color-primary);
  text-decoration: underline;
  margin-left: 6px;
  transition: color 0.16s;
}
.contact-info a:hover, .map-location a:hover {
  color: var(--color-secondary);
}

/* ==== FAQ (dl) ==== */
dl {
  margin: 26px 0 14px 0;
}
dt {
  font-weight: 600;
  font-family: var(--font-display);
  margin-bottom: 5px;
  color: var(--color-primary);
}
dd {
  margin-bottom: 18px;
  color: var(--color-secondary);
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #fff;
  padding: 42px 0 22px 0;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 0 26px var(--color-shadow);
  margin-top: 60px;
  font-family: var(--font-body);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 38px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  padding: 3px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--color-primary);
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}
.footer-brand span {
  font-size: 0.97em;
  color: var(--color-gray);
}

/* ==== INFOS/BADGES ==== */
strong.badge {
  font-size: 0.98em;
  border-radius: 30px;
  padding: 2px 10px;
  color: var(--color-light);
  background: var(--color-secondary);
  font-family: var(--font-display);
  margin-left: 5px;
  vertical-align: middle;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--color-cookie-bg);
  color: var(--color-cookie-fg);
  z-index: 20000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 40px 22px 40px;
  box-shadow: 0 -4px 28px 0 rgba(23, 27, 32, 0.15);
  font-size: 1rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  opacity: 1;
  transition: opacity 0.42s, bottom 0.33s, transform 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px) scale(0.98);
}
.cookie-banner-content {
  max-width: 580px;
  font-family: var(--font-body);
  font-size: 1.05em;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-cookie-btn-bg);
  color: var(--color-cookie-btn);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--color-cookie-btn);
  padding: 8px 24px;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.08s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.cookie-btn.accept:hover {
  background: #fff;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-gray);
}
.cookie-btn.reject:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.cookie-btn.settings {
  background: var(--color-light);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-btn.settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) scale(1);
  background: #fff;
  color: var(--color-primary);
  z-index: 25000;
  min-width: 320px;
  max-width: 90vw;
  width: 420px;
  border-radius: 14px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.17);
  padding: 38px 34px 23px 34px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: popin 0.33s cubic-bezier(.62,0,.18,1);
}
@keyframes popin {
  from { opacity: 0; transform: translate(-50%, -60%) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%, -60%) scale(1); }
}
.cookie-modal.hide {
  display: none;
}
.cookie-modal h2 {
  margin-top: 0;
  color: var(--color-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05em;
  margin-bottom: 16px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-category.essential input {
  accent-color: var(--color-primary);
  pointer-events: none;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  min-width: 88px;
}
.cookie-modal .close-modal {
  background: none;
  color: var(--color-secondary);
  font-size: 1.3em;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: -22px;
  margin-top: -17px;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover {
  color: var(--color-primary);
}

/* ==== ANIMATIONS ==== */
.cta, .cookie-btn, .main-nav a, .mobile-nav a, .card {
  transition: background 0.15s, color 0.16s, box-shadow 0.18s, border-color 0.18s, transform 0.10s;
}

/* ==== MEDIA QUERIES - MOBILE FIRST ==== */
@media (max-width: 900px) {
  .container {
    max-width: 830px;
  }
  .footer-contact {
    font-size: 0.97em;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 8px;
  }
  .header-flex {
    padding-top: 7px;
    padding-bottom: 7px;
    min-height: 46px;
  }
  .footer-nav, .footer-contact {
    margin-right: 0;
    margin-bottom: 18px;
  }
  .footer-brand {
    margin-top: 0;
  }
  .cookie-banner {
    padding: 15px 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 0;
  }
  .cookie-banner-content {
    max-width: 94vw;
    font-size: 0.98em;
  }
  .cookie-modal {
    padding: 16px 6vw 12px 6vw;
    width: 98vw;
    min-width: 0;
  }
  .card {
    padding: 17px 10px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .content-wrapper {
    gap: 12px;
  }
  section {
    padding: 22px 3vw;
  }
  .footer-contact, .footer-brand {
    font-size: 0.9em;
  }
}
@media (max-width: 630px) {
  .container, .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 6px;
  }
  .footer-contact {
    font-size: 0.95em;
  }
}
@media (max-width: 425px) {
  :root {
    --radius-soft: 8px;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  section, .card, .testimonial-card {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ==== HELPER CLASSES ==== */
.hide {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}

/* ==== ADDITIONAL MICRO-INTERACTIONS ==== */
section a:not(.cta):not([href^='mailto:']):not([href^='tel:']) {
  position: relative;
  z-index: 1;
}
section a:not(.cta):not([href^='mailto:']):not([href^='tel:']):after {
  content: '';
  opacity: 0.4;
  display: block;
  position: absolute;
  left: 0; bottom: -2px; height: 2px; width: 100%;
  background: linear-gradient(90deg,rgba(35,39,42,0.27) 0%,rgba(35,39,42,0.12) 100%);
  transition: background 0.19s;
  border-radius: 1px;
  z-index: -1;
}
section a:not(.cta):hover:after {
  background: linear-gradient(90deg,rgba(114,137,218,0.35) 0%,rgba(35,39,42,0.26) 100%);
  opacity: 1;
}

/* ==== FORM ELEMENTS (for future-proofing) ==== */
input, textarea, select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-soft);
  padding: 10px 14px;
  background: var(--color-light);
  color: var(--color-primary);
  font-size: 1rem;
  transition: border 0.17s, box-shadow 0.19s;
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 5px var(--color-shadow);
}
label {
  font-size: 1.06rem;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

/* ==== ENSURE NO ELEMENT OVERLAPS ==== */
section, .content-wrapper, .card-container, .card, .content-grid, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* ==== OVERRIDES FOR Z-INDEX (Mobile Menu & Cookie Modal) ==== */
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 20000; }
.cookie-modal { z-index: 25000; }

/* ==== ENSURE ACCESSIBILITY ==== */
.testimonial-card p, .testimonial-card small {
  color: #23272A;
  background: transparent;
}
.testimonial-card strong {
  color: var(--color-primary);
}

/* ==== FLEXBOX IMPLEMENTATION FOR ALL CONTAINERS ==== */
main, body > section, .container, .footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

/* ==== CUSTOM ICON STYLE ==== */
section img[src*='icon-']{
  filter: grayscale(1) contrast(1.2);
}

/* ==== NO CSS GRID, NO ABSOLUTE POSITIONING on content, no grid-* or column-* rules ==== */
/* All flexbox only, no forbidden properties used! */