/* 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, main, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7FDFD;
  color: #205375;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* BASE TYPOGRAPHY & BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap');
body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  color: #205375;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205375;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h1 { font-size: 2.5rem; color: #22A699; text-shadow: 1px 2px 12px #f2c14e33; }
h2 { font-size: 2rem; color: #205375; }
h3 { font-size: 1.4rem; color: #22A699; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  color: #205375;
  font-weight: 900;
}

/* LAYOUT: CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 32px 20px;
  margin-bottom: 32px;
  box-shadow: 0 2px 14px 0 #22a69915, 0 1.5px 7px #20537507;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 #20537511, 0 2px 7px #22A69909;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  transition: transform .18s cubic-bezier(.5,.2,.32,1), box-shadow .18s;
}
.card:hover {
  transform: translateY(-3px) scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 20px #22A69922, 0 2px 14px #F2C14E22;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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;
  margin-bottom: 20px;
  background: #FFFDEE;
  border-radius: 16px;
  box-shadow: 0 2px 10px #20537510;
  color: #222;
  position: relative;
  min-width: 0;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #205375;
  margin-bottom: 6px;
}
.testimonial-card cite {
  font-size: .95rem;
  color: #22A699;
  font-style: normal;
  font-family: 'Lato',Arial,sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FLEX: page-specific containers */
.values_grid, .team-short-bios, .services_grid, .technology_grid, .innovation_highlights, .news_feed, .newsletter_form, .team-roles {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .values_grid ul, .team-short-bios ul, .services_grid, .technology_grid ul, .news_feed ul {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
  .values_grid ul li, .team-short-bios ul li, .services_grid .service_item, .technology_grid ul li {
    flex: 1 1 220px;
    min-width: 220px;
    background: #f8f6fe;
    border-radius: 15px;
    padding: 20px 14px;
    margin-bottom: 0;
    font-size: 1.08rem;
    box-shadow: 0 0.5px 3px #22a69911;
  }
}

/* Header & Navigation (Playful Elements) */
header {
  background: #FFF;
  box-shadow: 0 2px 8px #2053750D;
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 18px 18px;
}
header nav {
  display: flex;
  gap: 18px;
  margin-left: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #205375;
  font-weight: 600;
  position: relative;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
header nav a:hover, header nav a:focus {
  background: #22A69922;
  color: #22A699;
}
header .btn-primary {
  margin-left: auto;
}

/* Main Buttons - Playful & Dynamic */
.btn-primary {
  background: #22A699;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 30px 14px 32px 14px;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 3px 14px #F2C14E13;
  margin-top: 12px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  transition: background .18s, transform .18s, box-shadow .18s;
  z-index: 1;
}
.btn-primary:after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #f2c14e11;
  opacity: 0;
  transition: opacity .35s;
  border-radius: 30px 14px 32px 14px;
  z-index: -1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F2C14E;
  color: #205375;
  transform: scale(1.035) rotate(-1.5deg);
  box-shadow: 0 6px 22px #22A69933, 0 0.5px 2px #20537509;
}
.btn-primary:hover:after, .btn-primary:focus:after {
  opacity: 1;
}
.btn-link {
  color: #22A699;
  background: none;
  font-weight: 700;
  padding: 3px 6px;
  font-family: 'Montserrat',Arial,sans-serif;
  border-radius: 7px;
  border: 2px solid #22A69933;
  transition: background .18s, color .18s, border .18s;
}
.btn-link:hover {
  background: #22A69911;
  color: #205375;
  border-color: #22A699;
}

/* Section Headings & Accents */
h2:after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 44px;
  height: 6px;
  background: #F2C14E;
  border-radius: 6px;
  margin-left: 12px;
}
h2 {
  position: relative;
  margin-bottom: 18px;
}

/* Animated Micro-interactions */
.card, .service_item, .testimonial-card, .newsletter_form, .feature-item {
  transition: box-shadow .18s, transform .18s, background .18s;
}
.card:hover, .service_item:hover, .feature-item:hover {
  background: #F2C14E18;
  transform: scale(1.025) rotate(-1deg);
  box-shadow: 0 7px 30px #F2C14E22, 0 1.5px 7px #22A69933;
}

/* Special: Service Tiles & Highlighted Price Tags */
.services_grid {
  flex-direction: column;
  gap: 20px;
}
.service_item {
  background: #f2f6fc;
  border-radius: 17px;
  box-shadow: 0 2px 12px #20537510;
  padding: 24px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service_item .price {
  background: #F2C14E;
  color: #205375;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  border-radius: 10px;
  padding: 6px 16px;
  align-self: flex-start;
  margin-top: 12px;
  box-shadow: 0 1px 7px #f2c14f26;
}

/* Outlined Icon & Decorative Accents */
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F2C14E22;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 0.5px 3px #20537511;
}
.social-links a:hover {
  background: #22A699;
  box-shadow: 0 3px 8px #22A69955;
}
.social-links img {
  width: 22px;
  height: 22px;
}

/* Footer: Fun & Trustworthy */
footer {
  background: #22A69908;
  color: #205375;
  font-size: 0.96rem;
  margin-top: 40px;
  border-top: 5px solid #22A69944;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px 0 16px 0;
}
.footer-main nav{
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.footer-main .brand-short {
  max-width: 300px;
}
.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  color: #205375;
  font-size: .97rem;
  opacity: .64;
}
.footer-main nav a {
  color: #205375;
  font-family: 'Montserrat',Arial,sans-serif;
  border-radius: 8px;
  padding: 3px 10px;
  font-weight: 700;
  transition: background .12s, color .14s;
}
.footer-main nav a:hover {
  background: #F2C14E33;
  color: #22A699;
}

/* Forms & Newsletter */
.newsletter_form {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f2c14e14;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 2px 12px #2053750a;
  font-size: 1.09rem;
}

/* Breadcrumb */
nav[aria-label="breadcrumb"] ul {
  display: flex;
  flex-direction: row;
  gap: 7px;
  color: #22A699;
  font-size: 0.97rem;
  font-family: 'Montserrat',Arial,sans-serif;
  margin-bottom: 18px;
}
nav[aria-label="breadcrumb"] a {
  color: #F2C14E;
  font-weight: 700;
  transition: color .13s;
}
nav[aria-label="breadcrumb"] a:hover {
  color: #22A699;
}

/* Filter Tabs (Aktualnosci) */
.filter_tabs {
  display: flex;
  gap: 12px;
  background: #22A69911;
  border-radius: 9px;
  padding: 7px 11px;
  font-family: 'Montserrat',Arial,sans-serif;
  margin-top: 16px;
}
.filter_tabs span {
  cursor: pointer;
  color: #205375;
  font-weight: 700;
  padding: 2px 11px;
  border-radius: 7px;
  transition: background .12s, color .13s;
}
.filter_tabs span:hover {
  background: #22A699;
  color: #fff;
}
.filter_tabs span:first-child {
  background: #F2C14E;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #205375;
  color: #fff;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -5px 32px #20537580;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.02rem;
  animation: banner-fadein 0.55s cubic-bezier(.45,.42,.36,1);
}
@keyframes banner-fadein {
  0% { transform: translateY(80px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner button {
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  transition: background .18s, color .16s, box-shadow .18s;
}
.cookie-banner .accept {
  background: #22A699;
  color: #fff;
  box-shadow: 0 2px 10px #22A69955;
}
.cookie-banner .accept:hover {
  background: #F2C14E;
  color: #205375;
}
.cookie-banner .reject {
  background: #fff;
  color: #205375;
  border: 2px solid #22A69977;
}
.cookie-banner .reject:hover {
  background: #F2C14E;
  color: #205375;
}
.cookie-banner .settings {
  background: #205375;
  color: #F2C14E;
  border: 2px solid #F2C14E66;
}
.cookie-banner .settings:hover {
  background: #F2C14E;
  color: #205375;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #205375cc;
  z-index: 5100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fadein .55s cubic-bezier(.35,.62,.24,1);
}
@keyframes modal-fadein {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #205375;
  border-radius: 18px;
  box-shadow: 0 12px 60px #20537555;
  padding: 35px 30px 28px 30px;
  min-width: 320px; max-width: 92vw;
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-drop .33s cubic-bezier(.48,.64,.24,1) 1;
}
@keyframes modal-drop {
  0%{transform: translateY(-80px);opacity:0;}
  100%{transform:translateY(0);opacity:1;}
}
.cookie-modal h2 {
  color: #22A699;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 14px;
  background: #f2c14e33;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .cookie-toggle[data-checked="true"] {
  background: #22A699CC;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .18s, background .16s;
}
.cookie-modal .cookie-toggle[data-checked="true"]:before {
  left: 18px;
  background: #F2C14E;
}
.cookie-modal .cookie-category label {
  font-weight: bold;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: #22A699;
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .close-modal:hover {
  background: #F2C14E;
  color: #205375;
}
.cookie-modal .cookie-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* Mobile Menu - Hamburger & Overlay */
.mobile-menu-toggle {
  display: block;
  position: absolute;
  top: 19px; right: 20px;
  width: 44px;
  height: 44px;
  background: #F2C14E;
  color: #205375;
  border-radius: 15px 32px 20px 14px;
  border: none;
  font-size: 2.1rem;
  z-index: 2050;
  cursor: pointer;
  box-shadow: 0 2px 8px #20537511;
  transition: background .15s, color .15s, box-shadow .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #22A699;
  color: #fff;
  box-shadow: 0 3px 12px #F2C14E33;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;height: 100vh;
  background: #22A699EE;
  z-index: 5100;
  transform: translateX(-100%);
  transition: transform .34s cubic-bezier(.74,0,.35,1.35);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 5px 0;
  font-size: 2.1rem;
  background: #F2C14E;
  color: #205375;
  border-radius: 14px 26px 24px 10px;
  border: none;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #205375;
  color: #F2C14E;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}
.mobile-menu .mobile-nav a {
  font-size: 1.3rem;
  color: #fff;
  background: #22A69955;
  font-family: 'Montserrat',Arial,sans-serif;
  padding: 13px 25px;
  border-radius: 16px;
  font-weight: 700;
  width: 80vw;
  text-align: center;
  box-shadow: 0 2px 7px #22A69999;
  transition: background .18s, color .18s;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  background: #F2C14E;
  color: #205375;
}
@media (max-width: 1030px) {
  header nav, header .btn-primary {
    display: none !important;
  }
}
@media (min-width: 1031px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .footer-main {
    gap: 22px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 810px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper, .newsletter_form {
    padding: 18px 10px;
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    border-radius: 10px;
    padding: 14px 6px;
  }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1rem; }
  .section {
    margin-bottom: 36px;
    padding: 22px 7px;
  }
  .card-container, .content-grid, .values_grid ul, .services_grid {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .footer-main {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .footer-main, .newsletter_form {
    flex-direction: column;
    gap: 10px;
    padding: 10px 3px;
  }
}

/* Smaller Elements, Lists */
ul, ol {
  padding-left: 26px;
  margin-bottom: 20px;
}
.content-wrapper ul li, .content-wrapper ol li,
.values_grid ul li, .services_grid .service_item, .team-short-bios ul li, .technology_grid ul li {
  margin-bottom: 8px;
  padding-left: 0;
  position: relative;
  font-size: 1.08rem;
}
.content-wrapper ul li:before, .values_grid ul li:before, .team-short-bios ul li:before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: #F2C14E;
  border-radius: 50%;
  margin-right: 8px;
}

/* Embedded Map & Case Logos */
.embedded_map {
  background: #22A69913;
  border-radius: 12px;
  padding: 18px 10px;
  font-size: 1.07rem;
  margin-bottom: 18px;
  box-shadow: 0 1px 6px #F2C14E15;
}
.client_logos {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.client_logos img {
  width: 60px; height: auto;
}

/* Playful Micro-animation on hover for links */
a:not(.btn-primary):not(.btn-link):hover {
  color: #F2C14E;
}

/* Accent for important text */
.accent, em {
  color: #F2C14E;
  font-style: normal;
  font-weight: 700;
}

/* Hide visually but keep for accessibility (for cookie modal toggles, etc.) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Misc Playful, Animated Elements */
@keyframes pulseGlow {
  0% {box-shadow:0 0 12px 5px #f2c14e36;}
  60%{box-shadow:0 0 28px 13px #f2c14e21;}
  100%{box-shadow:0 0 12px 5px #f2c14e36;}
}
.btn-primary:focus {
  animation: pulseGlow 800ms cubic-bezier(.55,0,.4,1.5) 1;
}

/* Utilities */
.m-0 { margin: 0; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* Animate entry for .card, .testimonial-card */
.card, .testimonial-card {
  animation: fade-slidein .66s cubic-bezier(.4,.82,.37,1.13) both;
}
@keyframes fade-slidein {
  0%{opacity:0;transform:translateY(60px) scale(.95);}
  100%{opacity:1;transform:translateY(0) scale(1);}
}

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