/* ---------------------------------------------
  POLISH WAVE "industrial_modern" STYLE.CSS
  Author: Senior UI/CSS Developer
  Only Flexbox layouts!
  Brand: Polish Wave
  --------------------------------------------- */

/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #22242C;
  color: #E5E6EA;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #9CCB86;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:active {
  color: #F5F1EB;
}
ul, ol {
  list-style: none;
  margin: 0 0 16px 0;
}
strong { color: #F5F1EB; font-weight: 700; }

/* TYPOGRAPHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  color: #F5F1EB;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: #F5F1EB;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #C0C2CA;
  font-weight: 600;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #9CCB86;
  font-weight: 500;
  margin-bottom: 10px;
}
p, ul li, ol li{
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #E5E6EA;
  margin-bottom: 12px;
}

/* METALLIC + URBAN EFFECTS */
body {
  background: #20222A url('../assets/bg-industrial.jpg') repeat;
  background-size: cover;
}

hr {
  border: none;
  border-top: 1px solid #404454;
  margin: 32px 0;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* SECTIONS (MANDATORY SPACING) */
section {
  background: rgba(25, 27, 34, 0.97);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(173,177,183,0.10), 0 1.5px 4px #141419;
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.3s;
  border: 1.5px solid #34374A;
}

/* SECTION UTIL CLASSES (FLEXBOX ONLY!) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: #232533;
  color: #E5E6EA;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(100,109,122,0.07);
  border: 1px solid #393B4B;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.24s, border .18s;
}
.card:hover {
  box-shadow: 0 9px 32px #2E326866, 0 1.5px 7px #0000002a;
  border-color: #9CCB86;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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: #F5F1EB;
  color: #232533;
  border-radius: 11px;
  box-shadow: 0 2px 14px rgba(50,53,61,.13);
  border: 1.5px solid #CFCFCF;
  margin-bottom: 20px;
  font-size: 1.07rem;
  transition: box-shadow .22s, transform .15s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 18px #9CCB8622;
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card p {
  color: #232533;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
  color: #2E3268;
  font-size: 0.95rem;
  opacity: 0.8;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FLEXBOX-LAYOUTED MENU & FOOTER */
header {
  background: #191B21aa;
  border-bottom: 2px solid #2E3268;
  padding: 0;
}
header .container { padding-top: 0; padding-bottom: 0; }
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
}
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav li {
  list-style: none;
}
nav a {
  color: #9CCB86;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 1rem;
  padding: 10px 3px;
  border-radius: 4px;
  transition: background 0.16s, color 0.22s;
}
nav a:hover {
  background: #38415A;
  color: #F5F1EB;
}
nav .btn-primary {
  margin-left: 24px;
}

footer {
  background: #181920fa;
  border-top: 2px solid #34374A;
  padding: 0 0 22px 0;
  color: #C0C2CA;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 0;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  flex-direction: row;
  font-size: 0.97rem;
  color: #9CCB86;
}
footer nav a {
  color: #9CCB86;
  font-size: 0.97rem;
  padding: 0 5px;
  opacity: 0.85;
}
footer nav a:hover {
  opacity: 1;
}
footer img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px 0 0;
}
footer span { display: inline-block; margin-top: 10px; font-size: 0.95rem; color: #C0C2CA; }

/* BUTTONS & PRIMARY CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2E3268;
  background-image: linear-gradient(94deg, #2E3268 80%, #232533 100%);
  color: #F5F1EB;
  border: none;
  padding: 13px 32px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 12px rgba(46,50,104,0.09);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.22s, transform 0.11s;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #9CCB86;
  color: #22242C;
  box-shadow: 0 7px 20px #2E326822;
  transform: translateY(-2px) scale(1.04);
}

.btn-secondary {
  background: #393B4B;
  color: #9CCB86;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid #9CCB86;
  padding: 10px 22px;
  font-size: 1rem;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #2E3268;
  color: #F5F1EB;
  box-shadow: 0 2px 8px #23253333;
}

.btn-neutral {
  background: #EFEFEF;
  color: #2E3268;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .16s, color .18s;
}
.btn-neutral:hover { background: #9CCB86; color: #22242C; }

/* LIST WITH ICONS */
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
ul li img {
  height: 26px;
  width: 26px;
  border-radius: 4px;
  background: #22242C;
  padding: 2px;
  box-shadow: 0 1px 3px #0000001A;
}

/*----------------------------------------------*/
/*  MOBILE NAVIGATION - HAMBURGER MENU          */
/*----------------------------------------------*/
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 502;
  width: 46px;
  height: 46px;
  background: #2E3268;
  color: #F5F1EB;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px #2E326825;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: #9CCB86;
  color: #22242C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #232533f6;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.6,.05,.17,1.2);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 30px 0 10px 24px;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #9CCB86;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.13s, color 0.17s;
  z-index: 2201;
}
.mobile-menu-close:hover {
  color: #2E3268;
  background: #9CCB8622;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 34px 0 0 34px;
  width: 88%;
}
.mobile-nav a {
  color: #F5F1EB;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border-radius: 7px;
  padding: 17px 10px 17px 0;
  margin-bottom: 3px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover {
  color: #9CCB86;
  background: #2E326866;
}

/* HIDE DESKTOP MENU ON MOBILE */
@media (max-width: 990px) {
  nav ul, nav .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/*----------------------------------------------*/
/*  COOKIE CONSENT BANNER & POPUP MODAL         */
/*----------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 8005;
  background: rgba(44,44,51,0.99);
  color: #F5F1EB;
  padding: 24px 20px 24px 20px;
  border-top: 2.5px solid #2E3268;
  box-shadow: 0 -3px 24px #23253388;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.33s cubic-bezier(.64,.01,.14,1.11), opacity .28s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0 !important;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 9px;
}
.cookie-btns .btn-primary {
  padding: 8px 24px;
  font-size: 1.04rem;
}
.cookie-btns .btn-secondary {
  padding: 8px 19px;
}
.cookie-btns .btn-neutral {
  padding: 8px 19px;
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(44,44,51,0.82);
  z-index: 8100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #232533;
  color: #EFEFEF;
  padding: 34px 28px 30px 28px;
  border-radius: 15px;
  box-shadow: 0 10px 60px #23253391;
  min-width: 320px; max-width: 98vw;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal h2 {
  font-size: 1.29rem;
  color: #9CCB86;
  margin-bottom: 5px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px; right: 20px;
  background: transparent;
  border: none;
  color: #9CCB86;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.14s, color 0.16s;
}
.cookie-modal .modal-close:hover {
  color: #F5F1EB;
  opacity: 1;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #9CCB86;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-group {
  margin-bottom: 16px;
}
.cookie-modal .cookie-group input[disabled] {
  opacity: 0.60;
  pointer-events: none;
}
.cookie-modal p {
  font-size: 0.97rem;
  color: #EFEFEF;
}

/* UNIVERSAL FORM STYLES */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232533;
  background: #EFEFEF;
  border: 1.5px solid #9CCB86;
  border-radius: 6px;
  padding: 11px 12px;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.18s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #2E3268;
  background: #F5F1EB;
  outline: none;
}

/* ------ RESPONSIVE ------ */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}

@media (max-width: 991px) {
  footer .content-wrapper { flex-direction: column; gap: 18px; align-items: flex-start; }
  nav .btn-primary { margin-left: 0; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding: 0 7vw; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .section, section { margin-bottom: 38px; padding: 28px 7vw; }
  .card, .testimonial-card { padding: 17px 11px; }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start !important;
  }
  .card-container { gap: 17px; }
  .feature-item { gap: 9px; }
  .cookie-modal { min-width: 248px; padding: 24px 7vw; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.06rem; }
  .btn-primary, .btn-secondary, .btn-neutral { font-size: 0.97rem; padding: 11px 16px; }
}

/* ------ MICRO-INTERACTIONS ------ */
section, .card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.16s;
}
section:active, .card:active {
  transform: scale(.998);
}

a:active {
  opacity: 0.85;
}
.button:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #9CCB86;
  outline-offset: 2px;
}

/* ------ MISC DECORATIVE ------ */
::-webkit-scrollbar {
  width: 10px;
  background: #242436;
}
::-webkit-scrollbar-thumb {
  background: #2E3268;
  border-radius: 6px;
}

/* Industrial font fallback if Google Fonts unavailable */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Arial'), sans-serif;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Arial'), sans-serif;
}

/* ------------ Z-STACKING FOR MODALS ------------ */
.cookie-modal-overlay, .cookie-modal { z-index: 8110; }
.mobile-menu, .mobile-menu-toggle { z-index: 502; }

/* ------------ ENSURE NO GRID & NO ABSOLUTE LAYOUT ------------ */
/* Used only for allowed position e.g. for close buttons or overlays */

/* ------------ NO OVERLAPPING! ENFORCE SPACING ------------ */
.card, .testimonial-card, section, .feature-item, .card-container, .content-grid, .text-image-section {
  margin-bottom: 20px;
}

/* ------------ HIGHLIGHT VISUAL HIERARCHY ------------ */
.card, .testimonial-card, section {
  box-shadow: 0 6px 24px rgba(30,32,40,0.13), 0 1.5px 4px #14141933;
  border-radius: 16px;
}

/* ------------ OVERLAY FOR DARKENED URBAN EFFECT ------------ */
body:before {
  content: '';
  display: block;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(135deg, #16171b88 0%, #22242C88 100%);
  opacity: 0.55;
}

/*---------- INDUSTRIAL HOVER SHADOW FOR ICONS---------*/
ul li img:hover {
  box-shadow: 0 0px 8px #9CCB86bb;
}

/* IMPORTANT: Cards are always flex/containered by .card-container or .content-grid! */

