/* ==== 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #FAFBFC;
  color: #1A2734;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1A2734;
  text-decoration: none;
  transition: color 0.3s;
}
a:focus {
  outline: 2px solid #3B72A1;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}

/* ==== BRAND TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.28rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  color: #222;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

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

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

/* ==== FLEX LAYOUTS (NO GRID!) ==== */
.features,
.feature-grid,
.team-list,
.card-container,
.card-grid,
.post-grid,
.client-logos,
.faq-list,
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features {
  gap: 32px;
}
.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.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;
}
.team-list {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-member {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 6px rgba(40,47,57,0.09);
  flex: 1 1 280px;
  min-width: 220px;
  padding: 20px;
  transition: box-shadow 0.25s;
  margin-bottom: 20px;
}
.team-member:hover {
  box-shadow: 0 6px 24px 0 rgba(30,30,40,0.15);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1.5px 10px rgba(40,47,57,0.10);
  border-left: 4px solid #1A2734;
  transition: box-shadow 0.3s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 2px rgba(26,39,52,0.15);
  border-color: #3B72A1;
}

.testimonial-author {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A2734;
  margin-bottom: 0;
}
.testimonial-stars {
  color: #1A2734;
  font-size: 1.2em;
  letter-spacing: 1px;
}

.client-logos {
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  margin-top: 30px;
}
.client-logos img {
  height: 34px;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.8;
  transition: opacity 0.25s;
}
.client-logos img:hover {
  opacity: 1;
}

.faq-list {
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #F6F8FA;
  border-radius: 10px;
  padding: 18px 22px;
  color: #222;
}

.categories-list {
  flex-wrap: wrap;
  gap: 14px;
}
.categories-list li a {
  background: #F0F2F4;
  color: #1A2734;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.categories-list li a:hover {
  background: #3B72A1;
  color: #fff;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  border-bottom: 1px solid #ECEDEF;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 76px;
}
.logo-link img {
  height: 44px;
  width: auto;
  max-width: 160px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  font-size: 1rem;
  color: #222;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #3B72A1;
}

.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 11px 32px;
  font-size: 1.08rem;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  margin-left: 12px;
  transition: background 0.23s, color 0.2s, box-shadow 0.24s;
  box-shadow: 0 0.5px 7px rgba(30,40,50,0.07);
}
.cta.primary {
  background: #1A2734;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #3B72A1;
  color: #fff;
  box-shadow: 0 6px 24px 1px rgba(59,114,161,0.18);
}
.cta.secondary {
  background: #fff;
  color: #1A2734;
  border: 2px solid #1A2734;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #1A2734;
  color: #fff;
  border-color: #3B72A1;
  box-shadow: 0 6px 16px 0px rgba(26,39,52,0.07);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #1A2734;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 8px;
  margin-left: 14px;
  transition: color 0.2s, background 0.1s;
}
.mobile-menu-toggle:focus {
  background: #ECEDEF;
  border-radius: 50%;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  z-index: 1040;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 6px 0 34px 2px rgba(26,39,52,0.10);
  padding: 0 40px 40px 40px;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-top: 28px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #1A2734;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #3B72A1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 40px;
  gap: 24px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: #1A2734;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #ECEDEF;
  color: #3B72A1;
}
@media(max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media(min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== HERO ==== */
.hero {
  padding: 64px 0 54px 0;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
}
.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 24px;
  color: #2A2C32;
}

/* ==== FEATURE GRID (INDEX & SZKOLENIA) ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 30px;
}
.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(40,47,57,0.09);
  padding: 32px 22px 30px 22px;
  flex: 1 1 240px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.20s;
  min-height: 250px;
}
.feature:hover {
  box-shadow: 0 7px 32px 4px rgba(34,42,59,0.14);
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
}
.feature h3 {
  margin-bottom: 10px;
  font-size: 1.19rem;
}

/* ==== BLOG POST CARDS ==== */
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px rgba(40,47,57,0.09);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.21s;
}
.blog-post:hover {
  box-shadow: 0 6px 20px rgba(34,42,59,0.12);
}
.read-more {
  margin-top: 6px;
  color: #3B72A1;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s;
}
.read-more:hover { color: #1A2734; }

/* ==== CARDS (GENERIC) ==== */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(34,42,59,0.10);
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 200px;
}

/* ==== ABOUT, LEGAL, PROCESS SECTIONS ==== */
.about-section, .why-us, .process-section, .legal, .contact-section, .thank-you {
  background: #F7F8FA;
  border-radius: 20px;
}
.about-short,
.about-section,
.services,
.why-us,
.process-section,
.contact-section,
.cta,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.services ul, .about-section ul, .why-us ul, .process-section ul, .legal ul {
  margin-left: 24px;
  margin-bottom: 16px;
}
.services li, .about-section li, .why-us li, .process-section li, .legal li {
  margin-bottom: 14px;
  color: #31343a;
  font-size: 1rem;
  position: relative;
  padding-left: 24px;
}
.services li::before, .about-section li::before, .why-us li::before, .process-section li::before, .legal li::before {
  content: '\2022';
  display: inline-block;
  position: absolute;
  left: 0;
  color: #3B72A1;
  font-size: 1.2em;
  line-height: 1;
}
.process-section ol {
  margin-left: 22px;
  color: #222;
  margin-bottom: 18px;
}
.process-section ol li {
  margin-bottom: 12px;
  padding-left: 2px;
}

.case-study {
  background: #fff;
  border-left: 4px solid #3B72A1;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: 0 1.5px 8px rgba(40,47,57,0.11);
}

/* ==== CTA SECTIONS ==== */
.cta {
  background: #1A2734;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta h2 { color: #FFDBB0; }
.cta p { color: #fff; }
.cta .cta.primary, .cta .cta.secondary {
  margin-left: 0;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  background: #F8F9FA;
  padding: 40px 0 52px 0;
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 18px;
}

/* ==== FOOTER ==== */
footer {
  background: #1A2734;
  color: #fff;
  padding: 0 0 24px 0;
  font-size: 1rem;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 0 22px 0;
}
.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #FFDBB0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  line-height: 1.5;
  padding: 3px 0;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact h3 {
  color: #fff;
  font-size: 1.11rem;
  margin-bottom: 6px;
}
.footer-contact p {
  color: #ECECEC;
  font-size: 0.96rem;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%) brightness(1.08);
  opacity: 0.72;
  transition: opacity 0.2s;
}
.footer-social a:hover img {
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid #253143;
  padding-top: 12px;
  margin-top: 10px;
  text-align: center;
  color: #FFDBB0;
  font-size: 0.97rem;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1200px) {
  .container {
    max-width: 990px;
  }
  .feature-grid, .post-grid {
    flex-wrap: wrap;
    gap: 24px;
  }
  .feature, .blog-post {
    flex: 1 1 300px;
    min-width: 220px;
  }
}
@media (max-width: 991px) {
  .footer-nav,
  .footer-contact,
  .footer-social {
    flex: 1 1 100%;
    min-width: 180px;
  }
  footer .content-wrapper {
    gap: 18px;
    flex-direction: column;
  }
  .hero {
    padding: 48px 0 34px 0;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature {
    min-width: 145px;
    flex: 1 1 220px;
    padding: 22px 12px 20px 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.33rem; }
  .section,
  .about-short, .about-section, .services, .why-us, .contact-section, .cta, .thank-you {
    padding: 33px 6px;
    margin-bottom: 38px;
  }
  .features, .feature-grid, .card-container, .post-grid, .team-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper, .hero .content-wrapper {
    align-items: flex-start;
    gap: 13px;
  }
  .hero .container {
    justify-content: flex-start;
  }
  .footer-nav {
    gap: 8px;
  }
}
@media (max-width: 576px) {
  html { font-size: 15px; }
  .logo-link img, .footer-logo img {
    height: 32px;
  }
  .testimonial-card, .feature, .faq-item, .blog-post, .case-study {
    padding: 13px 10px;
  }
  .mobile-menu {
    padding: 0 8px 16px 8px;
  }
}

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ==== SPACING & WHITESPACE ==== */
.section, .about-short, .about-section, .services, .why-us, .process-section, .contact-section, .cta, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* ==== MICRO-INTERACTIONS & ANIMATIONS ==== */
button, .cta, a, .feature, .blog-post, .testimonial-card, .faq-item, .team-member {
  transition: box-shadow 0.21s, border-color 0.17s, color 0.15s, background 0.17s, transform 0.18s, opacity 0.17s;
}
button:active, .cta:active, a:active {
  transform: scale(0.97);
}
.cta.primary:active { background: #171f27; }

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 -3px 18px 2px rgba(26,39,52,0.10);
  border-top: 1.5px solid #ECEDEF;
  min-height: 70px;
  padding: 22px 12px 20px 12px;
  gap: 28px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s, transform 0.33s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #212121;
  font-size: 1.01rem;
  margin-right: 26px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 23px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.5px 6px rgba(12,22,34,0.08);
}
.cookie-banner .accept {
  background: #1A2734;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #3B72A1;
}
.cookie-banner .reject {
  background: #ECEDEF;
  color: #1A2734;
}
.cookie-banner .reject:hover {
  background: #bfc8ce;
}
.cookie-banner .settings {
  background: #fff;
  color: #1A2734;
  border: 2px solid #3B72A1;
}
.cookie-banner .settings:hover {
  background: #3B72A1;
  color: #fff;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,39,52, 0.54);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 44px 3px rgba(26,39,52,0.17);
  padding: 32px 30px 28px 30px;
  min-width: 330px;
  max-width: 97vw;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.cookie-modal h3 {
  color: #1A2734;
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #212121;
}
.cookie-modal input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #3B72A1;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #555;
  margin-left: 28px;
  margin-bottom: 3px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0.5px 7px rgba(12,22,34,0.07);
}
.cookie-modal .accept {
  background: #1A2734;
  color: #fff;
}
.cookie-modal .accept:hover {
  background: #3B72A1;
}
.cookie-modal .reject {
  background: #ECEDEF;
  color: #1A2734;
}
.cookie-modal .reject:hover {
  background: #bfc8ce;
}
.cookie-modal .close {
  background: #fff;
  color: #3B72A1;
  border: 2px solid #3B72A1;
}
.cookie-modal .close:hover {
  background: #3B72A1;
  color: #fff;
}
@media (max-width: 576px){
  .cookie-modal{ padding: 16px 6px; min-width: 90vw; }
}

/* ==== GENERAL UTILS ==== */
::-webkit-input-placeholder { color: #A6A9B0; }
::-moz-placeholder { color: #A6A9B0; }
:-ms-input-placeholder { color: #A6A9B0; }
::placeholder { color: #A6A9B0; }

[hidden] { display: none !important; }

/* ==== MISC (IMPROVE MONOCHROME DRAMATIC CONTRAST & ELEGANCE) ==== */
body, .legal p, .legal li,
.about-section p, .services p, .services li, .contact-section p, .why-us li, .process-section li {
  color: #202227;
}
h1, h2, h3, .footer-contact h3 {
  color: #1A2734;
}

/* == Extra hierarchy == */
h2, .section h2 { border-left: 4px solid #3B72A1; padding-left: 15px; }
hero h1, .thank-you h1 { color: #1A2734; letter-spacing: -0.02em; }

/* == Decorative lines for dramatic effect == */
.section > .container > .content-wrapper > h2::after,
.about-section h2::after,
.services h2::after,
.blog-list h2::after,
.categories h2::after {
  content: '';
  display: block;
  margin-top: 7px;
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: #1A2734;
  opacity: 0.14;
}

/* == Links inside paragraphs == */
p a, .footer-contact a {
  color: #3B72A1;
  text-decoration: underline;
}
p a:hover, .footer-contact a:hover {
  color: #1A2734;
}

/* === End of style.css === */
