/* ------------------- CSS RESET & BASE ------------------- */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F7FA;
  color: #173365;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.25em;
}
a {
  color: #173365;
  text-decoration: none;
  transition: color .20s;
}
a:focus, a:hover {
  color: #EEDD6E;
  outline: none;
}
button {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #EEDD6E;
  outline-offset: 2px;
}

/* ------------------- CUSTOM FONT ------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #173365;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
}

@media (min-width: 600px) {
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.35rem;
  }
}

p {
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
  color: #173365;
}
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  max-width: 1200px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ------------------- HEADER / NAV ------------------- */
header {
  background: #fff;
  border-bottom: 4px solid #EEDD6E;
  box-shadow: 0 2px 8px rgba(23,51,101,0.07);
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 0 12px 0;
  justify-content: flex-start;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 16px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a.cta-button {
  background: #173365;
  color: #fff;
  font-size: 1.045em;
  letter-spacing: 0.02em;
  margin-left: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 14px 0 rgba(23,51,101,0.07);
  border: 2px solid #173365;
  transition: background 0.2s, color 0.2s, box-shadow .2s;
}
header nav a.cta-button:hover {
  background: #EEDD6E;
  color: #173365;
  border-color: #EEDD6E;
  box-shadow: 0 4px 22px 0 rgba(23,51,101,0.14);
}
header nav a img {
  display: inline-block;
  height: 36px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}
header nav a:first-child {
  padding: 0;
}
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  background: #EEDD6E;
  color: #173365;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 2rem;
  z-index: 30;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: #173365;
  color: #EEDD6E;
}

/* ------------------- MOBILE NAV ------------------- */
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,51,101,0.99);
  z-index: 1000;
  padding: 40px 20px 24px 20px;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(.57,.13,.14,.93);
}
.mobile-menu {
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.57,.13,.14,.93);
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 1000;
  background: rgba(23,51,101,0.97);
  display: flex;
  flex-direction: column;
  gap: 32px;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  color: #EEDD6E;
  background: transparent;
  font-size: 2.2rem;
  align-self: flex-end;
  border-radius: 8px;
  padding: 0 4px;
  margin-bottom: 16px;
  transition: background 0.15s, color 0.15s;
  border: 2px solid transparent;
}
.mobile-menu-close:hover {
  background: #EEDD6E;
  color: #173365;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 0;
  border-radius: 6px;
  background: none;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover {
  color: #EEDD6E;
  background: #fff2b0;
}
/* Hide desktop nav on mobile, show burger */
@media (max-width: 1050px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1051px) {
  .mobile-menu, .mobile-menu.active, .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* ------------------- SECTIONS & LAYOUTS ------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px 0 rgba(23,51,101,0.030);
}
.hero {
  margin-bottom: 60px;
  padding: 60px 0 50px 0;
  background: linear-gradient(120deg, #EEDD6E 0%, #fff 100%);
  border-bottom: 7px solid #173365;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 650px;
  gap: 16px;
}
.features, .services, .about, .contact, .faq, .team, .values, .steps, .process, .districts-overview, .districts-listing, .testimonials, .hours, .thankyou, .policy, .cta, .contact-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px 0 rgba(23,51,101,0.025);
}
.content-grid, .features ul, .services ul, .team ul, .district-cards, .faq-accordion, .opening-hours ul, .contact-info-list ul, .explanation-boxes, .amenities-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(23,51,101,0.14);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #f6f7fa;
  color: #173365;
  padding: 20px 28px;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(23,51,101,0.07);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 520px;
}
.testimonial-card p {
  color: #173365;
  font-size: 1.03em;
  margin-bottom: 0.25em;
}
.testimonial-card span {
  color: #173365;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.98em;
}
/* FAQ accordion boxed look */
.faq-accordion > div {
  background: #F6F7FA;
  padding: 18px 22px;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px 0 rgba(23,51,101,0.05);
}
.faq-accordion h3 {
  font-size: 1.1em;
  margin-bottom: 0.5em;
  font-weight: 700;
}
.faq-accordion p {
  color: #1a325f;
  font-size: 0.98em;
}
/* Steps list */
.steps ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  counter-reset: step;
}
.steps ol li {
  flex: 1 1 200px;
  background: #EEDD6E;
  color: #173365;
  border-radius: 12px;
  padding: 18px 18px 16px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(23,51,101,0.05);
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.steps ol li img {
  width: 36px; height: 36px; margin-right: 8px;
}
.steps ol li:before {
  counter-increment: step;
  content: counter(step);
  background: #173365;
  color: #EEDD6E;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  margin-right: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.tips-highlight {
  background: #173365;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(23,51,101,0.12);
  padding: 20px 24px;
  margin-top: 20px;
}
.tips-highlight h3 {
  color: #EEDD6E;
  margin-bottom: 12px;
}

/* Timeline (proces-zakupu) */
.process-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.process-timeline li {
  background: #173365;
  color: #fff;
  border-radius: 10px;
  padding: 16px 20px 16px 20px;
  box-shadow: 0 2px 10px rgba(23,51,101,0.08);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01em;
  margin-bottom: 0;
}
.explanation-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.explanation-boxes > div {
  flex: 1 1 250px;
  background: #EEDD6E;
  color: #173365;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 8px rgba(23,51,101,0.06);
  font-weight: 500;
}
.explanation-boxes h3 { color: #173365; margin-bottom: 7px; font-family: 'Montserrat', Arial, sans-serif; }

/* Districts */
.districts-listing .district-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.districts-listing .district-cards > div {
  background: #f6f7fa;
  border-radius: 11px;
  box-shadow: 0 2px 8px 0 rgba(23,51,101,0.04);
  padding: 20px 18px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 340px;
  margin-bottom: 0;
}

/* Services / Feature lists icons */
.features ul li, .services ul li, .values ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: none;
  margin-bottom: 8px;
  font-size: 1.02em;
}
.features ul li img, .services ul li img, .values ul li img {
  width: 30px; height: 30px;
}
.values ul li {
  background: #F6F7FA;
  border-radius: 7px;
  padding: 9px 12px;
  margin-bottom: 10px;
}
.services ul li span {
  color: #173365;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 5px;
}
.amenities-list ul {
  flex-direction: column;
  gap: 5px;
}
.amenities-list h3 {
  color: #173365;
  margin-bottom: 8px;
  font-weight: 700;
}

/* Contact details & Map */
.contact-details, .contact-info-list, .opening-hours, .address-block, .map, .next-steps-info {
  margin-bottom: 18px;
}
.contact-info-list ul { flex-direction: column; gap: 6px; }
.address-block {
  background: #F6F7FA;
  padding: 10px 18px;
  border-radius: 9px;
  color: #173365;
  font-weight: 600;
  font-size: 1.04em;
}

/* Thank you page */
.thankyou, .next-steps-info {
  background: #EEDD6E;
  color: #173365;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(23,51,101,0.065);
  padding: 42px 24px 28px 24px;
  text-align: center;
}
.next-steps-info a { color: #173365; text-decoration: underline; }


/* ------------------- BUTTONS ------------------- */
.cta-button, .cookie-banner-btn, .cookie-banner-settings, .cookie-modal-btn {
  display: inline-block;
  background: #173365;
  color: #fff;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  letter-spacing: 0.025em;
  border-radius: 8px;
  padding: 14px 32px;
  box-shadow: 0 2px 18px rgba(23,51,101,0.07);
  border: 2px solid #173365;
  text-align: center;
  cursor: pointer;
  transition: background .23s, color .18s, box-shadow .2s, border-color .17s, transform .16s;
  margin-top: 10px;
}
.cta-button:hover, .cookie-banner-btn:hover, .cookie-modal-btn:hover {
  background: #EEDD6E;
  color: #173365;
  border-color: #EEDD6E;
  box-shadow: 0 4px 24px 0 rgba(23,51,101,0.18);
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner-settings:hover {
  text-decoration: underline;
}

/* ------------------- FOOTER ------------------- */
footer {
  background: #173365;
  color: #fff;
  margin-top: 80px;
  padding: 32px 0 16px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -4px 28px rgba(23,51,101,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-bottom: 16px;
}
footer nav a {
  color: #EEDD6E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  transition: color .18s;
}
footer nav a:hover {
  color: #fff;
}
footer .text-section {
  color: #fff;
  font-size: .97em;
  text-align: center;
}

/* ------------------- COOKIE BANNER & MODAL ------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #173365;
  color: #fff;
  padding: 22px 14px 22px 14px;
  border-top: 4px solid #EEDD6E;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -5px 25px 0 rgba(23,51,101,0.15);
  gap: 16px;
  animation: cookie-slide-up .5s cubic-bezier(.47,.14,.28,1.3);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner-text {
  font-size: 1em;
  text-align: center;
  line-height: 1.5em;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner-btn {
  background: #EEDD6E;
  color: #173365;
  border: 2px solid #EEDD6E;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 26px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.15s;
}
.cookie-banner-btn.reject {
  background: #fff;
  color: #173365;
  border: 2px solid #173365;
}
.cookie-banner-settings {
  background: none;
  border: none;
  color: #EEDD6E;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0 5px;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1em;
}

.cookie-modal-overlay {
  display: none;
}
.cookie-modal-overlay.active {
  display: flex;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,51,101,.86);
  z-index: 2100;
  align-items: center;
  justify-content: center;
  animation: fadein-cookiebg 0.35s;
}
@keyframes fadein-cookiebg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #173365;
  border-radius: 16px;
  box-shadow: 0 6px 40px 0 rgba(23,51,101,0.18);
  max-width: 430px;
  min-width: 240px;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-modal-drop 0.42s cubic-bezier(.22,.61,.36,1);
}
@keyframes cookie-modal-drop {
  from { transform: translateY(-60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.15em;
  font-weight: 800;
  color: #173365;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .99em;
  margin-top: 2px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #EEDD6E;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.cookie-modal-btn {
  font-size: 1em;
  padding: 10px 20px;
  background: #173365;
  color: #fff;
  border: 2px solid #173365;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal-btn.reject {
  background: #fff;
  color: #173365;
  border-color: #173365;
}
.cookie-modal-btn.accept-all {
  background: #EEDD6E;
  color: #173365;
  border-color: #EEDD6E;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #173365;
  font-size: 1.5em;
  position: absolute;
  right: 22px;
  top: 15px;
  cursor: pointer;
  font-weight: bold;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .features ul, .services ul, .district-cards, .content-grid, .card-container {
    gap: 14px;
  }
  .testimonial-card {
    padding: 16px 10px;
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .section, .features, .about, .contact, .faq, .team, .values, .steps, .process, .districts-overview, .districts-listing, .testimonials, .hours, .policy, .thankyou, .cta, .contact-cta {
    padding: 18px 6px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  h1 {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .content-wrapper {
    padding: 0;
    gap: 10px;
  }
  footer {
    padding: 18px 0 8px 0;
    border-radius: 9px 9px 0 0;
  }
  .features ul, .services ul, .district-cards, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 5px;
  }
  .hero {
    padding: 18px 0 10px 0;
  }
  .card, .testimonial-card, .districts-listing .district-cards > div {
    padding: 12px 10px;
    border-radius: 7px;
  }
}
@media (max-width: 400px) {
  .cta-button, .cookie-banner-btn, .cookie-modal-btn {
    padding: 10px 12px;
    font-size: .97em;
  }
  .cookie-modal { padding: 20px 8px; }
}

/* Force mobile stacking */
@media (max-width: 768px) {
  .text-image-section, .process-timeline, .explanation-boxes {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

/* ------------------- MICRO-INTERACTIONS ------------------- */
.cta-button, .cookie-banner-btn, .cookie-banner-settings, .cookie-modal-btn {
  transition: background .23s, color .18s, box-shadow .22s, transform .17s;
}
.card, .testimonial-card, .districts-listing .district-cards > div, .explanation-boxes > div {
  transition: box-shadow 0.18s, transform 0.20s;
}
.card:hover, .testimonial-card:hover, .districts-listing .district-cards > div:hover, .explanation-boxes > div:hover {
  box-shadow: 0 8px 34px 0 rgba(23,51,101,0.13);
  transform: translateY(-2px) scale(1.015);
}

/* ------------------- ACCESSIBILITY ------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
