/* =======================================================
   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,
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: #22313F;
  color: #E6DDD3;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
}
:focus {
  outline: 2px solid #BECACF;
  outline-offset: 2px;
}

/* =======================================================
   FONT & BODY SETUP (BRAND)
======================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700&display=swap');

body {
  background: #22313F;
  color: #E6DDD3;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E6DDD3;
  font-weight: bold;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }

p, li, ul, ol {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #E6DDD3;
  margin-bottom: 16px;
}
strong { font-weight: 700; }
.subheadline {
  color: #BECACF;
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

/* ================= PRIMARY CONTAINER & LAYOUT ================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* =====================================================
   HEADER & MAIN NAVIGATION
====================================================== */
header {
  background: #22313F;
  width: 100%;
  box-shadow: 0 2px 8px 0 rgba(24,32,40,0.08);
  position: sticky; top: 0; z-index: 20;
}
.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 20px 16px;
  gap: 22px;
}
.main-nav a, .main-nav img {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #E6DDD3;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.cta-button):hover, .main-nav a.active {
  background: #1B2228;
  color: #BECACF;
}
.main-nav img {
  height: 40px;
  width: auto;
  margin-right: 16px;
}

.cta-button {
  background: #BECACF;
  color: #22313F !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 5px;
  box-shadow: 0 2px 7px 0 rgba(25,32,40,0.12);
  border: none;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, box-shadow 0.19s;
  margin-left: 16px;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #E6DDD3;
  color: #22313F !important;
  box-shadow: 0 4px 16px 0 rgba(190,202,207,0.23);
}

/* ==================== MOBILE NAVIGATION ===================== */
.mobile-menu-toggle {
  display: none;
  background: #22313F;
  color: #BECACF;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  z-index: 40;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.22s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { background: #1B2228; color: #E6DDD3; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 340px;
  height: 100vh;
  background: #1B2228;
  color: #BECACF;
  box-shadow: -3px 0 36px 0 rgba(28,34,39,0.33);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.55,0,0.1,1);
  will-change: transform;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  margin: 24px 24px 8px auto;
  background: transparent;
  color: #E6DDD3;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.23s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #BECACF; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0 24px;
}
.mobile-nav a {
  color: #E6DDD3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #333d47;
  border-radius: 0;
  transition: color 0.18s, background 0.19s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:focus { color: #BECACF; background: #252E36; }

@media (max-width: 1050px) {
  .main-nav {
    gap: 8px;
  }
  .cta-button { margin-left: 4px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 4px; }
  .main-nav a, .main-nav .cta-button {
    font-size: 0.95rem;
    padding: 6px 8px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 16px;
  }
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* =====================================================
   SECTION, GRID, FLEX LAYOUTS (NO GRID ALLOWED)
====================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #252E36;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(22,30,39,0.11);
  padding: 32px 24px;
  color: #E6DDD3;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #E6DDD3;
  color: #22313F;
  border-radius: 11px;
  box-shadow: 0 3px 28px 0 rgba(34,49,63,0.12);
  border: 1px solid #BECACF;
  transition: box-shadow 0.23s, transform 0.21s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 36px 0 rgba(34,49,63,0.24);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
}
.features-grid > div {
  background: #252E36;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(22,30,39,0.10);
  padding: 26px 18px 28px 18px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 4px solid #BECACF;
  transition: box-shadow 0.19s, border-color 0.16s;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  box-shadow: 0 8px 30px 0 rgba(34,49,63,0.21);
  border-left: 4px solid #E6DDD3;
}
.features-grid img {
  width: 44px;
  margin-bottom: 9px;
  filter: grayscale(0.3) contrast(1.15);
}

.text-section {
  margin-bottom: 24px;
}
.text-section h3, .text-section strong { color: #BECACF; font-weight: 700; }
.text-section ul, .text-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #BECACF;
}
.text-section li {
  margin-bottom: 8px;
  list-style: disc inside;
}

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  color: #22313F;
  font-size: 1.2rem;
  margin-bottom: 16px;
  border-left: 3px solid #22313F;
  padding-left: 16px;
  background: none;
}

/* ================== HERO SECTIONS ================== */
.hero {
  padding: 60px 0 50px 0;
  background: linear-gradient(99deg, #222C33 62%, #22313F 100%);
  border-bottom: 2px solid #BECACF;
}
.hero h1 {
  color: #E6DDD3;
  font-size: 2.7rem;
  font-weight: 900;
  text-shadow: 1px 2px 0 #212B33, 0 1px 8px rgba(35,49,63,0.11);
  margin-bottom: 12px;
}
.hero .subheadline {
  color: #BECACF;
  font-size: 1.25rem;
  margin-bottom: 28px;
}

.hero img {
  margin-top: 18px;
  max-height: 80px;
}

/* ============== BUTTONS & MICRO-INTERACTIONS =============== */
button, .cta-button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #BECACF;
  color: #22313F;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  padding: 11px 32px;
  margin-top: 10px;
  box-shadow: 0 1px 6px 0 rgba(34,49,63,0.07);
  transition: background 0.19s, color 0.18s, box-shadow 0.18s, transform 0.14s;
}
button:hover, .cta-button:hover, input[type="submit"]:hover,
button:focus, .cta-button:focus, input[type="submit"]:focus {
  background: #E6DDD3;
  color: #22313F;
  box-shadow: 0 4px 22px 0 rgba(222,217,210,0.14);
  transform: translateY(-1px) scale(1.02);
}

/* ============= TABLES, FORMS, FOOTER, MISC ============= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: #252E36;
}
th, td { padding: 10px 14px; }
th { background: #24303b; font-weight: 700; }
td { border-bottom: 1px solid #3B4B59; }

footer {
  background: #19222A;
  color: #BECACF;
  padding: 32px 0 18px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
  justify-content: center;
}
.footer-nav a {
  color: #BECACF;
  font-size: 0.99rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  padding: 4px 10px;
  transition: color 0.16s, background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #252E36;
  color: #E6DDD3;
}
footer .text-section p {
  color: #88939C;
  font-size: 0.99rem;
  letter-spacing: 0.01em;
  text-align: center;
}

/* ========== COOKIE CONSENT BANNER & MODAL =========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 900;
  width: 100vw;
  background: #252E36;
  color: #E6DDD3;
  box-shadow: 0 -2px 24px 0 rgba(35,49,63,0.20);
  padding: 22px 10px 22px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 1rem;
  transition: transform 0.39s, opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-text {
  color: #E6DDD3;
  margin-right: 20px;
  max-width: 60vw;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  background: #BECACF;
  color: #22313F;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #E6DDD3;
  color: #22313F;
}
.cookie-settings-btn {
  background: transparent;
  border: 1px solid #BECACF;
  color: #BECACF;
  margin-left: 8px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #E6DDD3;
  color: #22313F;
  border-color: #E6DDD3;
}
/* Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,63,0.68);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  width: 96vw;
  max-width: 450px;
  background: #E6DDD3;
  color: #22313F;
  border-radius: 12px;
  box-shadow: 0 8px 40px 0 rgba(34,49,63,0.32);
  padding: 46px 28px 34px 28px;
  position: relative;
  animation: cookie-modal-pop 0.29s cubic-bezier(0.46,0.62,0.2,1.0);
}
@keyframes cookie-modal-pop {
  0% { opacity: 0; transform: scale(0.93) translateY(34px); }
  90% { opacity: 1; transform: scale(1.05) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: #22313F;
  margin-bottom: 18px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.cookie-modal-category {
  display: flex; flex-direction: row; align-items: center; gap: 18px;
}
.cookie-modal-category label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  width: 1.1em; height: 1.1em;
  accent-color: #22313F;
  border-radius: 3px;
  margin-right: 5px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 22px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #22313F;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 24px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  background: #22313F;
  color: #E6DDD3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .cookie-accept-all {
  background: #22313F;
  color: #E6DDD3;
}
.cookie-modal .cookie-accept-all:hover,
.cookie-modal .cookie-accept-all:focus { background: #BECACF; color: #22313F; }
.cookie-modal .cookie-reject-all {
  background: #BECACF;
  color: #22313F;
}
.cookie-modal .cookie-reject-all:hover,
.cookie-modal .cookie-reject-all:focus { background: #E6DDD3; color: #22313F; }


/* ================== RESPONSIVE ===================== */
@media (max-width: 1050px) {
  .hero h1 { font-size: 2.1rem; }
  .features-grid {
    gap: 18px;
  }
  .features-grid > div {
    padding: 18px 10px 24px 11px;
    min-width: 180px;
    font-size: 0.98rem;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; padding: 0 6px; }
  .features-grid {
    gap: 15px;
  }
  .features-grid > div {
    padding: 13px 6px 17px 8px;
    font-size: 0.96rem;
  }
  .hero { padding: 38px 0 28px 0; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 30px;
    padding: 18px 5px;
  }
  .content-grid, .features-grid, .card-container {
    flex-direction: column !important;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-nav { gap: 10px; }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 1.3rem; }
  h2 { font-size: 1.05rem; }
  .container { padding: 0 2vw; }
}

/* =========== INDUSTRIAL MODERN METALLIC ACCENTS ============ */
.features-grid > div, .card, .testimonial-card {
  border-top: 2px solid #7A868C;
  border-right: 1.5px solid #454F56;
  box-shadow: 0 2px 18px 0 rgba(88,98,106,0.13), 0 0.5px 0 #E6DDD3 inset;
}
.features-grid > div:hover, .card:hover {
  border-top: 2.5px solid #BECACF;
  box-shadow: 0 8px 32px 0 rgba(190,202,207,0.24);
}

.testimonial-card, .card, .features-grid > div {
  /* Metal subtle texture effect on highlight */
  background:
    repeating-linear-gradient(-8deg, #252E36, #252E36 44px, #27303C 54px, #252E36 68px),
    linear-gradient(112deg, #323F4A 0%, #252E36 90%);
  position: relative;
  overflow: hidden;
}
.testimonial-card {
  background: #E6DDD3;
  color: #22313F;
}
.testimonial-card p, .testimonial-card strong, .testimonial-card blockquote { color: #22313F !important; }

.features-grid > div:before, .card:before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(93deg, #878E92 5%, #BECACF 60%, #22313F 96%);
  opacity: 0.17;
  pointer-events: none;
}

.features-grid > div h3, .card h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 1rem;
  font-weight: 700;
  color: #BECACF;
  margin-bottom: 7px;
}

.features-grid > div p, .card p {
  color: #E6DDD3;
  font-size: 0.97rem;
}


/* ============ VISUAL HIERARCHY & SPACING ============== */
.section, .container, .card, .testimonial-card, .features-grid > div, .text-section, .hero, .footer-nav {
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper { gap: 18px; }
.card-container, .card, .features-grid, .features-grid > div, .testimonial-card { margin-bottom: 20px; }

/* =========== UTILITY CLASSES ============= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }

/* ============ ICONS/TEXT & IMAGES =============== */
.text-section img, .text-section svg {
  height: 19px;
  width: 19px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: -0.3em;
  filter: grayscale(0.45) brightness(0.88) contrast(1.2);
}

.features-grid img {
  margin-bottom: 0.6em;
  height: 44px !important; width: 44px !important;
}

/* ============ ANIMATIONS =============== */
a, button, .cta-button, .cookie-banner button {
  transition: color 0.20s, background 0.18s, box-shadow 0.23s, transform 0.14s;
}
.features-grid > div, .card, .testimonial-card, .hero {
  transition: box-shadow 0.20s, transform 0.18s;
}
.features-grid > div:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 9px 36px 0 rgba(120,138,150,0.21), 0 1.5px 0 #E6DDD3 inset;
  transform: translateY(-2px) scale(1.015);
}

/* ============= SCROLLBARS ================ */
body::-webkit-scrollbar { width: 10px; background: #19222A; }
body::-webkit-scrollbar-thumb {
  background: #454F56;
  border-radius: 5px;
}
/* ============ END ============= */
