/* ==== 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #FAFAFA;
  color: #1c293c;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #234973;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #5BA884;
  outline: none;
}

/* ==== BRAND TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #234973;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
p {
  font-size: 1.08rem;
  margin-bottom: 16px;
  color: #1c293c;
}
strong, b {
  font-weight: 700;
  color: #234973;
}
i, em {
  font-style: italic;
}


/* ==== CONTAINER & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ==== SECTIONS ==== */
section {
  background: #FAFAFA;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 3px 18px -6px rgba(35,73,115,0.09);
  position: relative;
  overflow: visible;
}
@media (max-width: 768px) {
  section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
}

/* ==== HEADER ==== */
header {
  width: 100%;
  background: #234973;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 95;
  box-shadow: 0 3px 16px -5px rgba(35,73,115,0.10);
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
.logo img {
  height: 44px;
  display: block;
  margin-right: 10px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
  margin-left: 20px;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0 2px;
  transition: color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: #5BA884;
}

.cta-btn {
  background: #5BA884;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  border: none;
  border-radius: 100px;
  padding: 13px 34px;
  margin-left: 24px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.12s;
  box-shadow: 0 4px 18px -5px rgba(37,120,80,0.10);
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #234973;
  color: #fff;
  box-shadow: 0 8px 18px -4px rgba(35,73,115,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* Hide CTA button on mobile - only one at top for space */
@media (max-width: 670px) {
  .cta-btn {
    display: none;
  }
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #5BA884;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: 8px;
  z-index: 202;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(91,168,132,0.16);
  color: #234973;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #234973;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.55,0,0.1,1);
  box-shadow: 4px 0 32px -8px rgba(35,73,115,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 212;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #5BA884;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 44px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 0;
  transition: color 0.2s, background 0.13s;
  border-radius: 6px;
  min-width: 160px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5BA884;
  color: #fff;
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 460px) {
  .mobile-nav {
    margin-left: 14px;
    gap: 12px;
  }
}

/* ==== MAIN LAYOUT FLEX PATTERNS ==== */

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 3px 18px -6px rgba(35,73,115,0.09);
  background: #fff;
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 28px -4px rgba(91,168,132,0.16);
  transform: translateY(-2px) scale(1.03);
}
.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: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 4px 18px -5px rgba(35,73,115,0.10);
  border-left: 6px solid #5BA884;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 0;
  color: #1c293c;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card b {
  color: #234973;
  font-weight: 800;
}
.testimonial-card:hover {
  box-shadow: 0 12px 36px -10px rgba(91,168,132,0.15);
}

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

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 990px) {
  .container {
    max-width: 99vw;
  }
  .content-grid, .card-container {
    gap: 16px;
  }
}
@media (max-width: 830px) {
  .content-grid,
  .card-container { flex-direction: column; }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    font-size: 0.96rem;
  }
  .card {
    min-width: 160px;
    padding: 17px 10px;
  }
}

/* ==== LISTS ==== */
ul, ol {
  margin-top: 0;
  margin-bottom: 18px;
}
ul li, ol li {
  font-size: 1.05rem;
  color: #234973;
  margin-bottom: 8px;
  padding-left: 0;
  list-style-position: inside;
}
ul li b, ol li b {
  color: #5BA884;
  font-weight: 800;
}

/* ==== BUTTONS ==== */
button, .btn, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 100px;
  background: #5BA884;
  color: #fff;
  padding: 13px 34px;
  font-size: 1rem;
  transition: background 0.18s, color 0.13s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 3px 18px -7px rgba(91,168,132,0.15);
  outline: none;
}
button:focus, .btn:focus, .cta-btn:focus {
  background: #234973;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 1px 8px 0 rgba(35,73,115,0.15);
}
button:hover, .btn:hover, .cta-btn:hover {
  background: #234973;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}

/* ==== FORMS (Contact only: futureproofed) ==== */
input[type="text"], input[type="email"], textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid #d4dee9;
  border-radius: 10px;
  padding: 11px 16px;
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.16s;
  color: #17335a;
}
input:focus, textarea:focus {
  border-color: #5BA884;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #234973;
  margin-bottom: 6px;
  display: inline-block;
}

/* ==== FOOTER ==== */
footer {
  background: #234973;
  color: #fff;
  width: 100%;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-logo img {
  height: 48px;
  display: block;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #5BA884;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.97rem;
  letter-spacing: 0.04em;
  transition: color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p, .footer-hours p {
  color: #fff;
  font-size: 0.99rem;
}
.footer-contact p, .footer-hours p {
  margin: 0;
  font-size: 0.99rem;
  margin-bottom: 4px;
  line-height: 1.55;
}
@media (max-width: 970px) {
  footer .container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  footer {
    padding: 28px 0;
  }
  .footer-logo img {
    height: 32px;
  }
}

/* ==== ICON ALIGNMENT (Contact, phone, etc.) ==== */
img[alt="Telefon"], img[alt="Email"], img[alt="Adres"], img[alt="Godziny pracy"], img[alt^="icon-"], img[src*="/icons/"]  {
  height: 1.23em;
  width: 1.23em;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  display: inline-block;
}

/* ==== VISUAL BOLD GEOMETRIC SHAPES ==== */
section, .card, .testimonial-card, .feature-item {
  border-radius: 18px;
}
.section {
  box-shadow: 0 4px 24px -7px rgba(35,73,115,0.13);
}

/* ==== MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .cta-btn, button, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.18s, background 0.16s, color 0.16s, transform 0.14s;
}

.card:active, .testimonial-card:active {
  box-shadow: 0 1px 4px 0 rgba(91,168,132,0.12);
  transform: scale(0.99);
}
.cta-btn:active, button:active {transform: scale(0.97);}

/* ==== VISUAL HIERARCHY ==== */
h1 {font-size: 2.5rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}

@media (max-width: 600px) {
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.13rem;}
  h3 {font-size: 1.01rem;}
}

/* ==== RESPONSIVE GENERAL ==== */
@media (max-width: 520px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #234973;
  box-shadow: 0 -3px 16px -7px rgba(35,73,115,0.12);
  z-index: 999;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 18px;
  animation: banner-slide-up 0.7s cubic-bezier(0.71,0,0.2,1);
}
@keyframes banner-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 300px;
  font-size: 1.05rem;
  color: #234973;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 10px 24px;
  margin-right: 6px;
  margin-left: 0;
  border-radius: 100px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}
.cookie-banner .btn-accept {
  background: #5BA884;
  color: #fff;
  border: none;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #234973;
}
.cookie-banner .btn-reject {
  background: #fff;
  color: #234973;
  border: 2px solid #5BA884;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #e5f5ec;
  border-color: #234973;
  color: #234973;
}
.cookie-banner .btn-settings {
  background: #234973;
  color: #fff;
  border: none;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #5BA884;
  color: #fff;
}
@media (max-width:530px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7px 11px 7px;
    gap: 8px;
    font-size: 0.97rem;
  }
  .cookie-banner__text { margin-bottom: 8px; }
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 2000;
  background: rgba(35,73,115,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.3s;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  color: #234973;
  border-radius: 18px;
  padding: 32px 32px 26px 32px;
  box-shadow: 0 6px 36px 0 rgba(35,73,115,0.19);
  min-width: 310px;
  max-width: 98vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scaling-in .22s cubic-bezier(0.62, 0, 0.35, 1);
}
@keyframes scaling-in {
  from { transform: scale(0.98); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 17px; right: 19px;
  background: none;
  border: none;
  color: #234973;
  font-size: 1.68rem;
  cursor: pointer;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.39rem;
  margin-bottom: 6px;
  color: #234973;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #e5f5ec;
  position: relative;
  transition: background 0.15s;
  display: inline-block;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #5BA884;
  border-radius: 50%;
  transition: left 0.16s, background 0.13s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #234973;
  left: 18px;
}
.cookie-modal .btn-save,
.cookie-modal .btn-cancel {
  margin-top: 23px;
  border-radius: 90px;
  font-size: 1rem;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal .btn-save {
  background: #5BA884;
  color: #fff;
  border: none;
}
.cookie-modal .btn-save:hover, .cookie-modal .btn-save:focus {
  background: #234973;
}
.cookie-modal .btn-cancel {
  background: #fff;
  color: #234973;
  border: 2px solid #5BA884;
  margin-left: 10px;
}
.cookie-modal .btn-cancel:hover, .cookie-modal .btn-cancel:focus {
  background: #e5f5ec;
  color: #234973;
}
@media (max-width:470px) {
  .cookie-modal__content {
    padding: 17px 5px 13px 8px;
    min-width: 170px;
  }
  .cookie-modal__close { top: 7px; right: 7px; font-size: 1.2rem; }
}

/* === ACCESSIBILITY === */
:focus-visible { outline: 2px solid #5BA884; outline-offset: 2px; }

/* ==== UTILITIES ==== */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.align-center { align-items: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; }
.gap-20 { gap: 20px; }

/* ==== END CSS ==== */