/* =================================================
   Scandinavian Clean CSS for Mistrzowskie Negocjacje
   ==================================================
   Brand: #113046 (primary), #F7CE3E (secondary), #FFFFFF (accent)
   Fonts: 'Montserrat', 'Lato', sans-serif
   Flexbox-only, NO GRID or COLUMNS
   ================================================ */
/* RESET & BASE ----------------------------------- */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  color: #113046;
  background-color: #F6F8FA;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #113046;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #185070;
}
ul, ol {
  margin-left: 24px;
  margin-top: 12px;
  margin-bottom: 16px;
}
li:not(:last-child) {
  margin-bottom: 6px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #113046;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: 500;
}
strong {
  font-weight: 600;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.text-section {
  gap: 20px;
}
.mission-statement {
  background: #F9FAFB;
  border-left: 4px solid #F7CE3E;
  padding: 16px 22px;
  margin: 16px 0 20px 0;
  border-radius: 6px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(17, 48, 70, 0.05);
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
/* NAVIGATION HEADER ------------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(17,48,70,0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.header-logo, header a > img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #113046;
  opacity: 0.85;
  padding: 6px 2px;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a.active, .main-nav a:focus {
  color: #F7CE3E;
  opacity: 1;
}
.cta-btn {
  background-color: #F7CE3E;
  color: #113046;
  border: none;
  border-radius: 32px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 10px rgba(17,48,70,0.09);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, transform 0.13s;
  text-align: center;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #113046;
  color: #fff;
  box-shadow: 0 6px 22px rgba(17,48,70,0.16);
  transform: translateY(-2px) scale(1.03);
}
/* ============== MOBILE MENU ============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #113046;
  font-size: 2.1rem;
  padding: 7px 14px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.17s, color 0.17s;
  z-index: 103;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f7ce3e33;
  color: #F7CE3E;
}
/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  box-shadow: -12px 0 40px rgba(17,48,70,0.08);
  padding: 0 0 40px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #113046;
  padding: 16px 20px 10px 20px;
  position: relative;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7CE3E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 32px;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: #113046;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 0;
  transition: color 0.17s;
  border-radius: 6px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #F7CE3E;
  background: #f7ce3e11;
}
@media (max-width: 1023px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============== HERO & SECTION STYLES =============== */
.section, section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: #fff;
}
section > .container {
  width: 100%;
}
.content-wrapper {
  margin: 0 auto;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
  }
}
/* =============== CARD & GRID FLEX LAYOUTS =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px rgba(17,48,70,0.07);
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(17,48,70,0.14);
  transform: translateY(-3px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid, .service-grid, .team-bios, .post-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  justify-content: flex-start;
}
.team-bios > div {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 24px 18px;
  flex: 1 1 280px;
  min-width: 220px;
  margin-right: 0;
  box-shadow: 0 1.5px 8px rgba(17,48,70,0.07);
}
.post-list {
  gap: 24px;
}
.feature-grid, .service-grid {
  gap: 32px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F9FAFB;
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 1px 6px rgba(17, 48, 70, .06);
  min-width: 190px;
  flex: 1 1 220px;
}
.feature-item img {
  height: 38px;
  margin-bottom: 8px;
}
.service-grid > div {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 1.5px 8px rgba(17,48,70,0.07);
  flex: 1 1 280px;
  min-width: 210px;
  margin-right: 0;
}
@media (max-width: 850px) {
  .feature-grid, .service-grid, .team-bios, .post-list, .testimonial-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item, .service-grid > div, .team-bios > div {
    min-width: 0;
  }
}

/* =============== TESTIMONIALS CARDS =============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  background: #FAFBFD;
  box-shadow: 0 2px 18px rgba(17,48,70,0.09);
  border-radius: 16px;
  padding: 20px 28px 26px 28px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 600px;
  color: #113046;
  font-size: 1rem;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card .stars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}
.testimonial-card .stars img {
  height: 22px;
  width: auto;
}
.testimonial-card p {
  color: #173c5a;
  font-size: 1.1rem;
  line-height: 1.55;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #516277;
  margin-top: 2px;
}
/* Extra testimonial container on opinie.html */
.testimonial-list {
  align-items: flex-start;
}
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
}
.client-logos img {
  height: 34px;
  opacity: 0.55;
  filter: grayscale(80%);
}

/* =============== FOOTER =============== */
footer {
  background-color: #F6F8FA;
  padding: 40px 0 0 0;
  font-size: 1rem;
  border-top: 1.5px solid #e2e7ec;
  color: #113046;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 8px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}
.footer-brand img {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #113046;
  opacity: 0.87;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F7CE3E;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.96rem;
  color: #3b5160;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-contact img {
  height: 18px;
  opacity: 0.7;
}
.newsletter-signup {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  margin: 38px 0 0 0;
  border-radius: 12px 12px 0 0;
  padding: 20px 24px;
  box-shadow: 0 -2px 16px rgba(17,48,70,0.06);
  font-size: 1.08rem;
  font-family: 'Lato', Arial, sans-serif;
}
.newsletter-signup span {
  flex: 1;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
  }
  .newsletter-signup {
    border-radius: 12px;
  }
}
/* =============== BLOG & MISC =============== */
.feature-list, .benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style-type: none;
}
.feature-list li, .benefit-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f9fafb;
  border-radius: 9px;
  padding: 8px 14px 8px 9px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #173c5a;
  box-shadow: 0 1px 4px rgba(17, 48, 70, .04);
}
.feature-list img, .benefit-list img {
  height: 23px;
}
.featured-post {
  margin: 26px 0 0 0;
  background: #F7CE3E11;
  border-left: 4px solid #F7CE3E;
  padding: 16px 20px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #113046;
}
/* ========================================
   BUTTONS & INTERACTIONS
========================================= */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
}
button {
  cursor: pointer;
}
/* Input, focus visible highlight */
a:focus, button:focus {
  outline: 2px solid #F7CE3E;
  outline-offset: 2px;
}
/* =============== RESPONSIVE ==================== */
@media (max-width: 700px) {
  html { font-size: 15px; }
  .container, section > .container {
    padding-left: 10px; padding-right: 10px;
  }
  section, .section {
    padding: 22px 0;
    border-radius: 12px;
  }
  .newsletter-signup {
    flex-direction: column;
    padding: 16px 10px;
    gap: 12px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  .cta-btn { font-size: 0.95rem; }
  footer .container, .newsletter-signup {
    padding-left: 7px !important; padding-right: 7px !important;
  }
  .testimonial-card, .card, .feature-item, .service-grid > div, .team-bios > div {
    padding: 13px 8px !important;
  }
}
/* ============================================
    COOKIE CONSENT BANNER & MODAL
  ============================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 24px rgba(17,48,70,0.12);
  border-top: 3px solid #F7CE3E;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 22px 30px;
  z-index: 4000;
  font-size: 1rem;
  gap: 28px;
  animation: cookieFadeIn 0.5s;
}
.cookie-banner span {
  flex: 1;
  margin-right: 38px;
  color: #113046;
  font-size: 1.03rem;
}
.cookie-banner .cookie-actions {
  display: flex; flex-direction: row; gap: 12px;
}
.cookie-banner button {
  padding: 8px 18px;
  border-radius: 32px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
  cursor: pointer;
  margin-right: 0;
  background: #F7CE3E;
  color: #113046;
  box-shadow: 0 2px 10px rgba(17,48,70,0.06);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #113046;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #eee;
  color: #113046;
  border: 1px solid #e6e6e6;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #f7ce3e33;
  color: #113046;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: none; }
}
/* Cookie Modal */
.cookie-modal-bg {
  position: fixed;
  z-index: 4100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17, 48, 70, 0.36);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.4s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 410px;
  width: 96vw;
  padding: 34px 24px 28px 24px;
  box-shadow: 0 9px 36px rgba(17, 48, 70, 0.15);
  font-family: 'Lato', Arial, sans-serif;
  color: #113046;
  position: relative;
  z-index: 4102;
  animation: slideInModal 0.37s cubic-bezier(.5,1,.6,1);
}
@keyframes slideInModal {
  from { transform: translateY(70px) scale(0.97); }
  to { transform: none; }
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 10px;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #113046;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #F7CE3E;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
}
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
}
.cookie-modal .cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fafb;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 1rem;
}
.cookie-modal .toggle {
  position: relative;
  display: flex;
  align-items: center;
}
.cookie-modal .toggle input[type="checkbox"] {
  display: none;
}
.toggle-slider {
  width: 36px;
  height: 19px;
  background: #e9e9e9;
  border-radius: 19px;
  position: relative;
  transition: background .2s;
}
.toggle-slider:after {
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #113046;
  position: absolute;
  left: 1px; top: 1px;
  transition: left 0.16s, background .24s;
  box-shadow: 0 1.5px 5px rgba(17,48,70,0.10);
}
.toggle input:checked + .toggle-slider {
  background: #F7CE3E;
}
.toggle input:checked + .toggle-slider:after {
  left: 18px;
  background: #F7CE3E;
}
.cat.essential .toggle-slider {
  background: #dde3e8;
}
.cat.essential span {
  font-style: italic;
  color: #7d8ea1;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 17px;
  border-radius: 32px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #F7CE3E;
  color: #113046;
  box-shadow: 0 2px 8px rgba(17,48,70,0.06);
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #113046;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 17px 10px;
  }
  .cookie-banner span {
    margin-right: 0px;
  }
  .cookie-modal {
    padding: 17px 7px 22px 7px;
    max-width: 98vw;
  }
}
/* ===========================================
   MISC. UTILITIES
=========================================== */
.hidden { display: none !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.border-radius { border-radius: 12px; }
.bg-light { background: #F9FAFB; }
.bg-accent { background: #F7CE3E; color: #113046; }

/* ===========================================
   END Scandinavian Clean CSS for Brand
=========================================== */
