/* -------- CSS RESET & 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #181B1A; /* extra dark for 'industrial_modern' base */
  color: #F4F2EF;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  overscroll-behavior: none;
  scroll-behavior: smooth;
}
html {
  height: 100%;
}
a {
  color: #B7E283;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFF;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
ul, ol {
  padding-left: 1.3rem;
  margin-bottom: 0.8em;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  font-size: 16px;
}

/* -------- CSS VARIABLES for easy theming -------- */
:root {
  --primary-dark: #213B2D;
  --secondary: #79736B;
  --accent-light: #F4F2EF;
  --danger: #d44335;
  --confirm: #7BB740;
  --steel: #2C2E2E;
  --charcoal: #222725;
  --highlight: #B7E283;
  --shadow: rgba(32,44,38,0.18);
  --font-display: 'Oswald', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --border-radius: 15px;
  --section-margin: 60px;
  --section-padding: 40px 20px;
}

/* -------- LAYOUT CONTAINERS & FLEX -------- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.content-wrapper.center {
  align-items: center;
  text-align: center;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--charcoal);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px 0 var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #303634;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(100,130,110,.18);
  transform: translateY(-4px) scale(1.02);
}
.section {
  margin-bottom: var(--section-margin);
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------- TYPOGRAPHY -------- */
h1, h2, h3, h4, h5, h6 {
  color: #F4F2EF;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px rgba(32,44,38,0.12);
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.5rem;
}
h4, h5, h6 {
  font-size: 1.2rem;
}
p {
  margin-bottom: 1em;
  font-size: 1.07rem;
  color: var(--accent-light);
}
strong {
  color: var(--highlight);
  font-weight: 600;
}
ul li, ol li {
  color: #F4F2EF;
  font-size: 1.04rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* -------- BUTTONS -------- */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 13px 34px;
  border-radius: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.18s;
  margin: 12px 6px 0 0;
  box-shadow: 0 2px 8px 0 var(--shadow);
  position: relative;
}
.cta-primary {
  background: linear-gradient(90deg, #233C2E 80%, #465244 100%);
  background-color: var(--primary-dark);
  color: #F4F2EF;
  border: 2px solid #3C4C41;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1c2a1f;
  color: var(--highlight);
  box-shadow: 0 6px 18px 0 rgba(100,130,110,.23);
}
.cta-secondary {
  background: #2C2E2E;
  color: var(--highlight);
  border: 2px solid #B7E283;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #B7E283;
  color: #1c2a1f;
  border-color: #537f42;
  box-shadow: 0 5px 16px 0 rgba(100,130,110,.15);
}

button,
.mobile-menu-toggle,
.mobile-menu-close {
  appearance: none;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}

/* -------- HEADER, NAV, FOOTER -------- */
header {
  background: #222725;
  border-bottom: 2px solid #333733;
  z-index: 30;
  position: relative;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
header img {
  height: 52px;
  width: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: var(--font-display);
  color: #B7E283;
  font-size: 1.07em;
  font-weight: 500;
  padding: 10px 12px;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.16s;
}
header nav a:hover,
header nav a.active {
  color: #F4F2EF;
  text-shadow: 0 2px 10px rgba(223, 241, 153, 0.16);
}
footer {
  background: #181b1a;
  border-top: 2px solid #303634;
  padding: 40px 0 0 0;
  color: #F4F2EF;
  font-size: 1em;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
}
footer nav {
  gap: 20px;
  margin-bottom: 8px;
}
footer nav a {
  color: #79736B;
  font-size: 1em;
  transition: color 0.14s;
}
footer nav a:hover {
  color: #B7E283;
}
footer p {
  color: #bdb9af;
  font-size: 0.98em;
}

/* -------- HERO & SECTIONS -------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(33, 59, 45, 0.10);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 var(--shadow);
}
section:last-of-type {
  margin-bottom: 0;
}

/* -------- TESTIMONIALS -------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #F4F2EF;
  color: #222725;
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(33,59,45,0.10);
  border-left: 5px solid #B7E283;
  font-family: var(--font-body);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  color: #222725;
  font-size: 1.09rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #79736B;
  font-style: normal;
}
.testimonial-card:hover {
  box-shadow: 0 4px 30px 0 rgba(87, 140, 73, 0.15);
  border-left: 5px solid #537f42;
}

/* -------- PRICING TABLE -------- */
table {
  width: 100%;
  background: #232924;
  color: #F4F2EF;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
thead tr {
  background: #233C2E;
  color: #F4F2EF;
  font-family: var(--font-display);
  font-size: 1.13rem;
}
th, td {
  padding: 1em 0.6em;
  text-align: left;
  border-bottom: 1px solid #323B33;
}
th:last-child, td:last-child {
  text-align: right;
}
tbody tr:hover {
  background: #27342a;
}

/* -------- ICONS & LIST IMAGES -------- */
ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 10px;
  filter: grayscale(0.4) contrast(1.2) brightness(0.9);
}

/* -------- MOBILE MENU -------- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 22px;
  z-index: 102;
  background: #181b1a;
  border-radius: 10px;
  font-size: 2.2rem;
  padding: 8px 16px 10px 16px;
  color: #F4F2EF;
  border: 2px solid #233C2E;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 10px 0 rgba(33,59,45,0.12);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #233C2E;
  color: var(--highlight);
}
@media (max-width: 990px) {
  .mobile-menu-toggle {
    display: block;
  }
  header nav,
  header .cta-primary {
    display: none;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 96vw;
  max-width: 375px;
  background: #213B2D;
  box-shadow: -8px 0 16px 0 rgba(18,24,19,.22);
  transition: transform 0.32s cubic-bezier(.6,.01,.4,1);
  transform: translateX(100%);
  z-index: 101;
  padding: 35px 22px 40px 36px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: #232F25;
  color: #F4F2EF;
  margin-bottom: 25px;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  border: 2px solid #3C4C41;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #464b41;
  color: #B7E283;
}
.mobile-nav {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.mobile-nav a {
  color: #F4F2EF;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid #314D3E;
  transition: color 0.15s, background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B7E283;
  background: #232F25;
}

/* Mobile menu sliding animation (for .mobile-menu) */
@media (max-width: 990px) {
  .mobile-menu {
    display: flex;
  }
}

/* -------- COOKIE CONSENT BANNER -------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #181b1a;
  color: #F4F2EF;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -2px 24px 0 rgba(33,59,45,0.13);
  padding: 28px 20px 26px 20px;
  gap: 15px;
  text-align: center;
  font-size: 1.09rem;
  border-top: 2px solid #233C2E;
  animation: bannerSlideIn 0.54s cubic-bezier(.33,1.68,.22,1.01);
}
@keyframes bannerSlideIn {
  0% { transform: translateY(80px); opacity: 0 }
  100% { transform: translateY(0); opacity: 1 }
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.17s;
  border: none;
  outline: none;
  margin: 0 4px;
}
.cookie-accept {
  background: #7BB740;
  color: #fff;
  border: 2px solid #7BB740;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #5e8c32;
}
.cookie-reject {
  background: #2C2E2E;
  color: #d44335;
  border: 2px solid #d44335;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #d44335;
  color: #fff;
}
.cookie-settings {
  background: #fff;
  color: #79736B;
  border: 2px solid #79736B;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #79736B;
  color: #fff;
}

/* -------- COOKIE SETTINGS MODAL -------- */
.cookie-modal {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 430px;
  width: 94vw;
  background: #222725;
  color: #F4F2EF;
  border-radius: 12px;
  box-shadow: 0 7px 32px 0 rgba(33,59,45,0.32);
  padding: 34px 26px;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 3000;
  animation: modalUp .32s cubic-bezier(.5,1.7,.31,1);
}
@keyframes modalUp {
  0% { opacity: 0; transform: translate(-50%, -38%) scale(.9); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 1em;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 17px;
  justify-content: space-between;
  font-size: 1.14em;
}
.cookie-modal .toggle {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 25px;
  background: #232F25;
  border-radius: 32px;
  transition: background 0.16s;
  border: 2px solid #665f58;
  align-items: center;
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 21px;
  height: 21px;
  background: #B7E283;
  border-radius: 50%;
  transition: left 0.15s;
}
.cookie-modal .toggle input:checked + .slider {
  left: 23px;
  background: #7BB740;
}
.cookie-modal .toggle.disabled,
.cookie-modal .toggle.disabled * {
  opacity: 0.55;
  cursor: not-allowed !important;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1em;
}
.cookie-modal .close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: #181B1A;
  border-radius: 9px;
  padding: 4px 9px;
  font-size: 1.1em;
  color: #F4F2EF;
  border: 2px solid #232F25;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #B7E283;
  color: #181b1a;
}

/* -------- RESPONSIVE DESIGN -------- */
@media (max-width: 990px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  section {
    padding: 30px 6px;
    font-size: 1rem;
  }
  header .container {
    min-height: 64px;
  }
  .testimonial-card, .card {
    padding: 14px 12px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 21px 2px;
    margin-bottom: 36px;
  }
  .content-wrapper, .text-section {
    gap: 20px;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    gap: 10px;
  }
  .testimonial-card {
    gap: 12px;
  }
  .cookie-banner {
    font-size: 0.99rem;
    padding: 15px 6px 15px 6px;
  }
  footer {
    padding: 25px 0 0 0;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.38rem;
  }
}
@media (max-width: 500px) {
  header img {
    height: 34px;
  }
  .mobile-menu {
    max-width: 98vw;
    padding-left: 10px;
  }
  .cookie-modal {
    padding: 13vw 6vw;
  }
}

/* -------- ACCESSIBILITY -------- */
:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 2px;
}
::-webkit-scrollbar {
  width: 8px;
  background: #232924;
}
::-webkit-scrollbar-thumb {
  background: #333733;
  border-radius: 6px;
}

/* -------- ADDITIONAL UTILITIES -------- */
.center {
  text-align: center !important;
  align-items: center !important;
}
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

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

/* -------- ANIMATIONS & MICRO-INTERACTIONS -------- */
.cta-primary, .cta-secondary, .cookie-btn, .cookie-modal .close, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px 0 rgba(46,51,47,0.19);
}

/* -------- LINKS & TOOLTIPS -------- */
a[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: 0; top: 110%;
  max-width: 220px;
  background: #2C2E2E;
  color: #fff;
  padding: 8px 11px;
  font-size: 0.95em;
  border-radius: 8px;
  z-index: 20000;
  pointer-events: none;
  opacity: .95;
  white-space: pre-line;
  box-shadow: 0 3px 12px 0 rgba(33,59,45,0.10);
}

/* Extra: Hide visually but keep for screen readers (if needed) */
.sr-only {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --------- END ------- */