/* ------------------------------------------
   CSS RESET & BASIC NORMALIZATION
---------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*,*::before,*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #28323A;
  background: #FAFAFA;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

img,svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #00546F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #D68700;
  outline: none;
}
ul,ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}
li:not(:last-child) {
  margin-bottom: 0.4em;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #183142;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }

p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #253445;
}

strong {
  font-weight: 700;
  color: #00546F;
}

blockquote {
  font-style: italic;
  color: #4A5258;
  border-left: 4px solid #D6E3E9;
  padding-left: 16px;
  margin-bottom: 10px;
  background: #F5F8FA;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ------------------------------------------
   LAYOUT CONTAINERS
---------------------------------------------*/
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* Section Spacing Patterns */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

@media (max-width: 900px) {
  section { padding-top: 20px; margin-bottom: 36px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(50,60,80,0.07);
  padding: 28px 24px 24px 24px;
  min-width: 244px;
  flex: 1 1 270px;
  transition: box-shadow .22s, transform .22s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px rgba(32,40,74,0.11);
  transform: translateY(-3px);
}

.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; gap: 20px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 18px 22px;
  background: #FFFFFF;
  box-shadow: 0 2px 14px rgba(60,90,110,0.08);
  border-radius: 16px;
  margin-bottom: 24px;
  border-left: 5px solid #00546F;
  min-width: 250px;
  max-width: 440px;
  transition: box-shadow .18s;
}
.testimonial-card strong {
  color: #00546F;
  font-size: 1.08rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0,84,111,0.08);
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  flex: 1 1 180px;
  background: #FAFAFA;
  border-radius: 14px;
  padding: 20px 18px 18px 18px;
  box-shadow: 0 1px 6px rgba(8,50,80,0.04);
  min-width: 180px;
  transition: box-shadow .15s, background .15s;
  text-align: left;
}
.feature-grid > div:hover {
  background: #F5F8FA;
  box-shadow: 0 2px 16px rgba(0,84,111,0.08);
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
}

.benefits-list {
  margin: 14px 0 16px;
}
.benefits-list ul {
  list-style: disc;
  margin-top: 4px;
  margin-bottom: 0;
}
.benefits-list li {
  margin-bottom: 7px;
  color: #295468;
}
.industry-experience {
  font-size: 0.98rem;
  color: #637386;
  margin: 10px 0 12px 0;
}

.details,details {
  margin-bottom: 18px;
  background: #F6F8F9;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid #EDEDED;
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: #00546F;
  outline: none;
  margin-bottom: 8px;
  transition: color 0.16s;
}
details[open] summary { color: #D68700; }

/* ------------------------------------------
   HEADER & PRIMARY NAVIGATION
---------------------------------------------*/
header {
  background: #FFFFFF;
  box-shadow: 0 1px 8px rgba(30,30,40,0.04);
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  color: #285A6E;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
header nav a:hover, header nav a:focus {
  background: #F1F8FA;
  color: #D68700;
}
.cta-button {
  background: #00546F;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,84,111,0.06);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
  margin-left: 20px;
  letter-spacing: 0.02em;
  border: 2px solid #00546F;
}
.cta-button:hover, .cta-button:focus {
  background: #D68700;
  color: #FFF !important;
  border-color: #D68700;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px rgba(214,135,0,0.07);
  text-decoration: none;
}

/* Hamburger menu for mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #FFF;
  color: #00546F;
  border-radius: 8px;
  padding: 4px 10px;
  box-shadow: 0 1px 4px rgba(40,65,90,0.08);
  margin-left: 10px;
  z-index: 40;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F2F6F8;
  color: #D68700;
}

/* Mobile Navigation & Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFFFFF;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.81,-0.05,.19,1.11);
  z-index: 1100;
  box-shadow: -4px 0 40px rgba(40,65,90,.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  min-height: 100vh;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #00546F;
  border: none;
  align-self: flex-end;
  margin: 22px 32px 6px 0;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s;
  z-index: 1200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6F5F3;
  color: #D68700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100vw;
  align-items: flex-start;
  padding: 0 36px 40px 36px;
}
.mobile-nav a {
  font-size: 1.18rem;
  padding: 14px 0 8px 0;
  color: #183142;
  width: 100%;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F8FA;
  color: #D68700;
}

@media (max-width: 1020px) {
  header .container nav,
  .cta-button { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none!important; }
}

/* ------------------------------------------
   HERO & SECTION-SPECIFIC STYLES
---------------------------------------------*/
section > .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

/* CTA Section buttons */
.content-wrapper .cta-button {
  margin: 16px 0 0 0;
}

.pricing-teaser {
  margin: 10px 0 0 0;
  color: #6C808C;
  font-size: 1.04rem;
}

.categories {
  margin: 12px 0 0 0;
}
.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.categories li {
  background: #F6F8F9;
  padding: 6px 14px;
  border-radius: 8px;
  color: #517086;
  font-size: 0.99rem;
}
.featured-guides {
  margin-top: 10px;
  color: #00546F;
  font-weight: 500;
}

.confirmation_message {
  margin-top: 16px;
  background: #DFF6E4;
  color: #185946;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 1.01rem;
  box-shadow: 0 1px 8px rgba(20,120,90,0.045);
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.info-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.info-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00546F;
  font-weight: 500;
}
.info-section img {
  width: 22px;
  height: 22px;
}

/* List inside team section */
.team-list, .content-wrapper ul {
  margin-bottom: 8px;
}
.content-wrapper ul {
  padding-left: 18px;
}
.content-wrapper ul li {
  padding-bottom: 6px;
  color: #1F3138;
  font-size: 1rem;
}
.content-wrapper ol {
  padding-left: 26px;
  margin-bottom: 10px;
}

/* ---------------------------------------------
   FOOTER
---------------------------------------------*/
footer {
  background: #F4F6F6;
  padding: 38px 0 18px 0;
  box-shadow: 0 -2px 10px rgba(40,65,90,0.03);
  font-size: 1rem;
  margin-top: 46px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  font-size: 1.02rem;
  padding: 6px 6px;
  color: #335873;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
footer nav a:hover { color: #D68700; }
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  align-items: center;
  color: #183142;
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.contact-footer div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-footer img {
  width: 18px;
  height: 18px;
}
.footer-hours {
  color: #7C8B96;
  font-size: 0.98rem;
}
.copyright {
  color: #B4BFC9;
  font-size: 0.93rem;
  margin-top: 10px;
  padding-bottom: 1px;
}

/* ------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: #262F38;
  color: #F7FAFB;
  font-size: 1rem;
  box-shadow: 0 -2px 18px rgba(30,45,70,0.13);
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  min-height: 60px;
  transition: transform 0.32s;
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  margin-bottom: 6px;
  color: #F7FAFB;
  font-size: 1.01rem;
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  border: none;
  margin-bottom: 2px;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .accept {
  background: #00546F;
  color: #FFFFFF;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #0A7997;
}
.cookie-banner .reject {
  background: #F2F5F6;
  color: #00546F;
  border: 1px solid #CADBE3;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #F9EDE1;
  color: #D68700;
}
.cookie-banner .settings {
  background: #D68700;
  color: #FFF;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #B1772A;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2100;
  background: rgba(23,32,44, 0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(10,47,70,0.16);
  max-width: 440px;
  width: 95vw;
  padding: 34px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.cookie-modal-content h3 {
  color: #00546F;
  font-size: 1.26rem;
  margin-bottom: 6px;
}
.cookie-categories {
  margin: 10px 0 14px 0;
  width: 100%;
}
.cookie-categories .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-categories .category input[type='checkbox'] {
  accent-color: #00546F;
  width: 20px;
  height: 20px;
}
.cookie-categories .category.essential input[type='checkbox'] {
  accent-color: #B2B2B2;
}

.cookie-modal-content .btn-row {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  width: 100%;
  justify-content: flex-end;
}
.cookie-modal-content button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 22px;
  border: none;
  margin-bottom: 2px;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal-content .save {
  background: #00546F;
  color: #FFF;
}
.cookie-modal-content .save:hover { background: #0A7997; }
.cookie-modal-content .cancel {
  background: #F4F7F9;
  color: #00546F;
  border: 1px solid #CAE2EE;
}
.cookie-modal-content .cancel:hover { background: #F9EDE1; color: #D68700; }

/* -----------------------------------------------
   RESPONSIVE DESIGN & MOBILE ADJUSTMENTS
------------------------------------------------*/
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.12rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  .feature-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  section {
    padding: 14px 0 0 0;
    margin-bottom: 34px;
  }
  footer { padding: 22px 0 12px 0; }
  .feature-grid > div,
  .card {
    min-width: 100%;
    padding: 18px 12px;
    margin-bottom: 14px;
  }
  .feature-grid { flex-direction: column; gap: 10px; }
  .testimonial-card {
    padding: 13px 10px 14px 10px;
    min-width: 100%;
    border-left-width: 3px;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .contact-footer {
    gap: 10px 4px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 0.98rem; }
  .cookie-modal-content { padding: 19px 6vw 16px 6vw; }
}

/* -----------------------------------------------
   MICRO-INTERACTIONS & ANIMATION
------------------------------------------------*/
.cta-button, .cookie-banner button, .cookie-modal-content button {
  transition: background .17s, box-shadow .18s, transform .13s, color .19s;
}
.cta-button:active, .cookie-banner button:active {
  transform: scale(0.98);
}
input[type='checkbox'] {
  transition: box-shadow 0.14s, outline 0.11s;
  outline: none;
}
input[type='checkbox']:focus {
  box-shadow: 0 0 0 2px #D68700;
}

/* ---------------------------------------------
   ACCESSIBLE FOCUS STATES
---------------------------------------------*/
a:focus, button:focus, summary:focus {
  outline: 2px solid #D68700;
  outline-offset: 2px;
}

/* ------------------------------------------
   OTHER UTILITY CLASSES
---------------------------------------------*/
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }
.text-center { text-align: center !important; }
.float-right { float: right; }

/* ------------------------------------------
   PRINT STYLES
---------------------------------------------*/
@media print {
  header,footer,.cookie-banner,.mobile-menu { display: none !important; }
  body { background: #FFF; }
  section,.container { box-shadow: none !important; border: none !important; }
}

/* ---------------------------------------------
   END OF SPECTRAFUSE KONSULTACJE PRACY CSS
---------------------------------------------*/
