/* 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  /* Antialiased, smooth font */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #161616;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.25em;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0a0a0a;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: -2px; margin-top: 0; }
h2 { font-size: 2rem; letter-spacing: -1px; }
h3 { font-size: 1.5rem; letter-spacing: -0.75px; }
h4 { font-size: 1.12rem; }
p, li, a, span, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
.subheadline {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 24px;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: #181818;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  flex: 1 1 0;
  background: #fff;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1 1 320px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
}
.feature-grid > li {
  background: #f7f7f7;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(18,18,18,0.06);
  flex: 1 1 240px;
  padding: 32px 26px 28px 26px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.2s cubic-bezier(.4,0,.2,1);
}
.feature-grid > li:hover {
  box-shadow: 0 8px 32px 0 rgba(18,18,18,0.15);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img {
  width: 44px;
  margin-bottom: 10px;
  filter: grayscale(1) contrast(1.3);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 14px rgba(40,40,40,0.06);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 18px;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  border-radius: 14px;
  background: #fafafd;
  box-shadow: 0 3px 20px 0 rgba(12,12,12,0.07);
  margin-bottom: 24px;
  max-width: 430px;
  color: #181818;
  transition: box-shadow 0.18s cubic-bezier(.5,0,.2,1), transform 0.12s cubic-bezier(.6,0,.5,1);
}
.testimonial-card p {
  font-size: 18px;
  font-style: italic;
  color: #191b1c;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 16px;
  font-weight: 500;
  color: #5c5c5c;
}
.testimonial-card:hover {
  box-shadow: 0 7px 26px 0 rgba(40,40,40,0.16);
  transform: scale(1.03);
}

/* HERO BUTTONS, CTAS, LINKS */
.cta-button, .header-cta, .cookie-banner .accept-btn, .cookie-banner .reject-btn, .cookie-banner .settings-btn, .cookie-modal .accept-btn, .cookie-modal .reject-btn, .cookie-modal .save-btn {
  background: #191b1c;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.07);
  padding: 14px 30px;
  margin: 10px 0 0 0;
  text-transform: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(.7,.1,.6,1), color 0.19s cubic-bezier(.4,0,.2,1), transform 0.16s cubic-bezier(.7,0,.3,1);
}
.cta-button:hover, .header-cta:hover, .cookie-banner .accept-btn:hover, .cookie-modal .accept-btn:hover, .cookie-modal .save-btn:hover {
  background: #25408F;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cta-button:active, .header-cta:active {
  background: #181b1c;
  color: #fff;
  transform: scale(0.99);
}
.header-cta {
  margin-left: auto;
  margin-right: 20px;
  padding: 10px 22px;
  font-size: 1rem;
}
/* Cookie Banner Button Colors */
.cookie-banner .accept-btn,
.cookie-modal .accept-btn,
.cookie-modal .save-btn {
  background: #191b1c;
  color: #fff;
}
.cookie-banner .reject-btn,
.cookie-modal .reject-btn {
  background: #fff;
  color: #111;
  border: 1px solid #191b1c;
}
.cookie-banner .reject-btn:hover,
.cookie-modal .reject-btn:hover {
  background: #191b1c;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: #f4f4f4;
  color: #222;
  border: 1px solid #bbb;
}
.cookie-banner .settings-btn:hover {
  background: #ececec;
  color: #161616;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(18,18,18,0.04);
  z-index: 500;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 80px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  color: #212121;
  opacity: 0.85;
  border-radius: 4px;
  padding: 7px 16px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #191b1c;
  color: #fff;
  outline: none;
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  padding: 0 8px;
  margin-left: 30px;
  color: #0a0a0a;
  z-index: 1001;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #25408F;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 24, 24, 0.97);
  width: 100vw;
  height: 100vh;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.68,-0.2,.27,1.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 10px 24px;
  font-size: 2.15rem;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-start;
  cursor: pointer;
  z-index: 2000;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #CEDC02;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.48rem;
  color: #fff;
  opacity: 0.98;
  border-radius: 7px;
  padding: 10px 0 10px 2px;
  font-weight: 600;
  letter-spacing: -1px;
  transition: color 0.1s, background 0.15s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CEDC02;
  background: rgba(39,57,143,0.13);
}

/* Hide desktop nav for small screens */
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Show desktop nav for large screens */
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #181b1c;
  color: #fff;
  padding: 44px 0 0 0;
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: flex-start;
  padding-bottom: 18px;
}
footer a {
  color: #f4f4f4;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 42px;
}
footer nav a:hover,footer nav a:focus {
  text-decoration: underline;
  color: #CEDC02;
}
.footer-contact p {
  color: #cedcdb;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

/* GENERAL ELEMENTS */
hr {
  border:none; border-top:1px solid #e0e0e0; margin:32px 0;
}
/* Cards/Article/Aside (Blog sidebar) */
article {
  background: #f2f2f2;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(25,25,25,0.10);
  padding: 24px 20px;
  margin-bottom: 22px;
}
aside {
  background: #222;
  color: #fff;
  border-radius: 8px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 5px 22px 0 rgba(10,10,10,0.22);
}
aside h2 {
  color: #CEDC02;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
aside ul li a {
  color: #CEDC02;
  text-decoration: underline;
  transition: color 0.16s;
}
aside ul li a:hover, aside ul li a:focus {
  color: #fff;
  text-decoration: none;
}

/* LISTS */
ul, ol {
  list-style: disc inside;
  margin-bottom: 1em;
}
.text-section ul, .text-section ol {
  margin-bottom: 0.5em;
}
li {
  margin-bottom: 7px;
}

/* ICONS */
.text-section img, p img {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  margin-right: 7px;
  filter: grayscale(1) contrast(1.3);
  opacity: 0.83;
}

/* VISUAL STYLE: Monochrome Sophisticated */
body {
  background: #f6f7fa;
  color: #15191d;
}

section, .section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(12,12,12,0.042);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Shadows, Spacing, Transition */
.card, .feature-grid>li, .testimonial-card, article {
  box-shadow: 0 4px 20px 0 rgba(12,12,12,0.06);
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .feature-grid>li:hover, .testimonial-card:hover, article:hover {
  box-shadow: 0 8px 28px 0 rgba(12,12,12,0.15);
}

/* Rounded corners & borders */
.card, .feature-grid>li, .testimonial-card, section, .section, article {
  border-radius: 13px;
}

/* Micro-interactions on links */
a {
  transition: color 0.16s, background 0.13s, text-shadow 0.15s;
}
a:hover, a:focus {
  color: #25408F;
  outline: none;
}
h1:after {
  content: '';
  display: block;
  width: 54px; height: 3px;
  background: #25408F;
  margin-top: 18px;
  border-radius: 2px;
}

/* Blog post call-to-actions */
article h2 {
  font-size: 1.45rem;
  color: #181818;
}
article p {
  color: #232323;
  font-size: 1.07rem;
}

/* Animate section entrance (optional, progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  section, .section, .card, .testimonial-card, .feature-grid>li, .cta-button, article, aside {
    animation: fadeInUp 0.7s cubic-bezier(.65,-0.03,.3,1.14) 0.06s both;
  }
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(24px); }
  to   { opacity:1; transform: translateY(0); }
}

/* RESPONSIVE LAYOUTS (MOBILE FIRST) */
@media (max-width: 990px) {
  .container,
  main .container,
  footer .container {
    padding-left: 14px;
    padding-right: 14px;
    flex-direction: column;
    gap: 0;
  }
  main .container,
  .section {
    padding: 32px 6px;
  }
  .content-wrapper,
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card, .feature-grid>li {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  header .container {
    min-height: 72px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    padding-bottom: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    padding-top: 12px;
  }
}
@media (max-width: 660px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.24rem; }
  h3 { font-size: 1.08rem; }
  .header-cta, .cta-button, .cookie-banner .accept-btn, .cookie-banner .reject-btn, .cookie-modal .accept-btn, .cookie-modal .reject-btn, .cookie-banner .settings-btn, .cookie-modal .save-btn {
    font-size: 0.98rem;
    padding: 11px 14px;
  }
}

/* FOCUS STATES */
.cta-button:focus, .header-cta:focus, nav a:focus, .mobile-nav a:focus {
  outline: 2px solid #25408F;
  outline-offset: 2px;
  background: #CEDC02;
  color: #181818;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2900;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 16px 0 rgba(22,22,22,0.12);
  padding: 20px 24px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  border-top: 1px solid #ebebeb;
  font-size: 1.03rem;
  color: #1c1c1c;
  animation: fadeInUp 0.7s cubic-bezier(.61,-0.01,.5,1.14) 0.12s both;
}
.cookie-banner__desc {
  flex: 1 1 auto;
}
.cookie-banner .accept-btn, .cookie-banner .reject-btn, .cookie-banner .settings-btn {
  margin: 0 10px 0 0;
  min-width: 130px;
  min-height: 45px;
  box-sizing: border-box;
}
.cookie-banner .accept-btn {
  background: #191b1c;
  color: #fff;
}
.cookie-banner .accept-btn:hover { background: #25408F; color: #fff; }
.cookie-banner .reject-btn { background: #fff; color: #191b1c; border: 1px solid #191b1c; }
.cookie-banner .reject-btn:hover { background: #191b1c; color: #fff; }
.cookie-banner .settings-btn { background: #f4f4f4; color: #222; border: 1px solid #bbb; }
.cookie-banner .settings-btn:hover { background: #ececec; color: #161616; }
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 9px 16px 9px;
  }
  .cookie-banner .accept-btn,
  .cookie-banner .reject-btn,
  .cookie-banner .settings-btn {
    margin-bottom: 5px;
    min-width: 90px;
  }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 3001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(18,18,18,0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.23s cubic-bezier(.7,0,.3,1.1) 0.05s both;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 48px 4px rgba(0,0,0,0.23);
  width: 95vw;
  max-width: 410px;
  padding: 28px 34px 24px 34px;
  z-index: 3010;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: fadeInUp 0.31s cubic-bezier(.4,-0.1,.4,1.1) 0.04s both;
  color: #101010;
}
.cookie-modal h2 {
  font-size: 1.44rem;
  margin-bottom: 3px;
  color: #181818;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-modal input[type=checkbox] {
  accent-color: #25408F;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 17px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .reject-btn, .cookie-modal .accept-btn, .cookie-modal .save-btn {
  min-width: 110px;
  height: 44px;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 16px 6vw;
    font-size: 0.98rem;
  }
}

/* TONE & MONOCHROME ACCENTS for Icons, Highlights */
.feature-grid img, .text-section img, .card img {
  filter: grayscale(1) contrast(1.22) brightness(1.07);
  opacity: 0.91;
}

/* MISC: Accessibility & Print */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  body { color: #000; background: #fff; }
  section, .section { background: none; box-shadow: none; }
}

/* Hide / show elements utility */
.hidden {
  display: none !important;
}

/* Util: visually hidden for accessibility */
.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; }
