/* =====================================================================
   VoltaThread – Industrial Modern CSS
   Mobile-first, flexbox-only layout. Brand: #205C40 / #F3F6F0 / #E8A631
   Fonts: Montserrat (display), Lato (body)
   Aesthetic: Industrial Modern – dark, metallic, urban, bold
   ===================================================================== */

/* ===================== CSS RESET & BASE ==================== */
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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  background: #191B1D;
  color: #F3F6F0;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, video, picture, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ===================== BRAND FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Lato:wght@400;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F3F6F0;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}
h1 {
  font-size: 2.1rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, li, blockquote {
  font-family: 'Lato', Arial, sans-serif;
  color: #C7CEC7;
  font-size: 1rem;
  line-height: 1.7;
}
a {
  color: #E8A631;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #feb700;
  text-decoration: underline;
  outline: none;
}
strong, b {
  font-weight: 700;
  color: #F3F6F0;
}

/* ===================== LAYOUT CONTAINERS ==================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #23272A;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(16,24,40,0.10);
  border: 1.5px solid #35393D;
}
@media (min-width: 992px) {
  .section { padding: 48px 32px; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
  .container { padding-left: 12px; padding-right: 12px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #24282B;
  border-radius: 14px;
  border: 1px solid #393D40;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(30,34,40,0.055);
  position: relative;
  transition: box-shadow 0.20s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 26px rgba(56,60,68,0.14);
  transform: translateY(-6px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 24px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F3F6F0;
  border: 2px solid #E8A631;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(32,92,64,0.11);
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  color: #191B1D;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  line-height: 1.45;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote:before {
  color: #E8A631;
  content: open-quote;
  font-size: 2.2em;
  line-height: 0;
  vertical-align: -0.4em;
}
.testimonial-card div {
  color: #205C40;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card img {
  height: 22px;
  width: auto;
  filter: grayscale(30%) brightness(0.9);
}
@media (max-width: 600px) {
  .testimonial-card { padding: 13px; gap: 14px; }
}

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

/* ================= BUTTONS & INTERACTIONS ================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 32px;
  background: #E8A631;
  color: #23272A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(232,166,49,0.14);
  cursor: pointer;
  text-transform: uppercase;
  margin-right: 14px;
  transition: background 0.12s, color 0.13s, transform 0.10s;
}
.cta-button:hover, .cta-button:focus {
  background: #205C40;
  color: #E8A631;
  transform: scale(1.048);
  outline: none;
}
.cta-button.secondary {
  background: #23272A;
  color: #E8A631;
  border: 2px solid #E8A631;
  box-shadow: none;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #205C40;
  color: #fff;
  border-color: #205C40;
}

button {
  font: inherit;
  cursor: pointer;
  outline: none;
  background: none;
  border: none;
}

/* ===================== HEADER & NAVIGATION ==================== */
header {
  width: 100%;
  background: #191B1D;
  display: flex;
  align-items: center;
  padding: 0 20px;
  min-height: 76px;
  box-shadow: 0 2px 15px rgba(28,41,34,0.22);
  justify-content: space-between;
  border-bottom: 2px solid #23272A;
  position: relative;
  z-index: 60;
}
header > a img {
  height: 41px;
  width: auto;
  margin-right: 10px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #C7CEC7;
  text-transform: uppercase;
  padding: 8px 11px;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: color 0.16s, background 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #23272A;
  color: #E8A631;
}
/* Header Call-to-Action Button */
header .cta-button {
  margin-left: 18px;
  margin-right: 0;
  height: 41px;
  padding: 0 16px;
  font-size: 1rem;
}

/* Burger menu (mobile only) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #205C40;
  color: #E8A631;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-left: 12px;
  transition: background 0.14s, color 0.13s;
  border: none;
  z-index: 102;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E8A631;
  color: #205C40;
}

@media (max-width: 900px) {
  header nav,
  header .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,27,29,0.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.333,0.6,0.26,1.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 22px;
  padding-bottom: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: #E8A631;
  background: none;
  margin: 0 22px 18px 0;
  border: none;
  z-index: 130;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100vw;
  padding: 16px 36px 0 32px;
}
.mobile-nav a {
  color: #E8A631;
  background: transparent;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 12px 0;
  border-bottom: 1px solid #393D40;
  width: 100%;
  letter-spacing: 0.07em;
  border-radius: 0px;
  transition: background 0.12s, color 0.13s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #23272A;
  color: #205C40;
}

/* Overlay fade animation for mobile menu's backdrop */
.mobile-menu.open {
  animation: menuSlideIn 0.34s cubic-bezier(0.45,0.95,0.5,1) both;
}
@keyframes menuSlideIn {
  from { transform: translateX(100%); }
  to {   transform: translateX(0);    }
}

/* ======== MAIN, SECTION & FOOTER STYLES ========= */
main {
  width: 100%;
  flex: 1 1 auto;
  min-height: 70vh;
  background: #1A2321;
  padding-bottom: 35px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 600px) {
  section,.section { padding: 32px 0; margin-bottom: 34px; }
}

footer {
  background: #191B1D;
  color: #A2B4A8;
  padding: 32px 0 24px 0;
  border-top: 2px solid #23272A;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 0.99rem;
  z-index: 50;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: #E8A631;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}
footer nav a:hover {
  color: #FFD042;
}
footer .text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #A2B4A8;
}
footer img {
  height: 31px;
  opacity: 0.95;
  filter: grayscale(60%) contrast(1.1) brightness(0.96);
}

/* =================== LISTS, BLOCKS, ARTICLES =================== */
ul, ol {
  margin-left: 18px;
  margin-bottom: 18px;
  padding-left: 18px;
  color: #C7CEC7;
  letter-spacing: 0.01em;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
ul > li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E8A631;
  opacity: 0.8;
}
article {
  background: #23272A;
  padding: 20px 16px;
  border-radius: 13px;
  border: 1px solid #393D40;
  margin-bottom: 24px;
}
.categories {
  color: #E8A631;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
}

/* ================== MISC INTERACTIVE STATES ================= */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  border: 1.5px solid #393D40;
  background: #212726;
  color: #F3F6F0;
  padding: 12px 15px;
  margin-bottom: 16px;
  border-radius: 7px;
  transition: border 0.15s;
  outline: none !important;
}
input:focus, textarea:focus, select:focus {
  border-color: #E8A631;
  background: #181C1B;
}

/* ==================== ICONS, BADGES, IMAGES ==================== */
img[alt*="icon"] {
  filter: grayscale(100%) brightness(1.2) contrast(1.1) drop-shadow(0 1px 2px #23272A33);
}

/* Social media icons in contact */
a[title^="Instagram"] img,
a[title^="Facebook"] img,
a[title^="LinkedIn"] img {
  width: 30px;
  height: 30px;
  transition: filter 0.14s, transform 0.12s;
  filter: invert(74%) sepia(23%) saturate(972%) hue-rotate(38deg) brightness(88%) contrast(92%);
  margin: 0 3px;
}
a[title^="Instagram"]:hover img,
a[title^="Facebook"]:hover img,
a[title^="LinkedIn"]:hover img {
  filter: invert(33%) sepia(78%) saturate(1552%) hue-rotate(97deg) brightness(97%) contrast(122%);
  transform: scale(1.13);
}

/* =================== COOKIE BANNER & MODAL ==================== */
.cookie-consent-banner {
  position: fixed;
  z-index: 1200;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #23272A;
  color: #F3F6F0;
  box-shadow: 0 -8px 36px rgba(32,92,64,0.19);
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  border-top: 3px solid #205C40;
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.42s cubic-bezier(.38,.91,.29,.99) both;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  min-width: 120px;
  background: #205C40;
  color: #E8A631;
  border-radius: 8px;
  border: none;
  padding: 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-top: 10px;
  transition: background 0.18s, color 0.16s;
}
.cookie-consent-banner button.accept {
  background: #E8A631;
  color: #23272A;
}
.cookie-consent-banner button.accept:hover, .cookie-consent-banner button.accept:focus {
  background: #205C40;
  color: #E8A631;
}
.cookie-consent-banner button.reject {
  background: #393D40;
  color: #E8A631;
}
.cookie-consent-banner button.reject:hover, .cookie-consent-banner button.reject:focus {
  background: #E8A631;
  color: #23272A;
}
.cookie-consent-banner button.settings {
  background: transparent;
  color: #E8A631;
  border: 2px solid #E8A631;
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: #E8A631;
  color: #205C40;
}

.cookie-modal {
  position: fixed;
  z-index: 1250;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25,27,29,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn .35s ease;
}
@keyframes modalFadeIn { from{ opacity:0;} to{ opacity:1;} }
.cookie-modal-content {
  background: #23272A;
  color: #F3F6F0;
  border-radius: 19px;
  border: 2px solid #205C40;
  box-shadow: 0 12px 62px #191B1D55;
  padding: 38px 28px 28px 28px;
  min-width: 300px; max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal-content h2 {
  color: #E8A631;
  font-size: 1.50rem;
  margin-bottom: 16px;
}
.cookie-modal-content .categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-modal-content .category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal-content .switch {
  margin-left: auto;
}
.cookie-modal-content .category label {
  font-weight: 600;
  color: #E8A631;
  font-size: 1.06rem;
}
.cookie-modal-content .switch {
  width: 38px; height: 22px;
  background: #393D40;
  border-radius: 14px;
  position: relative;
  transition: background 0.17s;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-modal-content .switch input {
  opacity: 0; width: 0; height: 0;
  position: absolute;
}
.cookie-modal-content .switch span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E8A631;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.18s, background 0.13s;
}
.cookie-modal-content .switch input:checked + span {
  left: 18px;
  background: #205C40;
}
.cookie-modal-content .note {
  font-size: 0.95rem;
  color: #C7CEC7;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal-content .modal-close {
  background: none;
  color: #E8A631;
  font-size: 1.6rem;
  align-self: flex-end;
  border: none;
  margin-bottom: 3px;
}
.cookie-modal-content .modal-close:hover, .cookie-modal-content .modal-close:focus {
  color: #fff;
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 38px 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
  .container { padding-left: 5vw; padding-right: 5vw; }
  .content-wrapper { gap: 20px; }
  .card-content { padding: 24px 13px; }
}
@media (max-width: 540px) {
  .container { padding-left: 2vw; padding-right: 2vw; }
  .content-wrapper { gap: 12px; }
}

/* Extra spacing for sections and between blocks */
.section + .section,
section + section,
.content-wrapper + .content-wrapper,
.card + .card {
  margin-top: 32px !important;
}
.card-container > * {
  flex: 1 1 320px;
  min-width: 290px;
  max-width: 99vw;
}

/* Misc. utility */
.nowrap { white-space: nowrap; }
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.gap-20 { gap: 20px !important; }

/* ===================== INDUSTRIAL MODERN EXTRAS =================== */
.section, .card, .content-wrapper, header, footer {
  box-shadow: 0 1px 7px #393D4017;
}
.section, .card {
  border-radius: 17px;
  border: 1.5px solid #35393D;
}

hr {
  border: none;
  border-top: 2px solid #393D40;
  margin: 28px 0;
}

/* (Industrial "Metal separator") */
.metal-divider {
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(90deg,#393D40,#E8A631 15px,#393D40 30px,#393D40 45px);
  opacity: .3;
  margin: 30px 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: #23272A;
}
::-webkit-scrollbar-thumb {
  background: #393D40;
  border-radius: 6px;
  border: 2px solid #23272A;
}
::-webkit-scrollbar-thumb:hover {
  background: #E8A631;
}

/* ============= ACCESSIBILITY: FOCUS VISIBLE ============= */
:focus-visible {
  outline: 2px solid #E8A631;
  outline-offset: 1px;
}

/* ================== Z-INDEX CONTROL ==================== */
header, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close,
.cookie-consent-banner, .cookie-modal, .cookie-modal-content {
  z-index: 999 !important;
}

/* === Prevent Overlapping, Always Use Flex Gap Spacing === */
.card, .testimonial-card, .feature-item, .content-wrapper, .card-container, .content-grid, .text-image-section {
  margin-bottom: 20px;
}

@media (max-width:450px){.cookie-modal-content{padding:24px 2vw;}}
