/* 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
  line-height: 1.5;
  background: #171e22;
  color: #F1F5EC;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding-left: 16px;
}
a {
  color: #A85A00;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #F9C36B;
  outline: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #F1F5EC;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* BRAND COLORS & VARIABLES (FALLBACKS) */
:root {
  --primary: #205C23;
  --secondary: #22282c;
  --accent: #A85A00;
  --text-light: #F1F5EC;
  --text-dark: #23272A;
  --gray-900: #121618;
  --gray-700: #23272A;
  --gray-500: #818A95;
  --metal: #8e9297;
  --card-bg: #21252A;
  --card-shadow: rgba(15,20,24,0.12);
  --card-radius: 15px;
  --section-pad: 40px 20px;
  --transition-main: 0.18s cubic-bezier(.4,0,.2,1);
  --shadow-main: 0 4px 24px 0 rgba(27,31,35,0.13), 0 2px 8px 0 rgba(27, 27, 31, 0.06);
}

/* FLEX LAYOUTS - PATTERNS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 24px 0 rgba(35,39,42,0.13);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-main);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover, .card:focus {
  box-shadow: 0 8px 28px 0 rgba(35,39,42,0.18);
  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;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: var(--gray-900);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-main);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 600px;
  word-break: break-word;
}
.testimonial-card p {
  color: var(--gray-900);
  margin-bottom: 0;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #171e22;
  box-shadow: 0 2px 8px 0 rgba(20,24,26,0.10);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #F1F5EC;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background var(--transition-main), color var(--transition-main);
}
.main-nav a:hover, .main-nav a:active, .main-nav a.active {
  background: var(--accent);
  color: #fff;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--accent);
  border: none;
  border-radius: 5px;
  padding: 12px 28px;
  margin-left: 18px;
  box-shadow: 0 2px 12px 0 rgba(168,90,0,0.10);
  cursor: pointer;
  transition: background var(--transition-main), transform var(--transition-main), color var(--transition-main);
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E87D00;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 1100;
  transition: color var(--transition-main);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(29,35,39,0.97);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  z-index: 2000;
  padding: 24px 32px 32px 32px;
  box-shadow: -6px 0 40px 0 rgba(29,35,39,0.09);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color var(--transition-main);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #A85A00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #333;
  transition: color var(--transition-main);
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--accent);
  background: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .main-nav {
    font-size: 0.94rem;
    gap: 5px;
  }
  .cta-btn {
    margin-left: 10px;
    padding: 12px 18px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    min-height: 54px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HERO SECTION */
.hero {
  width: 100%;
  background: linear-gradient(120deg,#23272a 60%,var(--primary) 100%);
  color: #fff;
  margin-bottom: 60px;
  padding: 70px 0 60px 0;
  box-shadow: 0 8px 32px 0 rgba(32,92,35,0.11);
  border-radius: 0 0 36px 36px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 640px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0, 0.15);
  line-height: 1.13;
}
.hero p {
  font-size: 1.25rem;
  color: #F9F9F4;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-left: 0;
  background: var(--accent);
  color: #fff;
  letter-spacing: 2px;
  font-size: 1.12rem;
  padding: 16px 32px;
  border-radius: 7px;
  box-shadow: 0 4px 24px 0 rgba(168,90,0,0.13);
}
.hero .cta-btn:hover {
  background: #E59020;
}

@media (max-width: 900px) {
  .hero .content-wrapper {
    max-width: 97vw;
    padding: 0 6px;
  }
  .hero {
    padding: 52px 0 42px 0;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.77rem;
    margin-bottom: 16px;
  }
  .hero {
    border-radius: 0 0 22px 22px;
    padding: 32px 0 20px 0;
  }
  .section {
    padding: 26px 4px;
  }
}

/* GENERAL SECTIONS */
section {
  width: 100%;
  margin-bottom: 60px;
  display: flex;
}
.section:last-child {
  margin-bottom: 16px;
}

/* LISTS, OL, UL */
ul, ol {
  color: #E3E7E6;
  font-size: 1rem;
  margin-bottom: 18px;
  padding-left: 32px;
}
li {
  margin-bottom: 7px;
  position: relative;
  line-height: 1.55;
}
li img {
  margin-right: 10px;
  vertical-align: middle;
  height: 1.2em;
}
ul > li::before {
  content: '';
  background: linear-gradient(120deg,#888,#ccc,#aaa);
  border-radius: 50%;
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 2px 0 #272D30;
  position: absolute;
  left: -19px;
  top: 7px;
}
ol {
  counter-reset: customCounter;
}
ol > li {
  counter-increment: customCounter;
}
ol > li::before {
  content: counter(customCounter)'. ';
  color: var(--accent);
  font-weight: bold;
  margin-right: 8px;
  margin-left: -18px;
  width: 18px;
  display: inline-block;
}

/* CARDS & FEATURE ITEMS */
.card {
  border: 1.5px solid #262b2e;
}
.card strong {
  color: var(--accent);
}
.feature-item strong {
  color: var(--primary);
}

/* TESTIMONIALS */
.testimonial-card {
  border-left: 5px solid var(--accent);
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px 0 rgba(168,90,0,0.13);
}

/* TEXT/IMAGE SECTIONS, CONTACT BLOCK  */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul {
  margin-top: 4px;
}

/* FOOTER */
footer {
  background: #171e22;
  padding: 40px 0 25px 0;
  margin-top: 24px;
  border-top: 1.5px solid #282F36;
  box-shadow: 0 -2px 16px 0 rgba(22,27,30,0.12);
}
.footer-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-content > * {
  min-width: 180px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--metal);
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 1px;
  transition: color var(--transition-main);
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-contact {
  color: #E3E7E6;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.54;
  margin-top: 3px;
}
footer img {
  height: 44px;
  display: block;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  footer {
    padding: 24px 0 15px 0;
  }
}

@media (max-width: 600px) {
  .footer-content {
    gap: 16px;
    font-size: 0.9rem;
  }
  .footer-nav a {
    font-size: 0.97rem;
  }
  footer img {
    height: 28px;
  }
}

/* TABLES (for policies & reg) */
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--card-bg);
  color: #F1F5EC;
  margin-bottom: 24px;
}
th, td {
  text-align: left;
  padding: 12px 9px;
  border-bottom: 1px solid #282F36;
}
th {
  background: #252A2D;
}

/* BUTTONS */
button, .btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 11px 26px;
  box-shadow: 0 2px 8px 0 rgba(168,90,0,0.10);
  transition: background var(--transition-main), transform var(--transition-main);
  outline: none;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #E59020;
  transform: translateY(-1.5px) scale(1.02);
}

/* FORMS (quick styling, for contact) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.5px solid var(--metal);
  border-radius: 6px;
  background: #23282A;
  color: #F1F5EC;
  margin-bottom: 18px;
  width: 100%;
  outline: none;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}
::placeholder {
  color: #969A9A;
  opacity: 1;
}

/* MEDIA QUERIES - RESPONSIVE LAYOUTS*/
@media (max-width: 900px) {
  .content-grid, .card-container {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    margin-bottom: 30px;
    padding: 24px 4px;
  }
  .content-grid, .card-container {
    gap: 10px;
  }
  .card {
    min-width: 160px;
    padding: 15px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    padding: 10px 10px 12px 16px;
    gap: 10px;
    font-size: 0.99rem;
    min-width: 0;
    width: 100%;
    border-radius: 9px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3500;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  background: #2C3136;
  color: #fff;
  box-shadow: 0 -4px 22px rgba(25,18,0, 0.16);
  padding: 24px 32px 22px 32px;
  gap: 30px;
  border-top: 3px solid var(--accent);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.closed {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1 1 50%;
  color: #E3E7E6;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-width: 250px;
  margin-left: 12px;
}
.cookie-banner__btn {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  padding: 10px 19px;
  margin: 2px 0;
  cursor: pointer;
  transition: background var(--transition-main), box-shadow var(--transition-main);
  box-shadow: 0 2px 8px rgba(168,90,0,0.11);
  font-size: 1rem;
  outline: none;
}
.cookie-banner__btn.settings {
  background: var(--primary);
}
.cookie-banner__btn.reject {
  background: #23282a;
  color: #F1F5EC;
  border: 1px solid #434a4e;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #BF720A;
}
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus {
  background: #181919;
  color: #DAA055;
  border-color: #888;
}
.cookie-banner__btn.settings:hover,.cookie-banner__btn.settings:focus {
  background: #1A3A15;
}

@media (max-width: 820px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 12px;
  }
  .cookie-banner__actions {
    flex-direction: row;
    gap: 8px;
    margin-left: 0;
    width: 100%;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 330px;
  background: #21252a;
  color: #fff;
  padding: 35px 30px 29px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(32,32,32,0.46);
  z-index: 3600;
  transition: opacity .28s cubic-bezier(.4,0,.2,1), transform .28s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.32rem;
  margin-bottom: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 7px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.52rem;
  cursor: pointer;
  transition: color var(--transition-main);
  z-index: 3650;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 17px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--primary);
  height: 19px;
  width: 19px;
  margin-right: 4px;
}
.cookie-category.essential label {
  color: #D9BB81;
  font-weight: 700;
  cursor: default;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 92vw;
    padding: 20px 6vw 16px 6vw;
    font-size: 0.97rem;
  }
}

/* MICRO-INTERACTIONS/ANIMATIONS */
.card, .cta-btn, .cookie-banner, .cookie-modal {
  transition: box-shadow var(--transition-main), transform var(--transition-main), opacity .21s;
}

/* UTILITY CLASSES */
.muted {
  color: #A9B2BC !important;
}
.text-center {
  text-align: center;
}
.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
}

/* INDUSTRIAL MODERN SPECIFIC ELEMENTS */
.section {
  background: linear-gradient(109deg, #1e2326 85%, #32393F 100%);
  border: 1.5px solid #21252a;
  box-shadow: 0 2px 32px 0 rgba(60,52,30,0.09);
}
.card, .testimonial-card {
  background: linear-gradient(105deg, #a0adb2 75%, #7f848b 100%);
  border: 1.5px solid #313539;
}
hr {
  border: none;
  border-top: 1.5px solid #32393F;
  margin: 32px 0;
}

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