/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F6F8;
  color: #25354D;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #25354D;
  text-decoration: none;
  transition: color .2s cubic-bezier(0.5,1.5,0.7,1);
}
a:hover, a:focus {
  color: #48BBB6;
  outline: none;
}
ul { list-style: none; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}
th, td {
  padding: 16px 12px;
  border-bottom: 2px solid #e5e5e5;
  text-align: left;
  font-size: 16px;
}
th {
  background: #E6FDFA;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #25354D;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: 16px;
}

/* BRAND TYPOGRAPHY & COLORS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; color: #25354D; }
h2 { font-size: 2rem;  color: #25354D; }
h3 { font-size: 1.35rem; color: #25354D; }
h4, h5, h6 { font-size: 1.1rem; }
p {
  margin-bottom: 18px;
  font-size: 1rem;
  color: #36475B;
}
strong { color: #25354D; font-weight: 700; }

/* CONTAINER & FLEX LAYOUT BASICS */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 18px 0 rgba(72,187,182,0.13), 0 1.5px 8px 0 #b5ecec33;
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  transition: box-shadow .25s cubic-bezier(0.5,1.5,0.7,1), transform .21s cubic-bezier(0.5,1.5,0.7,1);
}
.card:hover {
  box-shadow: 0 16px 32px -8px #48bbb644, 0 2px 10px #48BBB650;
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 20px 28px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 3.5px 17.5px #25354D18;
  border-left: 7px solid #48BBB6;
  transition: box-shadow .21s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #222a3b;
  margin-bottom: 7px;
}
.testimonial-meta {
  color: #25354D;
  font-size: 1rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION STYLES (index) */
.hero {
  background: linear-gradient(90deg, #48BBB6 65%, #F9D923 100%, #F5F6F8 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  margin-bottom: 38px;
  padding: 50px 0 60px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: #25354D;
  margin-bottom: 18px;
  font-size: 2.7rem;
  letter-spacing: -1px;
}
.hero p {
  color: #25354D;
  font-size: 1.18rem;
  margin-bottom: 20px;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1.5px 8px #48BBB620;
  position: relative;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  min-height: 70px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #25354D;
  padding: 6px 16px;
  border-radius: 50px;
  position: relative;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #48BBB6;
  color: #fff;
}
header img {
  height: 42px;
  margin-right: 5px;
}
.cta-btn {
  background: #F9D923;
  color: #25354D !important;
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  padding: 11px 32px;
  font-size: 1.06rem;
  font-weight: 900;
  border-radius: 36px;
  box-shadow: 0 3px 8px #f9d92340;
  cursor: pointer;
  margin-left: 8px;
  letter-spacing: 0.045em;
  transition: background .18s, box-shadow .15s, color .16s, transform .11s;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #48BBB6;
  color: #fff!important;
  box-shadow: 0 7px 16px #48BBB650;
  transform: rotate(-1deg) scale(1.05);
}

/* BURGER & MOBILE MENU */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1020px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: #F9D923;
    color: #25354D;
    border: none;
    font-size: 2rem;
    border-radius: 50%;
    padding: 8px 17px 10px 17px;
    box-shadow: 0 2px 10px #F9D92355;
    margin-left: 12px;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 17px;
    z-index: 300;
    transition: background .23s, color .22s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #48BBB6;
    color: #fff;
  }
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 12px 25px #25354D18;
  transform: translateX(-110%);
  transition: transform .45s cubic-bezier(0.7,1.2,0.55,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 35px 28px 30px;
  width: 86vw;
  max-width: 340px;
  height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 8px 0 22px #0002;
}
.mobile-menu-close {
  background: #48BBB6;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 40px; height: 40px;
  align-self: flex-end;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px #48BBB650;
  transition: background .19s, color .15s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F9D923;
  color: #25354D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 190px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.14rem;
  color: #25354D;
  padding: 15px 16px;
  border-radius: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
  transition: background .18s, color .17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  background: #48BBB6;
  color: #fff;
}

@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* COOKIES CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #25354D;
  color: #fff;
  width: 100vw;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1rem;
  padding: 19px 10px 19px 10px;
  box-shadow: 0 -5px 20px #25354D28;
  transition: transform .29s cubic-bezier(0.7,1.2,0.7,1);
  transform: translateY(100%);
}
.cookie-consent-banner.active {
  transform: translateY(0);
}
.cookie-consent-banner .cookie-msg {
  flex: 2;
  font-size: 1.08rem;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #F9D923;
  color: #25354D;
  font-weight: 900;
  font-family: 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 27px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-btn.accept { background: #48BBB6; color: #fff; }
.cookie-btn.reject { background: #25354D; color: #fff; border: 1.5px solid #F9D923; }
.cookie-btn.settings { background: #fff; color: #25354D; border: 1.5px solid #48BBB6; }
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.1) drop-shadow(0 2px 5px #25354D33);
  background: #48BBB6;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #25354D90;
  z-index: 1150;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .23s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 430px;
  padding: 38px 30px;
  box-shadow: 0 8px 36px #48BBB650;
  position: relative;
  color: #25354D;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPopIn .35s cubic-bezier(0.7,1.2,0.65,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.88) translateY(32px); opacity: 0; }
  95% { transform: scale(1.04) translateY(-5px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0px;
  font-size: 1.35rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #48BBB6;
  width: 22px;
  height: 22px;
  border-radius: 8px;
}
.cookie-category label {
  font-size: 1.03rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25354D;
}
.cookie-category.essential label {
  font-weight: 700;
  color: #48BBB6;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.cookie-modal .cookie-modal-close {
  background: #25354D;
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  width: 37px; height: 37px;
  display: flex;
  align-items: center; justify-content: center;
  position: absolute; top: 16px; right: 22px;
  cursor: pointer;
  transition: background .16s, color .15s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #48BBB6;
  color: #fff;
}

/* SERVICES CARDS (index) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2.5px 15px #48BBB623;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 340px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .16s;
  position: relative;
  border: 2.5px solid #E6FDFA;
  animation: floatCardUp .65s cubic-bezier(0.51,1.5,0.8,1.02)
}
.service-card:hover {
  box-shadow: 0 10px 22px #48BBB627,0 1.5px 8px #b5ecec33;
  border-color: #48BBB6;
  transform: translateY(-6px) scale(1.04) rotate(1deg);
  z-index: 2;
}
@keyframes floatCardUp {
  0% { opacity: 0; transform: translateY(50px) scale(0.9); }
  50% { opacity: .85; transform: translateY(-6px) scale(1.01); }
  100% { opacity: 1; transform: none; }
}
.service-card img {
  height: 46px; width: 46px;
  margin-bottom: 8px;
}
.service-card h3 {
  font-size: 1.23rem;
  color: #25354D;
  font-weight: 800;
  margin-bottom: 7px;
}
.service-card p {
  color: #4F5767;
  font-size: 1.03rem;
}

/* NEWS PREVIEW (aktualnosci) */
.news-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.news-item {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 9px #48BBB618;
  flex: 1 1 250px;
  min-width: 195px;
  max-width: 340px;
  padding: 20px 17px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow .18s, transform .14s;
  border: 2px solid #E6FDFA;
}
.news-item:hover {
  box-shadow: 0 8px 18px #48BBB620;
  border-color: #48BBB6;
  transform: scale(1.02) rotate(-1deg);
}
.news-item h3 {
  font-size: 1.07rem;
  color: #25354D;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 5px;
}
.news-item p {
  color: #4F5767;
  font-size: .97rem;
}

/* CTA SECTION (index, thank-you etc) */
.cta {
  background: #48BBB6;
  color: #fff;
  padding: 52px 0 48px 0;
  border-radius: 40px;
  box-shadow: 0 2px 20px #48BBB630;
  margin-bottom: 60px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 2.1rem;
}
.cta p {
  color: #fff;
  font-size: 1.15rem;
}
.cta .cta-btn {
  background: #F9D923;
  color: #25354D!important;
  box-shadow: 0 3px 11px #F9D92338;
}
.cta .cta-btn:hover {
  background: #fff;
  color: #48BBB6!important;
  box-shadow: 0 7px 22px #ffffff42;
}

/* FOOTER */
footer {
  background: #25354D;
  color: #fff;
  padding: 0 0 18px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 10px 15px 10px;
  border-bottom: 1.5px solid #E6FDFA;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 170px;
}
.footer-nav nav a {
  color: #e9fdfe;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 7px;
  transition: color .15s, background .13s;
}
.footer-nav nav a:hover,
.footer-nav nav a:focus {
  color: #48BBB6;
  background: #fff1;
}
.footer-nav .cta-btn {
  background: #F9D923;
  color: #25354D!important;
  margin-top: 7px;
}
.footer-nav .cta-btn:hover { background: #48BBB6; color: #fff!important; }
.footer-info {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 0 12px 0;
}
.footer-info img {
  height: 38px;
}
.company-data {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #E6FDFA;
  font-size: .94rem;
  font-weight: 400;
}
.footer-legal {
  margin: 10px 0 0 0;
  font-size: .92rem;
  color: #B8DBE3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  align-items: center;
}
.footer-legal a {
  color: #B8DBE3;
  padding: 0 3px;
  text-decoration: underline;
  transition: color .13s;
}
.footer-legal a:hover { color: #F9D923; }

/* FORMS & DISABLED NOTICE (kontakt) */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 24px 22px;
  border-radius: 16px;
  box-shadow: 0 2px 8px #48BBB611;
  margin-bottom: 17px;
}
.form-fields input,
.form-fields textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #E6FDFA;
  font-size: 1rem;
  outline: none;
  background: #f8fdfd;
  resize: none;
  transition: border .12s;
}
.form-fields input:focus, .form-fields textarea:focus {
  border-color: #48BBB6;
}
.form-fields input[disabled], .form-fields textarea[disabled] {
  background: #d5eceb;
  color: #7CAAA8;
  cursor: not-allowed;
  border: 1.5px solid #D8DFE9;
}
.disabled-notice {
  color: #994F00;
  background: #FFF7E1;
  border-radius: 13px;
  padding: 9px 16px;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 1rem;
}
.map-embed-placeholder {
  background: #E6FDFA;
  color: #48BBB6;
  border-radius: 15px;
  padding: 22px 14px;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 600;
}

/* TEXT SECTIONS (RODO, POLITYKA, REGULAMIN) */
.text-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 7px #48BBB610;
  padding: 26px 22px;
  color: #25354D;
  margin: 20px 0 0 0;
  font-size: 1rem;
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 14px;
  list-style: disc inside;
}
.text-section ul li {
  margin-bottom: 7px;
  font-size: 0.97rem;
}

/* TABLES (CENNIK) */
table {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px #48BBB618;
  margin: 22px 0 24px 0;
  overflow: hidden;
}
tbody tr:hover {
  background: #E6FDFA;
}

/* UTILITY */
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 25px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ANIMATIONS & MICROINTERACTIONS */
.cta-btn, .cookie-btn, .service-card, .news-item, .card, .testimonials, .testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(0.5,1.5,0.7,1), transform 0.19s cubic-bezier(0.5,1.5,0.7,1);
}
.cta-btn:active,
.cookie-btn:active {
  transform: scale(0.97) rotate(0.5deg);
}

/* PLAYFUL DECORATIVE ELEMENTS */
.hero::before {
  content: '';
  position: absolute;
  left: -70px; top: -80px;
  width: 220px; height: 220px;
  background: #F9D923;
  border-radius: 50%;
  opacity: 0.19;
  z-index: 0;
  animation: heroBlob 7.8s ease-in-out infinite alternate;
}
@keyframes heroBlob {
  0% { transform: scale(1) translateY(0);}
  38% { transform: scale(1.13) translateY(-20px); }
  100% { transform: scale(0.92) translateY(18px);}
}

/* BUTTON BOUNCE ON HOVER */
.cta-btn:hover, .cookie-btn:hover, .service-card:hover, .card:hover {
  animation: bounceIt .22s cubic-bezier(0.65,1.6,0.5,1.3);
}
@keyframes bounceIt {
  0% { transform: scale(1) translateY(0); }
  60% { transform: scale(1.07) translateY(-4px); }
  100% { transform: scale(1.035) translateY(-1px); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container {
    padding: 0 10px;
  }
  .footer-nav {
    gap: 14px 24px;
    flex-direction: column;
    align-items: stretch;
    padding: 27px 4px 6px 4px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 0 7px 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.08rem; }
  .hero h1 { font-size: 2rem; }
  .cta h2 { font-size: 1.22rem; }
  .card,
  .testimonial-card,
  .service-card,
  .news-item,
  .text-section {
    padding: 16px 10px;
  }
  .content-grid, .service-cards, .card-container, .news-preview {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 25px 5px;
    margin-bottom: 39px;
  }
  .footer-legal {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 540px) {
  .hero {
    padding: 32px 0 24px 0;
    min-height: 210px;
    border-radius: 0 0 40px 40px;
  }
  .footer-nav {
    padding: 13px 0 6px 0;
  }
}

/* MINIMUM CARD SPACING (gap/margin enforcement) */
.card-container>*, .service-cards>*, .news-preview>*, .content-grid>*, .features>ul>li, .feature-item>*, .testimonials>*, .testimonial-card {
  margin-bottom: 20px;
}

/* CUSTOM SCROLLBARS */
::-webkit-scrollbar {
  width: 12px;
  background: #E6FDFA;
}
::-webkit-scrollbar-thumb {
  background: #48BBB6;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #34aaa2; }

/* PLAYFUL FONT VARIANTS - force display for headings */
h1, h2, h3, .cta-btn, .cookie-btn, .service-card h3, .mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* CHEERFUL COLORED BADGES & SPANS */
span.price { background: #F9D923; color: #25354D; font-size: .96rem; padding: 2px 6px 2.5px 8px; border-radius: 13px; font-weight: 800; margin-left: 5px; }

/* Z-INDEX ENFORCEMENT */
.mobile-menu,
.cookie-consent-banner,
.cookie-modal-overlay,
.cookie-modal {
  z-index: 999 !important;
}

/* --- END CSS --- */
