/* RESET & BASE STYLES */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F4F6;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #264653;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #E76F51;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 10px; background: #F4F4F6; }
::-webkit-scrollbar-thumb { background: #E9C46A; border-radius: 8px; }

/* BRAND FONTS */
h1, h2, h3, .cta-primary, .main-nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* COLOR PALETTE */
:root {
  --primary: #264653;
  --secondary: #E9C46A;
  --accent: #F4F4F6;
  --danger: #E76F51;
  --vibrant-1: #23CE6B;
  --vibrant-2: #2A9D8F;
  --vibrant-3: #E76F51;
  --card-shadow: 0 8px 28px rgba(66, 87, 115, 0.18);
  --radius: 20px;
  --focus: #FFCB0F;
}

/* CONTAINERS && SPACING */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(66,87,115,0.25);
  transform: translateY(-4px) scale(1.017);
}
.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: 24px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  color: #222;
  font-size: 17px;
  line-height: 1.7;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #E9C46A 0%, #F4F4F6 68%);
  padding: 65px 0 55px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 32px;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0px 5px 16px rgba(236,196,106,0.10);
}
.hero p {
  font-size: 1.18rem;
  color: #192E3A;
  margin: 0 0 16px 0;
  max-width: 650px;
}

/* NAVIGATION */
header {
  background: #fff;
  border-bottom: 3px solid var(--secondary);
  z-index: 50;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  font-size: 1.08rem;
}
.main-nav a {
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 0.025em;
  padding: 7px 18px;
  border-radius: 30px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus:not(.cta-primary) {
  background: var(--secondary);
  color: #222;
}
.main-nav a.cta-primary {
  background: var(--danger);
  color: #fff;
  font-size: 1.05rem;
  padding: 10px 28px !important;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(231,111,81,0.12);
  text-shadow: 0 2px 8px rgba(231,111,81,0.08);
  transition: background 0.22s, box-shadow 0.22s, color 0.2s;
}
.main-nav a.cta-primary:hover,
.main-nav a.cta-primary:focus {
  background: #23CE6B;
  color: #fff;
  box-shadow: 0 6px 32px rgba(35,206,107,0.17);
}

/* MOBILE NAVIGATION BURGER */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 102;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(236,196,106,0.10);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 150;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.44,.52,.23,.98);
  box-shadow: 10px 0 60px rgba(38,70,83,0.12);
  padding: 0 0 40px 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--primary);
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 200;
  cursor: pointer;
  padding: 2px 12px;
  border-radius: 14px;
  transition: background 0.14s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--danger);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 90px;
  gap: 26px;
  padding: 0 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 17px 0;
  border-bottom: 1.5px solid var(--accent);
  transition: color 0.14s;
  border-radius: 0;
  font-weight: 700;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--danger);
  background: none;
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 13px;
    font-size: 0.99rem;
  }
}
@media (max-width: 950px) {
  .main-nav {
    gap: 9px;
    font-size: 0.93rem;
  }
}
@media (max-width: 870px) {
  .main-nav a:not(:first-child) {
    display: none;
  }
  .main-nav a:first-child {
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    justify-content: flex-start;
  }
  .main-nav a {
    display: none;
  }
  .main-nav a:first-child {
    display: block !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* SECTION TYPOS & SPACING */
h1 {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 16px;
}
h2 {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 14px;
  margin-top: 0;
}
h3 {
  font-size: 1.25rem;
  color: var(--vibrant-3);
  margin-bottom: 10px;
}
p {
  color: #222;
  font-size: 1rem;
  margin-bottom: 10px;
}
.text-section {
  margin-bottom: 0;
}
.text-section ul,
.text-section ol {
  margin-bottom: 14px;
  padding-left: 22px;
}
.text-section li {
  margin-bottom: 8px;
  padding-left: 0;
  list-style: disc inside;
}

/* FEATURES */
.features ul, .services ul, .milestones ul, .why-us ul, .stats ul, .blog-list ul, .blog-intro ul, .faq dl {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}
.features ul li, .services ul li, .milestones ul li, .why-us ul li, .stats ul li, .blog-list ul li, .blog-intro ul li, .faq dl dt, .faq dl dd {
  font-size: 1.09rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
}
.features ul li img, .services ul li img, .stats ul li img, .text-section img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
}
.faq dl dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
}
.faq dl dd {
  color: #264653;
  margin-left: 0px;
  margin-bottom: 8px;
}

/* CTA */
.cta {
  background: linear-gradient(97deg, #F4F4F6 0, #E9C46A 95%);
  padding: 44px 20px 34px 20px;
  text-align: center;
  box-shadow: 0 11px 40px 0 rgba(38,70,83,0.07);
  border-radius: var(--radius);
  margin-bottom: 60px;
}
.cta h2 {
  color: #264653;
  font-size: 2rem;
  margin-bottom: 22px;
}
.cta-primary {
  background: var(--vibrant-2);
  color: #fff;
  padding: 13px 38px;
  font-size: 1.17rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  letter-spacing: 0.04em;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  transition: background 0.21s, box-shadow 0.19s, color 0.21s, transform 0.19s;
  box-shadow: 0 4px 19px rgba(42,157,143,0.09);
  margin-top: 10px;
  margin-bottom: 12px;
  display: inline-block;
}
.cta-primary:focus,
.cta-primary:hover {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 8px 30px 0 rgba(231,111,81,0.16);
  transform: translateY(-2px) scale(1.031);
}

/* CARDS AND GRIDS (unmistakably flex only) */
.card-container, .content-grid, .features ul, .services ul, .milestones ul, .why-us ul, .stats ul, .blog-list ul, .blog-intro ul, .faq dl {
  gap: 20px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(38,70,83,0.12);
  border-left: 11px solid var(--vibrant-3);
  padding: 22px 28px;
  color: #222;
  font-size: 1.13rem;
}
.testimonial-card span {
  color: #2A9D8F;
  font-size: 1rem;
  font-weight: 600;
}
.star-rating {
  color: var(--secondary);
  font-size: 1.3em;
  letter-spacing: 0.15em;
}

/* MAP placeholder */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  background: #F4F4F6;
  border-radius: 15px;
  color: #8A95A3;
  font-size: 1.13rem;
  font-style: italic;
  border: 1.5px dashed var(--secondary);
  margin: 14px 0;
  padding: 14px;
}

/* FOOTER */
footer {
  background: #264653;
  color: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 -3px 15px 0 rgba(38,70,83,0.09);
  margin-top: 70px;
}
footer .container {
  padding-top: 44px;
  padding-bottom: 10px;
}
.footer-main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 38px;
  margin-bottom: 24px;
}
.footer-main > * {
  flex: 1 1 140px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: 0;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #23CE6B;
}
.footer-contact span, .footer-contact a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 7px;
}
.footer-contact img {
  margin-right: 7px;
  width: 22px;
  height: 22px;
}
.footer-hours {
  color: #E9C46A;
  font-size: 1rem;
  margin-top: 10px;
}
.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  color: #B2C4D6;
  padding: 16px 0 6px 0;
}

/* CONFIRMATION PAGE (thank-you) */
.confirmation .text-section {
  gap: 14px;
  margin-top: 13px;
}
.confirmation .cta-primary {
  margin-top: 22px;
}

/* POLICY PAGES (RODO, Polityka, Regulamin) */
.policy {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 16px;
  box-shadow: 0 3px 18px rgba(236,196,106,0.07);
  margin-bottom: 60px;
}
.policy h1 {
  font-size: 2rem;
  color: var(--primary);
}
.policy .text-section {
  margin-top: 19px;
}
.policy ol, .policy ul {
  padding-left: 28px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, .main-nav a, .mobile-nav a, .card, .testimonial-card, .mobile-menu, .mobile-menu-close {
  transition: background 0.17s, box-shadow 0.22s, color 0.14s, transform 0.12s;
}
.cta-primary:active {
  transform: scale(0.97);
  filter: brightness(1.07);
}
.card:active {
  transform: scale(0.98);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 990px) {
  .footer-main { gap: 17px; }
}
@media (max-width: 768px) {
  .footer-main { flex-direction: column; gap: 22px; }
  .hero h1 { font-size: 2rem; }
  .cta h2 { font-size: 1.4rem; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
}
@media (max-width: 690px) {
  .hero, .hero .container, .container { padding-left: 9px; padding-right: 9px; }
  .card, .testimonial-card { padding: 18px 12px; }
  .section, .cta { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 600px) {
  .hero { padding: 42px 0 18px 0; }
  .footer-main { gap: 7px; }
}
@media (max-width: 490px) {
  .card, .testimonial-card { padding: 11px 5px; font-size: 0.99rem; }
  .cta { padding: 15px 6px; }
}

/* FLEXBOX ADAPTIVE LAYOUTS */
@media (max-width: 990px) {
  .footer-main { flex-direction: column; }
  .content-wrapper { gap: 19px; }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-main { flex-direction: column; gap: 7px; }
}

/* BUTTONS (generic, stateful) */
button, .cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  outline: none;
  border: none;
}
button:active, .cta-primary:active {
  opacity: 0.92;
  transform: scale(0.985);
}


/***********************************************************/
/* COOKIE CONSENT BANNER & MODAL                         */
/***********************************************************/
#cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1001;
  background: #192E3A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 18px;
  box-shadow: 0 -8px 34px 0 rgba(42,157,143,0.22);
  border-radius: 16px 16px 0 0;
  font-size: 1.09rem;
  transition: transform 0.34s cubic-bezier(.42,0,.59,1);
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
}
#cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 24px;
  border-radius: 28px;
  border: none;
  background: var(--vibrant-2);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.19s, transform 0.15s;
  outline: none;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.deny {
  background: var(--danger);
  color: #fff;
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: #23CE6B;
  color: #fff;
  transform: scale(1.04);
}

/* COOKIE PREFERENCES MODAL */
#cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.47);
  z-index: 2004;
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
}
#cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal {
  background: #fff;
  color: var(--primary);
  min-width: 320px;
  max-width: 95vw;
  padding: 40px 24px 34px 24px;
  border-radius: 24px;
  box-shadow: 0 9px 38px 0 rgba(38,70,83,0.21);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: cookie-modal-in 0.32s cubic-bezier(.54,.18,.45,1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: scale(0.90) translateY(32px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
#cookie-modal h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: 14px; }
#cookie-modal-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.09rem;
}
.cookie-category label {
  font-weight: bold;
  color: var(--vibrant-2);
  margin-right: 6px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--vibrant-2);
  outline: 2px solid var(--secondary);
  width: 18px; height: 18px;
}
.cookie-category .always-on {
  background: var(--secondary);
  color: var(--primary);
  font-size: 0.95em;
  padding: 2px 9px;
  border-radius: 10px;
  margin-left: 5px;
}
#cookie-modal .modal-btns {
  display: flex;
  gap: 11px;
  margin-top: 10px;
}
#cookie-modal .cookie-btn {
  width: auto;
  flex: none;
  min-width: 110px;
}
#cookie-modal .cookie-btn.deny {
  background: var(--danger);
  color: #fff;
}
#cookie-modal .cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
#cookie-modal-close {
  position: absolute;
  right: 20px; top: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s, color 0.18s;
}
#cookie-modal-close:hover, #cookie-modal-close:focus {
  background: var(--danger);
  color: #fff;
}

/* HIDE BANNER/MODAL FOR PRINT */
@media print {
  #cookie-consent-banner, #cookie-modal-overlay { display: none !important; }
}

/* COLOR & VIBRANCY - VIBRANT_ENERGETIC ACCENTS */
thead, th { background: var(--secondary); color: var(--primary); }
thead, th, td { padding: 10px; }
@media (max-width: 600px) {
  #cookie-modal { min-width: unset; padding: 22px 7px 20px 7px; }
  #cookie-modal h2 { font-size: 1.08rem; }
}

/**************************************************************/
/*         END OF SHIMMER LAMPY VIBRANT ENERGETIC CSS         */
/**************************************************************/
