/* RESET & BASE -------------------------------------------------- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F7FB;
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1B4571;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.48,.44,.4,1.08);
}
a:hover {
  color: #36A4D6;
  text-decoration: underline;
}
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0; /* for clarity */
}

/* TYPOGRAPHY -------------------------------------------------- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #1B4571;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #36A4D6;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #1B4571;
}
h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #1B4571;
  margin-bottom: 8px;
}
p, li, span, label {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
}
strong {
  color: #1B4571;
  font-weight: bold;
}
small {
  font-size: 0.94rem;
  color: #607694;
}
.text-section ul {
  margin-bottom: 18px;
  padding-left: 24px;
  list-style: disc inside;
}

/* SPACING & FLEX LAYOUTS -------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Utility for article grids etc. */
.article-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start; 
}
.article-grid article {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(27,69,113,0.08);
  padding: 24px 20px;
  flex: 1 1 310px;
  max-width: 345px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s cubic-bezier(.45,.45,0,1.2), transform 0.22s;
  border: 2px solid #F4F7FB;
}
.article-grid article:hover {
  box-shadow: 0 4px 24px 0 rgba(27,69,113,0.13);
  border-color: #36A4D6;
  transform: translateY(-4px) scale(1.02);
}

/* HEADER & NAVIGATION ----------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(27,69,113,0.10);
  position: sticky;
  top: 0;
  z-index: 150;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 16px;
}
header img {
  height: 38px;
  width: auto;
}
.main-navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-navigation a {
  padding: 6px 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1B4571;
  border-radius: 8px;
  transition: background 0.22s, color 0.18s;
}
.main-navigation a:hover,
.main-navigation a.active {
  background: #36A4D6;
  color: #fff;
  text-decoration: none;
}
.btn-primary {
  background: #36A4D6;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 1.11rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(27,69,113,0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.20s, transform 0.12s;
  margin-left: 14px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1B4571;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(54,164,214,0.19);
  transform: translateY(-2px) scale(1.03);
}
.btn-outline {
  background: #fff;
  border: 2px solid #36A4D6;
  color: #36A4D6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 14px;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 12px 28px;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, border-color 0.14s, box-shadow 0.16s;
}
.btn-outline:hover, .btn-outline:focus {
  background: #36A4D6;
  color: #fff;
  border-color: #1B4571;
  box-shadow: 0 2px 7px 0 rgba(54,164,214,0.10);
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* MOBILE MENU ---------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #36A4D6;
  border-radius: 8px;
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: background 0.13s, color 0.12s, box-shadow 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1B4571;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1B4571;
  color: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.45,.2,.18,1.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #36A4D6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 18px;
  gap: 10px;
  padding: 12px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: 6px 0;
  padding: 10px 6px;
  border-radius: 12px;
  width: 100%;
  transition: background 0.15s, color 0.13s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #36A4D6;
  color: #fff;
  text-decoration: none;
}

/* HERO SECTIONS ------------------------------------------------ */
.hero {
  background: linear-gradient(120deg, #36A4D6 0 51%, #F4F7FB 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  min-height: 280px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 2px 6px rgba(27,69,113,0.06);
}
.hero p {
  color: #f8f9fc;
  font-size: 1.12rem;
  margin-bottom: 24px;
  margin-top: -14px;
}

/* FEATURES / SERVICES / CARDS ------------------------------- */
.features ul,
.services ul,
.about ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 1.5em;
  margin-bottom: 0;
  margin-top: 6px;
  list-style: disc inside;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(27,69,113,0.09);
  border-left: 6px solid #36A4D6;
  padding: 26px 22px 22px 22px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, border-color 0.18s, transform 0.16s;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 4px 24px 0 rgba(27,69,113,0.18);
  border-left-color: #1B4571;
  transform: translateY(-3px) scale(1.01);
}
.service-card h3 {
  color: #1B4571;
  font-size: 1.18rem;
}
.service-card a {
  margin-top: 16px;
  color: #36A4D6;
  font-weight: bold;
  display: inline-block;
  transition: color .18s;
}
.service-card a:hover {
  color: #1B4571;
}

/* CALCULATOR CTA SECTION ----------------------------------- */
.calculator-cta {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 10px 0 rgba(27,69,113,0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.calculator-cta .content-wrapper {
  align-items: center;
}

/* TESTIMONIALS --------------------------------------------- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #F7FBFF;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(27,69,113,0.07);
  padding: 28px 28px 14px 28px;
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 350px;
  margin-bottom: 20px;
  color: #222;
  align-items: flex-start;
  flex-direction: column;
  border-left: 6px solid #1B4571;
  position: relative;
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #36A4D6;
  font-size: 1.01rem;
  letter-spacing: 0.08em;
}

/* CONTACT CTA ---------------------------------------------- */
.contact-cta {
  background: #1B4571;
  border-radius: 30px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-cta .content-wrapper {
  align-items: center;
  color: #fff;
}
.contact-cta h2 {
  color: #fff;
}
.contact-cta p, .contact-cta a {
  color: #F4F7FB;
}
.contact-cta a.btn-outline {
  border-color: #F4F7FB;
  color: #F4F7FB;
  background: transparent;
}
.contact-cta a.btn-outline:hover {
  background: #36A4D6;
  border-color: #36A4D6;
  color: #fff;
}

/* FAQ ACCORDION (kontakt) ----------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.faq-question {
  background: #E6F2FA;
  padding: 15px 20px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #1B4571;
  cursor: pointer;
  transition: background 0.13s;
}
.faq-question:hover {
  background: #d0e9f7;
}
.faq-answer {
  background: #fff;
  color: #222;
  border-left: 4px solid #36A4D6;
  border-radius: 10px;
  margin-left: 15px;
  margin-bottom: 10px;
  padding: 15px 18px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  display: block;
}

/* PRICING TABLE --------------------------------------------- */
.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(54,164,214,0.06);
  border-radius: 14px;
  margin-bottom: 28px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  font-size: 1.02rem;
  text-align: left;
}
.pricing-table th {
  background: #1B4571;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}
.pricing-table tr td {
  border-bottom: 1px solid #F4F7FB;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:hover td {
  background: #F0FAFF;
}
.pricing-table .price-notes ul {
  margin-top: 12px;
  margin-bottom: 10px;
  font-size: 0.97rem;
  color: #546577;
  padding-left: 18px;
  list-style-type: disc;
}
.service-comparisons {
  margin-top: 14px;
}
.service-comparisons ul {
  color: #1B4571;
  list-style-type: disc;
  padding-left: 15px;
  margin-top: 6px;
  margin-bottom: 0px;
}

/* SEARCH BAR, FILTERS (porady) ------------------------------ */
.search-bar {
  margin-bottom: 18px;
  width: 100%;
}
.search-bar input[type="text"] {
  width: 100%;
  border-radius: 11px;
  border: 1.5px solid #36A4D6;
  padding: 14px 18px;
  font-size: 1rem;
  outline: none;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #1B4571;
  transition: border-color 0.13s, box-shadow 0.12s;
  margin-bottom: 0;
}
.search-bar input[type="text"]::placeholder {
  color: #B7C9DD;
  opacity: 1;
}
.search-bar input[type="text"]:focus {
  border-color: #1B4571;
  box-shadow: 0 0 3px #36A4D6;
}
.category-filters {
  margin-bottom: 10px;
  font-size: 0.99rem;
  color: #1B4571;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.category-filters a {
  color: #36A4D6;
  font-weight: 600;
  text-decoration: underline;
  margin: 0 1px;
}
.category-filters a:hover {
  color: #1B4571;
}

/* COOKIE BANNER ---------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1100;
  width: 100vw;
  background: #1B4571;
  color: #fff;
  padding: 23px 12px 18px 12px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 24px 0 rgba(27,69,113,0.13);
  animation: cookieSlideIn 0.6s cubic-bezier(.6,.2,.3,1.17);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner-message {
  font-size: 1rem;
  margin-bottom: 14px;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 10px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1rem;
  margin: 0 3px;
  transition: background 0.15s, color 0.12s;
}
.cookie-accept {
  background: #36A4D6;
  color: #fff;
}
.cookie-accept:hover { background: #1B4571; }
.cookie-reject {
  background: #fff;
  color: #1B4571;
  border: 1.2px solid #36A4D6;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #36A4D6;
  color: #fff;
}
.cookie-settings {
  background: transparent;
  border: 1.2px solid #fff;
  color: #fff;
}
.cookie-settings:hover {
  background: #36A4D6;
  color: #fff;
  border-color: #36A4D6;
}
/* Cookie Modal ---- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 2000;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(27,69,113,0.18);
  padding: 36px 26px 26px 26px;
  max-width: 400px;
  width: 94vw;
  color: #1B4571;
  animation: cookieModalIn 0.29s cubic-bezier(.49,.36,.19,1.09);
  display: flex;
  flex-direction: column;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%,60%) scale(.90); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: #36A4D6;
  font-size: 1.16rem;
  margin-bottom: 13px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.01rem;
}
.cookie-modal input[type=checkbox] {
  accent-color: #36A4D6;
  width: 18px; height: 18px;
}
.cookie-category-essential {
  color: #1B4571;
  font-weight: 600;
  margin-bottom: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: #1B4571;
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 20px;
  cursor: pointer;
}

/* FOOTER --------------------------------------------- */
footer {
  background: #f4f7fb;
  border-top: 1.5px solid #e3eaf4;
  padding: 24px 0 12px 0;
  margin-top: 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-menu a {
  color: #1B4571;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 2px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.footer-menu a:hover {
  background: #36A4D6;
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-top: 4px;
  font-size: 0.98rem;
  color: #607694;
}
.footer-brand img {
  height: 30px;
  width: auto;
}

/* POLICY PAGE --------------------------------------------- */
.policy {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px 0 rgba(54,164,214,0.06);
  padding-bottom: 26px;
}
.policy h1 {
  color: #1B4571;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.policy .text-section ul {
  margin-top: -2px;
  padding-left: 24px;
  color: #1B4571;
  margin-bottom: 18px;
}
.policy .text-section h2 {
  color: #36A4D6;
  font-size: 1.11rem;
  margin-bottom: 8px;
}

/* THANK YOU PAGE ------------------------------------------- */
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  padding: 40px 12px;
  background: #faffff;
  border-radius: 16px;
}

/* ANIMATION EFFECTS ---------------------------------------- */
.btn-primary, .btn-outline, .mobile-menu-toggle, .service-card, .testimonial-card, .article-grid article, .faq-question {
  transition: box-shadow 0.2s, background 0.18s, color 0.15s, transform 0.14s, border-color 0.14s;
}

/* RESPONSIVE DESIGN ---------------------------------------- */
@media (max-width: 1100px) {
  .service-cards {
    justify-content: flex-start;
  }
  .card-container, .content-grid,.article-grid,.testimonials .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .service-card, .testimonial-card, .article-grid article {
    min-width: 168px;
    max-width: 96vw;
  }
  .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section, .calculator-cta, .contact-cta{
    padding: 24px 4px;
    margin-bottom: 32px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 36px;
    min-height: 160px;
  }
  .article-grid {
    flex-direction: column;
    gap: 10px;
  }
  .service-cards {
    flex-direction: column;
    gap: 12px;
  }
  .features .content-wrapper, .about .content-wrapper, .services .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .pricing-table table {
    font-size: 0.95rem;
  }
  .footer-menu {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .policy, .thank-you .content-wrapper {
    padding: 22px 4px;
  }
}
@media (max-width: 560px) {
  h1, .hero h1 {
    font-size: 1.53rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .service-card, .testimonial-card, .article-grid article {
    padding: 16px 10px;
  }
  .cookie-banner {
    font-size: .97rem;
    padding: 15px 3px 13px 3px;
  }
  .cookie-modal {
    padding: 16px 6px 14px 6px;
  }
}
/* END OF CSS */
