/* ========================================== 
   RESET & BASELINE NORMALIZATION
========================================== */
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;
}
body {
  line-height: 1.5;
  background: #FFFDF6;
  color: #222;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: 0;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==========================================
   BRAND COLORS & FONTS
========================================== */
:root {
  --primary: #15616D;
  --secondary: #F4D35E;
  --accent: #FFFDF6;
  --brand-green: #3fbb88;
  --brand-orange: #fd7e14;
  --brand-hotpink: #e73c7e;
  --brand-blue: #177e89;
  --headline: #181F1C;
  --body: #222;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--body);
  background: var(--accent);
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', cursive, sans-serif;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0.5px;
  color: var(--headline);
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
h4, h5, h6 { font-size: 1rem; }
p, ul li, ol li { font-size: 1rem; margin-bottom: 12px; }
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* Artistic/Creative Font Effects */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 8px;
  background: var(--secondary);
  border-radius: 8px;
  position: absolute;
  left: 0;
  bottom: -8px;
  opacity: 0.9;
}
h2::after { width: 36px; height: 6px; }

/* ==========================================
   LAYOUT CONTAINERS & FLEXBOX
========================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

/* NAVBAR */
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 20px 0 12px 0;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing:0.4px;
  transition: color .2s;
  padding: 4px 12px;
  border-radius: 24px;
}
.main-nav a:hover {
  background: var(--secondary);
  color: var(--brand-hotpink);
  box-shadow: 2px 4px 16px 0px rgba(244,211,94,0.16);
}
.main-nav .cta-nav {
  background: var(--brand-hotpink);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px 8px 30px 8px;
  margin-left: 16px;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 2px 16px rgba(241,89,150,0.08);
  transition: background 0.2s, color 0.2s, box-shadow .2s;
}
.main-nav .cta-nav:hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(241,89,150,0.16);
}

/* BURGER: MOBILE ONLY (hidden on desktop) */
.mobile-menu-toggle {
  background: var(--brand-hotpink);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
  z-index: 102;
  box-shadow: 0 4px 16px 0px rgba(231,60,126,0.18);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--brand-hotpink);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ========== MOBILE MENU OVERLAY ========== */
.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: #FFFDF6;
  box-shadow: 0 12px 38px 0px rgba(21,97,109,0.12);
  transform: translateX(-105vw);
  transition: transform .35s cubic-bezier(.77,0,.175,1);
  z-index: 2001;
  padding: 38px 20px 20px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: var(--brand-hotpink);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-hotpink);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--brand-hotpink);
  font-weight: 700;
  letter-spacing:0.25px;
  padding: 12px 0 12px 10px;
  border-radius: 12px 32px 12px 32px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==========================================
   HERO & SECTION SPACING
========================================== */
.hero {
  background: linear-gradient(110deg, #F4D35E 0%, #FFFDF6 70%);
  border-radius: 0 0 38px 38px / 0 0 32px 32px;
  box-shadow: 0 6px 30px 0px rgba(21,97,109,0.09);
  margin-bottom: 56px;
  padding-top: 48px;
  padding-bottom: 56px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: var(--brand-hotpink);
  font-size: 2.8rem;
  letter-spacing: 1px;
  text-shadow: 3px 2px 17px rgba(231,60,126,0.08);
}
.hero p {
  font-size: 1.18rem;
  color: #234;
  font-weight: 500;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 36px 0;
    border-radius: 0 0 26px 26px / 0 0 18px 18px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* Section general spacing overrides (as per requirement) */
section:not(.hero):not(.testimonials) {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==========================================
   FEATURE & SERVICE FLEX GRIDS
========================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 24px 42px 24px 14px;
  box-shadow: 0 2px 22px 0px rgba(21,97,109,0.08);
  padding: 26px 22px 20px 22px;
  max-width: 320px;
  min-width: 240px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
}
.feature-item:hover {
  box-shadow: 0 8px 28px var(--brand-hotpink, #EA709D);
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
}

/* Service Cards (Index, Trasy rowerowe) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.service-card {
  background: #fff;
  border-radius: 18px 48px 14px 26px;
  box-shadow: 0 2px 20px 0px rgba(244,211,94,0.12);
  padding: 32px 22px 24px 22px;
  flex: 1 1 260px;
  max-width: 400px;
  min-width: 210px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 10px solid var(--brand-hotpink);
  transition: box-shadow .18s, transform .17s;
}
.service-card:hover {
  box-shadow: 0 8px 36px var(--brand-hotpink, #EA709D);
  transform: scale(1.03) rotate(1deg);
}

/* Responsive grid flexes */
@media (max-width: 900px){
  .feature-grid, .service-cards, .card-container, .card-grid {
    gap: 16px;
  }
}
@media (max-width: 700px){
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================
   TESTIMONIALS & CARD PATTERNS
========================================== */
.testimonials {
  background: linear-gradient(100deg, #FFFDF6 55%, #F4D35E 100%);
  border-radius: 38px 38px 0 0 / 30px 30px 0 0;
  margin-bottom: 60px;
  padding: 40px 0 52px 0;
}
.testimonials h2, .testimonials h1 {
  color: var(--primary);
  margin-bottom: 32px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 22px 28px;
  border-radius: 32px 20px 32px 18px;
  background: #fff;
  box-shadow: 0 2px 22px 0px rgba(21,97,109,0.08);
  margin-bottom: 20px;
  margin-top: 0;
  max-width: 560px;
  border-left: 7px solid var(--brand-green);
}
.testimonial-card strong {
  color: var(--brand-hotpink);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin-top: -6px;
}
.testimonial-card p {
  color: #252525;
  font-size: 1.09rem;
  letter-spacing: -0.013em;
}

@media (max-width: 600px){
  .testimonial-card {
    padding: 16px 10px 16px 14px;
    max-width: 99vw;
  }
}

/* Spacing between testimonials (min 20px) */
.testimonial-card + .testimonial-card {
  margin-top: 24px;
}

/* ==========================================
   SECTION FLEX SPACING STYLES
========================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px 32px 20px 32px;
  box-shadow: 0 2px 18px 0px rgba(21,97,109,0.07);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/*******************************************
 ABOUT-US, LISTS, TEAM, STATS, ETC.
*******************************************/
.feature-list,
.trail-list,
.service-list,
.stats-counter ul,
.achievement-badges ul,
.included-services,
.extra-options,
.included-features,
ul.booking-rules,
.difficulty-levels ul {
  margin-top: 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 22px;
}
.feature-list li::before, .trail-list li::before, .service-list li::before, .included-services li::before, .included-features li::before, .extra-options li::before, .booking-rules li::before, .difficulty-levels li::before {
  content: "\2022 ";
  color: var(--brand-hotpink);
  font-weight: 900;
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
}

.stats-counter ul {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.stats-counter li {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 18px 32px 18px 10px;
  padding: 22px 18px;
  min-width: 160px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 12px 0px rgba(244,211,94,0.13);
}
@media (max-width: 760px){
  .stats-counter ul {
    flex-direction: column;
    gap: 16px;
  }
  .stats-counter li {
    min-width: 98vw;
    border-radius: 18px;
  }
}

/*******************************************
 PRICING TABLE & TABLES
*******************************************/
.pricing-table {
  width: 100%;
  border-collapse: separate;
  background: #fff;
  margin: 24px 0 24px 0;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0px rgba(21,97,109,0.07);
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 10px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #F4D35E55;
}
.pricing-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.pricing-table td {
  background: #fff;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .pricing-table th, .pricing-table td {
    padding: 8px 4px;
    font-size: 0.98rem;
  }
}

/*******************************************
 CTA BUTTONS STYLES
*******************************************/
.cta-btn, .secondary-cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  color: #fff;
  background: var(--brand-hotpink);
  border-radius: 36px 12px 36px 8px;
  padding: 16px 34px;
  border: none;
  box-shadow: 0 6px 26px 0px rgba(231,60,126,0.24);
  margin-top: 12px;
  min-width: 200px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background .2s,box-shadow 0.18s, color .19s, transform 0.13s;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--brand-hotpink);
  box-shadow: 0 8px 34px 0px rgba(244,211,94,0.28);
  transform: scale(1.045) skewY(-1.2deg);
}
.secondary-cta-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 10px 38px 10px 34px;
  box-shadow: 0 3px 14px 0px rgba(21,97,109,0.11);
  margin-left: 8px;
}
.secondary-cta-btn:hover, .secondary-cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}

/*******************************************
 COOKIE BANNER AND COOKIE MODAL
*******************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  background: #fff;
  border-top: 4px solid var(--secondary);
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -4px 24px 0px rgba(20,86,94,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.03rem;
  width: 100vw;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(160px);
  pointer-events: none;
}
.cookie-banner strong {
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: 14px 22px 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--primary);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0px rgba(244,211,94,0.1);
}
.cookie-btn.accept {
  background: var(--brand-hotpink);
  color: #fff;
}
.cookie-btn.accept:hover { background: var(--primary); color: #fff; }
.cookie-btn.reject { background: var(--primary); color: #fff; }
.cookie-btn.reject:hover { background: #CA3847; color: #fff; }
.cookie-btn.settings {
  background: #fff;
  color: var(--brand-hotpink);
  border:1px solid var(--brand-hotpink);
}
.cookie-btn.settings:hover {
  background: var(--brand-hotpink);
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3000;
  min-width: 340px;
  max-width: 98vw;
  background: #fff;
  border-radius: 26px 32px 22px 22px;
  box-shadow: 0 12px 56px 0px rgba(21,97,109,0.33);
  padding: 32px 28px 20px 28px;
  transform: translate(-50%,-50%) scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--brand-hotpink);
  margin-bottom: 14px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  font-size: 2rem;
  color: var(--brand-hotpink);
  background: var(--secondary);
  border-radius: 50%;
  padding: 4px 8px;
  line-height: 1;
  border: none;
}
.cookie-modal-content{
  margin-bottom:20px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-option label {
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  color: var(--primary);
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: #eee;
  position: relative;
  appearance: none;
  outline: none;
  cursor: pointer;
  border: 1.5px solid #DDD;
  vertical-align: middle;
  transition: background .17s, border .17s;
}
.cookie-toggle:checked {
  background: var(--brand-hotpink);
  border-color: var(--brand-hotpink);
}
.cookie-toggle:disabled {
  background: #aaa;
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  justify-content: flex-end;
}

/*******************************************
 FOOTER FLEX & STYLES
*******************************************/
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 44px 0 26px 0;
  border-top: 6px solid var(--primary);
  margin-top: 72px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  min-width: 160px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
  align-items: flex-start;
}
.footer-menu a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background .18s, color .18s;
}
.footer-menu a:hover {
  background: var(--brand-hotpink);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.99rem;
  color: #234;
  min-width: 200px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    gap: 16px;
    padding: 24px 0 20px 0;
    margin-top: 52px;
  }
  .footer-logo,
  .footer-menu,
  .footer-contact {
    min-width: 0;
  }
}

/*******************************************
 FORMS, MAP, CONTACT DETAILS
*******************************************/
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-left: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
}
.map {
  background: #fff9e0;
  border-radius: 18px 22px 18px 38px;
  padding: 14px 20px;
  margin: 10px 0 12px 0;
  box-shadow: 0 1px 10px rgba(244,211,94,0.07);
}
.map h2 {
  color: var(--brand-hotpink);
  font-size: 1.18rem;
  margin-bottom: 6px;
}

/*******************************************
 UTILITY & ACCESSIBILITY
*******************************************/
:focus {
  outline: 2px solid var(--brand-hotpink);
  outline-offset: 2px;
}
@media (max-width: 540px){
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Hide visually but accessible (for cookie toggles, etc.) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -2px;
}

/*******************************************
 TRANSITIONS & MICROINTERACTIONS
*******************************************/
a, button, .cta-btn, .secondary-cta-btn, .cookie-btn, .feature-item, .service-card, .footer-menu a, .main-nav a {
  transition: background .2s, color .2s, box-shadow .19s, transform .14s;
}

/*******************************************
 RESPONSIVE DESIGN BREAKPOINTS (MOBILE FIRST)
*******************************************/
@media (max-width: 700px) {
  .feature-grid, .service-cards, .card-container, .card-grid, .footer-flex {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .section, section:not(.hero):not(.testimonials) {
    padding: 22px 4px;
  }
}
@media (max-width: 460px){
  .footer-flex { padding: 12px 0 14px 0; }
  .hero { padding: 12px 0 16px 0; }
}

/* Extra: Artistic Squiggle Divider */
.artistic-divider {
  width: 100px;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="10" viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><polyline points="0,5 10,6 25,4 35,8 48,2 63,8 80,4 95,8 100,5" fill="none" stroke="%23F4D35E" stroke-width="2.5" stroke-linecap="round"/></svg>') no-repeat center/contain;
  margin: 0 auto 28px auto;
}

/* =============== END =============== */
