/* RESET & NORMALIZE */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body, html { width: 100%; height: 100%; }
body {
  background: #181C23;
  color: #F8F9FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
}
img { max-width: 100%; display: block; height: auto; border: 0; }
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
a { color: #FDA915; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 8px; }

/* FLEX CONTAINER CLASSES AND COMMONS */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #23262E;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(25,27,32,0.12);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(25,27,32,0.23);
  transform: translateY(-3px) scale(1.01);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa7a;
  color: #23262E;
  border-radius: 7px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(40, 43, 50, 0.12);
  min-width: 270px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(25,27,32,0.12);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* GENERAL TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.12;
  color: #F8F9FA;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.22;
  color: #FDA915;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.22;
  color: #F8F9FA;
  margin-bottom: 12px;
}
p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #F8F9FA;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #253858;
}
.text-section p,
.content-wrapper.text-section p {
  color: #F8F9FA;
  margin-bottom: 16px;
}
.text-section ul li { color: #F8F9FA; }

/* HEADER & NAVBAR */
header {
  background: #23262E;
  border-bottom: 2px solid #383E4A;
  position: relative;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 72px;
}
header img { height: 40px; width: auto; display: block; }
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  display: block;
  color: #F8F9FA;
  font-size: 16px;
  letter-spacing: 0.2px;
  padding: 8px 3px;
  transition: color 0.15s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #FDA915;
}
.cta-btn {
  background: linear-gradient(90deg, #FDA915 90%, #e88100 100%);
  color: #23262E;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 22px;
  font-weight: 700;
  padding: 10px 32px;
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-left: 24px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(250,185,21,0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.16s, transform 0.15s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #253858;
  color: #FDA915;
  transform: translateY(-1px) scale(1.04);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F8F9FA;
  font-size: 2rem;
  margin-left: auto;
  cursor: pointer;
  z-index: 104;
}
@media (max-width: 1070px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; height: 100vh; width: 100vw;
  background: rgba(32,36,44,0.975);
  box-shadow: 6px 0 30px 0 rgba(20,20,22,0.11);
  z-index: 120;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(0.8,0.25,0.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FDA915;
  font-size: 2.25rem;
  align-self: flex-end;
  margin: 30px 32px 6px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
  width: 100%;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  color: #F8F9FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 0;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FDA915;
}

/* HERO SECTION */
.hero {
  background: #23262E url('../assets/hero-industrial.jpg') bottom right no-repeat;
  background-size: cover;
  min-height: 330px;
  padding-top: 48px;
  padding-bottom: 48px;
  position: relative;
  display: flex;
  align-items: center;
}
.hero .container, .hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #FDA915;
  font-size: 2.8rem;
}
.hero p {
  font-size: 1.15rem;
  max-width: 650px;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* FEATURES SECTION */
.features {
  background: #21242A;
  border-top: 2px solid #2B2F39;
  border-bottom: 2px solid #2B2F39;
}
.features h2 {
  color: #FDA915;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin-top: 4px;
  margin-bottom: 0;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 260px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  background: #23262E;
  padding: 18px 18px 18px 14px;
  border-radius: 9px;
  border-left: 5px solid #FDA915;
  box-shadow: 1px 1.5px 11px 0 rgba(40,43,50,0.06);
  color: #F8F9FA;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.features ul li:hover {
  border-color: #253858;
  box-shadow: 0 3.5px 20px 0 rgba(36,38,41,0.17);
}
.features ul li img { width: 34px; height: 34px; display: inline-block; filter: grayscale(90%) brightness(1.25); }

/* TEXT SECTION (ABOUT, ETC.) */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  margin-top: 2px;
  margin-bottom: 12px;
  list-style: disc inside;
}
.text-section ul li {
  color: #FDA915;
  font-size: 1.08rem;
  margin-bottom: 7px;
  font-weight: 500;
}

/* BLOG TEASER */
.blog-teaser {
  background: #23262E;
  color: #F8F9FA;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(25,27,32,0.09);
  padding: 22px 28px;
  min-width: 250px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-teaser h3 {
  color: #FDA915;
  font-size: 1.18rem;
  margin-bottom: 0.5em;
}
.blog-teaser:hover {
  box-shadow: 0 6px 34px 0 rgba(25,27,32,0.16);
  transform: translateY(-2px) scale(1.009);
}
.features > ul {
  margin-top: 20px;
}
.features > ul li a {
  color: #FDA915;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.features > ul li a:hover {
  color: #253858;
  text-decoration: underline;
}

/* CTA SECTION */
.cta {
  background: #253858;
  border-radius: 8px;
  box-shadow: 0 7px 45px 0 rgba(20,27,50,0.19);
  margin-bottom: 42px;
}
.cta h2 { color: #FDA915; }
.cta .cta-btn { margin-top: 20px; background: #FDA915; color: #23262E; }
.cta .cta-btn:hover { background: #23262E; color: #FDA915; border: 2px solid #FDA915; }

/* CONTACT SECTION */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.contact .text-section {
  min-width: 250px;
  font-size: 1.08rem;
  background: #23262E;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 14px rgba(35,38,46,0.11);
}
.contact .text-section p strong {
  color: #FDA915;
  font-size: 1em;
}

/* FOOTER */
footer {
  background: #181C23;
  color: #F8F9FA;
}
footer .container {
  padding: 40px 20px 20px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #F8F9FA;
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
footer nav a:hover {
  color: #FDA915;
}
footer .text-section {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #979DB2;
}
footer .social-media {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}
footer .social-media a img {
  width: 32px; height: 32px; border-radius: 5px; background: #23262E; padding: 6px; transition: background 0.19s;
}
footer .social-media a:hover img { background: #FDA915; }
footer a {
  transition: color 0.16s;
}
footer a:focus { outline: 2px dashed #FDA915; }

/* CARDS & LAYOUTS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}
.card {
  min-width: 230px;
  background: #23262E;
  padding: 28px 24px;
  border-radius: 11px;
  box-shadow: 0 1.5px 10px 0 rgba(40,43,50,0.11);
}

/* RESPONSIVENESS */
@media (max-width: 1080px) {
  .container { max-width: 100%; }
  .features ul { flex-direction: column; gap: 18px; }
}
@media (max-width: 900px) {
  .footer .content-wrapper, footer .content-wrapper { flex-direction: column; gap: 24px; }
  .card-container, .content-grid, .features ul {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section { padding: 32px 6px; }
  .hero { padding-top: 30px; padding-bottom: 27px; }
  .hero h1 { font-size: 2.05rem; }
  .hero p { font-size: 0.97rem; }
  .features ul li { font-size: 1rem; min-width: 170px; }
  .features ul { flex-direction: column; gap: 12px; }
  .content-wrapper, .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .blog-teaser, .card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: 1 1 100%;
  }
  .mobile-menu { font-size: 1rem; }
}
@media (max-width: 500px) {
  h1, .h1 { font-size: 1.23rem; }
  h2, .h2 { font-size: 1.07rem; }
  h3, .h3 { font-size: 1rem; }
  .hero { min-height: 220px; }
}
.text-image-section { flex-wrap: wrap; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
}

/* MICROINTERACTIONS */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.14s, transform 0.12s;
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible {
  box-shadow: 0 0 0 2px #FDA915, 0 2px 10px #23262E;
}
.mobile-menu-close:focus {
  color: #F8F9FA;
}

/* FOCUS STATES */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed #FDA915;
  outline-offset: 3px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100%;
  background: #23262E;
  color: #F8F9FA;
  z-index: 1200;
  padding: 24px 18px 22px 18px;
  box-shadow: 0 -3px 36px 0 rgba(29,33,40,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.8,0.25,0.3,1);
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.97rem;
  }
}
.cookie-banner .cookie-btn {
  min-width: 95px;
  margin-right: 10px;
  padding: 9px 26px;
  background: #FDA915;
  color: #23262E;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1.5px 8px 0 rgba(250,185,21,0.09);
}
.cookie-banner .cookie-btn:focus, .cookie-banner .cookie-btn:hover {
  background: #253858;
  color: #FDA915;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: #FDA915;
  text-decoration: underline;
  padding: 9px 16px;
  border-radius: 18px;
}
.cookie-banner .cookie-settings-btn:hover {
  color: #253858;
  background: #FDA915;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,32,36,0.92);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #23262E;
  color: #F8F9FA;
  border-radius: 13px;
  padding: 35px 32px 24px 32px;
  box-shadow: 0 10px 40px 0 rgba(36,38,51,0.29);
  min-width: 320px;
  max-width: 97vw;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cookie-modal h2 {
  color: #FDA915;
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.cookie-category {
  margin-bottom: 12px;
  padding-bottom: 8px;
}
.cookie-category label {
  font-weight: 500;
  margin-right: 7px;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 46px;
  height: 24px;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch span {
  display: block;
  background: #323844;
  border-radius: 17px;
  width: 44px;
  height: 18px;
  transition: background 0.13s;
  position: relative;
}
.cookie-switch input:checked + span {
  background: #FDA915;
}
.cookie-switch span:after {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 2.5px;
  width: 13px; height: 13px;
  background: #F8F9FA;
  border-radius: 50%;
  transition: left 0.15s;
  box-shadow: 0 1px 2px rgba(40,43,50,0.10);
}
.cookie-switch input:checked + span:after {
  left: 26px; background: #23262E;
}
.cookie-modal .modal-btn-row {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .cookie-btn {
  padding: 9px 30px;
}
.cookie-modal .cookie-cancel-btn {
  background: none;
  color: #FDA915;
  text-decoration: underline;
  border: none;
}
.cookie-modal .cookie-cancel-btn:hover { color: #253858; }

/* SELECTION, SCROLLBAR & MISC */
::selection { background: #FDA915; color: #23262E; }
::-webkit-scrollbar {
  width: 9px; background: #181C23;
}
::-webkit-scrollbar-thumb {
  background: #253858;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FDA915;
}

/* BRAND INDUSTRIAL MODERN ACCENTS */
.section, .card, .blog-teaser, .features ul li, .contact .text-section, .cta {
  box-shadow: 0 3px 18px 0 rgba(22,20,15,0.05);
  border: 1px solid #23262E;
}
.features ul li, .blog-teaser {
  border-left: 5px solid #253858;
}

/* SPACING ENFORCEMENT */
.section, .card, .testimonial-card, .blog-teaser {
  margin-bottom: 24px;
}
.card-container, .content-grid, .features ul, .text-image-section {
  gap: 20px;
  margin-bottom: 14px;
}

/* PRINT SUPPORT */
@media print {
  body,html { background: #fff !important; color: #212429 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
