/* ===================================================== */
/*                Arcane Trainer style.css               */
/* INDUSTRIAL MODERN: dark, metallic, sharp, urban feel  */
/*                  Mobile-First Responsive              */
/* Only Flexbox for layouts, NO grid, NO columns        */
/* ===================================================== */

/* ==== 1. 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  /* Improve font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #181e26;
  color: #ECEFF1;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #4897A5;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F3F6FB;
  text-decoration: underline;
}

/* ==== 2. Typography ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F3F6FB;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.23;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.23;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #d6dee7;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}

strong, b {
  font-weight: 700;
  color: #F3F6FB;
}

small {
  font-size: 0.9375rem;
}

/* ==== 3. Layout Patterns ====*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #222e3a;
  border-radius: 13px;
  box-shadow: 0 3px 10px 0 rgba(28,57,89,0.10), 0 1.5px 7px 0 rgba(28,57,89,0.12);
  margin-bottom: 20px;
  padding: 28px 22px 24px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  border: 1.5px solid #253e57;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(72,151,165,0.19);
  transform: translateY(-3px) scale(1.015);
}

/* Content Grids / Flex Patterns */
.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;
  background: #F3F6FB;
  color: #232a33;
  padding: 20px;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(24,30,38,0.05);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: #232a33;
  margin-bottom: 9px;
}
.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1C3959;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== 4. Header & Main Navigation ==== */
header {
  background: #191f27;
  border-bottom: 1.5px solid #253e57;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 70px;
}
.logo img {
  height: 41px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: #F3F6FB;
  font-size: 1rem;
  padding: 5px 0;
  font-weight: 500;
  position: relative;
  letter-spacing: 0.02em;
  transition: color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #4897A5;
}
.cta-btn {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: bold;
  color: #1C3959;
  background: linear-gradient(90deg, #F3F6FB 80%, #cfdce9 100%);
  border-radius: 10px;
  padding: 11px 26px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(72,151,165,0.08);
  margin-left: 16px;
  border: 1.5px solid #b1b6ba;
  text-align: center;
  transition: background .16s, color .16s, transform .15s;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #4897A5;
  color: #fff;
  transform: translateY(-2px) scale(1.016);
  box-shadow: 0 5px 18px rgba(72,151,165,0.13);
  border-color: #1C3959;
}
/* ==== 5. Hamburger (Mobile) menu styles ==== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: #F3F6FB;
  margin-left: 16px;
  cursor: pointer;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  transition: background .15s;
  z-index: 1200;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #222e3a;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1C3959;
  box-shadow: 0 0 30px 0 #0007;
  transform: translateX(-100%);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
  transition: transform .29s cubic-bezier(.68,-0.1,.32,1.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #F3F6FB;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 26px 22px 9px 0;
  cursor: pointer;
  transition: color .12s;
  z-index: 1400;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #4897A5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: #F3F6FB;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #253e57;
  transition: color .17s;
  margin-bottom: 2px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD600;
  background: #222e3a;
}

@media (min-width: 1020px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}
@media (max-width: 1019px) {
  .main-nav { display: none !important; }
  .cta-btn { margin-left: 8px; }
  .mobile-menu-toggle { display: flex !important; }
}

/* ==== 6. Hero Sections ==== */
.hero, .hero-contact {
  background: linear-gradient(90deg,#181e26 60%, #253e57 100%);
  padding: 65px 0 48px 0;
  border-bottom: 1.5px solid #253e57;
}
.hero .content-wrapper, 
.hero-contact .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 13px;
}
.hero h1, .hero-contact h1 { font-size: 2.1rem; }
.hero p, .hero-contact p { font-size: 1.15rem; color: #b0bcc9; }

@media (max-width: 680px) {
  .hero, .hero-contact { padding: 38px 0 25px 0; }
  .hero .content-wrapper, 
  .hero-contact .content-wrapper {
    text-align: left;
    padding: 0;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.1rem; }
}

/* ==== 7. Features / Values / Grid Lists ==== */
.features, .features-values, .services-list, .about-team, .help-scenarios, .support-process {
  background: #212832;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(28,57,89,0.06);
}
.features .feature-grid, .features-values ul, .help-scenarios ul, .client-benefits ul, .services-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  flex-direction: column;
  margin-bottom: 18px;
}
.features .feature-grid li,
.features-values ul li,
.help-scenarios ul li,
.client-benefits ul li,
.services-list ul li {
  color: #B1C2CC;
  font-size: 1rem;
  font-family: 'Roboto',Arial,sans-serif;
  padding-left: 16px;
  position: relative;
}
.features .feature-grid li:before, 
.features-values ul li:before,
.help-scenarios ul li:before,
.client-benefits ul li:before,
.services-list ul li:before {
  content: '\2022';
  color: #4897A5;
  font-size: 1.38em;
  position: absolute;
  left: 0;
  top: 0px;
}

@media (min-width: 768px) {
  .features .feature-grid,
  .features-values ul, 
  .help-scenarios ul,
  .client-benefits ul,
  .services-list ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 38px 46px;
  }
}

.icons-list, .benefit-icons, .process-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 33px;
  align-items: center;
  margin: 14px 0 13px 0;
}
.icons-list span, .benefit-icons span, .process-icons span {
  background: #253e57;
  padding: 13px;
  border-radius: 12px;
  box-shadow: 0 1.5px 4px rgba(72,151,165,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons-list img, .benefit-icons img, .process-icons img {
  width: 30px;
  height: 30px;
}

/* ==== 8. Cards & Card Groups ==== */
/* Service cards (uslugi) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 30px;
}
.service-card {
  background: #252e39;
  border-radius: 12px;
  border: 1.5px solid #232f40;
  box-shadow: 0 3px 13px 0 rgba(28,57,89,0.09);
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 304px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .13s, transform .14s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 5px 21px rgba(72,151,165,0.14);
  transform: scale(1.02);
}
.service-card h3 {
  font-size: 1.11rem;
  color: #F3F6FB;
  margin-bottom: 9px;
}
.service-card .service-price {
  color: #FFD600;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', 'Roboto',sans-serif;
}

/* Blog teasers */
.blog-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.blog-teaser {
  background: #222e3a;
  border-radius: 13px;
  box-shadow: 0 2px 11px rgba(28,57,89,0.09);
  padding: 22px 18px 18px 18px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border: 1.5px solid #253e57;
  transition: box-shadow .15s, transform .13s;
}
.blog-teaser:hover, .blog-teaser:focus-within {
  box-shadow: 0 4px 20px rgba(72,151,165,0.13);
  transform: translateY(-2px) scale(1.01);
}
.blog-teaser h3 {
  margin-bottom: 7px;
}
.blog-teaser a {
  margin-top: auto;
  color: #FFD600;
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto',sans-serif;
}

/* Persona tiles (for 'kogo-wspieramy') */
.persona-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.persona-tiles li {
  background: #23324a;
  color: #e3e7ef;
  border-radius: 9px;
  padding: 15px 20px;
  box-shadow: 0 1px 8px 0 rgba(72,151,165,0.10);
  min-width: 180px;
  max-width: 320px;
  font-family: 'Roboto',sans-serif;
  font-size: 0.98rem;
  position: relative;
}

/* ==== 9. Stepper (jak-pomagamy steps) */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 19px;
  list-style: none;
  margin: 18px 0 18px 0;
  counter-reset: stepcount;
}
.stepper li {
  position: relative;
  padding-left: 34px;
  font-size: 1.07rem;
  color: #F3F6FB;
  font-family: 'Montserrat',sans-serif;
}
.stepper li:before {
  content: counter(stepcount, decimal);
  counter-increment: stepcount;
  position: absolute;
  left: 0; top: 0;
  background: #4897A5;
  color: #232a33;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.13em;
}

/* ==== 10. Testimonial Slider/Group ==== */
.testimonials .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* ==== 11. CTA Box & Info ==== */
.cta-box, .cta-consultation {
  background: #253e57;
  border-radius: 13px;
  text-align: left;
  box-shadow: 0 2px 18px 0 rgba(28,57,89,0.07);
  margin-bottom: 60px;
  padding: 36px 18px;
}
.cta-box h2, .cta-consultation .cta-btn {
  color: #FFD600;
}

/* ==== 12. Footer ==== */
footer {
  background: #181e26;
  border-top: 1.5px solid #253e57;
  position: relative;
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-bottom: 16px;
}
.footer-brand > img {
  width: 110px;
  margin-bottom: 11px;
}
.footer-brand p {
  color: #8998af;
  font-size: 0.97rem;
}
.quick-links, .legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-links a, .legal-links a {
  color: #B1C2CC;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}
.quick-links a:hover, .legal-links a:hover,
.quick-links a:focus, .legal-links a:focus {
  color: #FFD600;
}
.contact-info h4 {
  color: #F3F6FB;
  margin-bottom: 4px;
}
.contact-info p {
  color: #9ca7b8;
  font-size: 1rem;
}
.disclaimer {
  margin: 16px 0 2px 0;
  color: #677082;
}
.copyright {
  color: #8998af;
}

@media (min-width: 860px) {
  .footer-block {
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
    align-items: flex-start;
  }
  .footer-brand { flex: 2; max-width: 280px; }
  .quick-links { flex: 1; }
  .legal-links { flex: 1; }
  .contact-info { flex: 2; }
}

/* ==== 13. Blog Categories ==== */
.blog-categories {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.blog-categories span {
  color: #FFD600;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 700;
}
.blog-categories a {
  color: #B1C2CC;
  font-weight: 500;
  font-size: 1rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: #232e40;
  transition: background .16s, color .18s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  color: #FFD600;
  background: #253e57;
}

/* ==== 14. Forms (kontakt info) ==== */
.contact-form-info p {
  color: #b0bcc9;
}

.office-location {
  background: #232e40;
  color: #F3F6FB;
  border-radius: 8px;
  padding: 19px 18px;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1.5px 8px rgba(28,57,89,0.07);
}
.office-location h3 {
  color: #FFD600;
}

/* ================== Responsive Patterns ================== */

@media (max-width: 900px) {
  .service-cards, .blog-teasers, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .footer-block { flex-direction: column; gap: 27px; }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-cards, .persona-tiles, .blog-teasers {
    flex-direction: column;
    gap: 14px;
  }
}

/* Min spacing for all flex-grouped cards */
.card, .service-card, .blog-teaser, .testimonial-card, .persona-tiles li {
  margin-bottom: 20px;
}

/* ========== Cookie Consent Banner and Modal ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1C3959;
  color: #fff;
  z-index: 9999;
  border-top: 2px solid #FFD600;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 18px 12px;
  box-shadow: 0 -2px 14px rgba(28,57,89,.17);
  font-size: 1rem;
  transition: transform .36s;
  gap: 19px;
}
.cookie-banner.hide {
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1;
  color: #F3F6FB;
  font-family: 'Roboto', Arial, sans-serif;
  margin-right: 20px;
}
.cookie-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .14s, color .13s;
}
.cookie-btn.accept {
  background: #FFD600;
  color: #232a33;
}
.cookie-btn.reject {
  background: #232e40;
  color: #FFD600;
  border: 1.5px solid #FFD600;
}
.cookie-btn.settings {
  background: #4897A5;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.1);
  outline: none;
}

/* Cookie Modal (settings) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,30,38,0.80);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #232e40;
  border-radius: 14px;
  padding: 38px 26px 29px 26px;
  min-width: 310px;
  max-width: 90vw;
  box-shadow: 0 6px 38px 4px rgba(28,57,89,0.20);
  color: #F3F6FB;
  font-size: 1rem;
  animation: fadeInModal .33s cubic-bezier(.48,0,.38,1.3);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.12rem;
  color: #FFD600;
  margin-bottom: 1em;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 0 21px 0;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-cat label {
  font-weight: 500;
  font-family: 'Montserrat',sans-serif;
}
.cookie-cat input[type='checkbox'] {
  width: 17px; height: 17px;
  cursor: pointer;
  accent-color: #4897A5;
}
.cookie-modal .close-btn {
  position: absolute;
  right: 24px; top: 15px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFD600;
  cursor: pointer;
}
.cookie-modal .save-btn {
  background: #FFD600;
  color: #232a33;
  margin-top: 9px;
  border: none;
  padding: 8px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background .14s, color .13s;
}
.cookie-modal .save-btn:hover {
  background: #232e40;
  color: #FFD600;
  border: 1.5px solid #FFD600;
}

/* ========== Misc ========= */
::-webkit-scrollbar {
  width: 8px;
  background-color: #222e3a;
}
::-webkit-scrollbar-thumb {
  background: #253e57;
  border-radius: 5px;
}

/* ========== Custom focus ========== */
a, button, input, textarea, select, .cta-btn {
  outline: none;
}
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #FFD600;
  outline-offset: 3px;
}

/* Glowing accent (industrial subtle) */
.cta-btn, .cookie-btn.accept, .service-card, .testimonial-card {
  box-shadow: 0 0 0 0 #FFD60033, 0 2px 16px 0 #253e5733;
}
/* Micro-interaction for cards on hover */
.card:hover, .blog-teaser:hover, .service-card:hover, .testimonial-card:hover {
  filter: brightness(1.035);
  box-shadow: 0 6px 28px 0 #4897A545, 0 2.5px 11px 0 #253e573a;
}

/* Responsive improvement: prevent horizontal scroll */
body, html {
  overflow-x: hidden;
}

/* ================= FONT IMPORTS ================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');
