/* ==========================================================================   CSS RESET & BASE NORMALIZATION   ========================================================================== */
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #23282d;
  color: #f4e2c3;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #B7BECA;
  text-decoration: none;
  transition: color .25s;
}
a:hover, a:focus {
  color: #F4E2C3;
  outline: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F4E2C3;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; }
p {
  color: #B7BECA;
  margin-bottom: 16px;
  font-size: 1rem;
}
strong, b { font-weight: 700; }

ul, ol {
  margin-left: 1.3em;
  margin-bottom: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  color: #B7BECA;
  font-size: 1rem;
}

blockquote {
  padding: 20px 30px;
  background: #2e363a;
  border-left: 4px solid #B7BECA;
  color: #F4E2C3;
  margin-bottom: 20px;
  font-style: italic;
  border-radius: 5px;
}

/* =====================   LAYOUT STRUCTURE   ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===============   FLEXBOX PATTERNS   =============== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23272e;
  border-radius: 7px;
  box-shadow: 0 2px 17px 0 rgba(20,23,28,0.07);
  transition: box-shadow .2s, transform .2s;
  padding: 24px;
  min-width: 250px;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(40,50,58,.18);
  transform: translateY(-8px) 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 {
  background: #f4e2c3;
  color: #23272e;
  border-radius: 8px;
  box-shadow: 0 2px 11px 0 rgba(30,30,40,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  margin-bottom: 20px;
  border-left: 5px solid #B7BECA;
}
.testimonial-card strong {
  color: #28323A;
  font-weight: bold;
}
.testimonial-card span {
  color: #eab92d;
  font-weight: 900;
  font-size: 1.1em;
  margin-left: 5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================   NAVIGATION BAR   ===================== */
header {
  background: #23282d;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 1px 16px 0 rgba(30,30,40,0.12);
  padding-bottom: 0;
}
nav {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
}
nav > a img {
  height: 44px;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #B7BECA;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 5px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: background .23s, color .23s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #28323A;
  color: #F4E2C3;
}
.button-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #B7BECA;
  border: none;
  color: #23282D;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 33px;
  border-radius: 29px;
  box-shadow: 0 4px 20px 0 rgba(40,50,58,0.13);
  letter-spacing: 0.09em;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 16px;
  transition: background .24s, color .24s, transform .12s;
  outline: none;
}
.button-primary:hover, .button-primary:focus {
  background: #F4E2C3;
  color: #28323A;
  transform: translateY(-3px) scale(1.04);
}

/* ========================   MOBILE NAV   ======================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #B7BECA;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1201;
  line-height: 1;
  transition: color .2s;
}
.mobile-menu-toggle:focus {
  color: #F4E2C3;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,50,58, 0.99);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(0.86, 0, 0.07, 1);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu .35s cubic-bezier(0.8, 0, 0.2, 1);
}
@keyframes slideInMenu {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #B7BECA;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F4E2C3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 24px 36px;
  margin-top: 10px;
}
.mobile-nav a {
  color: #F4E2C3;
  font-size: 1.15rem;
  padding: 16px 3px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 5px;
  transition: background .19s, color .19s;
  font-weight: 600;
  letter-spacing: 0.07em;
}
.mobile-nav a:hover, .mobile-nav a:active {
  background: #2e363a;
  color: #B7BECA;
}

/* ========================   RESPONSIVE NAVIGATION   ======================== */
@media (max-width: 1040px) {
  nav { gap: 14px; }
  nav ul { gap: 12px; }
  .button-primary {padding:12px 20px;}
}
@media (max-width: 860px) {
  nav ul {display: none;}
  nav .button-primary {display: none;}
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 14px;
  }
  .content-wrapper, .content-grid, .card-container, .text-image-section {
    gap: 15px;
  }
}

/* ======== FLEX DIRECTION COLUMN ON MOBILE FOR CERTAIN SECTION ======== */
@media (max-width: 768px) {
.text-image-section, .content-grid {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
}

/* ========================   PAGE SECTIONS   ======================== */
section {
  border-radius: 13px;
  background: #23272e;
  margin-bottom: 32px;
  box-shadow: 0 2px 14px 0 rgba(30,34,40,.08);
  max-width: 100vw;
}

.text-section {
  background: #23272e;
  border-radius: 7px;
  padding: 20px 20px 20px 24px;
  font-size: 1.05rem;
  box-shadow: 0 1px 7px 0 rgba(30,30,40,0.04);
}

/* ========================   TEAM MEMBER CARD   ======================== */
.team-member {
  background: #23272e;
  border-radius: 8px;
  box-shadow: 0 4px 12px 0 rgba(40,50,58,0.06);
  color: #B7BECA;
  margin-bottom: 24px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 240px;
}
.team-member h3 {
  color: #F4E2C3;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

/* ========================   BLOG POST SNIPPET   ======================== */
.blog-post-snippet {
  background: #23272e;
  border-left: 4px solid #B7BECA;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 rgba(30,34,40,.06);
  margin-bottom: 22px;
  padding: 22px 18px;
  transition: box-shadow .17s, transform .19s;
}
.blog-post-snippet:hover {
  box-shadow: 0 4px 19px 0 rgba(40,50,58,0.17);
  transform: translateY(-5px) scale(1.018);
}
.read-more {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #B7BECA;
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid #B7BECA;
  font-size: 0.98rem;
  transition: background .17s, color .17s;
}
.read-more:hover, .read-more:focus {
  background: #B7BECA;
  color: #28323A;
  border: 1px solid #28323A;
}

/* ========================   FOOTER   ======================== */
footer {
  background: #23272e;
  color: #B7BECA;
  position: relative;
  font-size: 0.96rem;
  padding: 42px 0 28px 0;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer a img {
  height: 40px;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
footer ul li a {
  color: #B7BECA;
  font-size: 0.97rem;
  transition: color .2s;
}
footer ul li a:hover, footer ul li a:focus {
  color: #F4E2C3;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
}

/* =======================   ICONS & LIST ITEM IMG   ======================= */
.content-wrapper ul li img {
  width: 32px; height: 32px; margin-right: 12px; vertical-align: middle; display: inline-block;
  background: #212529;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(44,48,58,.06);
  padding: 3.5px;
  border: 1.5px solid #b7beca22;
}
.content-wrapper ul, .card-container ul {
  margin-left: 1em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===========================   FORM STYLES   =========================== */
input, textarea, select {
  width: 100%;
  background: #191b1f;
  color: #B7BECA;
  border: 1.2px solid #2d3238;
  border-radius: 5px;
  padding: 10px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  outline: none;
  transition: border .18s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #B7BECA;
  box-shadow: 0 2px 8px 0 #b7beca45;
}
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #B7BECA;
  color: #23272e;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(40,50,58,0.07);
  transition: background .20s, color .20s, transform .13s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: #F4E2C3;
  color: #28323A;
  transform: translateY(-2px) scale(1.03);
}

/* =====================   COOKIE CONSENT BANNER   ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #23272e;
  color: #F4E2C3;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -2px 16px 0 rgba(40,50,58,.24);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookieDrop .77s cubic-bezier(0.65,0,0.35,1);
}
@keyframes cookieDrop {
  from { transform: translateY(90%); opacity:0; }
  to { transform: translateY(0%); opacity:1; }
}
.cookie-banner p {
  color: #F4E2C3;
  margin-bottom: 0;
  font-size: 1.04rem;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  background: #B7BECA;
  color: #28323A;
  padding: 10px 22px;
  font-size: 1rem;
  transition: background .20s, color .20s, transform .13s;
  cursor: pointer;
  margin: 0 4px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F4E2C3;
  color: #28323A;
  transform: translateY(-1.5px) scale(1.02);
}
.cookie-settings-btn {
  background: #23282D;
  border: 1.4px solid #B7BECA;
  color: #B7BECA;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F4E2C3;
  color: #2e363a;
}

/* ========== COOKIE - MODAL ========== */
.cookie-modal-bg {
  display: none;
  position: fixed;
  z-index: 2001;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,38,44,0.77);
}
.cookie-modal-bg.open {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .44s cubic-bezier(.85,0,.15,1);
}
@keyframes fadeInModal {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #23272e;
  border-radius: 14px;
  box-shadow: 0 10px 44px 0 rgba(40,50,58,0.22);
  max-width: 95vw;
  width: 410px;
  padding: 36px 24px 24px 24px;
  color: #F4E2C3;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #F4E2C3;
  margin-bottom: 4px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  font-size: 1.03rem;
}
.cookie-modal label {
  color: #B7BECA;
  font-size: 1.07rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 22px;
  border: none;
  appearance: none;
  background: #B7BECA;
  position: relative;
  outline: none;
  transition: background .19s;
}
.cookie-toggle:checked {
  background: #F4E2C3;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2.1px; left: 3.5px;
  width: 17px; height: 17px;
  background: #28323A;
  border-radius: 50%;
  transition: transform .19s, background .18s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
  background: #28323A;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 12px; right: 17px;
  font-size: 1.5rem;
  color: #B7BECA;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #F4E2C3;
}
.category-desc {
  font-size: 0.96rem;
  color: #b7becaad;
  margin-left: 2px;
}

/* Responsive Cookie Modal */
@media (max-width: 500px) {
  .cookie-modal {
    width: 95vw;
    max-width: 100vw;
    padding: 18px 7px 15px 7px;
  }
}

/* ================   INDUSTRIAL METALLIC HIGHLIGHTS   ================ */
section:not(.testimonial-card), .card, .blog-post-snippet, .team-member {
  border: 1.7px solid #2e363a;
}
h1, h2, h3, h4, h5, h6 {
  text-shadow: 1px 2px 0px #23272e, 0 3px 9px #000C  ;
  letter-spacing: 0.04em;
}
.button-primary, .cookie-btn, .read-more, button, input[type="submit"] {
  box-shadow: 0 2px 8px 0 #0001;
  border: 1px solid #B7BECA;
}
.button-primary:active, .cookie-btn:active, .read-more:active {
  transform: scale(0.97);
}

/* Simulate metallic accent borders */
.card, .testimonial-card, .blog-post-snippet, .team-member {
  border-left: 4px solid #B7BECA;
}
/* Industrial fonts fallback */
html, body, button, .button-primary, .cookie-btn {
  font-family: 'Open Sans', Arial, 'Segoe UI', sans-serif;
}
h1, h2, h3, .button-primary {
  font-family: 'Montserrat', Arial, Arial Black, Gadget, sans-serif;
}

/* ================   SEPARATOR & HR   ================ */
hr {
  border: 0;
  border-top: 1.5px solid #B7BECA44;
  margin: 20px 0;
}

/* ================   MICRO-INTERACTIONS   ================ */
a, .button-primary, .blog-post-snippet, .card, .testimonial-card, .cookie-btn, .read-more, .team-member, button, input[type="submit"] {
  transition: box-shadow .21s, background .17s, color .18s, border .18s, transform .13s;
}

/* **********************   SCROLLBAR (for desktop)   ********************** */
::-webkit-scrollbar {
  width: 12px;
  background: #23282d;
}
::-webkit-scrollbar-thumb {
  background: #2e363a;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B7BECA77;
}

/* =============================   PRINT   ============================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
  body { color: #23272e; background: #fff; font-size: 13px; }
}
