/* 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, main, 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #f4f7fa;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #182c44;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #184da3;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #00a997;
}
ul, ol {
  margin-left: 1.5rem;
  padding-left: .5rem;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

/* FONT-FACE */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900|Open+Sans:400,600,700&display=swap');

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #184da3;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #184da3; }
h4, h5, h6 { font-weight: 700; }

.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #00a997;
  margin-bottom: 20px;
}

p {
  margin-bottom: 16px;
}

strong { font-weight: 700; }

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* MANDATORY SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 32px rgba(24,77,163,0.08), 0 1.5px 6px rgba(0,169,151,0.10);
}

/* HEADER */
header {
  background: #184da3;
  padding: 0;
  box-shadow: 0 2px 8px rgba(24,77,163,.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
header a img {
  height: 48px;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.015em;
  position: relative;
  padding: 8px 0;
  font-size: 1rem;
}
header nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0;
  background: #00a997;
  border-radius: 2px;
  transition: width 0.25s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header .btn-primary {
  background: #00a997;
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  padding: 9px 28px;
  margin-left: 24px;
  box-shadow: 0 2px 12px rgba(0,169,151,0.13);
  transition: background 0.18s, box-shadow 0.18s;
  font-size: 1rem;
}
header .btn-primary:hover, header .btn-primary:focus {
  background: #fff;
  color: #00a997 !important;
  box-shadow: 0 4px 28px rgba(24,77,163,0.14);
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin-left: 24px;
  transition: color 0.18s;
  z-index: 998;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #00a997;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right:0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #184da3;
  box-shadow: 0 0 70px rgba(24,77,163,0.23);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 28px 28px;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.55,.09,.68,.53);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: #fff;
  align-self: flex-end;
  margin-bottom: 18px;
  background: transparent;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #00a997;
}
.mobile-nav {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #00a997;
  color: #fff;
}

/* MAIN CTAs */
.btn-primary {
  background: #184da3;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 14px rgba(24,77,163,0.13);
  margin: 6px 0 6px 0;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #00a997;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(0,169,151,0.19);
}
.btn-secondary {
  background: #f4f7fa;
  color: #184da3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 28px;
  margin-left: 14px;
  border-radius: 30px;
  border: 2px solid #00a997;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  border-color: #184da3;
  background: #00a997;
  color: #fff;
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,77,163,0.11);
  border-radius: 24px;
  padding: 28px 28px 22px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 34px rgba(0,169,151,0.13);
  transform: translateY(-4px) scale(1.015);
}

/* FEATURE GRID (used for icons & features) */
.feature-grid,
.service-list,
.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 18px 0 12px 0;
}
.feature-grid li, .service-list li, .stat-list li {
  background: #f4f7fa;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px rgba(0,169,151,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 26px 16px 18px 16px;
  min-width: 220px;
  flex: 1 1 280px;
  margin-right: 0;
  transition: background 0.15s, box-shadow 0.18s;
}
.feature-grid li img,
.service-list li img {
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 3px #184da320);
}
.feature-grid li:hover, .service-list li:hover {
  background: #00a99711;
  box-shadow: 0 3px 22px rgba(24,77,163,0.12);
}
.stat-list {
  gap: 24px;
  justify-content: flex-start;
}
.stat-list li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  color: #184da3;
}
.stat-list li strong {
  display: block;
  font-size: 2.1rem;
  color: #00a997;
  margin-bottom: 2px;
}

/* SECTION SPACING AND ALIGNMENT PATTERNS */
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.faq-accordion > div {
  margin-bottom: 22px;
  background: #f4f7fa;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(24,77,163,.07);
  transition: box-shadow .16s;
}
.faq-accordion > div:hover { box-shadow: 0 4px 16px rgba(0,169,151,0.08); }
.faq-accordion h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 1.5px 13px rgba(24,77,163,0.065);
  margin-bottom: 20px;
  flex-direction: column;
  font-size: 1.07rem;
}
.testimonial-card p {
  margin: 0 0 8px 0;
  font-style: italic;
  color: #184da3;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #444;
  font-weight: 700;
}

/* Feature Item (for artistic feel in creative sections */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  background: #f4f7fa;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(24,77,163,0.07);
}

/* Post Feed / Blog Cards */
.post-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.post-feed article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 7px rgba(24,77,163,0.08);
  padding: 27px 20px 17px 20px;
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  transition: box-shadow .16s, transform .17s;
  margin-bottom: 20px;
}
.post-feed article h3 {
  font-size: 1.18rem;
  color: #184da3;
}
.post-feed article p {
  color: #222;
  margin-bottom: 10px;
}
.post-feed article a {
  font-weight: 600;
  color: #00a997;
  text-decoration: underline;
  transition: color .18s;
}
.post-feed article a:hover {
  color: #184da3;
}
.post-feed article:hover { box-shadow: 0 7px 24px rgba(24,77,163,0.16); transform: translateY(-3px); }

.category-filters {
  margin: 12px 0 10px;
  font-size: 1rem;
  color: #184da3;
}
.category-filters a {
  color: #00a997;
  font-weight: 600;
  margin-right: 12px;
}
.category-filters a:hover { color: #184da3; }

/* INFO-NOTE (contact) */
.info-note {
  background: #00a99714;
  border-left: 4px solid #184da3;
  color: #184da3;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 1.04rem;
  margin-top: 12px;
}

/* TABLES (for CENNIK/Pricing tables) */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1.5px 8px rgba(0,169,151,0.06);
}
.pricing-table th, .pricing-table td {
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 15px 12px;
  border-bottom: 1px solid #e6f1fa;
}
.pricing-table th {
  background: #184da3;
  color: #fff;
  font-size: 1.04rem;
}
.pricing-table tbody tr:nth-child(odd) td {
  background: #f4f7fa;
}
.pricing-table td:first-child { text-align: left; font-weight: 700; color: #184da3; }


/* FOOTER */
footer {
  background: #184da3;
  color: #fff;
  padding: 40px 0 10px 0;
  font-size: 1rem;
  margin-top: 70px;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 36px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #00a997;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-menu a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  height: 24px;
  width: 24px;
  margin-right: 6px;
}
.footer-copy {
  margin-top: 18px;
  color: #e2eaff;
  font-size: .96rem;
  letter-spacing: .01em;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left:0;
  bottom:0;
  width: 100vw;
  z-index: 1100;
  background: #fff;
  border-top: 2px solid #184da3;
  color: #184da3;
  box-shadow: 0 -3px 24px rgba(24,77,163,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  font-size: 1rem;
  gap: 24px;
  animation: cookiefadein .5s cubic-bezier(.33,.18,.92,.79);
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-banner button {
  min-width: 120px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  padding: 8px 22px;
  box-shadow: 0 1.5px 7px rgba(24,77,163,0.07);
  border: none;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-banner .accept {
  background: #00a997;
  color: #fff;
  transition: background 0.18s;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #184da3;
}
.cookie-banner .reject {
  background: #f4f7fa;
  color: #184da3;
  border: 2px solid #184da3;
  transition: background 0.15s;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #184da3;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #00a997;
  border: 2px solid #00a997;
  transition: background 0.12s, color 0.12s, border .13s;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #00a997;
  color: #fff;
  border: 2px solid #184da3;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,77,163,.13);
  z-index: 1111;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.cookie-modal-overlay.open { opacity:1; pointer-events: auto; }
.cookie-modal {
  background: #fff;
  color: #184da3;
  border-radius: 20px;
  max-width: 380px;
  margin: 80px auto 0 auto;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 5px 48px rgba(24,77,163,0.18);
  position: relative;
  z-index: 1120;
  animation: cookiemodalfade .45s cubic-bezier(.33,.18,.92,.79)}
@keyframes cookiemodalfade { from {opacity:0; transform: translateY(64px);} to {opacity:1; transform: translateY(0);} }

.cookie-modal h2 {
  color: #00a997;
  font-size: 1.34rem;
  margin-bottom: 16px;
}
.cookie-modal ul {
  margin: 0 0 8px 0;
  list-style: none;
  padding: 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal label {
  font-size: 1.07rem;
  font-weight: 600;
  color: #184da3;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #00a997;
  width: 18px;
  height: 18px;
}
.cookie-modal .essential {
  color: #999;
  font-size: .97rem;
  margin-left: 7px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 1.7rem;
  color: #184da3;
  background: none;
  border: none;
  z-index: 1;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #00a997;
}

/* Price breakdown box in pricing calculator */
.price-breakdown {
  background: #00a99708;
  padding: 18px 23px;
  border-radius: 14px;
  color: #184da3;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 14px 0 8px 0;
}
.price-breakdown ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.price-breakdown li {
  margin-bottom: 8px;
}

/* Responsive layout (MOBILE-FIRST) */
@media (max-width: 1199px) {
  .container { max-width: 1000px; }
}
@media (max-width: 991px) {
  .container { max-width: 750px; }
  .footer-menu { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 860px) {
  section { padding: 32px 7px; border-radius: 22px; }
  header nav { gap: 16px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  .container { max-width: 100%; padding: 0 8px; }
  section { padding: 25px 6px; }
  .footer-contact { flex-direction: column; gap: 12px; }
  .footer-menu { flex-direction: column; gap: 14px; }
  .footer-copy { margin-left: 0; text-align: left; }
  .card, .post-feed article { padding: 16px 9px; }

  /* Header menu collapses */
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block; /* Show burger button */
  }
  .mobile-menu {
    padding: 24px 12px 22px 12px;
  }
  .mobile-nav a {
    font-size: 1.08rem;
    padding: 7px 0;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 18px;
    font-size: 1rem;
    margin-left: 0;
    margin-bottom: 10px;
    width: 100%;
  }
  .content-grid, .feature-grid, .service-list, .stat-list, .post-feed {
    flex-direction: column !important;
    gap: 16px;
  }
  .card, .feature-grid li, .service-list li, .stat-list li, .post-feed article { min-width: 0; max-width: 100%; }
  .testimonial-card {
    flex-direction: column;
    font-size: 1rem;
    padding: 16px 8px;
    gap: 10px;
  }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 18px 10px; gap: 10px; font-size: .98rem; }
  .cookie-banner .cookie-btns { width: 100%; flex-direction: column; gap: 10px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .stat-list li strong { font-size: 1.2rem; }
  .container { padding: 0 2px; }
  section { padding: 11px 3px; }
  .pricing-table th, .pricing-table td { padding: 6px 3px; font-size: .96rem; }
  .cookie-modal { padding: 14px 6px 10px 6px; }
}

/* ARTISTIC CREATIVE EFFECTS */
section {
  /* For extra creative accent: colored marker behind headings */
  position: relative;
  overflow: visible;
}
section h2, section h1 {
  position: relative;
  z-index: 1;
  display: inline-block;
}
section h2:before, section h1:before {
  content: '';
  position: absolute;
  z-index: 0;
  left: -13px;
  top: 50%;
  transform: translateY(-53%) rotate(-2deg);
  width: 120%;
  height: 0.7em;
  background: #00a99722;
  border-radius: 14px;
  pointer-events: none;
}
/* visually richer on main sections only */
section:first-of-type h1:before { background: #00a99733; }

.card, .feature-grid li, .service-list li {
  border: 2.5px solid #00a99713;
  position: relative;
}
.card:after, .feature-grid li:after, .service-list li:after {
  content: '';
  position: absolute;
  bottom: -10px; left: 22px;
  width: 40px; height: 7px;
  background: #184da366;
  border-radius: 20px;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}
.card:hover:after, .feature-grid li:hover:after, .service-list li:hover:after {
  opacity: 0.20;
}

.btn-primary, .btn-secondary { letter-spacing: 0.03em; }

/* artistic fonts for numerals (stats) */
.stat-list li strong {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .02em;
  color: #00a997;
  text-shadow: 1.5px 1.5px 0 #184da333;
}

/* Accessibility adjustments for contrast */
.testimonial-card,
.text-section {
  color: #182c44;
  background: #fff;
}
.testimonial-card p {
  color: #184da3;
}

/* Various helpers */
[hidden], .hidden { display: none !important; visibility: hidden; }

/* Animations for micro-interactions */
.btn-primary, .btn-secondary, .feature-grid li, .service-list li, .card, .post-feed article {
  transition: background 0.17s, box-shadow 0.18s, transform 0.16s;
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(2px) scale(0.98);
}
.feature-grid li:active, .service-list li:active, .card:active, .post-feed article:active {
  box-shadow: 0 2px 7px rgba(24,77,163,0.11);
  transform: scale(0.99);
}

/* Misc */
::selection {
  background: #00a99744;
  color: #184da3;
}

/* Hide default focus but style for accessibility */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2.5px solid #00a997;
  outline-offset: 2px;
  z-index: 4;
  border-radius: 1px;
}

/* --- END --- */
