/* =================================================
   INDUSTRIAL MODERN CSS for StilKompass (2024)
   Author: Senior CSS Developer & UI Designer
   Description: Modern industrial/urban, responsive, 
   Flexbox Only, Animations, Cookie Banner, Mobile Nav
   ================================================= */
/* 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, 
main, 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;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #1B232A;
  color: #F3F6F8;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #ACC7B4;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #FCEFD4;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
strong, b {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.text-section {
  margin-bottom: 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FCEFD4;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  color: #FCEFD4;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-shadow: 1px 2px 0 #223249, 0 6px 12px rgba(0,0,0,.45);
}
h2 {
  font-size: 1.8rem;
  color: #ACC7B4;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.2rem;
  color: #dfe8e4;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, blockquote {
  font-size: 1rem;
  color: #d3d5d9;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  background: #252F3A;
  color: #ACC7B4;
  padding: 16px 24px;
  border-left: 6px solid #ACC7B4;
  margin: 0 0 10px 0;
  border-radius: 4px 14px 14px 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
}

hr {
  border: none;
  border-top: 1.5px solid #29415D;
  margin: 32px 0;
  opacity: 0.3;
}

/* FLEXBOX SPACING/STRUCTURE */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232B32;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(27, 35, 42, 0.18), 0 2px 6px rgba(60,69,78,0.10);
  border: 1px solid #313A40;
  margin-bottom: 20px;
  position: relative; /* for decorative or absolute accents only */
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 7px 24px rgba(34,50,73, 0.23), 0 2px 14px #22324944;
  transform: translateY(-2px) scale(1.02);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #FCEFD4;
  box-shadow: 0 2px 12px rgba(34,50,73,0.10);
  margin-bottom: 20px;
  color: #223249;
  border: 1px solid #ACC7B4;
  min-width: 0;
  flex-direction: row;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card blockquote {
  color: #223249;
  background: transparent;
  border-left-color: #ACC7B4;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 16px #22324922, 0 1px 8px #acc7b488;
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #232B32;
  border: 1px solid #293743;
  border-radius: 8px;
  padding: 22px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.features-grid > div {
  background: #232B32;
  border-radius: 10px;
  padding: 30px 18px 22px;
  border: 1.5px solid #313A40;
  min-width: 220px;
  flex: 1 1 210px;
  box-shadow: 0 2px 9px #22324919;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.features-grid > div img {
  width: 38px;
  filter: grayscale(20%) contrast(1.2) drop-shadow(0 1px 2px #1b232a5d);
}
.features-grid > div:hover {
  box-shadow: 0 7px 22px #22324938;
  border-color: #ACC7B4;
  transform: translateY(-3px) scale(1.03);
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: #232B32;
  border-radius: 9px;
  border: 1px solid #2F3A47;
  padding: 20px 20px 17px;
  flex: 1 1 300px;
}

/* =========== HEADER =========== */
header {
  background: #1B232A;
  border-bottom: 1.5px solid #293748;
  box-shadow: 0 2px 14px #22324920;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  min-height: 68px;
  position: relative;
}
.logo img {
  height: 42px;
  min-width: 120px;
  margin-right: 15px;
}
nav.main-nav {
  gap: 16px;
  margin-left: 16px;
  flex: 1 1 auto;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ACC7B4;
  padding: 7px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #223249;
  color: #FCEFD4;
}

.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background-color: #ACC7B4;
  color: #223249;
  padding: 10px 26px 10px 22px;
  margin-left: 16px;
  border: none;
  border-radius: 7px;
  font-size: 1.13rem;
  cursor: pointer;
  letter-spacing: .05em;
  box-shadow: 0 2px 8px #1b232a33;
  text-shadow: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.15s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background-color: #223249;
  color: #FCEFD4;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 22px #acc7b420, 0 1px 7px #22324942;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ACC7B4;
  font-size: 2.3rem;
  padding: 6px 8px;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 7px;
  transition: background 0.18s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #223249;
  color: #FCEFD4;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  padding: 0;
  background: #232B32;
  box-shadow: 0 0 100px #22324999;
  z-index: 2000;
  transform: translateX(-105vw);
  transition: transform 0.37s cubic-bezier(.68,-0.25,.51,1.31);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #ACC7B4;
  font-size: 2.5rem;
  margin: 18px 20px 0 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #29415D;
  color: #FCEFD4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  width: 100vw;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17em;
  color: #ACC7B4;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  font-weight: 500;
  letter-spacing: 0.02em;
  width: fit-content;
  min-width: 164px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #223249;
  color: #FCEFD4;
}

@media (max-width: 1020px) {
  nav.main-nav {
    gap: 7px;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 860px) {
  nav.main-nav {
    gap: 3px;
  }
  .cta-primary {
    margin-left: 7px;
    padding: 9px 16px 8px 13px;
    font-size: 1rem;
  }
  header .container {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  nav.main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container, .content-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section {
    padding: 23px 8px;
    margin-bottom: 38px;
  }
  .features-grid, .card-container, .blog-list, .faq-list {
    gap: 14px;
    flex-direction: column;
  }
  .features-grid > div, .faq-list > div {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    padding: 16px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.19rem;
  }
}

/* ===== MAIN / CONTENT ===== */
main {
  flex: 1 1 auto;
  width: 100vw;
  min-height: 60vh;
}
section {
  background: none;
  width: 100%;
}

ul li {
  margin-bottom: 8px;
  color: #ccd3d8;
}
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  height: 23px;
}
footer {
  background: #161B20;
  border-top: 2px solid #232B32;
  padding: 42px 0 22px;
  box-shadow: 0 -3px 38px #22324913;
}
footer .container {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: 20px;
  align-items: flex-start;
}
footer nav a {
  color: #ACC7B4;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.17s, color 0.14s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
footer nav a:hover {
  background: #232B32;
  color: #FCEFD4;
}
.footer-contact {
  margin-left: 28px;
  color: #B0BAC2;
  font-size: 0.94rem;
  max-width: 270px;
}
.copyright {
  color: #353E47;
  font-size: 0.91rem;
  margin-top: 30px;
  margin-left: auto;
  letter-spacing: 0.06em;
}
footer img {
  height: 44px;
  margin-right: 19px;
}
@media (max-width: 970px) {
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .footer-contact, footer nav {
    margin-left: 0;
  }
  .copyright {
    margin-top: 12px;
    margin-left: 0;
  }
}

/* CARDS (used for features, blog, faq, etc.) */
.text-section {
  background: #232B32;
  border: 1px solid #29415D;
  border-radius: 6px;
  padding: 20px 15px 18px;
  margin-bottom: 18px;
  box-shadow: 0 1.5px 9px #22324912;
  transition: box-shadow 0.15s, transform 0.18s;
}
.text-section:hover {
  box-shadow: 0 6px 14px #22324923;
  transform: translateY(-2px);
}

/* BUTTONS & CTAs */
button, .button, input[type=submit] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  background-color: #ACC7B4;
  color: #223249;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  font-size: 1.13rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #1b232a33;
  transition: background 0.17s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
button:hover, .button:hover, input[type=submit]:hover,
button:focus, .button:focus, input[type=submit]:focus  {
  background: #223249;
  color: #FCEFD4;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 22px #acc7b420, 0 1px 6px #22324942;
}

/* =========== COOKIE CONSENT =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #232B32;
  color: #FCEFD4;
  padding: 22px 15px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -1.5px 32px #22324933;
  border-top: 2px solid #ACC7B4;
  animation: cookieIn 0.66s cubic-bezier(.75,-0.7,.36,1.66);
}
@keyframes cookieIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 2 1 300px;
  font-size: 1rem;
  color: #FCEFD4;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner__button, .cookie-banner__settings {
  background: #223249;
  color: #FCEFD4;
  border: none;
  border-radius: 5px;
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-right: 3px;
  box-shadow: 0 1.5px 7px #2232492d;
  transition: background 0.14s, color 0.12s, transform 0.13s;
}
.cookie-banner__button.accept {
  background: #ACC7B4;
  color: #223249;
}
.cookie-banner__button.reject {
  background: #ACC7B4;
  color: #b94141;
}
.cookie-banner__button:hover, .cookie-banner__settings:hover, .cookie-banner__button:focus, .cookie-banner__settings:focus {
  background: #29415D;
  color: #FCEFD4;
  transform: translateY(-2px) scale(1.04);
}
.cookie-banner__button.accept:focus {
  border: 2px solid #232B32;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding-left: 11px;
    padding-right: 11px;
  }
  .cookie-banner__text { font-size: .98rem; }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 4000;
  background: rgba(27,35,42, 0.89);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinCookieModal 0.3s;
}
@keyframes fadeinCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #232B32;
  padding: 30px 33px 26px;
  max-width: 400px;
  width: 93vw;
  border-radius: 10px;
  box-shadow: 0 4px 32px #22324944, 0 1.5px 4.5px #acc7b410;
  color: #FCEFD4;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h2 {
  color: #ACC7B4;
  font-size: 1.38rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  padding: 7px 0;
}
.cookie-modal label {
  color: #d3d5d9;
}
.cookie-modal .toggle-switch {
  margin-right: 13px;
  cursor: pointer;
  appearance: none;
  width: 36px;
  height: 20px;
  background: #29415D;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-modal .toggle-switch:checked {
  background: #ACC7B4;
}
.cookie-modal .toggle-switch::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: #223249;
  border-radius: 50%;
  box-shadow: 0 1.5px 5px #2232492a;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 11px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 15px;
  right: 16px;
  background: none;
  border: none;
  color: #ACC7B4;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #FCEFD4;
}

/* ============================= */
/* SHADOWS & URBAN EFFECTS */
/* ============================= */
.card, .features-grid > div, .faq-list > div, .text-section {
  border-radius: 7px;
  box-shadow: 0 2px 9px #2232490d;
}
.card:hover, .features-grid > div:hover, .faq-list > div:hover, .text-section:hover {
  box-shadow: 0 8px 20px #22324922;
}

/* ========================== */
/* INDUSTRIAL/MODERN FONTS   */
/* ========================== */
body, p, li, td, th {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, .cta-primary, nav, .logo {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ======================= */
/* SELECTION & FOCUS      */
/* ======================= */
::selection {
  background: #ACC7B4;
  color: #223249;
}
a:focus, .cta-primary:focus, button:focus, input:focus {
  outline: 2px solid #ACC7B4;
  outline-offset: 2px;
}
input, textarea, select {
  border-radius: 5px;
  border: 1px solid #293748;
  background: #232B32;
  color: #FCEFD4;
  padding: 11px 10px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: border 0.15s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: #ACC7B4;
}

/* ================================ */
/* MICRO-INTERACTIONS & ANIMATIONS  */
/* ================================ */
.card, .features-grid > div, .testimonial-card, .text-section, .faq-list > div {
  transition: box-shadow 0.19s, border-color 0.19s, transform 0.16s;
}
.features-grid > div:active, .card:active {
  transform: scale(0.98);
}
.cta-primary:active, .cookie-banner__button:active {
  transform: scale(0.95);
}
.mobile-menu {
  will-change: transform;
}

/* ========================= */
/* COLOR SCHEME (Brand)      */
/* ========================= */
:root {
  --color-primary: #223249;
  --color-secondary: #ACC7B4;
  --color-accent: #FCEFD4;
  --color-bg: #1B232A;
  --color-bg-card: #232B32;
  --color-meta: #B0BAC2;
  --color-font: #F3F6F8;
}

/* ========================= */
/* SCROLLBAR (for desktops)  */
/* ========================= */
::-webkit-scrollbar {
  width: 11px;
  background: #232B32;
}
::-webkit-scrollbar-thumb {
  background: #293748;
  border-radius: 8px;
}

/* ========================= */
/* UTILITIES                 */
/* ========================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* ========================= */
/* INDUSTRIAL-URBAN DETAILS  */
/* ========================= */
.features-grid > div, .faq-list > div, .card {
  border-left: 4px solid #ACC7B4;
}
.features-grid > div:hover {
  border-left-color: #223249;
}

/* METALLIC EFFECT DECORATIVE */
.card::after, .features-grid > div::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  margin-top: 12px;
  background: #ECC082;
  opacity: .19;
}
.card:hover::after, .features-grid > div:hover::after {
  background: #FCEFD4;
  opacity: .29;
}

/* Hide on mobile for metallic details for perf. */
@media (max-width: 550px) {
  .card::after, .features-grid > div::after {
    display: none;
  }
}

/* ======================== */
/* ORDER: MOBILE FIRST!     */
/* ======================== */
@media (max-width: 500px) {
  h1 { font-size: 1.11rem; } 
  h2 { font-size: 1rem; }
  .features-grid > div, .faq-list > div, .card, .testimonial-card {
    padding: 16px 8px 10px;
  }
}

/* =============================== */
/* END OF INDUSTRIAL MODERN CSS    */
/* =============================== */
