/* CSS RESET & BASE 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, 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;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #181C1F;
  color: #F1F1F1;
  line-height: 1.6;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
ol, ul, li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
}

/* BRAND COLORS & VARIABLES */
:root {
  --primary: #295D3E;
  --secondary: #23262B;
  --accent: #6A911B;
  --accent-alt: #8FB849;
  --metal: #A0A6AB;
  --surface: #22262A;
  --light: #EAEAEA;
  --background: #181C1F;
  --danger: #D23B45;
  --shadow: 0 4px 16px 0 rgba(24, 27, 30, 0.18);
  --radius: 10px;
}

/* TYPOGRAPHY - INDUSTRIAL MODERN */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.015em;
  color: var(--accent-alt);
  text-shadow: 0 2px 8px rgba(0,0,0,0.13);
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4,h5,h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, li, dl, dt, dd {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.1rem;
  color: #F1F1F1;
}
p {
  margin-bottom: 1rem;
}
strong {
  font-weight: 700;
  color: var(--accent-alt);
}
em {
  color: var(--metal);
  font-style: italic;
}
.text-section ul, .text-section ol, .content-wrapper ul, .content-wrapper ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 10px;
  position: relative;
}
.text-section ul li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--metal);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
.text-section ol {
  counter-reset: item;
}
.text-section ol li {
  padding-left: 22px;
}
.text-section ol li:before {
  content: counter(item) '.';
  counter-increment: item;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--accent);
}
dt {
  font-weight: 700;
  margin-top: 1rem;
  color: var(--accent-alt);
}
dd {
  margin-bottom: 1rem;
}

/* LAYOUT & SPACING (MOBILE FIRST, FLEXBOX ONLY) */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 3px 12px 0 rgba(36,38,41,0.11);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
}
.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;
  background: #F6F6F6;
  color: #23262B;
  border-left: 4px solid var(--metal);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(24, 28, 31, 0.12);
  transition: box-shadow 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(60, 80, 90, 0.13);
}
.testimonial-card p {
  color: #23262B;
  font-size: 1rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.project-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* HEADER + NAV */
header {
  width: 100%;
  background: #181C1F;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 14px 0 rgba(24, 31, 35, 0.17);
  padding: 16px 0 16px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 7px #111a);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  background: transparent;
  padding: 8px 16px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--metal);
  color: var(--primary);
}
.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(45deg,var(--accent-alt), var(--accent));
  color: #23262B;
  padding: 11px 28px;
  border-radius: 7px;
  font-size: 1.11rem;
  margin-left: 32px;
  box-shadow: 0 3px 10px 0 rgba(31,51,25,0.14);
  outline: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.19s, filter 0.18s;
  border-bottom: 2px solid var(--metal);
}
.cta.primary:hover, .cta.primary:focus {
  box-shadow: 0 8px 24px 0 rgba(157,186,65,0.13);
  filter: brightness(1.08);
}
.cta {
  display: inline-block;
  background: var(--primary);
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 7px;
  padding: 11px 24px;
  margin-top: 18px;
  box-shadow: 0 2px 10px 0 rgba(41, 93, 62, 0.12);
  transition: background 0.17s, transform 0.13s, color 0.2s;
  border: 1.5px solid var(--metal);
}
.cta:hover, .cta:focus {
  background: var(--accent);
  color: #23262B;
  transform: translateY(-2px) scale(1.025);
}

/* BURGER / HAMBURGER NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--accent-alt);
  cursor: pointer;
  z-index: 44;
  margin-left: 18px;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--metal);
  color: #23262B;
}
.mobile-menu {
  position: fixed;
  z-index: 99;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 29, 28, 0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.51,0.06,0.14,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.5rem;
  background: none;
  border: none;
  color: var(--accent-alt);
  margin: 32px 32px 0 0;
  padding: 6px;
  cursor: pointer;
  z-index: 101;
  border-radius: 8px;
  box-shadow: 0 2px 8px 0 #191A23dd;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent-alt);
  color: #23262B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 48px 32px 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #ECEDE4;
  font-size: 1.4rem;
  letter-spacing: 0.035em;
  border-radius: 6px;
  padding: 10px 22px;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent-alt);
  color: #23262B;
}

/* MAIN & SECTIONS */
main {
  width: 100%;
  min-height: 60vh;
  margin-top: 14px;
}
.text-section {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FOOTER */
footer {
  background: #1B1F22;
  color: var(--light);
  width: 100%;
  padding: 40px 18px;
  margin-top: 60px;
  box-shadow: 0 -2px 14px 0 rgba(24, 31, 35, 0.14);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.footer-nav a {
  color: var(--accent-alt);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--metal);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #D7DCE2;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: center;
}
.footer-contact a {
  color: var(--accent-alt);
  transition: color 0.16s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--primary);
}

/* BUTTONS (for cookie/call-to-action) */
button, .cta, .cookie-btn {
  appearance: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color .17s, filter .16s;
  border: none;
  outline: none;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  margin: 0 8px;
  font-size: 1.07rem;
  border-bottom: 2px solid var(--metal);
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 2px 10px 0 rgba(41, 93, 62, 0.08);
}
.cookie-btn.accept {
  background: linear-gradient(45deg,var(--accent-alt), var(--accent));
  color: #23262B;
}
.cookie-btn.reject {
  background: #FFF;
  color: var(--danger);
  border-bottom: 2px solid var(--danger);
}
.cookie-btn.settings {
  background: var(--primary);
  color: #EEE;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.09);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 1200;
  background: #212529;
  color: #ECECED;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  box-shadow: 0 -8px 32px 0 #181e1f99;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookieIn 0.45s cubic-bezier(0.32,0.66,0.29,1.01);
}
@keyframes cookieIn {
  from { transform: translateY(140px); opacity: 0.1}
  to   { transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-btn {
  margin: 0 10px;
}
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,37,41,.85);
  align-items: center;
  justify-content: center;
  animation: modalIn 0.4s cubic-bezier(0.32,0.66,0.29,1.01);
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--light);
  color: #23262B;
  padding: 36px 36px 28px 36px;
  border-radius: 14px;
  min-width: 340px;
  box-shadow: 0 8px 32px 0 #1C232999;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08rem;
  position: relative;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.28rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-size: 1.08rem;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
  accent-color: var(--accent-alt);
}
.cookie-modal .cookie-btn {
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--danger);
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .close-modal:hover { color: #901627; }

/* TABLES, DLs, ETC */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--metal);
}
th {
  background: var(--primary);
  color: #FFF;
}

/* SEPARATORS */
hr {
  border: 0;
  border-top: 1.5px solid var(--metal);
  margin: 26px 0;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, button, .cta, .footer-nav a {
  transition: color 0.13s, background 0.16s, box-shadow 0.18s, transform .13s;
}
.card, .testimonial-card, .cookie-modal, .section {
  transition: box-shadow 0.26s, background .16s, border 0.21s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(40, 73, 68, 0.18);
  background: var(--secondary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1060px) {
  .container {
    max-width: 96vw;
  }
  .main-nav, .footer-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav, .footer-nav {
    font-size: 0.96rem;
    gap: 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 11px 0 11px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    margin-left: auto;
  }
  .footer-contact {
    padding: 10px 0;
  }
  .container {
    padding: 0 8px;
  }
  .content-grid, .card-container, .text-image-section, .project-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    gap: 14px;
    font-size: 1rem;
    padding: 15px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
  .section {
    margin-bottom: 40px;
    padding: 22px 4px;
  }
}
@media (max-width: 520px) {
  .footer-contact, .footer-nav {
    font-size: 0.89rem;
  }
  .logo img {
    height: 34px;
  }
}

/* FOCUS VISIBLE ACCESSIBILITY */
a:focus, button:focus, .cta:focus {
  outline: 2px solid var(--accent-alt);
  outline-offset: 2px;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #23262B;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

body {
  scrollbar-color: var(--primary) #23262B;
  scrollbar-width: thin;
}

/* Hide cookie banner on print */
@media print {
  .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
