/* CSS RESET & BASE ------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #f7f6f3;
  color: #29425a;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #295279;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:focus, a:hover {
  text-decoration: underline;
  color: #547fb2;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border-radius: 8px;
}
input, select, textarea {
  border: 1px solid #e3e8ef;
  padding: 10px 14px;
  background: #fff;
  font-size: 1em;
  transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: #a2bca6;
}

/* TYPOGRAPHY ------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #295279;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.6rem; margin-top: 0;}
h2 {font-size: 2rem;}
h3 {font-size: 1.4rem;}
h4 {font-size: 1.15rem;}
blockquote {
  font-family: 'Raleway', 'Open Sans', Arial, Helvetica, sans-serif;
  font-style: italic;
  padding: 18px 28px;
  border-radius: 18px;
  background: #e9e8f7;
  color: #6c6996;
  margin: 24px 0;
  border-left: 6px solid #a2bca6;
}
strong { font-weight: bold; }
em { font-style: italic; }
p {margin-bottom: 16px;}

/* COLORS: Soft Pastel Palette --------- */
:root {
  --primary: #295279;
  --secondary: #a2bca6;
  --accent: #f7f6f3;
  --pastel-blue: #e6f0fa;
  --pastel-lavender: #e9e8f7;
  --pastel-mint: #d4edd9;
  --pastel-yellow: #fffbed;
  --pastel-pink: #ffeaf6;
  --dark: #222843;
  --white: #fff;
  --cta: #7ec9c2;
  --cta-hover: #55b0a5;
}

/* LAYOUT: Container & Wrappers --------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* SECTION STYLES & SPACING ------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.cta-section {
  margin-bottom: 0;
  padding: 44px 0;
  border-radius: 30px;
  background: var(--pastel-mint);
  box-shadow: 0 4px 18px 0 rgba(122,185,153,0.07);
}
.cta-section.accent {
  background: var(--pastel-pink);
}

.hero-section {
  background: linear-gradient(120deg, #e6f0fa 50%, #ffeaf6 100%);
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 60px 0 48px 0;
  text-align: left;
}
.hero-section .content-wrapper {
  max-width: 600px;
  gap: 22px;
}
.hero-section h1 {
  font-size: 2.3rem;
  color: var(--primary);
}
.hero-section p {
  font-size: 1.14rem;
  color: #434467;
}

/* FLEXBOX PATTERNS FOR CONTENT --------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(100,120,130,0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 24px;
  flex: 1 1 250px;
  min-width: 250px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(44,80,122,0.18);
  transform: translateY(-3px) scale(1.02);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--pastel-lavender);
  box-shadow: 0 6px 14px 0 rgba(122, 120, 164, 0.07);
  flex-wrap: wrap;
  color: #244;
  font-size: 1.13rem;
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #222843;
  font-weight: 500;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #7a85a8;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BLOG POST PREVIEW GRID ----------------- */
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.post-preview {
  flex: 1 1 300px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(122,145,154,0.10);
  padding: 22px 20px 16px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-preview:hover {
  box-shadow: 0 8px 24px 0 rgba(44,80,122,0.13);
  transform: translateY(-3px) scale(1.01);
}
.post-preview h2, .post-preview h3 {
  font-size: 1.19rem;
  margin-bottom: 10px;
  color: var(--primary);
  font-family: 'Raleway', Arial, sans-serif;
}
.read-more {
  align-self: flex-start;
  margin-top: 4px;
  color: var(--secondary);
  font-weight: 700;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.17s;
}
.read-more:hover { color: var(--primary); }

/* Blog filters ------------------------- */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.blog-filters input[type="text"] {
  flex: 1 1 120px;
  background: var(--pastel-yellow);
}
.blog-filters select {
  background: var(--pastel-mint);
}

/* Quotes / inspiration slider ---------- */
.quotes-slider {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 15px;
}

/* NEWSLETTER SIGNUP --------------------- */
.newsletter-signup {
  background: var(--pastel-yellow);
  border-radius: 20px;
  padding: 28px 26px 24px 26px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 18px 0 rgba(122, 185, 153, 0.07);
}
.newsletter-signup h3 {
  margin-bottom: 0;
}

/* FOOTER ------------------------------- */
footer {
  background: linear-gradient(100deg, #e6f0fa, #ffeaf6);
  padding: 40px 0 24px 0;
  margin-top: 50px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: #295279;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer nav a {
  color: #687c80;
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: color 0.17s;
}
footer nav a:hover {
  color: #295279;
}
.socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.socials a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.3) opacity(0.86);
  transition: filter 0.15s, transform 0.15s;
}
.socials a:hover img {
  filter: none;
  transform: scale(1.15) rotate(-7deg);
}

/* BUTTONS & CALL TO ACTIONS ------------ */
.cta-btn, .newsletter-signup .cta-btn, .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.12rem;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--cta);
  color: #23413a;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 10px 0 rgba(128,193,183,0.12);
  transition: background 0.17s, box-shadow 0.18s, transform 0.18s, color 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--cta-hover);
  color: #fff;
  box-shadow: 0 6px 24px rgba(100,160,130,0.18);
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* HEADER & NAVIGATION ------------------ */
header {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(122,185,153,0.09);
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.main-nav .logo {
  margin-right: 18px;
  display: flex;
  align-items: center;
}
.main-nav a {
  color: #295279;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 7px 14px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--pastel-blue);
  color: #234;
}
.main-nav .cta-btn {
  background: var(--cta);
  color: #23413a;
  margin-left: 12px;
}
.main-nav .cta-btn:hover { background: var(--cta-hover); color: #fff; }
.main-nav .cta-btn:focus { box-shadow: 0 0 0 2px #a2bca6; }

/* MOBILE MENU ---------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-blue);
  border: none;
  color: #295279;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(88,108,172,0.13);
  z-index: 102;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-mint);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.96);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.8,0,.2,1);
  box-shadow: -4px 0 40px 0 rgba(122,185,153,0.13);
  padding: 36px 36px 0 36px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: var(--pastel-pink);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  color: #7a85a8;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 210;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(88,108,172,0.12);
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fde1f3;
  color: #b25d85;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 58px auto 0 auto;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.26rem;
  color: #295279;
  background: none;
  padding: 12px 10px;
  border-radius: 12px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: #234;
}
.mobile-nav a.cta-btn {
  background: var(--cta);
  color: #23413a;
  font-weight: bold;
  text-align: left;
  font-size: 1.17rem;
}
.mobile-nav a.cta-btn:hover { background: var(--cta-hover); color: #fff; }

@media (max-width: 1080px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 8px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-main {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 18px 6px;
  }
  .container {
    padding: 0 4vw;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .content-grid, .post-preview-grid {
    flex-direction: column;
    gap: 18px;
  }
  .post-preview {
    min-width: 0;
  }
  .newsletter-signup {
    padding: 20px 12px 14px 12px;
  }
}
@media (max-width: 512px) {
  .hero-section .content-wrapper h1 {
    font-size: 1.3rem;
  }
  .footer-main, .newsletter-signup { font-size: 0.97rem; }
  .cta-section { padding: 24px 0; }
}

/* COOKIE CONSENT BANNER ---------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbed;
  color: #29425a;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3000;
  padding: 20px 32px;
  box-shadow: 0 -2px 16px 0 rgba(172,180,152,0.13);
  gap: 10px;
  border-radius: 20px 20px 0 0;
  transition: transform .27s cubic-bezier(.8,0,.2,1), opacity .22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.closed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-btns button {
  padding: 9px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  background: var(--cta);
  color: #23413a;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
}
.cookie-btns .accept {
  background: var(--cta);
  color: #23413a;
}
.cookie-btns .accept:hover { background: var(--cta-hover); color: #fff; }
.cookie-btns .reject {
  background: #e6f0fa;
  color: #29425a;
}
.cookie-btns .reject:hover { background: #ddebf2; color: #7e637e; }
.cookie-btns .settings {
  background: var(--pastel-lavender);
  color: #7a85a8;
}
.cookie-btns .settings:hover { background: var(--pastel-pink); color: #b25d85; }

/* COOKIE MODAL --------------------------- */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3100;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 48px 0 rgba(88,108,172,0.24);
  min-width: 340px;
  max-width: 90vw;
  padding: 34px 38px 26px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  transition: opacity .18s, transform 0.36s cubic-bezier(.8,0,.2,1);
  font-size: 1rem;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.93);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin: 0 0 16px 0;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  font-weight: 600;
  margin-right: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
}
.cookie-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #b3b6da;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .cookie-banner { padding: 16px 8px; font-size: .97rem; }
  .cookie-modal { min-width: 220px; padding: 18px 10px 14px 10px; }
}

/* UTILITIES & MISC ---------------------- */
.text-section {
  margin-bottom: 16px;
}
.quick-faq {
  background: var(--pastel-mint);
  padding: 16px 24px;
  border-radius: 18px;
  margin: 18px 0 0 0;
}
.quick-faq ul {
  padding-left: 12px;
  margin-bottom: 0;
}
.quick-faq li {
  margin-bottom: 7px;
}

/* CONTACT DETAILS ----------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.contact-details img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-details p {
  display: flex;
  align-items: center;
  color: #29425a;
  font-size: 1.04rem;
  margin-bottom: 0;
}

/* MISC FLOW ELEMENTS (UL/LI) ------------- */
ul {
  padding-left: 18px;
  margin-bottom: 18px;
}
ul li {
  margin-bottom: 8px;
  font-size: 1em;
  color: #26496c;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--secondary);
}

/* OVERRIDE for ABOUT/INSPIRACJE/USLUGI sections */
section > .container > .content-wrapper > ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  padding-left: 14px;
}
section > .container > .content-wrapper > ul li {
  font-size: 1.07rem;
  color: #29425a;
  line-height: 1.5;
}
section > .container > .content-wrapper > ul li img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  vertical-align: middle;
}
section > .container > .content-wrapper > ul li span {
  font-weight: 600;
  margin-left: 8px;
}

/* FAQ list bold questions ------------------- */
.quick-faq li strong {
  font-weight: 700;
  color: #295279;
}

/* RESPONSIVE HEADINGS ---------------------- */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.06rem; }
}

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

/* END */
