/* =================================
   CSS RESET & BASE STYLES
   ================================= */
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: inherit;
  font-size: 100%;
  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: #22262A;
  color: #F5F6F7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #EF8354;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffffff;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}
strong {
  font-weight: 700;
}

/* =================================
   BRAND FONTS
   ================================= */
h1, h2, h3, h4, h5, h6, .logo-text {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #F5F6F7;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.125rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}

p {
  color: #CBD2D9;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* =================================
   FLEXBOX CONTAINER BASICS
   ================================= */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1220px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(97deg, #22262A 90%, #2D394D 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(23,27,33,0.14);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
}

/* =================================
   HEADER & NAVIGATION (Industrial Modern)
   ================================= */
header {
  background: #1C2025;
  box-shadow: 0 4px 16px 0 rgba(25,30,37,0.11);
  border-bottom: 1.5px solid #363B43;
  position: relative;
  z-index: 12;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #F5F6F7;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #EF8354;
  color: #2D394D;
}
header nav .btn-primary {
  background: #EF8354;
  color: #22262A;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  box-shadow: 0 2px 8px rgba(239,131,84,0.08), 0 1px 2px rgba(44,54,77,0.12);
  border: none;
  transition: background 0.18s, color 0.15s, box-shadow 0.20s;
  margin-left: 14px;
}
header nav .btn-primary:hover, header nav .btn-primary:focus {
  background: #F5F6F7;
  color: #EF8354;
  box-shadow: 0 4px 14px 0 rgba(239,131,84,0.22);
}
header img {
  height: 44px;
  width: auto;
}

/* =================================
   MOBILE BURGER MENU
   ================================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F5F6F7;
  font-size: 2rem;
  cursor: pointer;
  z-index: 30;
  transition: color 0.2s;
  margin-left: 8px;
}

@media (max-width: 900px) {
  header .container {
    gap: 6px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #21272D;
  box-shadow: 2px 0 22px 0 #202833B2;
  z-index: 999;
  padding: 24px 32px 32px 32px;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.48,.02,.28,1.01);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #EF8354;
  border: none;
  font-size: 2rem;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F5F6F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #F5F6F7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  padding: 12px 6px;
  border-radius: 7px;
  background: none;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EF8354;
  color: #2D394D;
}

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

body.mobile-menu-open {
  overflow: hidden;
}

/* =================================
   HERO SECTION (Industrial Modern)
   ================================= */
.hero {
  background: #2D394D url('../assets/hero-bg-texture.jpg') top left/cover repeat;
  min-height: 320px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 30px 0 rgba(23,27,33,0.17);
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  min-height: 320px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
  padding-top: 34px;
  padding-bottom: 32px;
}
.hero h1 {
  color: #F5F6F7;
  font-size: 2.6rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.hero p {
  color: #CBD2D9;
  font-size: 1.20rem;
  margin-bottom: 10px;
}
.hero .btn-primary {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .hero {
    margin-bottom: 24px;
    min-height: 180px;
    padding-bottom: 0;
    border-radius: 0 0 13px 13px;
  }
  .hero .content-wrapper {
    padding-top: 15px;
    padding-bottom: 16px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* =================================
   BUTTONS
   ================================= */
.btn-primary, a.btn-primary {
  background: #EF8354;
  color: #22262A;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(239,131,84,0.10), 0 1px 2px rgba(44,54,77,0.07);
  transition: background 0.17s, color 0.13s, box-shadow 0.19s;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 12px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F5F6F7;
  color: #EF8354;
  box-shadow: 0 6px 22px 0 rgba(239,131,84,0.25);
  text-decoration: none;
}

/* =================================
   FLEX GRIDS & CUSTOM LAYOUTS
   ================================= */
.feature-grid,
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.feature-grid > div,
.card {
  background: #23272C;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(41,52,68,0.16);
  padding: 28px 22px;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 1px solid #363B43;
}
.feature-grid > div:hover,
.card:hover {
  box-shadow: 0 10px 28px 0 rgba(239,131,84,0.14);
  transform: translateY(-2px) scale(1.015);
  border-color: #EF8354;
}
.feature-grid img, .card img {
  filter: grayscale(24%) contrast(1.08);
  height: 46px;
  margin-bottom: 14px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-container {
  gap: 24px;
}
.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;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* =================================
   TESTIMONIALS
   ================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F6F7;
  color: #23272C;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px 0 rgba(26,30,38,0.08);
  position: relative;
  border-left: 6px solid #EF8354;
  max-width: 640px;
}
.testimonial-card p {
  color: #23272C;
  font-size: 1.10rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #EF8354;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* =================================
   OTHER SECTION STYLES
   ================================= */
.text-section {
  margin-top: 14px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact {
  font-size: 0.98rem;
  color: #CBD2D9;
  margin-top: 12px;
  line-height: 1.6;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 8px;
}

/* =================================
   FOOTER
   ================================= */
footer {
  background: #23272C;
  border-top: 1.5px solid #363B43;
  box-shadow: 0 -2px 16px 0 #181B1E29, 0 0px 9px #00000009;
  padding: 28px 0;
}
footer .container {
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1180px;
}
footer img {
  height: 36px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #CBD2D9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 4px 0;
  border-radius: 2px;
  line-height: 1.5;
  transition: color 0.16s;
}
footer nav a:hover,footer nav a:focus {
  color: #EF8354;
  text-decoration: underline;
  background: none;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* =================================
   FORMS (General)
   ================================= */
input, select, textarea, button {
  font-family: inherit;
  font-size: 1rem;
}
input, textarea, select {
  color: #22262A;
  background: #F5F6F7;
  border-radius: 7px;
  border: 1.3px solid #2D394D;
  padding: 11px 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.17s;
  width: 100%;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #EF8354;
}

/* =================================
   COOKIE CONSENT BANNER & MODAL
   ================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 24px 20px;
  background: #363B43;
  color: #F5F6F7;
  border-top: 2px solid #EF8354;
  box-shadow: 0 -4px 28px 0 rgba(44,54,77,0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  z-index: 2000;
  animation: slideInUp 0.5s cubic-bezier(.92,.01,.42,1) 1;
}
@keyframes slideInUp {
  from {transform: translateY(120%); opacity: 0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 9px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 2px 10px rgba(44,54,77,0.06);
}
.cookie-banner .accept-all {
  background: #EF8354;
  color: #23272C;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: #F5F6F7;
  color: #EF8354;
}
.cookie-banner .reject-all {
  background: #2D394D;
  color: #F5F6F7;
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: #EF8354;
  color: #23272C;
}
.cookie-banner .cookie-settings-btn {
  background: #363B43;
  color: #F5F6F7;
  border: 1.2px solid #EF8354;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #EF8354;
  color: #2D394D;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,38,42,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  transition: opacity 0.22s;
}
.cookie-modal {
  background: #22262A;
  color: #F5F6F7;
  border-radius: 13px;
  max-width: 410px;
  min-width: 310px;
  box-shadow: 0 6px 44px 0 rgba(44,54,77,0.23);
  padding: 38px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop 0.33s cubic-bezier(.72,.01,.38,1) 1;
}
@keyframes modalPop {
  from {transform: scale(0.93); opacity: 0;}
  to {transform: scale(1); opacity:1;}
}
.cookie-modal h3 {
  color: #EF8354;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #EF8354;
  margin-right: 3px;
  height: 18px; width: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 6px;
  border: none;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.13s, color 0.11s;
}
.cookie-modal .save-settings {
  background: #EF8354;
  color: #23272C;
}
.cookie-modal .save-settings:hover {
  background: #F5F6F7;
  color: #EF8354;
}
.cookie-modal .cancel-settings {
  background: #2D394D;
  color: #F5F6F7;
}
.cookie-modal .cancel-settings:hover {
  background: #EF8354;
  color: #23272C;
}

/* =================================
   MISC. UTILITY CLASSES
   ================================= */
.mt-1 { margin-top:8px; }
.mt-2 { margin-top:16px; }
.mt-3 { margin-top:24px; }
.mb-1 { margin-bottom:8px; }
.mb-2 { margin-bottom:16px; }
.mb-3 { margin-bottom:24px; }

/* =================================
   RESPONSIVE TYPOGRAPHY & LAYOUT
   ================================= */
@media (max-width: 536px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1rem; }
  .hero .content-wrapper,
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .feature-grid > div, .card {
    padding: 18px 11px;
    min-width: unset;
  }
}
@media (max-width: 430px) {
  .cookie-modal {
    min-width: 0;
    padding: 20px 8px 14px 8px;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* =================================
   INDUSTRIAL MODERN ACCENTS
   ================================= */
.feature-grid > div, .card, .testimonial-card {
  border: 1.5px solid #404C59;
  box-shadow: 0 3px 18px 0 rgba(44,54,77,0.09);
}
.section {
  /* Metal-inspired subtle texture effect */
  background-image: repeating-linear-gradient(109deg, #2D394D 0px, #23272C 80px, #22262A 160px);
  background-blend-mode: overlay;
}

::-webkit-scrollbar {
  background: #23272C;
  width: 11px;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #2D394D;
  border: 1.5px solid #EF8354;
  border-radius: 7px;
}

/* =================================
   FOCUS STATES & ACCESSIBILITY
   ================================= */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #EF8354;
  outline-offset: 1.5px;
}

/* =================================
   PRINT STYLES
   ================================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  body { background: #fff !important; color: #23272C !important; }
}
