/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, html {
  height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  color: #18486B;
  background: #fff;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #18486B;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3EB597;
}
ul, ol {
  padding-left: 2em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
main {
  width: 100%;
  flex: 1 0 auto;
}

/* BRAND & CREATIVE ARTISTIC COLORS */
:root {
  --primary-color: #18486B;
  --secondary-color: #E5EFF6;
  --accent-color: #3EB597;
  --white: #FFFFFF;
  --offwhite: #FBFCFE;
  --shadow: 0 4px 20px 0 rgba(24, 72, 107, 0.10);
  --testimonials-bg: #E5EFF6;
  --testimonials-text: #18486B;
}

/* TYPOGRAPHY - ARTISTIC FLAVOUR */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary-color);
  line-height: 1.15;
}
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--accent-color);
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--primary-color);
}
h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  font-size: 1.125rem;
  margin-bottom: 14px;
  color: #274164;
}
blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent-color);
}
.body-lg {
  font-size: 1.25rem;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.18s;
}
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: 0 8px 32px -6px var(--accent-color);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--accent-color);
  color: var(--white);
  border: 2px solid var(--accent-color);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--white);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 24px -4px var(--accent-color);
  transform: scale(1.03);
}
button:active, .btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

/* HEADER & NAV */
header {
  background: var(--offwhite);
  box-shadow: 0 2px 10px rgba(24, 72, 107, 0.03);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 4vw 18px 4vw;
  max-width: 1160px;
  margin: 0 auto;
}
.main-nav > a img {
  height: 46px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  transition: background 0.13s, color 0.13s;
}
.main-nav ul li a:hover {
  background: var(--secondary-color);
  color: var(--accent-color);
}
.main-nav .btn-primary {
  margin-left: 8px;
}
/* Hide hamburger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 40;
  font-size: 2.2rem;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 28px;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(24, 72, 107, 0.13);
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--primary-color);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 0 48px 4px rgba(24, 72, 107, 0.15);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.55,.12,.38,1.05);
  padding: 24px 6vw 24px 6vw;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--accent-color);
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 16px;
  margin-right: 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: var(--primary-color);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 15px 0;
  border-radius: 28px;
  width: 100%;
  transition: background 0.12s, color 0.12s;
  text-align: left;
}
.mobile-nav a:hover {
  background: var(--secondary-color);
  color: var(--accent-color);
}

/* Responsive Mobile Nav/button toggle */
@media (max-width: 1020px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    padding: 16px 4vw 20px 4vw;
  }
}

/* LAYOUT & CONTAINER PATTERNS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 4vw;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--offwhite);
  border-radius: 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section, .text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 34px;
    padding: 28px 8px;
    border-radius: 18px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* CARD & FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px -8px var(--primary-color);
  transform: translateY(-4px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--testimonials-bg);
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(24,72,107,0.05);
  color: var(--testimonials-text);
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1.18rem;
  color: #20465f;
  font-style: italic;
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.08rem;
  color: var(--primary-color);
  font-weight: bold;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px -8px var(--accent-color);
  transform: scale(1.015);
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-accordion > div {
  background: var(--secondary-color);
  border-radius: 18px;
  box-shadow: 0 2px 9px 0 rgba(62, 181, 151, 0.03);
  padding: 18px 22px 12px 22px;
  transition: box-shadow 0.18s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 16px -6px var(--accent-color);
}
.faq-accordion h2 {
  font-size: 1.17rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: bold;
}

.contact-cta {
  margin-top: 12px;
  background: var(--accent-color);
  border-radius: 20px;
  padding: 16px 18px;
  font-size: 1.07rem;
}
.contact-cta a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}
.contact-cta a:hover {
  color: var(--primary-color);
}

/* SEARCH BAR (Poradnik) */
.search-bar {
  font-family: inherit;
  font-size: 1.1rem;
  padding: 12px 22px;
  border-radius: 28px;
  border: 2px solid var(--accent-color);
  background: #fff;
  margin-bottom: 22px;
  box-shadow: 0 1px 8px 0 rgba(62,181,151,0.07);
  outline: none;
  width: 100%;
  max-width: 420px;
  transition: border 0.15s, box-shadow 0.16s;
}
.search-bar:focus {
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 20px 0 rgba(24,72,107,0.09);
}

/* INFO + ICONS section (creative artistic) */
.content-wrapper > div > img, .infographic > img, .map-embed > img {
  max-width: 150px;
  margin-right: 20px;
  margin-bottom: 15px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(62,181,151,0.07);
}
.infographic {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: var(--primary-color);
  color: #fff;
  padding: 50px 0 22px 0;
  margin-top: 40px;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}
.footer-nav a {
  color: #fff;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: var(--accent-color);
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 1rem;
  opacity: 0.89;
}

/* MODALS & COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: var(--secondary-color);
  box-shadow: 0 -2px 38px 0 rgba(24,72,107,.09);
  color: var(--primary-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 24px 6vw 18px 5vw;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.55,.12,.38,1.05);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 2 1 320px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  padding: 0.66em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
}
.cookie-banner .btn-cookie-settings {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 0.6em 1.3em;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .btn-cookie-settings:hover {
  background: var(--accent-color);
  color: #fff;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 72, 107, 0.30);
  z-index: 9999;
  opacity: 1;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 98vw;
  width: 420px;
  box-shadow: 0 8px 60px -6px var(--primary-color);
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn 0.37s cubic-bezier(.55,.12,.38,1.05);
}
@keyframes cookieModalIn {
  from {transform: translateY(60px) scale(0.97); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal__close {
  position: absolute;
  top: 16px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent-color);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover {
  color: var(--primary-color);
}
.cookie-modal__content {
  font-size: 1.07rem;
  color: #24436B;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 8px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  padding: 8px 0;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--accent-color);
  width: 22px;
  height: 22px;
}
.cookie-category .locked {
  color: #aaa;
  font-size: 1rem;
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .main-nav, .container {
    max-width: 99vw;
    padding-left: 3vw;
    padding-right: 3vw;
  }
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 11px 7px;
  }
  .footer-info {
    font-size: 0.95rem;
    gap: 7px;
  }
  .footer-nav {
    font-size: 1rem;
    gap: 8px;
  }
}
@media (max-width: 500px) {
  h1, h2 {
    font-size: 1.37rem;
  }
  .search-bar {
    font-size: 1rem;
    padding: 7px 14px;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .section {
    padding: 14px 2vw;
  }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 0.5em 1.3em;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 18px;
  }
}


/* MICRO-INTERACTIONS & SUBTLE ANIMATIONS */
.btn-primary, .btn-secondary {
  will-change: transform, box-shadow;
}
.card, .testimonial-card, .faq-accordion > div {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:active, .testimonial-card:active, .faq-accordion > div:active {
  transform: scale(0.99);
}

/* UNIQUE ARTISTIC DETAILS */
h1, h2 {
  text-shadow:
    2px 1px 0 var(--secondary-color),
    0px 2px 8px rgba(62,181,151,0.14);
}
h1 span, h2 span {
  color: var(--accent-color);
  background: var(--secondary-color);
  border-radius: 8px 16px 8px 16px/15px 6px 32px 7px;
  padding: 2px 10px;
  display: inline-block;
  font-weight: 900;
  transition: background 0.15s;
}
h1 span:hover, h2 span:hover {
  background: var(--accent-color);
  color: var(--white);
}
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
}

/* Miscellaneous for good spacing */
.content-wrapper > * + * {
  margin-top: 0.5em;
}
.card-container > .card,
.content-grid > * {
  min-width: 240px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* MAP & INFOGRAPHIC */
.map-embed {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 10;
  margin: 18px 0 12px 0;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(24,72,107,0.10);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-embed img {
  width: 100%;
}

/* ACCESSIBILITY - FOCUS VISIBLE */
:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 1px;
}

/* HIDE default outlines on click, but show for keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}

/* Icons/Feature Icon List arrangement */
.content-wrapper > div > img:not(:last-child) {
  margin-right: 16px;
}

/* OL/UL RESETS */
ol, ul {
  margin-bottom: 18px;
  line-height: 1.7;
}
ol li, ul li {
  margin-bottom: 8px;
}

/* Decorative (artistic) dividers */
hr {
  border: none;
  height: 3px;
  background: var(--accent-color);
  width: 48px;
  margin: 36px auto;
  border-radius: 3px;
}

/* Thank You Page Enhanced */
.content-wrapper h1, .content-wrapper p {
  text-align: center;
}

/* END OF CSS */
