/* 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;
  background: #202324;
  color: #EFEFEF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul {
  list-style: none;
}
a {
  color: #50A39E;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #EFEFEF;
  text-decoration: underline;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #EFEFEF;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
p {
  line-height: 1.7;
  margin-bottom: 18px;
  color: #CFD8DC;
}
strong, b {
  font-weight: 600;
  color: #EFEFEF;
}

/* BRAND COLORS */
:root {
  --primary: #21697A;
  --secondary: #50A39E;
  --accent: #EFEFEF;
  --background: #202324;
  --card-bg: #25282a;
  --text: #EFEFEF;
  --muted: #8c959c;
  --border: #33393C;
  --shadow: rgba(33, 105, 122, 0.10);
  --shadow-hover: rgba(80, 163, 158, 0.21);
  --testimonial-bg: #EFEFEF;
  --testimonial-text: #1E2222;
  --btn-hover: #193D44;
  --danger: #A45757;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER & NAVIGATION */
header {
  background: #191C1E;
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #CBE7EA;
  position: relative;
  padding: 6px 4px;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: var(--secondary);
  border-radius: 2px;
  transition: width 0.24s cubic-bezier(.4,0,.2,1);
  margin-top: 3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 60%;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.15s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--secondary);
  letter-spacing: 0.03em;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--btn-hover);
  color: var(--accent);
  box-shadow: 0 4px 18px var(--shadow-hover);
  transform: translateY(-2px) scale(1.015);
}
.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  letter-spacing: 0.02em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #1a2e2d;
  box-shadow: 0 2px 12px var(--shadow-hover);
  transform: translateY(-1px) scale(1.01);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  color: #EFEFEF;
  font-size: 2.1rem;
  padding: 8px 14px;
  margin-left: 18px;
  z-index: 101;
  outline: none;
  transition: background 0.2s, color 0.18s;
  border-radius: 5px;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  background: var(--border);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 360px;
  height: 100vh;
  background: #23282B;
  box-shadow: -4px 0 30px 0 var(--shadow-hover);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.62,0,.19,1.07);
  display: flex;
  flex-direction: column;
  padding: 26px 28px 36px 28px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: var(--danger);
  color: #fff;
  font-size: 1.7rem;
  border: none;
  border-radius: 4px;
  align-self: flex-end;
  padding: 4px 14px;
  margin-bottom: 18px;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #5e1b1b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #EFEFEF;
  font-size: 1.1rem;
  padding: 9px 0;
  border-bottom: 1.5px solid var(--border);
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

/* MAIN LAYOUT SPACING */
main {
  background: var(--background);
  flex: 1;
  min-height: 400px;
  padding-bottom: 48px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 15px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* FLEXBOX LAYOUTS (Mandatory) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 28px 22px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
}
.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;
  padding: 20px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 18px rgba(33, 105, 122, 0.14);
  border: 1px solid #E0E0E0;
  flex-direction: column;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(118deg, #23282B 70%, var(--primary) 100%);
  color: #EFEFEF;
  border-radius: 0 0 24px 24px;
  padding-top: 52px;
  padding-bottom: 48px;
  margin-bottom: 48px;
  box-shadow: 0 7px 24px var(--shadow-hover);
}
.hero h1 {
  color: #efe9e1;
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p {
  color: #b8c4c8;
  font-size: 1.18rem;
  margin-bottom: 28px;
  max-width: 700px;
}
.hero .btn-primary {
  font-size: 1.15rem;
  padding: 14px 32px;
  margin-top: 12px;
}

/* FEATURES & SERVICE CARDS */
.features, .services, .team, .cta, .about {
  background: var(--card-bg);
  box-shadow: 0 2px 10px var(--shadow);
  border-radius: 16px;
  border: 1.5px solid var(--border);
}
.features ul, .about ul, .services ul, .knowledge-base ul, .team ul {
  margin-top: 10px;
  padding: 0 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
  color: #c8c8c8;
}
.features li, .about li, .services li, .team li {
  position: relative;
  padding-left: 20px;
}
.features li::before, .about li::before, .services li::before, .team li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1.18em;
  line-height: 1;
  top: 2px;
}
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 18px 0 34px 0;
}
.services .service-list article {
  background: #23272B;
  border-radius: 11px;
  border: 1.2px solid var(--border);
  box-shadow: 0 2px 14px var(--shadow);
  min-width: 270px;
  flex: 1 1 250px;
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, box-shadow 0.21s;
}
.services .service-list article:hover {
  transform: translateY(-3px) scale(1.017);
  box-shadow: 0 8px 28px var(--shadow-hover);
  border-color: var(--secondary);
}
.services .service-list h3 {
  color: var(--secondary);
  margin-bottom: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.services .service-list ul {
  gap: 6px;
  font-size: 0.97rem;
}

/* TESTIMONIALS */
.testimonials {
  background: #23282B;
  box-shadow: 0 2px 10px var(--shadow);
  border-radius: 16px;
  border: 1.5px solid var(--border);
}
.testimonials h2 {
  color: var(--accent);
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.19rem;
  color: var(--testimonial-text);
  margin-bottom: 12px;
  font-weight: 500;
  position: relative;
}
.testimonial-card blockquote:before {
  content: '“';
  color: var(--secondary);
  font-size: 1.9em;
  position: absolute;
  left: -25px;
  top: -8px;
  opacity: 0.44;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.01rem;
  color: var(--testimonial-text);
  font-style: italic;
}
.testimonial-card strong {
  font-weight: 700;
  color: #1e2222;
}

/* CARDS, POLICY, SECTIONS */
.policy, .company-info, .blog-intro, .knowledge-base, .case-studies, .success-message {
  background: var(--card-bg);
  box-shadow: 0 2px 10px var(--shadow);
  border-radius: 16px;
  border: 1.5px solid var(--border);
}
.text-section {
  margin-bottom: 16px;
  color: #c7d7da;
}
.text-section a {
  color: var(--primary);
  text-decoration: underline dotted;
}
.text-section a:hover, .text-section a:focus {
  color: var(--secondary);
}

/* CASE STUDY ARTICLES ON REALIZACJE */
.case-studies article {
  margin-bottom: 38px;
  padding: 22px 14px 16px 12px;
  background: #252e2d;
  border-radius: 9px;
  box-shadow: 0 2px 10px var(--shadow);
  border: 1px solid var(--border);
}
.case-studies h2 {
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.case-studies article p {
  color: #c7dade;
  font-size: 1.02rem;
}

/* CTA SECTION */
.cta {
  background: linear-gradient(140deg, #21697A 85%, #20393b 100%);
  color: #EFEFEF;
  border-radius: 16px;
  box-shadow: 0 2px 18px var(--shadow-hover);
}
.cta h2, .cta p {
  color: #EFEFEF;
}
.cta a.btn-primary {
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: #181a1b;
  border-top: 1.5px solid var(--border);
  box-shadow: 0 -2px 8px var(--shadow);
  padding: 40px 0 30px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-links, .footer-contact, .footer-branding {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  flex-wrap: wrap;
  color: #A2B2B8;
}
.footer-links a {
  color: #789fa8;
  font-weight: 400;
  transition: color 0.20s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #50A39E;
}
.footer-contact a {
  color: #50A39E;
  text-decoration: none;
}
.footer-branding img {
  height: 38px;
  width: auto;
  margin-right: 12px;
}
.footer-branding span {
  color: #656A6C;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #25282a;
  color: #EFEFEF;
  padding: 18px 22px;
  box-shadow: 0 -2px 18px var(--shadow);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  z-index: 5000;
  transition: transform 0.3s cubic-bezier(.67,0,.16,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  color: #e0e3ea;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .btn {
  font-size: 0.97rem;
  padding: 8px 18px;
  border-radius: 5px;
}
.accept-cookies {
  background: var(--secondary);
  color: #222;
  border: 1.5px solid var(--secondary);
}
.accept-cookies:hover, .accept-cookies:focus {
  background: var(--primary);
  color: #EFEFEF;
}
.reject-cookies {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid var(--danger);
}
.reject-cookies:hover, .reject-cookies:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--secondary);
  color: #23282B;
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 5500;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,37,48, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #262B2C;
  color: #EFEFEF;
  border-radius: 14px;
  padding: 32px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  box-shadow: 0 8px 32px var(--shadow-hover);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: popupFadeIn 0.28s cubic-bezier(.78,1.6,.32,1) 1;
}
@keyframes popupFadeIn {
  0% { opacity: 0; transform: scale(.86); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: var(--secondary);
  margin-bottom: 16px;
  font-size: 1.25rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--danger);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.cookie-category .toggle {
  width: 38px;
  height: 22px;
  border-radius: 22px;
  border: 1.2px solid var(--border);
  background: #333;
  position: relative;
  cursor: pointer;
  outline: none;
}
.cookie-category .toggle[aria-checked="true"] {
  background: var(--secondary);
  border-color: var(--secondary);
}
.cookie-category .toggle[aria-checked="false"] {
  background: #333;
  border-color: var(--border);
}
.cookie-category .toggle-knob {
  position: absolute;
  top: 1.5px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1.5px 6px rgba(32,105,122,0.085);
  transition: left 0.24s cubic-bezier(.41,0,.61,1), background 0.2s;
}
.cookie-category .toggle[aria-checked="true"] .toggle-knob { left: 17px; background: #21697A; }
.cookie-category .toggle[aria-disabled="true"] {
  opacity: 0.57;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .btn { font-size: 0.97rem; padding: 8px 20px; }

/* RESPONSIVE DESIGN (mobile-first) */
@media (max-width: 1020px) {
  .hero h1 { font-size: 2.07rem; }
  header .container { height: 72px; }
}
@media (max-width: 820px) {
  .container { max-width: 97vw; }
  header .container { padding-left: 8px; padding-right: 8px; }
  .main-nav { gap: 14px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; }
  /* Mobile menu visibility */
  .main-nav,
  header .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .section, section { padding: 28px 7px; }
  .services .service-list { flex-direction: column; gap: 18px; }
  .services .service-list article { min-width: 0; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .footer-links, .footer-contact, .footer-branding { flex-direction: column; justify-content: flex-start; gap: 8px; }
  footer .container { gap: 16px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .btn { font-size: 0.95rem; padding: 10px 14px; }
  .testimonial-card blockquote { font-size: 1.02rem; }
  .cookie-banner { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* UI MICRO-INTERACTIONS */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: border 0.17s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 0 0 2px #1738194d;
}

/* UTILITY CLASSES & HELPERS */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* Scrollbar Styling */
::-webkit-scrollbar { width: 9px; background: #1e1f21; }
::-webkit-scrollbar-thumb { background: #2d3134; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #27404a; }

/* Industrial/Metallic details */
.card, .testimonial-card, .services .service-list article, .policy, .case-studies article, .about, .features {
  border: 1.2px solid rgba(80,163,158, 0.19);
  box-shadow: 0 1.5px 8px rgba( 108,147,153,0.06 ), 0 4px 28px 0 var(--shadow-hover);
  background-clip: padding-box;
  position: relative;
}
.card:before, .testimonial-card:before, .services .service-list article:before, .case-studies article:before {
  content: '';
  display: block;
  position: absolute;
  top: -2px; left: -2px;
  right: -2px; height: 2px;
  background: linear-gradient(90deg, #394649, #8BA6AF 40%, #394649 80%);
  opacity: 0.17;
  border-radius: 2px;
  pointer-events: none;
  z-index: 0;
}

/* Disable grid & columns everywhere */
/* No forbidden CSS properties present. */
