/* 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body { line-height: 1.5; background: #fff; color: #181818; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ROOT VARIABLES - MONOCHROME + BRANDING */
:root {
  --color-black: #181818;
  --color-dark: #232323;
  --color-mid: #454545;
  --color-light: #F6F7F9;
  --color-white: #fff;
  --color-accent: #23B5D3;
  --color-primary: #184980;
  --color-secondary: #e5e8ef;
  --box-shadow-main: 0 2px 16px 0 rgba(24,24,24,0.09), 0 1.5px 12px 0 rgba(0,0,0,0.05);
  --shadow-card: 0 4px 24px rgba(24,73,128,0.06);
  --radius-s: 7px;
  --radius: 12px;
  --radius-l: 32px;
  --transition: 0.22s cubic-bezier(.42,0,.58,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --mono-s: #d7dbe2;
  --mono-m: #808080;
  --mono-xl: #fff;
}

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-black);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 18px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 16px; letter-spacing: -0.5px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-weight: 500; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, li, blockquote {
  color: var(--color-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong { color: var(--color-black); font-weight: 500; }
small { font-size: 0.89em; color: var(--color-mid); }

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
}

/* --- SECTION LAYOUTS & SPACING --- */
section {
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--box-shadow-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

@media (max-width: 650px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

/* FLEXBOX LAYOUT PATTERNS */
.card-container, .feature-grid, .card-grid, .content-grid, .story-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: space-between;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(24,24,24,0.13);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .feature-grid, .card-grid, .content-grid, .story-list, .blog-list {
    flex-direction: column;
    gap: 20px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-s);
  background: var(--color-light);
  box-shadow: 0 2px 12px rgba(24,24,24,0.06);
  margin-bottom: 20px;
  flex: 1 1 320px;
  color: var(--color-black);
  border-left: 5px solid var(--color-primary);
  transition: box-shadow var(--transition), border var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(24,73,128,0.13);
  border-left: 5px solid var(--color-accent);
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-black);
  background: none;
  border: none;
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  line-height: 1.5;
}
.testimonial-card span {
  color: var(--color-mid);
  font-size: 0.96em;
}

.customer-logos {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-top: 24px;
  align-items: center;
}
.customer-logos img {
  max-height: 46px;
  max-width: 120px;
  filter: grayscale(1) contrast(1.25);
  opacity: 0.8;
  transition: filter 0.18s, opacity 0.22s;
}
.customer-logos img:hover {
  filter: grayscale(0.1) contrast(1.4) drop-shadow(0 2px 6px #b1b1b1);
  opacity: 1;
}

.story-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: none;
  border-radius: var(--radius-s);
  padding: 0;
}

.pricing-table {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow-main);
  width: 100%;
  min-width: 0;
  border: 1px solid #efefef;
  margin-bottom: 32px;
  overflow-x: auto;
  font-family: var(--font-body);
}
.pricing-table thead th {
  font-family: var(--font-display);
  font-size: 1.09em;
  padding: 18px 14px;
  background: #ececec;
  color: var(--color-black);
  font-weight: 600;
  border-top-left-radius: var(--radius-s);
  border-top-right-radius: var(--radius-s);
}
.pricing-table tbody td {
  padding: 16px 14px;
  text-align: center;
  border-top: 1px solid #f3f3f3;
  color: var(--color-black);
}
.pricing-table tr:nth-child(even) td {
  background: #fafbfc;
}

.faq-item {
  background: var(--color-light);
  border-radius: var(--radius-s);
  margin-bottom: 20px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(24,73,128,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/*--- BUTTONS & LINKS ---*/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 38px;
  border-radius: var(--radius-l);
  cursor: pointer;
  border: none;
  outline: none;
  margin-top: 10px; margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(24,24,24,0.045);
  letter-spacing: .04em;
}
.btn-primary {
  background: var(--color-black);
  color: var(--color-white) !important;
  border: 2px solid var(--color-black);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 28px rgba(24,73,128,0.11);
}
.btn-secondary {
  background: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-mid);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
a {
  transition: color var(--transition), border var(--transition);
}
a:hover, a:focus {
  color: var(--color-primary);
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 14px 0 rgba(24,24,24,0.03);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 50;
  margin-bottom: 20px;
}
header .container {
  flex-direction: row;
  height: 80px;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  max-height: 46px;
  width: auto;
  filter: grayscale(0.4) brightness(0.90);
  transition: filter 0.2s;
}
.logo:hover img,
.logo:focus img {
  filter: grayscale(0) brightness(1.15);
}
/* NAVIGATION */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: var(--color-black);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 5px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: var(--color-light);
  color: var(--color-primary);
}
.main-nav .btn-primary {
  margin-left: 22px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px 9px;
  border-radius: var(--radius-s);
  transition: background var(--transition), color var(--transition);
  z-index: 222;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
  .main-nav .btn-primary { margin-left: 10px; }
}
@media (max-width: 880px) {
  .main-nav { gap: 6px; }
}
@media (max-width: 820px) {
  .main-nav .btn-primary { padding: 10px 18px; font-size: 0.99rem; }
}
@media (max-width: 780px) {
  header .container { height: 60px; }
  .main-nav .btn-primary { font-size: 0.95rem; padding: 8px 14px; margin-left: 0; }
  .logo img { max-height: 34px; }
}
@media (max-width: 700px) {
  .main-nav { gap: 9px; }
}
@media (max-width: 650px) {
 .main-nav { display: none !important; }
 .mobile-menu-toggle { display: inline-block; }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 24, 24, 0.985);
  z-index: 500;
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.66,.11,.35,.87);
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.2rem;
  font-family: var(--font-display);
  padding: 18px 21px 10px 0;
  margin-bottom: 12px;
  cursor: pointer;
  z-index: 10;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding-left: 30px;
  gap: 18px;
}
.mobile-nav a {
  display: block;
  color: var(--color-white) !important;
  font-family: var(--font-display);
  font-size: 1.20rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 0 8px 0;
  margin-bottom: 2px;
  transition: background var(--transition), color var(--transition);
  width: 94vw;
  max-width: 400px;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}
.mobile-nav .btn-primary {
  font-size: 1.12rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  width: 90vw;
  margin-top: 18px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-black);
  color: var(--color-white);
  width: 100%;
  margin-top: 40px;
  padding: 44px 0 22px 0;
  border-top-left-radius: var(--radius-l);
  border-top-right-radius: var(--radius-l);
  box-shadow: 0 -2px 18px rgba(24,24,24,0.09);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
footer p {
  color: white;
}
.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--mono-s);
  font-family: var(--font-body);
  font-size: .98rem;
  transition: color var(--transition), border-bottom var(--transition);
  width: fit-content;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-contact p, .footer-contact img {
  display: inline-block;
  vertical-align: middle;
  font-size: .99rem;
}
.footer-contact img {
  height: 19px;
  margin-right: 8px;
  filter: grayscale(1) brightness(1.3);
  opacity: 0.7;
}
.footer-credits {
  margin-top: 10px;
  flex-basis: 100%;
}
.footer-credits small {
  color: var(--mono-s);
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- CONTACT & MAP --- */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 10px;
}
.contact-details img {
  height: 21px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.7;
  filter: grayscale(1);
}
.map {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--color-light);
  padding: 13px 24px 13px 13px;
  border-radius: 10px;
  margin: 12px 0 22px 0;
  font-size: 1.01rem;
  color: var(--color-mid);
}
.map img {
  height: 38px;
  opacity: .66;
  filter: grayscale(1.55) brightness(1.2);
}

.cta-wrapper {
  background: var(--color-black);
  padding: 22px 26px 24px 26px;
  border-radius: var(--radius);
  color: var(--color-white);
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-wrapper h2, .cta-wrapper p {
  color: var(--color-white);
}

/* --- TABLES & LISTS --- */
table {
  width: 100%;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 15px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 6px;
  color: var(--color-mid);
  padding-left: 16px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.72em;
}
ul li strong {
  color: var(--color-black);
}

@media (max-width:600px) {
  table, thead, tbody, th, td, tr {
    display:block;
  }
  .pricing-table th, .pricing-table td {
    width: 100%;
    min-width: 0;
    text-align: left!important;
  }
}

/* --- FORMS (if any) --- */
input, textarea, select {
  background: var(--color-light);
  border: 1.5px solid #e8e9eb;
  border-radius: 7px;
  font-size: 1rem;
  padding: 9px 12px;
  margin-bottom: 14px;
  color: var(--color-black);
  width: 100%;
  max-width: 480px;
  transition: border var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 5px rgba(24,24,24,0.02);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(35,181,211,0.06);
}

/* --- MICRO-INTERACTIONS / TRANSITIONS --- */
*:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1.5px;
}
button:active, a:active {
  transform: translateY(1px) scale(.98);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: 0 0 16px 6px rgba(24,24,24,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 10px 21px 10px;
  gap: 26px;
  font-size: 1rem;
  opacity: 1;
  pointer-events: auto;
  transition: bottom 0.33s var(--transition), opacity .34s var(--transition);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  bottom: -150px;
}
.cookie-banner p {
  color: var(--mono-s);
  font-size: .97em;
  margin-bottom: 0;
  margin-right: 18px;
}
.cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-btns .btn-primary {
  padding: 10px 24px;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-s);
  box-shadow: none;
}
.cookie-btns .btn-primary:hover, .cookie-btns .btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-black);
}
.cookie-btns .btn-secondary {
  background: var(--color-light);
  color: var(--color-black);
  border: 1.5px solid #ccc;
  border-radius: var(--radius-s);
  box-shadow: none;
  padding: 10px 18px;
  font-size: 1rem;
}
.cookie-btns .btn-secondary:hover, .cookie-btns .btn-secondary:focus {
  background: #ececec;
  color: var(--color-black);
  border-color: var(--color-mid);
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,24,24,0.84);
  z-index: 20000;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: var(--color-white);
  color: var(--color-black);
  padding: 34px 22px 28px 22px;
  border-radius: var(--radius);
  box-shadow: 0 2px 36px rgba(24,24,24,0.23);
  width: 95vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: fadeInUp .33s cubic-bezier(.61,-0.15,0,1.13);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}
.cookie-category label {
  color: var(--color-black);
  font-weight: 500;
}
.cookie-category .locked {
  color: var(--color-mid);
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-actions .btn-primary, .cookie-modal-actions .btn-secondary {
  padding: 9px 18px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  color: var(--color-black);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(44px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* -- MISC -- */
blockquote {
  font-style: italic;
  color: var(--color-mid);
  padding-left: 18px;
  border-left: 3.5px solid var(--color-accent);
  margin-bottom: 6px;
}
hr {
  border: none;
  border-top: 1.5px dashed #e9eaea;
  margin: 24px 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 980px) {
  section, .card {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 740px) {
  .card, .faq-item, .testimonial-card {
    padding: 16px 8px;
  }
  .footer-contact, .footer-nav { font-size: 0.92rem; }
}
@media (max-width: 470px) {
  .btn-primary, .btn-secondary {
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner p {
    font-size: 0.91em;
  }
  .cookie-btns .btn-primary, .cookie-btns .btn-secondary {
    font-size: 0.96rem;
    padding: 10px 10px;
  }
}

/* --- PRINT --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none !important; border-radius: 0 !important; background: #fff !important; }
}

/* --- OVERRIDES for MONOCHROME - Modern, Dramatic Contrast --- */
body {
  background: var(--color-light);
  color: var(--color-black);
}
section, .card, .faq-item, .testimonial-card {
  background: var(--color-white);
  color: var(--color-black);
}
.main-nav a, .mobile-nav a {
  font-family: var(--font-display);
  color: var(--color-black);
  letter-spacing: 0.01em;
}
.main-nav a.active, .mobile-nav a.active, .footer-nav a.active {
  color: var(--color-accent);
  font-weight: 700;
}

::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 4px; }
::-webkit-scrollbar-track { background: #f5f6f8; }
