/* =========================
   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 {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  color: #223A5E;
  background: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

*, *:before, *:after {
  box-sizing: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
}

a {
  color: #223A5E;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.65,.01,.41,1);
}

a:focus, a:hover {
  color: #F7B801;
}

ul, ol {
  padding-left: 1.5em;
}

/* =========================
   BRAND FONTS & TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #223A5E;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.17rem; margin-bottom: 12px; }

p, ul, ol, table, .text-section, .contact-details {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #223A5E;
}

strong { font-weight: 700; }
em { font-style: italic; }

.text-section h2 {
  margin-top: 24px;
}

.text-section ul, .text-section ol {
  margin-bottom: 24px;
}

/* =========================
   CONTAINERS & SPACING
   ========================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px 0 rgba(34,58,94,0.06);
}

.text-section {
  margin-bottom: 24px;
  background: #FAF6F0;
  border-radius: 16px;
  padding: 28px 22px;
}

.map-placeholder {
  background: #E4E6EB;
  padding: 18px;
  border-radius: 12px;
  color: #736B5E;
  font-style: italic;
  text-align: center;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,58,94,.06);
  position: relative;
  z-index: 1030;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 28px;
}

header a img {
  height: 48px;
  width: auto;
  display: block;
  margin-right: 26px;
}

/* MAIN NAV */
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 0;
  color: #223A5E;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #F7B801;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  background-color: #F7B801;
  color: #223A5E;
  font-weight: bold;
  padding: 12px 32px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(247,184,1,.11);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFD369;
  box-shadow: 0 6px 20px 0 rgba(247,184,1,.16);
  color: #223A5E;
}

/* =========================
   MOBILE BURGER MENU
   ========================= */
.mobile-menu-toggle {
  display: none;
  background: #F7B801;
  border: none;
  border-radius: 16px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  color: #223A5E;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(34,58,94,0.08);
  transition: background 0.16s, color 0.2s;
  z-index: 1102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD369;
  color: #223A5E;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,58,94, 0.97);
  box-shadow: 0 8px 48px 0 rgba(40,30,10,0.18);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.87,-0.41,.19,1.44);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  background: none;
  color: #fff;
  font-size: 2rem;
  border: none;
  margin: 24px 0 14px 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F7B801;
  color: #223A5E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  margin-top: 28px;
  padding-left: 20px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 16px 0 16px 9px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F7B801;
  color: #223A5E;
}

@media (max-width: 1020px) {
  .container {
    max-width: 93vw;
  }
}

@media (max-width: 900px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
}
@media (max-width: 890px) {
  header .container {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}
@media (max-width: 770px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* =========================
   HERO AND MAIN CALL-TO-ACTION
   ========================= */
.hero {
  background: linear-gradient(120deg, #F7B801 0%, #FFFBE7 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 22px 0 rgba(247,184,1,0.10);
  padding: 54px 0 70px 0;
  margin-bottom: 40px;
}
.hero .container {
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 26px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #223A5E;
  margin-bottom: 14px;
  line-height: 1.25;
}
.hero p {
  font-size: 1.18rem;
  color: #534a36;
  margin-bottom: 16px;
}
.hero .btn-primary {
  margin-top: 16px;
  font-size: 1.12rem;
}

/* =========================
   CARD & FLEX CONTAINER PATTERNS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(34,58,94,0.09);
  overflow: hidden;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(247,184,1, 0.13);
  transform: translateY(-4px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  gap: 20px;
}

.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;
    gap: 20px;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   FEATURES & SERVICE LISTS
   ========================= */
.features, .services-list, .text-section ul, .text-section ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features li, .services-list li, section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  background: #FFF8EA;
  border-radius: 14px;
  padding: 13px 15px;
  color: #223A5E;
  box-shadow: 0 1px 8px 0 rgba(247,184,1,.09);
}
.features li img, .services-list li img, section ul li img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #FFF3C5;
  flex-shrink: 0;
  box-shadow: 0 1px 5px 0 rgba(247,184,1,.07);
}

/* ====== TABLES (CENNIK) ====== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 14px 0 rgba(225,180,50,0.08);
}
thead th {
  background: #F7B801;
  color: #223A5E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 3px solid #EDE1BB;
  padding: 14px 10px;
  text-align: left;
}
tbody td {
  font-size: 1.04rem;
  color: #223A5E;
  padding: 12px 10px;
  border-bottom: 1px solid #f9e5b2;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF8EA;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 1px 12px 0 rgba(34,58,94,0.07);
  color: #223A5E;
  font-size: 1.085rem;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(247,184,1,.13);
  transform: scale(1.012);
}
.testimonial-card p {
  color: #443c1d;
  font-size: 1.02rem;
  margin-bottom: 7px;
}
.testimonial-card span strong {
  font-size: 1rem;
  color: #F7B801;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #223A5E;
  color: #fff;
  padding: 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 20px 24px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #FFD369;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.18s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #223A5E;
  background: #FFD369;
}
.contact-details {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.99rem;
  color: #f4f1ec;
  text-align: center;
  margin-top: 6px;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe7;
  color: #223A5E;
  box-shadow: 0 -4px 22px 0 rgba(247,184,1,.23);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 2500;
  padding: 20px 18px;
  gap: 18px;
  font-size: 1rem;
  border-top: 2px solid #F7B801;
  opacity: 1;
  transition: opacity 0.24s, transform 0.39s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  padding: 9px 20px;
  border-radius: 17px;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  cursor: pointer;
}
.accept-cookies {
  background: #F7B801;
  color: #223A5E;
  font-weight: 600;
}
.accept-cookies:hover, .accept-cookies:focus {
  background: #FFD369;
}
.reject-cookies {
  background: #D3D3D3;
  color: #223A5E;
  font-weight: 600;
}
.reject-cookies:hover, .reject-cookies:focus {
  background: #E4E6EB;
}
.settings-cookies {
  background: #fff;
  color: #F7B801;
  border: 2px solid #F7B801;
  font-weight: 500;
}
.settings-cookies:hover, .settings-cookies:focus {
  background: #F7B801;
  color: #223A5E;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,58,94,0.52);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fffbe7;
  color: #223A5E;
  border-radius: 22px;
  box-shadow: 0 4px 42px 0 rgba(247,184,1,0.20);
  width: 94vw;
  max-width: 420px;
  padding: 30px 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popup-bounce 0.26s cubic-bezier(.57,1.6,.88,.66);
}
@keyframes popup-bounce {
  0% { transform: scale(0.90); opacity: 0; }
  80% { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.37rem;
  margin-bottom: 0.5em;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-weight: 500;
  color: #223A5E;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  border-radius: 15px;
  padding: 8px 16px;
  cursor: pointer;
}
.cookie-modal .accept-cookies { background: #F7B801; color: #223A5E; }
.cookie-modal .reject-cookies { background: #E4E6EB; color: #534a36; }
.cookie-modal .close-modal {
  background: transparent;
  color: #F7B801;
  font-size: 1rem;
  border: none;
  margin-left: -6px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover { color: #B68B00; }
/* Checkbox toggle styles */
.category input[type='checkbox'] {
  accent-color: #F7B801;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #F7B801;
}

/* =========================
   FORMS (REZERWACJA)
   ========================= */
input, textarea, select {
  font-size: 1rem;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #D3D3D3;
  transition: border 0.15s, box-shadow 0.13s;
  width: 100%;
  margin-bottom: 16px;
  background: #fffef8;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #F7B801;
  box-shadow: 0 2px 8px 0 rgba(247,184,1,.13);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  margin-bottom: 7px;
  display: flex;
}

/* =========================
   RESPONSIVE & MOBILE
   ========================= */
@media (max-width: 680px) {
  .container {
    padding: 0 7px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.10rem; }
  .content-wrapper { gap: 18px; }
  .section { padding: 24px 6px; margin-bottom: 32px; }
  .card-content { padding: 18px 10px; }
  .features, .services-list, .text-section ul, .text-section ol { gap: 12px; }
  .btn-primary { padding: 9px 10px; font-size: 0.98rem; }
  .testimonial-card { padding: 13px; font-size: 0.97rem; }
  .hero { padding: 22px 0 36px 0; }
  .footer-nav { gap: 10px; }
}

@media (max-width: 475px) {
  .testimonial-card, .card, .section, .cookie-modal, .text-section {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
  .hero h1, .hero p { padding-left: 2vw; padding-right: 2vw; }
  table thead th, table tbody td { font-size: 0.95rem; padding: 6px; }
}

/* =========================
   MISCELLANEOUS
   ========================= */
::-webkit-scrollbar { width: 9px; background: #FAF6F0; }
::-webkit-scrollbar-thumb { background: #E4E6EB; border-radius: 7px; }
h1, h2, h3, h4, h5, h6 { scroll-margin-top: 70px; }

/* Link accessibility */
a:focus-visible { outline: 2px solid #F7B801; outline-offset: 2px; }

/* Selection highlight */
::selection {
  background: #FFFBE7;
  color: #223A5E;
}

/* =========================
   MICRO-INTERACTIONS / ANIMATIONS
   ========================= */
.btn-primary, .accept-cookies, .reject-cookies, .settings-cookies, .mobile-menu-toggle, .mobile-nav a, .footer-nav a {
  transition: box-shadow 0.13s, background 0.13s, color 0.13s, transform 0.13s;
}
.btn-primary:active, .accept-cookies:active, .reject-cookies:active, .settings-cookies:active {
  transform: scale(0.98);
}
.mobile-menu.open {
  animation: slideInMenu 0.39s cubic-bezier(.64,0,.34,1.45);
}
@keyframes slideInMenu {
  from { transform: translateX(-100vw); }
  to {   transform: translateX(0); }
}
.mobile-menu {
  animation: slideOutMenu 0.38s cubic-bezier(.55,.03,.9,.59);
}
@keyframes slideOutMenu {
  from { transform: translateX(0); }
  to {   transform: translateX(-100vw); }
}

/* =========================
   PRINT OVERRIDE
   ========================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .hero, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
  body { color: #000; background: #fff !important; }
}
