/* RESET & NORMALIZE */
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
body { min-height: 100vh; background: #F2F5F7; color: #234B5E; font-family: 'Roboto', Arial, sans-serif; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: #234B5E; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #47A992; }
ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
li + li { margin-top: 0.5em; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234B5E;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p { margin-bottom: 1.4em; }
strong { color: #234B5E; font-weight: 700; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 2em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(35,75,94,0.07);
}
thead { background: #E4EBF0; }
th, td { padding: 16px 10px; text-align: left; vertical-align: top; }
th { font-family: 'Montserrat', Arial, sans-serif; color: #234B5E; font-weight: 700; font-size: 1.1rem; }
td { color: #234B5E; }
tr + tr { border-top: 1px solid #E4EBF0; }

::-webkit-input-placeholder { color: #7d8d9c; }
::-moz-placeholder { color: #7d8d9c; }
:-ms-input-placeholder { color: #7d8d9c; }
::placeholder { color: #7d8d9c; }

/* CONTAINERS AND LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(35,75,94,0.08);
  padding: 28px 24px;
  min-width: 260px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,75,94,0.09);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: none;
  padding: 0;
  margin-bottom: 28px;
}

/* BUTTONS & CALL-TO-ACTION */
.cta-btn,
button.cta-btn {
  background: #234B5E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 1.1rem;
  cursor: pointer;
  margin-right: 16px;
  margin-bottom: 8px;
  box-shadow: 0 1px 6px rgba(35,75,94,0.09);
  transition: background 0.15s, box-shadow 0.18s, transform 0.13s;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta-btn:hover,
.cta-btn:focus,
button.cta-btn:hover,
button.cta-btn:focus {
  background: #47A992;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 3px 16px rgba(35,75,94,0.14);
}
.button-group {
  display: flex;
  gap: 16px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(35,75,94,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
  max-width: 1100px;
  margin: 0 auto;
}
header nav > a img {
  height: 36px;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
header nav ul li { }
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #234B5E;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 11px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: #E4EBF0;
  color: #47A992;
}
header .cta-btn {
  margin-left: 24px;
}

/* MOBILE MENU (burger & overlay) */
.mobile-menu-toggle {
  display: none;
  background: #234B5E;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #47A992;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,75,94,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 26px;
  padding-left: 0;
  transform: translateX(-102%);
  transition: transform 0.34s cubic-bezier(.6,0,.48,1);
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin-right: 22px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 2010;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #47A992;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 12px 0;
  border-radius: 5px;
  width: 80%;
  transition: background 0.16s, color 0.14s;
  margin-bottom: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #47A992;
  color: #fff;
}

@media (max-width: 1050px) {
  .container { max-width: 95vw; }
  header nav ul { gap: 14px; }
  header .cta-btn { margin-left: 6px; }
}

@media (max-width: 900px) {
  header nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0 8px;
  }
  .container { max-width: 98vw; }
  .section { padding: 28px 10px; }
}

@media (max-width: 820px) {
  header nav ul { gap: 7px; }
}
@media (max-width: 768px) {
  header nav ul,
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header nav {
    justify-content: space-between;
    height: 60px;
    padding: 0 10px;
  }
  .section { padding: 22px 5px; }
  .container { padding-left: 9px; padding-right: 9px; }
  .content-wrapper { gap: 18px; }
  .card-container { gap: 14px; }
  .card { padding: 18px 9px; }
  .testimonial-card { padding: 15px; }
}

/* FLEXBOX for ALL content! */
@media (max-width: 768px) {
  .content-grid, .card-container, .features {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* FOOTER */
footer {
  background: #234B5E;
  color: #fff;
  padding: 0 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  padding-top: 36px;
  padding-bottom: 24px;
  gap: 18px;
  justify-content: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: flex-start;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-right: 9px;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #47A992;
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #E5F2F0;
}
.footer-contact strong {
  color: #fff;
  font-weight: 500;
}
.copyright {
  font-size: 0.98rem;
  color: #A7C1CD;
}
@media (max-width: 700px) {
  footer .container { gap:12px; padding-top:18px; padding-bottom:13px; }
  footer nav { gap:6px; }
  .footer-contact { font-size: 0.98rem; }
}

/* TESTIMONIALS/OPINIE */
.testimonial-card {
  color: #234B5E;
  background: #fff;
  border-left: 5px solid #47A992;
  box-shadow: 0 2px 10px rgba(35,75,94,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 18px rgba(35,75,94,0.13);
  border-left: 5px solid #287961;
}
.testimonial-card p {
  margin-bottom: 0.6em;
  font-size: 1.08rem;
  color: #234B5E;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #287961;
  font-weight: 500;
  font-style: normal;
}

/* TABLES */
table { margin-bottom: 36px; }
td, th { border: none; }
tr:hover { background: #F9FDFD; }

/* CARDS */
.card { box-shadow: 0 2px 16px rgba(35,75,94,0.07); }
.card:hover {
  box-shadow: 0 6px 28px rgba(35,75,94,0.12);
}

/* FORMS (if any in future) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1.3px solid #D4E2E9;
  margin-bottom: 1em;
  background: #fff;
  color: #234B5E;
  transition: border 0.14s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 1.3px solid #47A992;
}

/* ANIMATION/MICROINTERACTIONS */
.cta-btn, button, .card, .testimonial-card {
  transition: box-shadow 0.18s, background 0.17s, transform 0.13s, color 0.15s, border-color 0.16s;
}
.testimonial-card { transition: box-shadow 0.18s, border-color 0.18s; }

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #234B5E;
  color: #fff;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(35,75,94,0.23);
  z-index: 3000;
  animation: cookie-slideup 0.45s cubic-bezier(.7,0,.53,1);
}
@keyframes cookie-slideup {
  from { transform: translateY(110%); opacity:0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 7px;
}
.cookie-banner button {
  padding: 8px 20px;
  background: #47A992;
  border: none;
  border-radius: 5px;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #287961;
}
.cookie-banner .cookie-settings-btn {
  background: #E4EBF0;
  color: #234B5E;
}
.cookie-banner .cookie-settings-btn:hover { background: #C0CFD8; color: #234B5E; }

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,75,94,0.77);
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinModal 0.25s;
}
@keyframes fadeinModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #234B5E;
  min-width: 300px; max-width: 97vw;
  padding: 32px 26px 24px 26px;
  border-radius: 13px;
  box-shadow: 0 6px 32px rgba(35,75,94,.23);
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalpop 0.32s cubic-bezier(0.6,0,0.45,1);
}
@keyframes modalpop { 0%{ transform: scale(0.90) translateY(30px); opacity:0;} 100% { transform: none; opacity: 1; } }
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  color: #234B5E;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #47A992; }
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #234B5E;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #234B5E;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #47A992;
  width: 18px; height: 18px;
  border-radius: 3px;
  border: 1.3px solid #234B5E;
  cursor: pointer;
}
.cookie-modal .category-essential {
  color: #47A992;
  font-weight: 700;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 15px;
  margin-top: 7px;
}
.cookie-modal button {
  padding: 8px 18px;
  border-radius: 5px;
  border: none;
  color: #fff;
  background: #47A992;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #287961;
}
@media (max-width: 430px) {
  .cookie-modal { padding:17px 5px 17px 5px; }
}

/* RESPONSIVE FONT SIZES */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .testimonial-card p { font-size: 1rem; }
}

/* VISUAL HIERARCHY AND SPACING */
.card, .testimonial-card, .text-section {
  margin-bottom: 24px;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, table, .cta-btn, .card, .testimonial-card {
  margin-top: 0;
}
.section + .section {
  margin-top: 0;
}

/* SCROLLBAR STYLES */
::-webkit-scrollbar {
  width: 8px;
  background: #E4EBF0;
}
::-webkit-scrollbar-thumb {
  background: #C0CFD8;
  border-radius: 8px;
}

/* FOCUS STATES */
:focus-visible {
  outline: 2px solid #47A992;
  outline-offset: 1px;
}

/* UTILITY */
.hide { display: none !important; }

/* Brand colors as CSS variables */
:root {
  --primary: #234B5E;
  --secondary: #F2F5F7;
  --accent: #47A992;
  --accent-dark: #287961;
}

/* PRINT */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; }
}
section {
  padding: 10px 0;
}