/* 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: #fff;
  color: #181A1B;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

a:focus {
  outline: 2px solid #181A1B;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #181A1B;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }

p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.7;
  color: #28292A;
}
strong {
  font-weight: 700;
  color: #181A1B;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.section,
.hero-section,
.features-section,
.about-preview-section,
.services-preview-section,
.testimonials-section,
.contact-preview-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.section:hover, .hero-section:hover, .features-section:hover {
  box-shadow: 0 8px 32px rgba(24,26,27,.12);
}

.hero-section {
  background: #fff;
  box-shadow: none;
  margin-bottom: 60px;
  border-radius: 0 0 0 0;
  padding-top: 72px;
  padding-bottom: 72px;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero-section .container,
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.hero-section h1 {
  color: #181A1B;
  font-size: 2.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.hero-section p {
  color: #262626;
  font-size: 1.18rem;
  margin-bottom: 18px;
  font-weight: 400;
}

.features-section {
  background: #f7f7f7;
  box-shadow: none;
}

.features-section ul,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 16px;
}
.features-section ul li,
.feature-grid li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  padding: 28px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 210px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.17s;
  border: 1px solid #ececec;
}
.features-section ul li:hover {
  box-shadow: 0 4px 24px rgba(40,81,106,0.10);
  transform: translateY(-3px) scale(1.02);
}
.features-section img {
  width: 48px;
  height: 48px;
}
.features-section h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: #262728;
}

/* About and text section:
------------------------ */
.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TESTIMONIALS */
.testimonials-section .content-wrapper {
  gap: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 30px 22px 30px;
  background: #FAFAFA;
  border-left: 4px solid #181A1B;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(24,26,27,0.10);
  transform: scale(1.01);
}
.testimonial-card p {
  font-style: italic;
  color: #262628;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.testimonial-card span {
  font-size: 1rem;
  color: #505050;
  opacity: 0.84;
  font-family: 'Roboto', Arial, sans-serif;
}


/* CARDS & CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover { box-shadow: 0 4px 16px rgba(40,81,106,0.11); transform: scale(1.02); }

/* GENERIC FLEX LAYOUTS */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING */
.section, .card, .testimonial-card, .feature-item, .card-container > * {
  margin-bottom: 20px;
}

main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* BUTTONS */
.cta-btn, button, .btn {
  background: #181A1B;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(40,81,106,0.10);
  transition: background 0.15s, color 0.15s, box-shadow 0.18s, transform 0.17s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover,
.btn:hover,
button:hover {
  background: #fff;
  color: #181A1B;
  box-shadow: 0 4px 32px rgba(40,81,106,0.13);
  transform: translateY(-2px) scale(1.025);
  border: 1px solid #181A1B;
}
.cta-btn:active { transform: scale(0.98); }
.cta-btn:focus,
.btn:focus,button:focus {
  outline: 2px solid #212121;
}

/* NAVIGATION (DESKTOP) */
header {
  background: #fff;
  box-shadow: 0 1px 14px rgba(24,26,27,0.045);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 38px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #262727;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border 0.15s;
  opacity: 0.95;
}
header nav a:hover, header nav a:focus {
  color: #181A1B;
  border-bottom: 2px solid #181A1B;
  opacity: 1;
}

/* FOOTER */
footer {
  background: #191B1C;
  color: #fff;
  padding: 54px 0 30px 0;
  font-size: 1rem;
  border-top: 3px solid #262728;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #E6E6E7;
  font-size: 1rem;
  text-decoration: underline dotted;
  opacity: 0.9;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-bottom: 22px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #DBE3E9;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-copy {
  color: #B5B7B9;
  font-size: 0.95rem;
  margin-top: 12px;
  text-align: left;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 24px;
  top: 20px;
  width: 44px;
  height: 44px;
  background: #181A1B;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  z-index: 300;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 2px 12px rgba(40,81,106,0.12);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,26,27,0.97);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.64,.04,.32,1.04);
  box-shadow: 4px 0 18px rgba(24,26,27,0.13);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 12px 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
  margin-left: 40px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  min-width: 240px;
  transition: color 0.14s, background 0.16s;
  border-radius: 3px;
}
.mobile-nav a:hover {
  background: #222;
  color: #82A6C5;
}

@media (max-width: 1024px) {
  header .container {
    gap: 12px;
  }
  header nav {
    gap: 17px;
  }
}
@media (max-width: 900px) {
  .features-section ul, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 820px) {
  .container { padding-left: 10px; padding-right: 10px; }
  header .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  footer {
    padding: 36px 0 24px 0;
  }
  .footer-nav { flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
  .footer-contact { flex-direction: column; gap: 7px; margin-bottom: 10px; }
}

/* MOBILE MENU SHOW/HIDE & NAV */
@media (max-width: 800px) {
  header nav,
  header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .container { max-width: 100vw; }
}
@media (max-width: 540px) {
  .hero-section {
    padding-top: 42px;
    padding-bottom: 36px;
  }
  .section, .hero-section, .features-section {
    padding: 24px 6px;
    margin-bottom: 39px;
  }
  .features-section ul, .feature-grid {
    gap: 12px;
  }
  .features-section ul li, .feature-grid li {
    padding: 18px 10px 16px 10px;
    min-width: 100px;
    min-height: 140px;
  }
  .testimonial-card {
    padding: 14px 10px 13px 12px;
  }
  .cta-btn, button, .btn {
    padding: 11px 15px;
    font-size: 0.98rem;
  }
}

/* FLEX LAYOUT MOBILE FIRST  */
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
  }
  .content-grid, .card-container, .feature-grid, .footer-nav, .footer-contact  {
    flex-direction: column!important;
    align-items: stretch;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1C1D1E;
  color: #fff;
  padding: 24px 20px 24px 20px;
  z-index: 9998;
  box-shadow: 0 -6px 28px rgba(28,29,30,0.19);
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.35s;
  font-size: 1.04rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__text  {
  flex: 1 1 0;
  color: #E9EBED;
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner button {
  background: #fff;
  color: #191B1C;
  border: none;
  border-radius: 40px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
  box-shadow: 0 1px 8px rgba(40,81,106,0.09);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-banner button:hover {
  background: #191B1C;
  color: #fff;
  outline: 1px solid #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #28292a;
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #fff;
  color: #191B1C;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(25, 27, 28, 0.82);
  justify-content: center;
  align-items: center;
  transition: background 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #181A1B;
  padding: 34px 30px 28px 30px;
  border-radius: 14px;
  box-shadow: 0 8px 48px rgba(24,26,27,0.18);
  min-width: 330px;
  max-width: 94vw;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.36rem;
  margin-bottom: 8px;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal__settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.cookie-modal__settings-row label {
  font-size: 1rem;
  color: #181A1B;
}
.cookie-modal__switch {
  width: 38px;
  height: 22px;
  background: #E3E5E7;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  display: inline-block;
}
.cookie-modal__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal__switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  background: #181A1B;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-modal__switch input:checked + span {
  left: 20px;
  background: #191B1C;
}
.cookie-modal__desc {
  font-size: 0.98rem;
  color: #636567;
}

.cookie-modal__btn-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 11px;
  right: 13px;
  border: none;
  background: none;
  font-size: 2rem;
  color: #181A1B;
  cursor: pointer;
}
.cookie-modal__close:focus {
  outline: 2px solid #212121;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-modal {
    padding: 16px 7px 16px 12px;
    min-width: 90vw;
  }
}

/* MICRO-INTERACTIONS/TRANSITIONS GENERIC */
.cta-btn,
.btn,
button,
a {
  transition: background 0.13s, color 0.13s, border 0.15s, box-shadow 0.15s, transform 0.12s;
}
input, textarea, select {
  font-family: inherit;
  border: 1px solid #BFC4CA;
  border-radius: 6px;
  outline: none;
  padding: 7px 11px;
  font-size: 1rem;
  transition: border 0.16s;
  background: #fff;
  color: #202124;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #262728;
}

::-webkit-input-placeholder {color: #B5B7B9;}
:-ms-input-placeholder { color: #B5B7B9; }
::placeholder { color: #B5B7B9; }

/* SCROLLBAR (subtle styling) */
* {
  scrollbar-color: #B5B7B9 #F3F6F9;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F3F6F9;
}
::-webkit-scrollbar-thumb {
  background: #B5B7B9;
  border-radius: 6px;
}

/* ACCENT/BG EXTRAS */
.background-dark {
  background: #262728;
  color: #fff;
}
.background-light {
  background: #F3F6F9;
  color: #181A1B;
}

/* HIERARCHY */
hr {
  border: none;
  border-bottom: 1.5px solid #E5E6E8;
  margin: 32px 0;
}

/* FORM ELEMENTS */
label { display: block; font-family: 'Montserrat', Arial, sans-serif; font-size: 1rem; margin-bottom: 5px; }

/* LEGACY CLASSES (ensure coverage) */
ul > li:not(:last-child){margin-bottom:8px;}

/* PRINTABLE PAGES (optional) */
@media print { header,.mobile-menu-toggle,footer,.cookie-banner,.cookie-modal-overlay {display:none!important;} }
