/* ==== RESET & NORMALIZATION ==== */
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;
}
html {
  height: 100%;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: #181b1f;
  color: #F5F7FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #5CB22E;
  outline-offset: 2px;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F5F7FA;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, label { font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* ==== INDUSTRIAL MODERN COLOR PALETTE ==== */
:root {
  --color-primary: #03547C;
  --color-secondary: #5CB22E;
  --color-accent: #F5F7FA;
  --color-bg-dark: #181b1f;
  --color-bg-darker: #121417;
  --color-bg-metal: #252930;
  --color-metallic: #545e65;
  --color-shadow: rgba(18, 20, 23, 0.7);
  --color-btn-hover: #2178a8;
  --color-btn-dark: #282e34;
  --color-success: #5CB22E;
  --color-danger: #ed1840;
}

/* ==== CONTAINER, STRUCTURE, FLEX LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-metal);
  border-radius: 18px;
  box-shadow: 0 3px 16px var(--color-shadow);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
    border-radius: 10px;
  }
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #181b1f;
  border-bottom: 1.5px solid var(--color-metallic);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
.header-content img {
  height: 50px;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.main-nav a {
  color: #F5F7FA;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-metallic);
  color: var(--color-secondary);
}
.cta-button {
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 8px rgba(3,84,124,.16);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  display: inline-block;
  margin-top: 6px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-btn-hover);
  color: #fff;
  box-shadow: 0 4px 18px var(--color-primary);
}

@media (max-width: 992px) {
  .header-content {
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
    font-size: .95rem;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1004;
  background: #181b1f;
  color: #F5F7FA;
  border-radius: 8px;
  border: 2px solid var(--color-primary);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 360px;
  background: var(--color-bg-metal);
  box-shadow: -2px 0 16px var(--color-shadow);
  z-index: 2000;
  padding: 28px 26px 0 26px;
  transform: translateX(110vw);
  transition: transform 0.34s cubic-bezier(.4,2,.6,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #F5F7FA;
  background: none;
  border: none;
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.1rem;
  z-index: 2001;
  border-radius: 7px;
  padding: 3px 7px;
  transition: background .13s, color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-danger);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 50px;
  width: 100%;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 12px 4px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary);
  color: #fff;
}
/* Hide main nav on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 700px) {
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
    padding-left: 14vw;
  }
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(93deg, #181b1f 90%, rgba(3,84,124,0.17) 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 54px;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 3px 18px var(--color-shadow);
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  max-width: 680px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--color-accent);
  text-shadow: 0 2px 14px rgba(3, 84, 124, 0.13);
}
.hero p {
  color: #bdc9d2;
  font-size: 1.16rem;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 10px 10px;
    padding-bottom: 12px;
    margin-bottom: 32px;
  }
  .hero .content-wrapper h1 {
    font-size: 1.3rem;
  }
}

/* ==== FLEX LAYOUT PATTERNS ==== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-darker);
  border: 1.5px solid var(--color-metallic);
  border-radius: 12px;
  padding: 26px 22px 22px 22px;
  min-width: 220px;
  flex: 1 1 250px;
  box-shadow: 0 2px 8px rgba(34,41,49,0.13);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  transition: box-shadow .23s, border .15s;
}
.feature img {
  width: 44px; height: 44px; filter: grayscale(30%) contrast(1.2);
}
.feature h3 {
  color: var(--color-secondary);
  font-size: 1.22rem;
}
.feature p {
  color: #e2eaf2;
  font-size: 1rem;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 5px 25px var(--color-primary), 0 3px 10px var(--color-shadow);
  border: 1.5px solid var(--color-primary);
}
@media (max-width: 820px) {
  .features-grid { gap: 16px; }
  .feature { min-width: 175px; padding: 17px 10px; }
}
@media (max-width: 650px) {
  .features-grid { flex-direction: column; gap: 16px; }
  .feature { min-width: 0; }
}

/* Card container style pattern (for future use) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==== TESTIMONIALS ==== */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-accent);
  color: #21262b;
  border-radius: 14px;
  padding: 20px 28px;
  min-width: 200px;
  flex: 1 1 290px;
  box-shadow: 0 3px 18px rgba(29,37,44,.12);
  margin-bottom: 20px;
  transition: box-shadow .15s, transform .2s;
}
.testimonial-card p {
  color: #181b1f;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 5px 28px #03547C33;
}
@media (max-width: 900px) {
  .testimonials-slider {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==== SERVICES/PROJECTS/ARTICLES LISTS ==== */
.services-list, .faq-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.services-list li, .faq-list ul li {
  background: var(--color-bg-darker);
  border-radius: 10px;
  border-left: 4px solid var(--color-primary);
  padding: 18px 18px 14px 20px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  box-shadow: 0 2px 8px var(--color-shadow);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.services-list li h3, .faq-list ul li h3 {
  color: var(--color-secondary);
  font-size: 1.12rem;
  margin-bottom: 5px;
}
.services-list li p, .faq-list ul li p {
  font-size: 1rem;
  color: #e5eefa;
}
@media (max-width: 768px) {
  .services-list, .faq-list ul { flex-direction: column; gap: 14px; }
  .services-list li, .faq-list ul li { min-width: 0; }
}

.project-list, .project-highlights, .article-summaries {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project, .highlight, .article-summaries article {
  background: var(--color-bg-darker);
  border-radius: 11px;
  border: 1px solid var(--color-metallic);
  padding: 20px 18px 16px 18px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  box-shadow: 0 2px 7px rgba(23,34,40,.11);
  transition: box-shadow .14s, border .13s;
}
.project h3, .highlight h3, .article-summaries article h2 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.project p, .highlight p, .article-summaries article p {
  color: #d8e0e9;
  font-size: .98rem;
}
.project:hover, .highlight:hover, .article-summaries article:hover {
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 4px 20px var(--color-secondary);
}
@media (max-width: 800px) {
  .project-list, .project-highlights, .article-summaries { flex-direction: column; gap: 13px; }
  .project, .highlight, .article-summaries article { min-width: 0; }
}

/* FAQ list on poradnik page */
.faq-list {
  margin-top: 32px;
}

/* ==== CTA SECTION ==== */
.cta-section {
  background: var(--color-bg-metal);
  box-shadow: 0 2px 12px rgba(3,84,124,0.10);
  border-radius: 15px;
  margin-bottom: 60px;
  padding: 44px 20px;
}
.cta-section h2 {
  color: var(--color-secondary);
  font-size: 1.7rem;
}
.cta-section p {
  color: #e5eefa;
  font-size: 1.16rem;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .cta-section { padding: 28px 8px; margin-bottom: 32px; border-radius: 9px; }
  .cta-section h2 { font-size: 1.12rem; }
}

/* ==== CONTACT DETAILS & MAP ==== */
.contact-details, .map-snippet {
  background: var(--color-bg-darker);
  border: 1px solid var(--color-metallic);
  border-radius: 12px;
  padding: 18px 20px 8px 20px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #e2eaf2;
}
.contact-details img, .footer-contact img { filter: grayscale(90%) invert(16%) sepia(69%) saturate(235%) hue-rotate(153deg); margin-right: 6px; vertical-align: middle; }

/* ==== FOOTER ==== */
footer {
  background: var(--color-bg-metal);
  border-top: 1.5px solid var(--color-metallic);
  padding: 34px 0 18px 0;
  color: var(--color-accent);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-metallic);
}
.footer-nav a {
  color: #b9c9dd;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 5px;
  transition: background .12s, color .14s;
  padding: 2px 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
  background: #e5eefa10;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
  align-items: flex-start;
  font-size: .98rem;
}
.footer-contact p {
  color: #e2eaf2;
  margin-right: 16px;
  margin-bottom: 6px;
}
footer p {
  font-size: .92rem;
  color: #b0bace;
  text-align: right;
  margin-top: 9px;
}
@media (max-width: 750px) {
  .footer-nav, .footer-contact { flex-direction: column; gap: 10px; }
  footer p { text-align: center; }
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: #22262c;
  color: #fff;
  border-top: 2.5px solid var(--color-primary);
  box-shadow: 0 -1px 18px var(--color-shadow);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: bannerIn 0.33s cubic-bezier(.96,-0.01,.48,.99);
}
.cookie-banner p { font-size: 16px; color: #fff; margin-bottom: 6px; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  margin-right: 8px;
  transition: background .13s, box-shadow .17s, color .13s;
  box-shadow: 0 1px 7px #0003;
}
.cookie-btn.accept {
  background: var(--color-success);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--color-danger);
}
.cookie-btn.settings {
  background: var(--color-metallic);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-btn-hover);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #ea274f;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #70e636;
}

@keyframes bannerIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5500;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 27, 31, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn .23s cubic-bezier(.63,.44,.37,.96);
}
@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-bg-metal);
  color: #F5F7FA;
  border-radius: 18px;
  width: 98vw;
  max-width: 440px;
  padding: 32px 26px 20px 26px;
  box-shadow: 0 8px 48px #000b;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalSlideIn .22s cubic-bezier(.67,.08,.22,1.1);
}
@keyframes modalSlideIn {
  from { transform: translateY(90px) scale(.6); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.22rem;
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg-darker);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
  margin-right: 6px;
}
.cookie-category label {
  font-size: 1rem;
  color: #e8eefa;
}
.cookie-category.essential label {
  font-weight: 700;
  color: var(--color-success);
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #fff;
  border-radius: 7px;
  padding: 1px 8px;
  transition: background .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-danger);
  color: #fff;
}

@media (max-width:600px) {
  .cookie-modal {
    max-width: 98vw;
    border-radius: 9px;
    padding: 20px 8px;
  }
}

/* ==== MISCELLANEOUS ==== */
.text-section {
  background: var(--color-bg-darker);
  border-radius: 10px;
  border-left: 4px solid var(--color-secondary);
  padding: 19px 14px 13px 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 24px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.confirmation-message, .next-steps {
  background: var(--color-bg-darker);
  border: 1px solid var(--color-secondary);
  border-radius: 9px;
  padding: 15px 18px;
  margin-bottom: 16px;
}
.confirmation-message p, .next-steps p {
  color: #e5eefa;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ==== ANIMATIONS & INTERACTIONS ==== */
button, .cta-button, a {
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.18s;
}
.cta-button:active {
  transform: translateY(1.5px) scale(.98);
}

.feature:active, .card:active, .testimonial-card:active {
  transform: scale(.98);
}

/* Backdrop for mobile nav when open */
.mobile-menu-backdrop {
  background: rgba(21,26,36, 0.62);
  position: fixed;
  z-index: 1999;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
}

/* ==== RESPONSIVE BREAKPOINTS ==== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding-left: 7vw; padding-right: 7vw;
  }
}
@media (max-width: 700px) {
  .container {
    padding-left: 2vw; padding-right: 2vw;
  }
  .footer-nav, .footer-contact { padding-bottom: 8px; }
}
@media (max-width: 500px) {
  .cta-button, .cookie-btn { font-size: .97rem; padding: 8px 14px; border-radius: 7px; }
  .footer-nav { gap: 7px; }
}

/* ==== PRINT ==== */
@media print {
  header, footer, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  .container, body, main { background: #fff !important; color: #111 !important; }
  .section, .cta-section, .feature, .project, .testimonial-card, .text-section {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
    color: #111 !important;
  }
}

/*
  ---- END LUMINA FLOW "industrial_modern" STYLES ----
*/
