/* ============================
   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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #22292f;
  color: #F3F8FB;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #F29F05;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffe0a6;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ============================
   BRAND & INDUSTRIAL COLORS
============================= */
:root {
  --primary: #175062;
  --primary-dark: #154459;
  --secondary: #F3F8FB;
  --bg: #22292f;
  --surface: #27343b;
  --contrast: #21272a;
  --accent: #F29F05;
  --accent-hover: #ffb533;
  --muted: #868e96;
  --white: #fff;
  --black: #121417;
  --steel: #44505a;
  --shadow: 0 2px 12px rgba(15,21,29,0.13), 0 1.5px 4px rgba(15,21,29,0.13);
}

/* ============================
   TYPOGRAPHY
============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--secondary);
  letter-spacing: 0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  line-height: 1.18;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  line-height: 1.23;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--secondary);
}
strong, b {
  color: var(--accent);
  font-weight: 600;
}
ul, ol {
  color: var(--secondary);
  margin-bottom: 16px;
  padding-left: 1.2em;
}
li {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

/* Industrial text accent */
blockquote, q {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--accent);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  background: var(--surface);
  margin: 16px 0;
  font-weight: 500;
}

/* ============================
   LAYOUT CONTAINERS
============================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.content-grid, .feature-grid, .service-list, .blog-list, .faq-list, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  padding: 28px 22px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 240px;
  max-width: 340px;
  background: var(--secondary);
  color: var(--black);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.22s;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--black);
  font-size: 1rem;
}
.testimonial-card strong { color: var(--primary-dark); }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 20px;
}
/* ============================
   HEADER & MAIN NAVIGATION
============================= */
header {
  width: 100%;
  background: var(--contrast);
  box-shadow: 0 2px 13px 0 rgba(16,27,34,0.08);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  padding: 20px 0 18px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.2px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
  margin-right: 4px;
  position: relative;
  padding: 5px 12px;
  border-radius: 4px;
  transition: background 0.18s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--black);
  background: var(--accent);
}
.main-nav img { height: 38px; width: auto; margin-right: 24px; }
/*
  Primary CTA Button
*/
.primary-cta {
  color: var(--white) !important;
  background: var(--accent);
  border-radius: 5px;
  padding: 8px 23px !important;
  margin-left: 14px;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 700;
  box-shadow: 0 4px 15px 0 rgba(242,159,5,0.13);
  border: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s, transform 0.13s;
  outline: none;
  letter-spacing: 0.1em;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--accent-hover);
  color: var(--primary-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 24px 0 rgba(242,159,5,0.22),0 1.5px 4px rgba(38,38,38,0.06);
}
.secondary-cta {
  color: var(--accent);
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  padding: 7px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  margin-bottom: 2px;
  display: inline-block;
  letter-spacing: 0.07em;
  transition: background 0.17s, border 0.16s, color 0.15s;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent-hover);
}
nav .primary-cta {
  margin-left: auto;
  margin-right: 0;
}

/* ============================
   MOBILE NAVIGATION
============================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 23px;
  right: 18px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--black);
  border-radius: 8px;
  font-size: 2rem;
  border: none;
  box-shadow: 0 2px 6px rgba(27,34,37,0.13);
  z-index: 120;
  transition: background 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--accent-hover);
  outline: 2px solid var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22, 26, 32, 0.98);
  transform: translateX(100vw);
  transition: transform 0.37s cubic-bezier(.77,0,.19,1);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px 12px 18px 12px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  background: var(--accent);
  color: var(--black);
  border-radius: 8px;
  font-size: 1.75rem;
  border: none;
  margin-bottom: 16px;
  margin-right: 6px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 7px rgba(27,34,37,0.13);
  transition: background 0.18s, color 0.15s;
  z-index: 2010;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent-hover);
}
.mobile-nav {
  flex-direction: column;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 14px;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.21rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 9px 22px;
  border-radius: 4px;
  background: none;
  transition: background 0.16s, color 0.15s;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: var(--accent);
}
@media (max-width: 1050px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a { font-size: 0.96rem; padding: 5px 7px; }
  .main-nav img { height: 29px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 15px; padding: 15px 0; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

/*
  Hide mobile menu on desktop
*/
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-close, .mobile-nav, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================
   HERO, SECTIONS & CARDS
============================= */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.card, .service-list > div, .feature-grid > div, .blog-list > article, .faq-list > div {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover, .service-list > div:hover, .feature-grid > div:hover, .blog-list > article:hover, .faq-list > div:hover {
  box-shadow: 0 8px 26px rgba(27,32,42,0.15);
  transform: translateY(-4px) scale(1.011);
}
.card img, .feature-grid img, .service-list img {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  filter: grayscale(15%) brightness(95%) contrast(1.1);
}
.feature-grid > div, .service-list > div {
  align-items: flex-start;
  gap: 10px;
}
.service-list > div {
  border-left: 5px solid var(--primary);
  border-bottom: 3px solid var(--accent);
}
.feature-grid > div {
  border-left: 4px solid var(--steel);
  border-bottom: 2px solid var(--primary);
}
.blog-list > article {
  border-left: 4px solid var(--accent);
  min-width: 220px;
}

/* ============================
   TESTIMONIALS
============================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.testimonial-card {
  min-width: 240px; max-width: 340px;
  border-left: 6px solid var(--accent);
  background: var(--secondary);
  color: var(--black);
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px 4px rgba(162,168,176, 0.17);
  transform: translateY(-3px) scale(1.025);
}
.testimonial-card p{
  color: var(--black);
  font-weight: 500;
}
.testimonial-card strong{
  color: var(--primary);
  font-size: 1.1em;
}

/*
  Newsletter / Blog Category Bubble
*/
.blog-categories {
  color: var(--muted);
  background: var(--surface);
  padding: 3px 15px;
  border-radius: 30px;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  margin-left: 8px;
}

/* ============================
   FOOTER
============================= */
footer {
  width: 100%;
  background: var(--contrast);
  color: var(--secondary);
  padding: 22px 0 13px 0;
  font-size: 0.95rem;
  margin-top: 50px;
}
.footer-navigation nav, .footer-navigation .legal-links, .footer-navigation .contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-navigation nav a, .footer-navigation .legal-links a {
  color: var(--muted);
  font-size: 0.96rem;
  padding: 3px 0;
}
.footer-navigation nav a:hover, .footer-navigation .legal-links a:hover {
  color: var(--accent);
}
.footer-navigation img{
  height: 38px; margin-bottom: 12px;
  filter: grayscale(8%) brightness(92%);
}
.legal-links {
  margin-top: 12px;
  margin-bottom: 8px;
  gap: 0px;
}
.copyright {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ============================
   SPACING/STRUCTURE HELPERS
============================= */
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.pt-2 { padding-top: 16px !important; }
.pb-2 { padding-bottom: 16px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.rounded-8 { border-radius: 8px !important; }
.rounded-12 { border-radius: 12px !important; }

/* ============================
  COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--surface);
  color: var(--secondary);
  box-shadow: 0 -2px 16px 0 rgba(30,36,41,0.14);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21px 10vw 21px 10vw;
  transition: transform 0.36s cubic-bezier(.77,0,.19,1), opacity 0.36s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(130%);
}
.cookie-banner .cookie-message {
  font-size: 0.97rem;
  margin-right: 20px;
  flex: 1 1 290px;
}
.cookie-banner .cookie-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  border-radius: 4px;
  padding: 6px 19px;
  letter-spacing: 0.06em;
  border: none;
  margin: 0 0 0 2px;
  box-shadow: 0 2px 8px 0 rgba(27,32,41,0.11);
  font-weight: 600;
  transition: background 0.14s, color 0.15s, box-shadow 0.13s;
}
.accept-cookies {
  background: var(--accent);
  color: var(--primary-dark);
}
.accept-cookies:hover, .accept-cookies:focus {
  background: var(--accent-hover);
}
.reject-cookies {
  background: var(--muted);
  color: var(--white);
}
.reject-cookies:hover, .reject-cookies:focus {
  background: #c44b31;
}
.cookie-settings {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--primary-dark);
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: var(--secondary);
  color: var(--black);
  z-index: 2500;
  width: 98vw;
  max-width: 460px;
  padding: 32px 30px 30px 30px;
  border-radius: 16px;
  box-shadow: 0 5px 50px 0 rgba(30,36,48,0.19),0 1px 8px 0 rgba(35,38,41,0.06);
  opacity: 1;
  transition: opacity 0.26s, transform 0.26s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -30%) scale(0.94);
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.22rem;
}
.cookie-modal label {
  display: flex; align-items: center; gap: 14px;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--black);
}
.cookie-modal .essential {
  color: var(--muted);
  font-style: italic;
}
.cookie-modal input[type=checkbox], .cookie-modal input[type=radio] {
  accent-color: var(--primary);
  width: 16px; height: 16px;
}
.cookie-modal .cookie-cta-group {
  gap: 10px;
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 1.3em;
  background: transparent;
  color: var(--muted);
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: var(--accent); }

/* ============================
   RESPONSIVE DESIGN
============================= */
@media (max-width: 1340px) {
  .container { max-width: 97vw; }
}
@media (max-width: 1150px) {
  .container { max-width: 97vw; }
  .content-wrapper, .content-grid, .feature-grid, .service-list, .blog-list, .faq-list, .testimonial-slider { gap: 14px; }
}
@media (max-width: 900px) {
  .content-grid, .feature-grid, .service-list, .blog-list, .faq-list, .card-container, .testimonial-slider {
    gap: 12px;
  }
  .card, .service-list > div, .feature-grid > div, .blog-list > article, .faq-list > div { min-width: 180px; padding: 19px 12px; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container {
    padding: 0 4vw;
  }
  .section, section {
    padding: 25px 0 24px 0; margin-bottom: 36px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size:1.09rem; }
  .content-wrapper, .text-section, .content-grid, .feature-grid, .service-list, .blog-list, .faq-list, .testimonial-slider, .footer-navigation {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .card, .testimonial-card, .service-list > div, .feature-grid > div, .blog-list > article, .faq-list > div {
    min-width: unset; max-width: unset;
    margin-bottom: 18px; padding: 12px 9px;
  }
  .testimonial-card { min-width: unset; max-width: unset; }
  .footer-navigation {
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .text-image-section, .card-content {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 17px 3vw 15px 3vw;
    gap: 13px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-message { margin-right: 0; }
}
@media (max-width: 530px) {
  html { font-size: 14px; }
  .main-nav img, .footer-navigation img { height: 23px; }
  .section, section { padding: 15px 0 13px 0; }
  .testimonial-card { padding: 13px 7px; }
  .footer-navigation nav, .footer-navigation .legal-links, .footer-navigation .contact-details { gap: 0; }
}

/* ============================
   MICRO-EFFECTS & INTERACTIONS
============================= */
.primary-cta, .secondary-cta, .cookie-banner button {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.10s;
}
button:active{
  transform: scale(0.96);
}
.feature-grid > div:hover img, .service-list > div:hover img {
  filter: brightness(120%) contrast(1.09) drop-shadow(0 2px 6px #09495e42);
  transform: scale(1.09) rotate(-3deg);
  transition: filter 0.13s, transform 0.18s;
}

/* ============================
   INDUSTRIAL MODERN STYLING
============================= */
body {
  background: linear-gradient(125deg, #212b31 0%, #154459 100%);
}
.card, .service-list > div, .feature-grid > div, .blog-list > article, .testimonial-card, .faq-list > div {
  border-radius: 12px 12px 10px 10px;
  box-shadow: 0 2.5px 18px 0 rgba(19,25,32,0.20);
  border: 1.5px solid var(--steel);
  background: linear-gradient(110deg, #2a3640 60%, #243138 100%);
  position: relative;
  overflow: hidden;
}
.testimonial-card {
  background: var(--secondary);
  color: var(--black);
  border-left: 6px solid var(--accent);
  box-shadow: 0 3px 18px 0 rgba(180,165,60,0.10);
}
.card::before, .feature-grid > div::before, .service-list > div::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, rgba(242,159,5,0.065) 0%, rgba(29,60,77,0.015) 100%);
  border-bottom-left-radius: 50px;
  pointer-events: none;
  z-index: 0;
}
.card-content, .feature-item {
  z-index: 1;
  position: relative;
}

/* Metallic accent lines */
.card, .service-list > div, .feature-grid > div {
  box-shadow: 0 2.5px 18px 0 rgba(19,25,32,0.18), 0 0.7px 4px 0 rgba(162,182,203, 0.07);
}
.feature-grid > div { border-left: 4px solid var(--accent); }
/* ============================
   CUSTOM SCROLLBAR
============================= */
::-webkit-scrollbar {
  width: 8px;
  background: #27343b;
}
::-webkit-scrollbar-thumb {
  background: #44505a;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #175062;
}

/* ============================
   FORM, INPUTS, MAP (kontakt)
============================= */
input, textarea, select {
  border-radius: 5px;
  background: var(--secondary);
  color: var(--black);
  font-size: 1.02em;
  padding: 7px 12px;
  margin-bottom: 10px;
  border: 1.3px solid var(--primary);
  outline: none;
  box-shadow: 0 0px 5px 0 rgba(27,44,56, .04);
  transition: box-shadow 0.13s, border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 11px 0 rgba(242,159,5,0.11);
}
.map {
  border: 1.5px solid var(--primary);
  background: var(--surface);
  border-radius: 7px;
  color: var(--muted);
  padding: 8px 12px;
  font-size: 0.96em;
  margin-top: 4px;
}

/* ============================
   MISC & OVERRIDES
============================= */
hr {
  border-top: 1px solid var(--steel);
  margin: 26px 0 17px 0;
}

/* ============================
   UTILITY CLASSES
============================= */
.hide { display: none !important; }

/* ============================
   END
============================= */