/* RESET & 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,
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 {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: #232628;
  color: #EDECE7;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #77C3B3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #E4E073;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'DINCondensed-Bold', 'Roboto Condensed', Arial, sans-serif;
  letter-spacing: 0.02em;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(34,34,34,0.12);
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.20; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; font-weight: 600; color: #d5d7dd; }
h4, h5, h6 { font-size: 1.1rem; }
p, .text-section, .content-wrapper p {
  color: #EDECE7;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

/* LAYOUT */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #292F32;
  border-radius: 12px;
  box-shadow: 0 4px 12px 0 rgba(31,32,33,0.12), 0 1.5px 0 0 #393E41 inset;
  padding: 24px 20px;
  color: #f4f4f4;
  border: 1px solid #393E41;
  transition: box-shadow 0.2s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(34,40,44,0.22);
  border-color: #39816A;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F7F3;
  border-radius: 10px;
  box-shadow: 0 1.5px 0 0 #e2dfd2 inset, 0 2px 8px rgba(40,40,44,0.12);
  color: #232628;
  min-width: 0;
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'DINCondensed-Bold', Arial, sans-serif;
  font-size: 1.1rem;
  color: #232628;
  margin-bottom: 10px;
  quotes: '“' '”';
  font-weight: 500;
}
.testimonial-card blockquote:before { content: '“'; color: #255C4C; font-size: 2rem; vertical-align: sub; }
.testimonial-card blockquote:after { content: '”'; color: #255C4C; }
.testimonial-card cite {
  font-size: 0.97rem;
  color: #555b60;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.testimonial-card span {
  color: #255C4C;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.08em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & SECTIONS */
.hero {
  background: #232628 url('../assets/industrial-bg-dark.jpg') center/cover no-repeat;
  min-height: 315px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 48px -10px #255C4C66;
  padding: 50px 0 60px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
  gap: 18px;
}
.features {
  background: #292F32;
  box-shadow: 0 4px 32px #23262847;
  border-left: 4px solid #39816A;
  border-radius: 12px;
  font-size: 1.12rem;
  margin: 32px 0;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 26px;
}
.service-card {
  background: #262B2E;
  border: 1.5px solid #393E41;
  border-radius: 10px;
  padding: 26px 22px 18px 22px;
  box-shadow: 0 1.5px 0 0 #393E41 inset, 0 2px 8px rgba(60,66,68,0.13);
  flex: 1 1 260px;
  min-width: 235px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}
.service-card img {
  width: 46px;
  height: 46px;
  filter: grayscale(50%) brightness(1.2);
  margin-bottom: 10px;
}
.service-card h3 {
  color: #ECF1F0;
  font-size: 1.13rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', 'DINCondensed-Bold', Arial, sans-serif;
}
.service-card p {
  color: #DCE5E2;
  font-size: 0.97rem;
  margin-bottom: 8px;
}
.service-card span {
  font-weight: bold;
  color: #E4E073;
  font-size: 1.05rem;
  margin-top: auto;
}
.service-card:hover {
  box-shadow: 0 8px 32px -4px #39816A1a;
  border-color: #39816A;
}

.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.checklist ul {
  list-style: none;
  padding-left: 0;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
.checklist img {
  width: 20px;
  height: 20px;
  filter: grayscale(100%) brightness(1.4);
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(90deg, #255C4C 80%, #39816A 120%);
  color: #fff;
  font-family: 'Montserrat', 'DINCondensed-Bold', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(16,30,18,0.13);
  padding: 13px 28px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.22s, transform 0.14s, box-shadow 0.17s;
  margin-top: 12px;
  display: inline-block;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #39816A;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 28px -10px #39816A2a;
}
.btn-secondary,
.btn-tertiary {
  background: #393E41;
  color: #EDECE7;
  padding: 13px 24px;
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', 'DINCondensed-Bold', Arial, sans-serif;
  margin-top: 10px;
  box-shadow: 0 1.5px 0 0 #255C4C66 inset;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #232628;
  color: #E4E073;
}
.btn-tertiary {
  background: none;
  color: #39816A;
  box-shadow: none;
  border: 1.5px solid #39816A;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #255C4C;
  color: #fff;
}

/* HEADER */
header {
  width: 100%;
  background: #232628;
  border-bottom: 3px solid #39816A;
  box-shadow: 0 2.5px 8px rgba(25,29,32,0.11);
  z-index: 19;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 184px;
  padding-bottom: 10px
}
header img {
  height: 47px;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
}
.main-nav a {
  color: #ECEFF1;
  font-family: 'Montserrat', 'DINCondensed-Bold', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  position: relative;
  display: inline-block;
  transition: color 0.18s;
  padding: 4px 0;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  background: #39816A;
  transform: scaleX(0);
  transition: transform 0.19s;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #77C3B3;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  transform: scaleX(1);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 2.18rem;
  cursor: pointer;
  padding: 7px 12px;
  transition: color 0.18s, background 0.15s;
  border-radius: 7px;
  z-index: 21;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #39816A;
  background: #2326282b;
  outline: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,38,40,0.98);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.77,.03,.43,.91);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #255C4C;
  color: #fff;
  border: none;
  font-size: 2.0rem;
  margin: 22px 22px 0 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 7px 15px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #39816A;
  color: #EDECE7;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 32px 10px 36px;
  gap: 24px;
}
.mobile-nav a {
  color: #EDECE7;
  font-family: 'Montserrat', 'DINCondensed-Bold', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1.5px solid #393E41;
  background: none;
  margin-bottom: 3px;
  transition: background 0.18s, color 0.18s;
  border-radius: 4px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #39816A;
  color: #fff;
}

/* FOOTER */
footer {
  background: #222427;
  padding: 38px 0 22px 0;
  border-top: 3px solid #39816A;
  box-shadow: 0 -3px 18px rgba(40,42,44,0.11);
  color: #b8babf;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #b8babf;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #39816A;
}
.contact-details {
  font-size: 0.98rem;
  color: #b8babf;
}
.contact-details a {
  color: #77C3B3;
  word-break: break-all;
}
.contact-details a:hover, .contact-details a:focus {
  color: #E4E073;
}

/* MODALS & COOKIES */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232628de;
  color: #EDECE7;
  box-shadow: 0 -2.5px 24px #255C4C40;
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 14px 13px 14px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.53,.21,.26,.93), opacity 0.24s;
  pointer-events: auto;
}
.cookie-banner.hide {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-tertiary {
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 6px;
}
.cookie-banner .btn-secondary {
  background: #393E41;
  color: #edece7;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #39816A;
  color: #fff;
}
.cookie-banner .btn-tertiary {
  background: none;
  color: #39816A;
  border: 1px solid #39816A;
  box-shadow: none;
}
.cookie-banner .btn-tertiary:hover, .cookie-banner .btn-tertiary:focus {
  background: #255C4C;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,38,40,0.93);
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #2c2e33;
  color: #EDECE7;
  padding: 36px 28px 24px 28px;
  border-radius: 13px;
  min-width: 320px;
  max-width: 97vw;
  box-shadow: 0 10px 36px #39816A30, 0 3px 0px #39816A inset;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #255C4C;
  width: 20px; height: 20px;
}
.cookie-category label {
  font-size: 1rem;
  color: #edece7;
  margin-left: 5px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #edece7;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .13s;
}
.cookie-modal-close:hover { opacity: 1; }

/* TRUST BADGES, BADGES & SPECIALS */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 10px 0;
  font-size: 1rem;
  color: #8d978f;
  background: #2C3223;
  border-radius: 7px;
  padding: 10px 20px;
  box-shadow: 0 3px 0 #39816A inset;
}
.trust-badges img {
  width: 32px;
  vertical-align: middle;
  filter: grayscale(68%) brightness(1.21);
}

/* MISCELLANEOUS */
.text-section {
  background: #262B2E;
  border-left: 4px solid #39816A;
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 1.5px 0 0 #393E41 inset, 0 2px 8px rgba(60,66,68,0.13);
  margin-bottom: 20px;
}
.text-section h3 {
  color: #E4E073;
}
.service-details {
  background: #262B2E;
  border-radius: 10px;
  border-left: 4px solid #39816A;
  padding: 22px 22px;
  box-shadow: 0 3px 1.5px #393E41 inset;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .services-grid { gap: 20px; }
  .service-card { min-width: 175px; max-width: 100%; }
  .footer-nav { gap: 18px; }
}
@media (max-width: 865px) {
  header .container { flex-direction: row; gap: 10px; }
  .main-nav { gap: 12px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero { padding: 36px 0 36px 0; }
  .section { margin-bottom: 44px; padding: 26px 6px 26px 6px; }
  .container { max-width: 100vw; padding: 0 7px; }
  .content-wrapper { gap: 12px; }
  .services-grid, .card-container, .content-grid, .workshop-list { gap: 14px; }
  .service-card, .card { padding: 17px 13px 13px 13px; border-radius: 7px; }
  header .container { gap: 7px; }
  .main-nav { gap: 7px; }
  .footer-nav { gap: 8px; }
  .trust-badges { flex-direction: column; gap: 6px; padding: 10px 10px; }
  .text-image-section { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 700px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .hero .content-wrapper { padding: 0; }
}
@media (max-width: 700px) {
  .services-grid { flex-direction: column; }
  .workshop-list { flex-direction: column; gap: 14px; }
}
@media (max-width: 650px) {
  h1 { font-size: 1.52rem; }
}
@media (max-width: 500px) {
  .cookie-modal { min-width: 100vw; padding: 16px 3vw 8px 3vw; border-radius: 0; }
  .cookie-banner { font-size: 0.95rem; }
  .footer-nav { flex-direction: column; gap: 2px; }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .btn-primary {
    display: none;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .btn-tertiary {
  will-change: transform;
}
.card, .service-card {
  transition: box-shadow 0.17s, border-color 0.15s, transform 0.15s;
}
.card:hover, .service-card:hover {
  transform: translateY(-6px) scale(1.013);
}
.text-section, .service-details {
  transition: box-shadow 0.16s, border-color 0.17s;
}
.text-section:hover, .service-details:hover {
  box-shadow: 0 6px 22px -8px #255c4c3d;
  border-left-color: #E4E073;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar { width: 8px; background: #222427; }
::-webkit-scrollbar-thumb { background: #393E41; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #39816A; }

/* ACCESSIBILITY: VISIBLE OUTLINE */
:focus-visible {
  outline: 2px solid #E4E073;
  outline-offset: 2px;
}
