/* ===================================
   Papierowy Rejs Minimalist Flex CSS
   =================================== */
/* RESET & NORMALIZE (Modern CSS Reset) */
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, 
main, 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 { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background: #fff;
  color: #222;
  font-family: 'Lato', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #25416B;
  transition: color .2s;
}
a:focus {
  outline: 2px dashed #EFBC2B;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #25416B;
  margin-bottom: 0.7em;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; letter-spacing: -0.5px; }
h2 { font-size: 2rem; margin-top: 1rem; }
h3 { font-size: 1.24rem; }
h4 { font-size: 1.10rem; }

p, li, .subheadline, a, span {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  font-weight: 400;
  line-height: 1.7;
}
.subheadline {
  font-size: 1.2rem;
  color: #25416B;
  opacity: 0.9;
}
strong, b { font-weight: 700; }

/* CONTAINER */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER & NAV */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(37,65,107,.04);
  padding: 0;
  border-bottom: 1px solid #E9E6DC;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #25416B;
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 4px;
  position: relative;
  transition: color 0.2s;
}
nav a:hover,
nav a.active {
  color: #EFBC2B;
}
.cta.primary {
  display: inline-block;
  background: #25416B;
  color: #fff !important;
  border-radius: 26px;
  padding: 10px 32px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 16px;
  box-shadow: 0 2px 16px rgba(37,65,107,0.08);
  border: none;
  transition: background .2s, box-shadow .2s, color .2s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #163150;
  color: #EFBC2B !important;
  box-shadow: 0 2px 28px rgba(37,65,107,.12);
}
.cta-link {
  display: inline-block;
  color: #25416B;
  font-weight: 600;
  border-bottom: 2px solid #25416B;
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.cta-link:hover, .cta-link:focus {
  color: #EFBC2B;
  border-color: #EFBC2B;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  position: fixed;
  right: 24px;
  top: 20px;
  z-index: 1030;
  font-size: 2.1rem;
  background: #FFF;
  border: 1px solid #e9e6dc;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25416B;
  box-shadow: 0 2px 10px rgba(37,65,107,.07);
  transition: background .2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E9E6DC;
  border-color: #25416B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  background: rgba(233,230,220,0.99);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #25416B;
  margin: 24px 28px 0 0;
  align-self: flex-end;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #EFBC2B;
}
.mobile-nav {
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
  margin-top: 36px;
  gap: 24px;
}
.mobile-nav a {
  color: #25416B;
  font-size: 1.25rem;
  padding: 10px 0;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 500;
  border-radius: 7px;
  transition: background .2s, color.2s;
  width: 90vw;
  text-align: center;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #25416B;
  color: #E9E6DC;
}
@media (min-width: 960px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex;
  }
}
@media (max-width: 959px) {
  header nav, .cta.primary {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: #E9E6DC;
  min-height: 350px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 18px 0;
}
.hero .container {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 42px;
}
.hero h1 {
  color: #25416B;
  font-size: 2.4rem;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.hero .cta.primary {
  margin-top: 12px;
}

/* SECTION SPACE RULES */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CONTENT WRAPPERS */
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
}

/* FEATURES GRID, FLEX-LAYOUTS */
.features-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.features-grid .feature, .features .feature {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 24px rgba(37,65,107,0.05);
  flex: 1 1 285px;
  min-width: 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s;
}
.features-grid .feature:hover, .features .feature:hover {
  box-shadow: 0 8px 32px rgba(37,65,107,0.09);
  transform: translateY(-4px) scale(1.012);
}
.feature img {
  width: 40px; height: 40px; margin-bottom: 10px;
}
.feature h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}
.feature p {
  color: #3a3a3a;
  font-size: 1rem;
  opacity: .95;
  margin-bottom: 0;
}

/* CARD/FEATURE CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(37,65,107,0.08);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 255px;
}

.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;
    align-items: flex-start;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TESTIMONIALS */
.testimonials {
  background: #f8f8f6;
  padding: 40px 0 32px 0;
  margin-bottom: 60px;
}
.testimonials .container {
  flex-direction: column;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-top: 30px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(37,65,107,.07);
  min-width: 220px;
  max-width: 400px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid #E9E6DC;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(37,65,107,.13);
  transform: translateY(-3.5px);
}
.testimonial-content p {
  color: #181818;
  font-size: 1.06rem;
  margin-bottom: 7px;
}
.testimonial-content .customer {
  color: #25416B;
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}
.star-rating {
  color: #EFBC2B;
  font-size: 1.2rem;
  font-family: 'Montserrat',Arial,sans-serif;
}

/* SELLING POINTS, TIPS, SERVICE FEATURES */
.selling-points, .tips-list, .service-features {
  margin: 36px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.selling-points li, .tips-list li,.service-features li {
  color: #25416B;
  font-size: 1.02rem;
  padding-left: 1.1em;
  position: relative;
}
.selling-points li::before, .tips-list li::before, .service-features li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  color: #EFBC2B;
  font-size: 1.02rem;
  font-weight: bold;
}

/* BLOG, POSTS, TAGS */
.blog-section {
  background: #f8f8f6;
  padding: 40px 0;
  margin-bottom: 60px;
  border-radius: 12px;
}
.blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 26px;
}
.blog-post-list li {
  background: #fff;
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: 0 2px 16px rgba(37,65,107,0.06);
  transition: box-shadow .15s;
}
.blog-post-list li:hover {
  box-shadow: 0 4px 32px rgba(37,65,107,0.14);
}
.blog-post-list h3 {
  font-size: 1.15rem;
  margin-bottom: 7px;
  color: #25416B;
}
.popular-tags {
  margin-bottom: 18px;
}
.popular-tags ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.popular-tags li {
  background: #E9E6DC;
  color: #25416B;
  border-radius: 7px;
  padding: 5px 14px;
  font-size: 0.98rem;
  letter-spacing: .4px;
  font-family: 'Montserrat',Arial,sans-serif;
  opacity: .88;
}

/* CONTACT PAGE */
.contact .content-wrapper {
  flex-wrap: wrap;
  gap: 32px;
  display: flex;
}
.contact .content-wrapper > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(37,65,107,.07);
  padding: 22px 19px 19px 19px;
  min-width: 230px;
  flex: 1 1 218px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.address-map {
  background: #E9E6DC !important;
  box-shadow: none !important;
  border-left: 3.5px solid #25416B;
  color: #25416B !important;
}
.business-hours ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.business-hours li {
  font-size: 1rem;
}
.contact .cta.primary {
  margin: 34px 0 0 0;
}

/* ABOUT + POLICY + TERMS + GDPR LAYOUTS */
.about-short .content-wrapper, .about .content-wrapper, .footer-policy .content-wrapper, .footer-gdpr .content-wrapper, .footer-cookie-policy .content-wrapper, .footer-terms .content-wrapper {
  padding: 19px 0 0 0;
  flex-direction: column;
  display: flex;
  gap: 24px;
  background: transparent;
}
.about-short ul, .about ul, .footer-policy ul, .footer-gdpr ul, .footer-terms ul {
  margin-left: 2px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.about-short ul li, .about ul li, .footer-policy ul li, .footer-gdpr ul li, .footer-terms ul li {
  color: #25416B;
  font-size: 1.01rem;
  padding-left: 1.1em;
  position: relative;
}
.about-short ul li:before, .about ul li:before, .footer-policy ul li:before, .footer-gdpr ul li:before, .footer-terms ul li:before {
  content: '\25E6';
  position: absolute;
  left: 0; top: 0;
  color: #EFBC2B;
  font-size: 1.01rem;
}

/* CTA SECTIONS */
.cta {
  background: #25416B;
  border-radius: 16px;
  text-align: center;
  min-height: 130px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 14px;
}
.cta .cta.primary {
  margin: 0 auto;
  box-shadow: 0 2px 24px rgba(239,188,43,0.11);
}

/* FOOTER */
footer {
  background: #E9E6DC;
  padding: 24px 0 8px 0;
  margin-top: 80px;
  border-top: 1px solid #dedbd4;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
footer nav a {
  color: #25416B;
  opacity: 0.89;
  font-size: 0.98rem;
  font-family: 'Montserrat',Arial,sans-serif;
}
footer nav a:hover {
  color: #EFBC2B;
}
footer img {
  height: 40px;
  opacity: 0.93;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #25416B;
  font-size: 0.96rem;
}
.contact-info img {
  width: 19px;
  margin-right: 6px;
  vertical-align: middle;
  opacity: .78;
  display: inline-block;
}
.contact-info span {
  display: flex;
  align-items: center;
}

/* COOKIE CONSENT BANNER & MODAL */
#cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  z-index: 1200;
  background: #fff;
  border-top: 2px solid #E9E6DC;
  box-shadow: 0 -4px 24px rgba(37,65,107,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px;
  gap: 24px;
  font-size: 1rem;
  transition: transform .36s cubic-bezier(.4,0,.2,1);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-consent-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
#cookie-consent-banner .cookie-banner-content {
  color: #25416B;
  font-size: 1rem;
  flex: 1 1 320px;
}
#cookie-consent-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
#cookie-consent-banner button {
  border-radius: 24px;
  padding: 6px 21px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  min-width: 120px;
  outline: none;
  border: none;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,65,107,0.07);
  transition: background .2s, color .2s;
}
#cookie-consent-banner .accept {
  background: #25416B;
  color: #fff;
}
#cookie-consent-banner .accept:hover, #cookie-consent-banner .accept:focus {
  background: #163150;
  color: #EFBC2B;
}
#cookie-consent-banner .reject {
  background: #E9E6DC;
  color: #25416B;
  border: 1px solid #dedbd4;
}
#cookie-consent-banner .reject:hover, #cookie-consent-banner .reject:focus {
  background: #fff3cd;
  color: #163150;
}
#cookie-consent-banner .settings {
  background: transparent;
  color: #EFBC2B;
  border: 2px solid #EFBC2B;
}
#cookie-consent-banner .settings:hover, #cookie-consent-banner .settings:focus {
  background: #25416B;
  color: #fff;
  border-color: #25416B;
}

#cookie-consent-modal {
  position: fixed;
  top: 0; left: 0;right: 0;bottom: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,65,107,0.21);
  transition: opacity .28s;
  opacity: 0;
  pointer-events: none;
}
#cookie-consent-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 54px rgba(37,65,107,0.13);
  max-width: 410px;
  width: 97vw;
  padding: 42px 28px 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: #25416B;
  letter-spacing: -0.2px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 11px 0;
}
.cookie-modal-content label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #25416B;
  cursor: pointer;
}
.cookie-modal-content .cookie-switch {
  position: relative;
  width: 38px; height: 22px;
  display: inline-block;
}
.cookie-modal-content .cookie-switch input[type="checkbox"] {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cookie-modal-content .slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0;right: 0;bottom: 0;
  background: #E9E6DC;
  border-radius: 20px;
  transition: background .15s;
}
.cookie-modal-content .cookie-switch input:checked + .slider {
  background: #EFBC2B;
}
.cookie-modal-content .slider:before {
  content: '';
  position: absolute;
  height: 16px; width: 16px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.09);
  transition: transform .15s;
  transform: translateX(0);
}
.cookie-modal-content .cookie-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  right: 17px; top: 15px;
  font-size: 1.22rem;
  color: #25416B;
  background: none;
  border: none;
  z-index: 2;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #EFBC2B;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  border: none;
  background: #25416B;
  color: #fff;
  transition: background .2s, color .2s;
}
.cookie-modal-actions button.reject {
  background: #E9E6DC;
  color: #25416B;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #EFBC2B;
  color: #163150;
}
.cookie-modal-actions button.reject:hover,
.cookie-modal-actions button.reject:focus {
  background: #fff3cd;
}

/* RESPONSIVE STYLES */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
    padding: 0 13px;
  }
}
@media (max-width: 960px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.43rem; }
  section, .section { padding: 28px 3.5vw; margin-bottom: 36px; }
  .features-grid, .features {
    gap: 19px;
  }
  .features-grid .feature, .features .feature,
  .card {
    min-width: 180px;
    padding: 20px 14px;
  }
  .testimonial-slider { gap: 13px; }
  .testimonial-card { padding: 16px 13px; }
  .about-short .content-wrapper,
  .about .content-wrapper,
  .footer-policy .content-wrapper,
  .footer-gdpr .content-wrapper,
  .footer-cookie-policy .content-wrapper,
  .footer-terms .content-wrapper {
    gap: 19px; padding: 11px 0 0 0;
  }
  .card-container, .content-grid {
    gap: 13px;
  }
  .contact .content-wrapper > div {
    padding: 13px 7px 10px 7px;
    min-width: unset;
  }
  .cta {
    padding: 24px 4vw;
    border-radius: 11px;
  }
}
@media (max-width: 489px) {
  .container { padding: 0 6px; }
  .features-grid .feature, .features .feature, .card {
    min-width: unset;
    padding: 11px 6px;
  }
  .testimonial-card { max-width: 98vw; min-width: unset; }
  .about-short .content-wrapper,
  .about .content-wrapper,
  .footer-policy .content-wrapper, .footer-gdpr .content-wrapper, .footer-cookie-policy .content-wrapper, .footer-terms .content-wrapper
  { padding: 7px 0 0 0; gap: 11px; }
}

/* MISCELLANEOUS & INTERACTIONS */
section a, .card a, .feature a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}
section a:focus, .card a:focus, .feature a:focus {
  outline: 2px solid #EFBC2B;
  outline-offset: 1.5px;
}
.card:hover, .feature:hover {
  box-shadow: 0 6px 24px rgba(37,65,107,0.13);
  transform: translateY(-2.5px) scale(1.012);
}

::-webkit-scrollbar { width: 11px; background: #faf8ee; }
::-webkit-scrollbar-thumb { background: #e9e6dc; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: #dedbd4; }

/* Remove grid/column/absolute forbidden properties - none are present */
