/* 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F6F4F9;
  color: #354856;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
input,button,textarea,select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
a {
  color: #805107;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #C9D6DF;
  outline-offset: 2px;
  border-radius: 4px;
}
a:hover {
  color: #a37439;
}
ul, ol {
  margin-left: 24px;
}

/* BRAND & PASTEL COLORS */
:root {
  --primary: #354856;
  --secondary: #f6f4f9; /* very light pastel background */
  --background: #f6f4f9;
  --accent: #a37439;
  --accent-dark: #805107;
  --pastel-periwinkle: #D7E3FC;
  --pastel-pink: #F6D6D6;
  --pastel-lavender: #E2D6F9;
  --pastel-beige: #f1efe7;
  --white: #ffffff;
  --text-main: #354856;
  --text-light: #ffffff;
  --text-dark: #303030;
  --shadow: 0 4px 24px rgba(53, 72, 86, 0.11);
  --shadow-soft: 0 2px 8px rgba(160, 160, 180, 0.08);
}

body {
  background: var(--background);
  color: var(--text-main);
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h5, h6 {
  font-size: 1rem;
}
p, li, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 8px;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
blockquote {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--primary);
  opacity: 0.85;
}

/* COMMON LAYOUTS & SPACING */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-periwinkle);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  padding: 24px 22px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(53,72,86,0.17);
  transform: translateY(-3px) scale(1.012);
}
.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;
  background: var(--pastel-lavender);
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 250px;
  color: var(--text-dark);
}
.testimonial-card blockquote {
  color: var(--primary);
  font-size: 1.15rem;
  line-height: 1.5;
  flex: 1;
}
.testimonial-card strong {
  color: var(--accent-dark);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-beige);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.text-section {
  background: var(--pastel-pink);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Info note for cennik */
.info-note {
  background: var(--pastel-beige);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.98rem;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

/* NAVIGATION */
header {
  background: var(--white);
  box-shadow: var(--shadow-soft);
  z-index: 100;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 10px 0 10px 8px;
  min-height: 64px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a.cta-btn {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  margin-left: 12px;
  font-size: 1.045rem;
  letter-spacing: 0.02em;
  transition: background 0.21s, color 0.16s, box-shadow 0.11s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(160, 90, 40, 0.13);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-periwinkle);
  color: var(--accent-dark);
}
.main-nav img {
  height: 42px;
  margin-right: 16px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 210;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  background: var(--pastel-periwinkle);
  outline: 2px solid var(--accent);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 2050;
  padding: 48px 0 32px 0;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  box-shadow: 0 0 40px rgba(53,72,86,0.14);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent-dark);
  cursor: pointer;
  align-self: flex-end;
  margin: 0 20px 24px 0;
  padding: 8px 10px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-close:focus {
  background: var(--pastel-periwinkle);
  outline: 2px solid var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 26px;
  margin-top: 16px;
}
.mobile-nav a {
  padding: 14px 12px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  color: var(--primary);
  background: none;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-beige);
  color: var(--accent-dark);
}
/* Hamburger visible, nav hidden on mobile */
@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* GENERAL BUTTON STYLES */
.cta-btn, .cookie-btn {
  background: var(--accent);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  margin-top: 12px;
  margin-bottom: 12px;
  transition: background 0.18s, box-shadow 0.15s, transform 0.11s;
  outline: none;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.028);
  box-shadow: 0 4px 10px rgba(160, 90, 40, 0.15);
}

/* CONTENT TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--pastel-periwinkle);
  font-size: 1rem;
}
thead th {
  background: var(--pastel-lavender);
  color: var(--primary);
  padding: 14px 10px;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
tbody td {
  padding: 13px 10px;
  border-bottom: 1px solid #ececec;
  color: var(--primary);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: var(--pastel-beige);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -4px 24px rgba(53,72,86,0.07);
  margin-top: 40px;
  padding: 34px 0 18px 0;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
footer nav.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
  margin-top: 8px;
}
footer .footer-nav a {
  color: var(--primary);
  font-size: 0.98rem;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  background: var(--pastel-pink);
  color: var(--accent-dark);
}
footer img {
  height: 36px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--primary);
  font-size: 0.96rem;
  align-items: center;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact-info img {
  height: 18px;
  width: auto;
}

/* LISTS */
ul li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
ul li img {
  height: 22px;
  margin-right: 6px;
  flex-shrink: 0;
}

ol {
  margin-left: 26px;
  line-height: 1.6;
}

/* MICRO-INTERACTIONS & HOVER */
section, .card, .cta-btn, .main-nav a, .footer-nav a, .cookie-btn {
  transition: box-shadow 0.16s, background 0.18s, color 0.15s, transform 0.14s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  z-index: 19000;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: var(--pastel-pink);
  color: var(--primary);
  box-shadow: 0 -6px 24px rgba(53,72,86,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 22px 5vw 22px 5vw;
  font-size: 1rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  justify-content: center;
}
.cookie-banner .cookie-btn {
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 8px;
}
.cookie-banner .cookie-btn-alt {
  background: var(--primary);
  color: #fff !important;
  margin-right: 8px;
  font-weight: 500;
}
.cookie-banner .cookie-btn-alt:hover {
  background: var(--accent-dark);
}
.cookie-banner .cookie-btn-secondary {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  font-weight: 500;
  margin-right: 8px;
}
.cookie-banner .cookie-btn-secondary:hover {
  background: var(--pastel-beige);
  color: var(--accent-dark) !important;
  border-color: var(--accent-dark);
}

@media (max-width: 539px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 4vw 18px 4vw;
    font-size: 0.97rem;
    align-items: flex-start;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(53,72,86,0.22);
  z-index: 21000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 22px;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 6px 32px rgba(53,72,86,0.14);
  max-width: 92vw;
  width: 400px;
  z-index: 21500;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.28s, transform 0.22s;
}
.cookie-modal-overlay.active .cookie-modal {
  opacity: 1;
  transform: translateY(0px);
}
.cookie-modal h2 {
  font-size: 1.37rem;
  margin-bottom: 8px;
  color: var(--accent-dark);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-right: 3px;
}
.cookie-modal .cookie-preference {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pastel-beige);
}
.cookie-modal .cookie-preference:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cookie-modal .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: var(--accent-dark);
  font-size: 1.5rem;
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 10px;
  transition: background 0.13s;
}
.cookie-modal .cookie-modal-close:focus {
  background: var(--pastel-pink);
  outline: 2px solid var(--accent);
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  footer {
    padding: 18px 0 8px 0;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 18px 0px;
    margin-bottom: 30px;
    border-radius: 14px;
  }
  h1 {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.34rem;
    margin-bottom: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 11px;
    min-width: unset;
  }
  .card, .feature-item {
    padding: 13px 10px;
    min-width: 180px;
    border-radius: 11px;
  }
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .text-section {
    padding: 11px 7px;
    border-radius: 8px;
  }
  .content-wrapper {
    gap: 18px;
    padding: 0;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .main-nav {
    font-size: 0.98rem;
    gap: 15px;
  }
  .mobile-nav a {
    font-size: 1.03rem;
    padding: 12px 5px;
  }
  h1, h2 {
    font-size: 1.07rem;
    margin-bottom: 9px;
  }
}

/* OVERRIDES TO PREVENT OVERLAPPING AND ENSURE GAPS */
.section + .section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.card-container, .content-grid, .text-image-section, .feature-item, .content-wrapper {
  gap: 20px !important;
}

/* DISABLE ABSOLUTE POS. FOR CONTENT BLOCKS, allow only decorative elements */
.card, .testimonial-card, .content-wrapper, .section {
  position: relative;
  z-index: 1;
}

/* ENSURE CONTRAST IN TESTIMONIALS AND REVIEWS */
.testimonial-card, .testimonial-card blockquote, .testimonial-card strong {
  color: var(--text-dark);
}
.testimonial-card {
  background: #FDF8FF;
  border: 1.5px solid #E2D6F9;
  box-shadow: var(--shadow-soft);
}

/* Animations - pastel blur on :hover for cta-btn */
.cta-btn::after {
  content: "";
  display: block;
  position: absolute;
  left: 10%;
  top: 40%;
  width: 80%;
  height: 40%;
  border-radius: 34px;
  background: rgba(227, 214, 249, 0.29);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
  z-index: 0;
}
.cta-btn:hover::after, .cta-btn:focus::after {
  opacity: 1;
}

/* Misc */
::-webkit-scrollbar {
  width: 8px;
  background: #efeefa;
}
::-webkit-scrollbar-thumb {
  background: #D7E3FC;
  border-radius: 6px;
}

/* Hide default focus outline for mouse, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* END OF CSS */
