/* ---- CSS RESET & BASE ---- */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #1A2227;
  color: #F3EFEA;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #8CB0C9;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F3EFEA;
  text-decoration: underline;
}

/* ---- BRAND TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F3EFEA;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Spacing patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #222B32;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(36,61,82,0.09);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232b30;
  border-radius: 8px;
  box-shadow: 0 4px 16px 0 rgba(36,61,82,0.12);
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(140,176,201,0.18);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.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: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F3EFEA;
  color: #243D52;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(36,61,82,0.11);
  border-left: 5px solid #8CB0C9;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(140,176,201,0.14);
  border-left-color: #243D52;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 24px;
  flex: 1 1 350px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

/* ----- HEADER/NAVIGATION ----- */
header {
  width: 100%;
  background: #232b30;
  padding: 18px 0 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1002;
  box-shadow: 0 2px 10px 0 rgba(36,61,82,0.07);
}
header img {
  height: 44px;
  margin-left: 10px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #8CB0C9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 10px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #243D52;
  color: #F3EFEA;
}
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg,#8CB0C9,#3b5b70 90%);
  color: #F3EFEA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 11px 28px;
  box-shadow: 0 3px 7px 0 rgba(36,61,82,0.06);
  margin-left: 20px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  cursor: pointer;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg,#243D52,#8CB0C9 95%);
  color: #F3EFEA;
  box-shadow: 0 6px 16px 0 rgba(140,176,201,.23);
  outline: none;
}

/* Mobile Menu (Burger) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #8CB0C9;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 1041;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,32,37,0.98);
  box-shadow: 0 4px 28px 0 rgba(36,61,82,0.14);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 28px 28px 28px;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.55,0,.1,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #8CB0C9;
  font-size: 2.5rem;
  padding: 5px 12px;
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
  z-index: 1051;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F3EFEA;
  background: #243D52;
  border-radius: 3px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #8CB0C9;
  background: transparent;
  padding: 18px 8px 10px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232b30;
  color: #F3EFEA;
}

/* Hide desktop main nav on mobile */
@media (max-width: 992px) {
  header nav,
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 19px;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/* ---- BUTTONS ---- */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s, color .17s;
}
button:focus {
  outline: 2px solid #8CB0C9;
  outline-offset: 1px;
}

/* ---- MAIN CONTENT ---- */
p {
  margin-bottom: 16px;
  color: #F3EFEA;
  font-size: 1.1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  line-height: 1.7;
}
strong {
  font-weight: 900;
}
ul li, ol li {
  font-size: 1.1rem;
  color: #F3EFEA;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.65;
}
ul li img, ol li img {
  height: 22px;
  width: auto;
  margin-right: 11px;
  filter: grayscale(1) brightness(1.5) contrast(1.1);
}

.text-section ul {
  margin-bottom: 0;
}

/* ----- CARDS/FEATURES ---- */
.card, .feature-item {
  background: #232B32;
  color: #F3EFEA;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(36,61,82,0.13);
  padding: 20px;
}
.card strong, .feature-item strong {
  color: #8CB0C9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.card a {
  color: #8CB0C9;
  font-weight: 600;
}
.card a:hover, .card a:focus {
  color: #F3EFEA;
}

/* ---- FORM ELEMENTS ---- */
input, textarea, select {
  border: 1.5px solid #8CB0C9;
  border-radius: 5px;
  padding: 11px 14px;
  background: #222B32;
  color: #F3EFEA;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px 0 rgba(36,61,82,0.09);
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus{
  outline: 2px solid #8CB0C9;
  background: #232B32;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #F3EFEA;
  margin-bottom: 7px;
  display: block;
}

/* ---- FOOTER ---- */
footer {
  background: #222B32;
  padding: 38px 0 25px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 2px solid #343F48;
}
footer img {
  height: 37px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
footer nav a {
  color: #8CB0C9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 3px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  background: #243D52;
  color: #F3EFEA;
}
footer span {
  color: #B7C3C8;
  font-size: .92rem;
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #222B32;
  color: #F3EFEA;
  box-shadow: 0 -3px 20px 0 rgba(36,61,82,0.18);
  padding: 26px 6vw 16px 6vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2000;
  transition: transform 0.33s cubic-bezier(.55,0,.1,1), opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 14px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #243D52;
  color: #F3EFEA;
  border: none;
  border-radius: 5px;
  padding: 9px 18px;
  margin-right: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-banner button:hover, .cookie-banner button:focus,
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #8CB0C9;
  color: #222B32;
  box-shadow: 0 3px 16px 0 rgba(140,176,201,.21);
  outline: none;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.92);
  min-width: 320px;
  max-width: 98vw;
  background: #232B32;
  color: #F3EFEA;
  border-radius: 10px;
  box-shadow: 0 12px 54px 0 rgba(36,61,82,0.30);
  z-index: 2100;
  padding: 36px 30px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .33s, transform .37s cubic-bezier(.55,0,.1,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  color: #8CB0C9;
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  cursor: pointer;
  padding-left: 7px;
  font-size: 1rem;
  color: #F3EFEA;
}
.cookie-modal .cookie-switch {
  width: 40px;
  height: 22px;
  appearance: none;
  background: #343F48;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background .16s;
  margin-right: 7px;
}
.cookie-modal .cookie-switch:checked {
  background: #8CB0C9;
}
.cookie-modal .cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #F3EFEA;
  border-radius: 50%;
  transition: left .19s;
}
.cookie-modal .cookie-switch:checked:before {
  left: 21px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #243D52;
  color: #F3EFEA;
  border: none;
  border-radius: 5px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #8CB0C9;
  color: #222B32;
  outline: none;
}

/* ----- INDUSTRIAL MODERN UI EFFECTS ----- */
.section, .card, .testimonial-card {
  box-shadow:
    0 2px 16px 0 rgba(36,61,82,0.09),
    0 1.5px 0 0 #434A51 inset;
}
.card, .testimonial-card, .section, .content-wrapper, .feature-item {
  border-radius: 10px;
}
.card, .feature-item, .testimonial-card {
  border: 1.5px solid #343F48;
}
.card strong, .feature-item strong, .feature-item h3 {
  color: #B4C7D5;
}

/* --- MICRO-INTERACTION HOVERS --- */
.card:hover, .feature-item:hover, .text-section:hover {
  box-shadow: 0 6px 24px 0 rgba(140,176,201,0.12);
  border-color: #8CB0C9;
  z-index: 1;
}

/* Accent lines for industrial look */
.section {
  border-left: 4px solid #8CB0C9;
}
@media (max-width: 600px) {
  .section {
    border-left-width: 2px;
  }
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 992px) {
  .section, .container { 
    padding: 24px 10px;
  }
  .content-wrapper {
    gap: 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card, .card, .feature-item, .text-section {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 18px 3vw;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
  .card-container, .content-grid { flex-direction: column; gap: 20px; }
  .card, .testimonial-card, .feature-item, .text-section { margin-bottom: 18px; }
  header {
    flex-direction: row;
  }
  footer {
    padding-top: 26px;
  }
}
@media (max-width: 500px){
  .cookie-banner { padding: 16px 4vw 12px 4vw; }
  .cookie-modal { padding: 16px 4vw 10px 4vw; }
}

/* ---- INDUSTRIAL URBAN FEEL ---- */
body {
  /* dark base, metallic effect background accent */
  background: linear-gradient(120deg, #1A2227 80%, #222B32 100%);
}
.section {
  box-shadow: 0 2px 24px 0 rgba(36,61,82,0.09), 0 1.5px 0 0 #434A51 inset;
}
.card, .feature-item {
  border-left: 3px solid #8CB0C9;
}

/* --- Urban, industrial fonts accents --- */
h1, h2, h3, header nav a, .cta-primary, .mobile-nav a, label {
  text-shadow:
    0 1px 0 #232B32,
    0 2px 12px rgba(36,61,82,0.10);
  font-variant: small-caps;
  letter-spacing: 0.03em;
}

/* --- Utility Classes --- */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* --- Hide visually (for a11y) --- */
.sr-only {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  border: 0!important;
}

/* ---------------------- */
/* No CSS Grid. Only Flexbox! */

/* ---- Z-INDEX STRATIFICATION ---- */
header   { z-index: 1002; }
.mobile-menu { z-index: 1050; }
.cookie-banner { z-index: 2000; }
.cookie-modal  { z-index: 2100; }

/* ---- END ---- */
