/* === 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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  background: none;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fafbfc;
  color: #25304B;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #25304B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F1C40F;
  outline: none;
}
ul,
ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
}
strong, b {
  font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  color: #25304B;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
/* === TYPOGRAPHY SCALE === */
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
p, li, label, td {
  font-size: 1rem;
  color: #25304B;
  font-family: 'Open Sans', Arial, sans-serif;
}
span, small {
  font-size: 0.92em;
}
/* == Container Sizing == */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section,
.content-wrapper.text-section {
  max-width: 820px;
  margin: 0 auto;
}
/* == Sections & Layout == */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
}
.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;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(37,48,75,0.06), 0 1.5px 5px 0 rgba(241,196,15,0.07);
  min-width: 220px;
  min-height: 110px;
  margin-bottom: 20px;
  color: #232933;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(37,48,75,0.09), 0 3px 15px 0 rgba(241,196,15,0.15);
}
.testimonial-card p {
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-style: italic;
  color: #25304B;
}
.testimonial-card span {
  font-size: 0.96em;
  color: #8a909d;
  font-family: 'Open Sans', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* == HERO & CTA SECTIONS == */
main section:first-child,
.hero {
  background: linear-gradient(90deg, #F1C40F 0%, #FFF8E9 100%);
  border-radius: 0 0 32px 32px;
  min-height: 260px;
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 56px;
}
main section:first-child .content-wrapper,
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
main section:first-child h1, .hero h1 {
  color: #25304B;
  font-size: 2.6rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
main section:first-child p, .hero p {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
/* == FEATURES == */
.features ul, .content-wrapper ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
}
.features li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05em;
}
.features li img,
.content-wrapper ul li img {
  width: 32px;
  height: 32px;
}
/* == SERVICES CARDS == */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 8px;
}
.service-card {
  flex: 1 1 250px;
  min-width: 260px;
  max-width: 320px;
  background: linear-gradient(135deg, #fff 0%, #f7faee 100%);
  box-shadow: 0 4px 32px 0 rgba(37,48,75,0.09), 0 1.5px 10px 0 rgba(241,196,15,0.11);
  border-radius: 20px;
  padding: 32px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 8px 40px rgba(241,196,15,0.09), 0 8px 35px 0 rgba(37,48,75,0.10);
  transform: translateY(-4px) scale(1.015);
}
.service-card .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F1C40F;
  margin-bottom: 8px;
}
.service-card .cta {
  margin-top: auto;
}
/* == TEAM == */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 12px;
}
.team-member {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(37,48,75,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px 12px;
  gap: 10px;
  text-align: center;
  transition: box-shadow 0.14s, transform 0.14s;
}
.team-member img {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}
.team-member:hover {
  box-shadow: 0 5px 32px 0 rgba(241,196,15,0.12), 0 13px 26px 0 rgba(37,48,75,0.13);
  transform: translateY(-2px) scale(1.01);
}
/* == FAQ == */
.faq {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  border-radius: 13px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 2px 20px 0 rgba(241,196,15,0.02), 0 1.5px 6px 0 rgba(37,48,75,0.07);
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
/* == OFFER BANNER == */
.offer-banner {
  background: linear-gradient(90deg, #F1C40F 30%, #FFF8E9 100%);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(241,196,15,0.08);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.offer-banner h2 {
  color: #25304B;
}
.offer-banner .cta {
  margin-top: 8px;
}
/* == TABLES (CENNIK) == */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 2px 9px 0 rgba(241,196,15,0.04), 0 0.5px 3px 0 rgba(37,48,75,0.04);
}
th, td {
  padding: 16px 12px;
  text-align: left;
}
th {
  background: #FFF8E9;
  color: #25304B;
  font-size: 1.08em;
  letter-spacing: 0.5px;
}
tbody tr {
  border-bottom: 1px solid #f4f4f8;
}
tbody tr:last-child {
  border-bottom: none;
}
/* == BUTTONS & LINKS == */
.cta, .cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #25304B 60%, #2d416d 100%);
  color: #fff;
  border-radius: 100px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  margin: 6px 0;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(35,38,61,0.08);
  cursor: pointer;
  transition: background 0.22s, color 0.14s, box-shadow 0.13s, transform 0.13s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #F1C40F 40%, #25304B 100%);
  color: #25304B;
  box-shadow: 0 5px 20px 0 rgba(241,196,15,0.22);
  transform: scale(1.035);
}
button {
  cursor: pointer;
}
/* == NAVIGATION == */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(37,48,75,0.06), 0 0.5px 2px 0 rgba(241,196,15,0.02);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 14px 0;
}
header nav > a > img {
  height: 40px;
  width: auto;
}
header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
header nav ul li {
  display: flex;
  align-items: center;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 30px;
  transition: background 0.16s, color 0.16s;
  color: #25304B;
  font-weight: 600;
}
header nav ul li a:hover,
header nav ul li a.cta:focus {
  background: #F1C40F;
  color: #25304B;
}
header nav ul li a.cta {
  background: #25304B;
  color: #fff;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 1.04em;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(37,48,75,0.08);
}
header nav ul li a.cta:hover {
  background: #F1C40F;
  color: #25304B;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 16px;
  background: #F1C40F;
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  color: #25304B;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 102;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #25304B;
  color: #fff;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(37,48,75,0.88);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.68,-0.55,0.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.5rem;
  margin: 36px 32px 0 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 10004;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F1C40F;
  outline: none;
}
.mobile-nav {
  width: 100%;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  padding: 12px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  width: 100%;
  display: block;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1C40F;
  color: #25304B;
}
/* == FOOTER == */
footer {
  margin-top: 56px;
  background: linear-gradient(90deg, #25304B 56%, #2d416d 100%);
  padding: 44px 0 38px 0;
  color: #FFF8E9;
}
footer .container {
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  margin-right: 14px;
}
footer a:hover,
footer nav a:focus {
  color: #F1C40F;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  font-size: 0.97em;
  color: #E9ECF5;
  margin-bottom: 4px;
}
footer img {
  height: 38px;
  width: auto;
}
/* == CONTACT DETAILS == */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 0 0;
}
.contact-details p {
  color: #232933;
  font-size: 1.05rem;
}
/* == COOKIE CONSENT BANNER == */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff6d2;
  color: #25304B;
  box-shadow: 0 -2px 24px 0 rgba(37,48,75,0.06);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px 18px 22px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.68,-0.55,0.27,1.55), opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 auto;
  font-size: 1rem;
  color: #25304B;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  border-radius: 100px;
  padding: 9px 22px;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  background: #25304B;
  color: #fff;
  font-weight: 700;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, box-shadow 0.13s;
  outline: none;
  box-shadow: 0 1px 6px 0 rgba(241,196,15,0.05);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #F1C40F;
  color: #25304B;
}
/* == COOKIE MODAL == */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,48,75,0.65);
  z-index: 100000;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.19s;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #25304B;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -7px 32px 0 rgba(37,48,75,0.18);
  padding: 32px 26px 24px 26px;
  max-width: 480px;
  width: 96%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookieModalFadeIn 0.37s;
}
@keyframes cookieModalFadeIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-category label {
  margin-left: 10px;
  font-size: 1.02rem;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-modal-content .modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal-content button {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 1em;
  border: none;
  background: #25304B;
  color: #fff;
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal-content button:hover {
  background: #F1C40F;
  color: #25304B;
}
/* == MISC == */
::-webkit-input-placeholder { color: #94a4b4; }
::-moz-placeholder { color: #94a4b4; }
:-ms-input-placeholder { color: #94a4b4; }
::placeholder { color: #94a4b4; }

hr {
  border: 0;
  border-bottom: 1px solid #eaeaea;
  margin: 24px 0;
}

/* === RESPONSIVE DESIGN (Mobile First) === */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 900px) {
  .services-grid,
  .team {
    gap: 18px;
  }
  .service-card { min-width: 220px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.57rem; }
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 19px 15px 15px 15px;
    font-size: 0.97rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .services-grid, .team {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .service-card { max-width: 99vw; }
  .testimonial-card, .faq-item {
    min-width: 0;
    padding: 14px 8px;
  }
  .section, section {
    padding: 26px 0 24px 0;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  table, th, td {
    font-size: .98em;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .container { padding: 0 6px; }
  .cookie-modal-content { padding: 16px 7px 12px 12px; }
  .service-card {
    padding: 20px 8px;
  }
  .offer-banner { padding: 20px 8px; }
}
/* === END OF CSS === */