/* =============================
  VeloSfera | style.css
  Creative Artistic Flexbox-Only CSS
  Brand: Velosfera – Nowoczesne centrum rowerowe
  ============================= */

/* ===== 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #FBFBFC;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #F9F9F9;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.03em;
}
*::selection {
  background: #228B22;
  color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Typography ===== */
h1, h2, h3, .cta, .main-nav a, .footer-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
h1 {
  font-size: 2.2rem;
  color: #20426A;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 1px 3px 8px rgba(32, 66, 106, 0.05);
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  color: #228B22;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
h3 {
  font-size: 1.15rem;
  color: #20426A;
  font-weight: 600;
  margin-bottom: 10px;
}
p, ul, li {
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  color: #20426A;
  font-weight: 700;
}
a {
  color: #20426A;
  text-decoration: underline;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #228B22;
  outline: none;
}

/* ===== Layout Containers ===== */
.container {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ===== Section Styling ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0px;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/**** Artistic Background Sprinkles ****/
section:nth-child(odd) {
  /* Subtle colored shape (decorative absolute) */
  position: relative;
  overflow: visible;
}
section:nth-child(odd)::before {
  content: '';
  position: absolute;
  left: -80px; top: -40px;
  width: 150px; height: 150px;
  background: rgba(34, 139, 34, 0.08);
  border-radius: 52% 48% 46% 54%/58% 40% 60% 42%;
  pointer-events: none;
  z-index: 0;
}
section:nth-child(even)::after {
  content: '';
  position: absolute;
  right: -70px; bottom: -50px;
  width: 130px; height: 90px;
  background: rgba(32, 66, 106, 0.05);
  border-radius: 58% 42% 65% 35%/49% 59% 41% 51%;
  pointer-events: none;
  z-index: 0;
}

/* ====== Artistic Cards, Feature Grids, Flex Patterns ====== */
.feature-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-container { gap: 24px; }
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(32, 66, 106,0.07);
  margin-bottom: 20px;
  padding: 28px 22px;
  transition: transform 0.2s, box-shadow 0.25s;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.03) rotate(-1.1deg);
  box-shadow: 0 6px 34px 0 rgba(32, 66, 106,0.14);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex !important;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FAFAFF;
  padding: 20px 26px;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(32,66,106,0.07);
  margin-bottom: 20px;
  max-width: 670px;
  font-size: 1.1rem;
}
.testimonial-card blockquote {
  color: #222;
  font-size: 1.1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-style: italic;
}
.testimonial-card p { color: #333; margin: 0; }
.testimonial-card strong { font-weight: 700; color: #20426A; }

/**** Feature Item for UL-based features ****/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 0 8px 0;
}

ul li img, .feature-grid > div > img, .feature-grid > div > svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #F2F8F2;
  box-shadow: 0 2px 12px 0 rgba(34,139,34,0.09);
}

/**** Artistic List Bullets ****/
ul li::marker, ol li::marker {
  color: #228B22;
  font-size: 1.2em;
}

/**** Pricing Table ****/
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #F7FAFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(32, 66, 106, 0.07);
  margin-top: 16px;
}
.pricing-table th, .pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #EAEAEA;
}
.pricing-table th {
  background: #20426A;
  color: #fff;
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/**** Call To Action Buttons ****/
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #228B22;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 28px;
  padding: 14px 32px;
  font-size: 1.12rem;
  margin-top: 12px;
  box-shadow: 0 2px 18px 0 rgba(34,139,34,0.11);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.13s;
  outline: none;
}
.cta.primary {
  background: #20426A;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #20426A;
  color: #fff;
  box-shadow: 0 7px 24px 0 rgba(32, 66, 106,0.14);
  transform: translateY(-3px) scale(1.04);
}
.cta.primary:hover, .cta.primary:focus {
  background: #228B22;
  color: #fff;
}

/* ===== Header / Navigation ===== */
header {
  position: sticky;
  top: 0; left: 0; right: 0;
  background: #F9F9F9;
  z-index: 100;
  width: 100%;
  border-bottom: 1.5px solid #E3E9F1;
  box-shadow: 0 2px 8px rgba(32,66,106, .02);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  position: relative;
}
.main-nav a {
  color: #20426A;
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 19px;
  padding: 7px 16px;
  transition: background 0.18s, color 0.18s;
  margin-right: 0px;
}
.main-nav a.cta.primary {
  background: #20426A;
  color: #fff;
  margin-left: 15px;
  box-shadow: 0 3px 12px rgba(32,66,106, 0.09);
}
.main-nav a:hover, .main-nav a:focus {
  background: #228B22;
  color: #fff;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #228B22;
  color: #fff;
}
.main-nav img {
  height: 38px;
  margin-right: 12px;
}

header .mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  background: #20426A;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 2.08rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 103;
  box-shadow: 0 2px 8px 0 rgba(32,66,106,0.11);
  transition: background 0.15s, color 0.15s;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
  background: #228B22;
  color: #fff;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F9F9F9;
  z-index: 2000;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.75,.02,.3,1);
  box-shadow: -4px 0 24px 0 rgba(32,66,106,0.08);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #228B22;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  margin: 22px 33px 5px 0px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(34,139,34,0.14);
  align-self: flex-end;
  transition: background 0.18s, color 0.14s;
  z-index: 2031;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #20426A;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 30px 30px 30px;
  gap: 22px;
  width: 100%;
  margin-top: 0;
}
.mobile-nav a {
  color: #20426A;
  font-size: 1.16rem;
  font-weight: 700;
  padding: 12px 2px 12px 0;
  width: 100%;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.14s, color 0.13s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #228B22;
  color: #fff;
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #20426A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 35px 22px 14px;
  z-index: 9999;
  font-size: 1rem;
  box-shadow: 0 -3px 24px 0 rgba(32,66,106,0.13);
  animation: showCookieBanner 0.4s cubic-bezier(.75,.02,.3,1);
}
@keyframes showCookieBanner {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p { margin: 0; flex: 2; }
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  background: #228B22;
  color: #fff;
  border: none;
  padding: 9px 21px;
  font-size: 1rem;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
  margin-left: 0;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F9F9F9;
  color: #20426A;
}
.cookie-btn.reject {
  background: #fff;
  color: #20426A;
  border: 1.5px solid #20426A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #228B22;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #228B22;
  color: #fff;
  border-color: #228B22;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left:0; top:0; width: 100vw; height: 100vh;
  background: rgba(32,66,106,.27);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInModal 0.26s;
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 430px;
  width: 94vw;
  padding: 28px 28px 20px 28px;
  box-shadow: 0 7px 49px 0 rgba(32,66,106,0.17);
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #20426A;
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: #228B22;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.14s, color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #20426A;
  color: #fff;
}
.cookie-category {
  margin: 18px 0 6px 0;
  display: flex;
  align-items: center;
  gap: 19px;
  font-size: 1.02rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-category .toggle {
  width: 36px;
  height: 22px;
  background: #E4ECE3;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
  margin-left: 7px;
}
.cookie-category .toggle[data-enabled='true'] {
  background: #228B22;
}
.cookie-category .toggle::before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 100%;
  transition: transform 0.17s;
}
.cookie-category .toggle[data-enabled='true']::before {
  transform: translateX(14px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
footer {
  background: #20426A;
  color: #fff;
  padding: 44px 0 26px 0;
  margin-top: 100px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  text-decoration: underline;
  border-radius: 8px;
  padding: 6px 8px;
  font-weight: 600;
  transition: background 0.17s, color 0.13s;
  outline: none;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #20426A;
}
.footer-info {
  font-size: 1rem;
  color: #ccd8e9;
  padding-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===== Inputs & Tables (for forms, cookies modal etc.) ===== */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1.5px solid #E2E2EF;
  padding: 12px 16px;
  margin-bottom: 12px;
  transition: border 0.13s, box-shadow 0.13s;
  width: 100%;
  background: #F9F9F9;
  box-shadow: 0 1px 3px rgba(32,66,106,0.04);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #228B22;
  box-shadow: 0 0 0 3px rgba(34,139,34,0.07);
}
button {
  font-family: inherit;
}

/* ===== Success Page ===== */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  flex-direction: column;
  gap: 30px;
  background: #F5FFF5;
}

/* ===== Artistic Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0px); }
}
.section, section {
  animation: fadeInUp 0.75s cubic-bezier(.7,.03,.16,1) both;
}

/* ====== Responsive: Mobile-First ====== */
@media (max-width: 1000px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 860px) {
  .feature-grid, .content-grid, .card-container {
    gap: 16px;
  }
  .card {
    min-width: 160px;
    padding: 16px 10px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  section, .section {
    padding: 22px 3px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 14px 12px;
    font-size: 1rem;
  }
  .main-nav {
    display: none !important;
  }
  header .mobile-menu-toggle {
    display: flex !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 530px) {
  h1 {
    font-size: 1.26rem;
    padding-top: 2px;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.09rem;
    margin-bottom: 10px;
  }
  .mobile-menu {
    padding-left: 0;
  }
  .mobile-nav {
    padding: 10px 10px 24px 18px;
    font-size: 1rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 7px 14px 6px;
    font-size: 0.97rem;
    gap: 12px;
  }
  .cookie-consent-buttons {
    gap: 8px;
  }
  .cookie-modal {
    padding: 16px 7px 12px 7px;
  }
}

/********* Misc & Utility Spacing (no grid/columns!) ***********/
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-center { justify-content: center; }

/**** EXTRAS: Accordions, Focus, Hover States ****/
:focus-visible {
  outline: 2px dashed #228B22!important;
  outline-offset: 1px;
}

/* ===== Ensure No Overlapping / Spacing Gaps === */
section > .container, .container > .content-wrapper, .feature-grid > *, .card-container > *, .content-grid > * {
  margin-bottom: 0px;
  margin-top: 0px;
}

/***** Artistic Color Accents *******/
.feature-grid > div {
  background: #F2F8F2;
  border-radius: 17px;
  box-shadow: 0 1.5px 8px 0 rgba(34,139,34,0.06);
  padding: 18px 16px 14px 16px;
  min-width: 180px;
  transition: box-shadow 0.19s, transform 0.16s;
  position: relative;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 5px 24px 0 rgba(32,66,106,0.14);
  transform: translateY(-3px) scale(1.025) rotate(-0.5deg);
  z-index: 2;
}

/**** Table Section Artistic Borders ****/
table {
  border-radius: 14px;
  overflow: hidden;
}
th, td {
  text-align: left;
}

/**** Hide scroll when mobile menu/modal is open ****/
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/**** Misc: Hide visually ****/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/*
--- END ---
Creative Artistic Style for Velosfera / All Pages Responsive / Flexbox Only | By Senior CSS & UI
*/
