/* ---------------------------------------------------
   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, menu, 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, 
main, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea, button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  background: #fff;
  color: #1A202B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #21528B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B134;
  outline: none;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
figure { margin: 0; }
input, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button { cursor: pointer; background: none; }

/* ---------------------------------------------------
   TYPOGRAPHY
-----------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1A202B;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 28px; }
h2 { font-size: 1.5rem; line-height: 1.22; margin-bottom: 24px; }
h3 { font-size: 1.125rem; line-height: 1.18; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, blockquote {
  color: #1A202B;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 20px;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  background: #F8F9FB;
  border-left: 4px solid #21528B;
  padding: 18px 24px;
  margin: 0 0 12px 0;
  color: #26324B;
}
strong, b {
  font-weight: 700;
  color: #21528B;
}
small {
  font-size: 0.875rem;
  color: #9199AB;
}

/* ---------------------------------------------------
   BRAND COLORS
-----------------------------------------------------*/
:root {
  --color-primary: #21528B;
  --color-secondary: #F2B134;
  --color-accent: #F8F9FB;
  --color-text: #1A202B;
  --color-white: #fff;
  --color-border: #E5EAF2;
  --color-shadow: rgba(33, 82, 139, 0.07);
  --color-focus: #D5E3F7;
}

/* ---------------------------------------------------
   LAYOUT CONTAINERS
-----------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* SPACING PATTERNS FOR SECTIONS & FLEX LAYOUTS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: 0 2px 12px var(--color-shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
}
.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: #F8F9FB;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.2s, background 0.2s;
  color: #1A202B;
}
.testimonial-card blockquote {
  color: #1A202B;
  background: none;
  border-left: 4px solid #21528B;
  padding: 0 12px 0 18px;
}
.testimonial-card span {
  color: #21528B;
  font-size: 0.98rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 8px var(--color-shadow);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-item img {
  width: 40px;
  height: 40px;
}
.feature-item:hover, .feature-item:focus {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px var(--color-shadow);
  z-index: 2;
}

/* ---------------------------------------------------
   HEADER & NAVIGATION
-----------------------------------------------------*/
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  color: var(--color-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 5px 2px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  outline: none;
}
.logo {
  display: flex;
  align-items: center;
  height: 40px;
}
.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff !important;
  border: none;
  border-radius: 24px;
  padding: 11px 32px;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  vertical-align: middle;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary) !important;
  box-shadow: 0 5px 20px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ---------------------------------------------------
   MOBILE MENU
-----------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 201;
  margin-left: auto;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 210;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 20px 20px 20px;
  box-shadow: 0 10px 32px var(--color-shadow);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.2,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #21528B;
  font-size: 2rem;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F8F9FB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.18rem;
  padding: 12px 0;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  header nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.06rem; }
  h3 { font-size: 0.94rem; }
  .container { padding: 0 4vw; }
}

/* ---------------------------------------------------
   MAIN SECTIONS & FLEX PATTERNS
-----------------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0 30px 0;
  background: transparent;
}
.section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  gap: 28px;
}
.content-grid,
.feature-grid,
.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid, .stat-grid {
  gap: 28px 18px;
}
.stat-grid .stat-item {
  flex: 1 1 120px;
  min-width: 120px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 16px 6px 14px 6px;
  margin-bottom: 20px;
}
.stat-item h3 {
  margin: 0 0 8px 0;
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21528B;
}
.stat-item p {
  margin: 0;
  font-size: 1rem;
}
.usp-list ul {
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .feature-grid, .stat-grid {
    flex-direction: row;
    gap: 18px;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 18px; }
  section { padding: 30px 0 20px 0; }
  .feature-grid, .stat-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  section { padding-top: 20px; padding-bottom: 14px; }
  .feature-item, .stat-item, .testimonial-card {
    padding: 16px 9px;
  }
}

/* Text-image section specific */
.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; gap: 18px; }
}

/* Card containers and card patterns */
.card-container, .case-studies ul {
  gap: 24px;
}

/* Testimonial styles & contrast */
.testimonial-card {
  background: #F8F9FB;
  color: #1A202B;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.testimonial-card blockquote {
  color: #1A202B;
  font-size: 1rem;
  line-height: 1.6;
  background: none;
}

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 18px 20px;
  transition: box-shadow 0.15s, background 0.16s;
}
.faq-item h3 {
  color: var(--color-primary);
  margin-bottom: 7px;
  font-size: 1.12rem;
  font-weight: 600;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 4px 16px var(--color-shadow);
  background: var(--color-accent);
}

/* Table styles (Cennik) */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
  font-size: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px var(--color-shadow);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.pricing-table th {
  background: #F8F9FB;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #21528B;
  font-size: 1.05rem;
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .pricing-table th, .pricing-table td { padding: 10px 6px; }
  .pricing-table { font-size: 0.93rem; }
}

/* Contact details */
.contact-details p, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #1A202B;
}
.contact-details a {
  color: #21528B;
  text-decoration: underline;
}
.map-placeholder, .contact-instructions {
  padding: 14px 18px;
  background: #F8F9FB;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* ---------------------------------------------------
   FOOTER
-----------------------------------------------------*/
footer {
  margin-top: 60px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 34px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: #21528B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #F2B134;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 15px 34px;
  margin-bottom: 12px;
}
.footer-contact span img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
footer small { color: #9199AB; }
@media (max-width: 760px) {
  .footer-contact { flex-direction: column; gap: 8px; }
}

/* ---------------------------------------------------
   BUTTONS, MICRO-INTERACTIONS, TRANSITIONS
-----------------------------------------------------*/
button, .cta-button {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.15s;
}
button:focus-visible, .cta-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
@media (hover: hover) {
  button:hover, .cta-button:hover {
    filter: brightness(1.025);
  }
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER + MODAL
-----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 400;
  background: #fff;
  border-top: 1px solid #E5EAF2;
  box-shadow: 0 -1px 18px var(--color-shadow);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 32px;
  max-width: 100vw;
  min-height: 70px;
  font-size: 1.05rem;
  animation: bannerIn 0.5s cubic-bezier(.7,.2,.2,1);
}
@keyframes bannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  min-width: 88px;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 1rem;
  background: #F8F9FB;
  border: 1px solid #E5EAF2;
  color: #21528B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-banner .accept {
  background: #21528B;
  color: #fff;
  border: none;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #F2B134;
  color: #21528B;
}
.cookie-banner .reject {
  background: #fff;
  color: #21528B;
  border: 1px solid #E5EAF2;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #F8F9FB;
}
.cookie-banner .settings {
  background: #F8F9FB;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F2B134;
  color: #21528B;
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 20px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -60%) scale(0.98);
  background: #fff;
  z-index: 1000;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(33, 82, 139, 0.11);
  padding: 34px 38px 30px 38px;
  max-width: 360px;
  width: 94vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #21528B;
  margin-bottom: 18px;
}
.cookie-modal ul {
  margin: 0 0 18px 0;
}
.cookie-modal li {
  margin-bottom: 10px;
  font-size: 0.98rem;
  list-style: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #21528B;
}
.cookie-toggle {
  display: inline-block;
  width: 40px; height: 20px; border-radius: 10px;
  background: #E5EAF2;
  position: relative;
  vertical-align: middle;
  margin-left: 8px;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  height: 16px; width: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px var(--color-shadow);
  transition: left 0.13s;
}
.cookie-toggle input:checked + .slider {
  left: 22px;
  background: #21528B;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  background: #21528B;
  color: #fff;
  padding: 9px 24px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  font-size: 1rem;
}
.cookie-modal .modal-actions .cancel {
  background: #fff;
  border: 1px solid #21528B;
  color: #21528B;
}
.cookie-modal .modal-actions .cancel:hover {
  background: #F8F9FB;
}
.cookie-modal .modal-actions .save:hover {
  background: #F2B134;
  color: #21528B;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 6vw 18px 6vw;
  }
}

/* ---------------------------------------------------
   UTILS, MISC
-----------------------------------------------------*/
::-webkit-input-placeholder { color: #A8B0C1; opacity: 1; }
::-moz-placeholder { color: #A8B0C1; opacity: 1; }
:-ms-input-placeholder { color: #A8B0C1; opacity: 1; }
::placeholder { color: #A8B0C1; opacity: 1; }

/* Scrollbar Minimal */
body::-webkit-scrollbar { width: 9px; }
body::-webkit-scrollbar-thumb {
  background: #E5EAF2;
  border-radius: 7px;
}
body::-webkit-scrollbar-track { background: #fff; }

/* Hide focus outline on mouse, show on keyboard nav */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* Responsive tweaks */
@media (max-width: 650px) {
  footer nav {
    flex-direction: column;
    gap: 11px;
  }
}

/* ---------------------------------------------------
   CASE STUDY SECTION (OPINIE page)
-----------------------------------------------------*/
.case-studies h2 {
  font-size: 1.21rem;
  color: #21528B;
  margin-bottom: 10px;
}
.case-studies ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}
.case-studies li {
  background: #F8F9FB;
  border-radius: 8px;
  padding: 12px 16px;
  list-style: disc inside;
  color: #1A202B;
  font-size: 0.98rem;
}

/* ---------------------------------------------------
   THANK YOU PAGE, FINAL CTA SECTIONS
-----------------------------------------------------*/
.final-cta, .content-wrapper > .cta-button {
  margin-top: 16px;
}

/* ---------------------------------------------------
   MISC: HIDE from screen readers
-----------------------------------------------------*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------
   END OF FILE
-----------------------------------------------------*/
