/* === 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,main,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;
  font-size: 16px;
  background: #F2F6F9;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F2F6F9;
  font-family: 'Roboto', Georgia, Times New Roman, Times, serif;
  color: #173C53;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #173C53;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21A179;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Times, 'Times New Roman', serif;
  color: #173C53;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; } 
p, li, ul, ol {
  font-size: 1rem;
}
strong { font-weight: 600; }
small {
  font-size: 0.89rem;
  color: #415668;
}
.container {
  width: 100%;
  max-width: 1124px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 32px 0 rgba(23, 60, 83, 0.06);
}
@media (max-width: 900px) {
  section, .section { padding: 32px 8px; margin-bottom: 38px; }
}

/* === HEADER AND NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 20px 0 rgba(23, 60, 83, 0.08);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: 'Montserrat', Times, serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  justify-content: flex-start;
}
.main-nav img {
  height: 44px;
  margin-right: 18px;
}
.main-nav a {
  color: #173C53;
  padding: 7px 14px;
  border-radius: 5px;
  transition: background 0.21s,color 0.21s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #21A1791A;
  color: #21A179;
}
.cta-button {
  background: #21A179;
  color: #fff !important;
  padding: 11px 28px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(33, 161, 121, 0.12);
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s,transform 0.16s, box-shadow 0.18s;
  font-family: 'Montserrat', Times, serif;
  font-size: 1.06rem !important;
  margin-left: 16px;
}
.cta-button:hover, .cta-button:focus {
  background: #173C53;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(23,60,83,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #173C53;
  cursor: pointer;
  padding: 12px 16px;
  margin-left: auto;
  z-index: 103;
  transition: color 0.20s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #21A179;
}
/* Hidden menu by default */
.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 32px 26px;
  z-index: 102;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.47,1.64,.41,.8);
  box-shadow: 0 6px 48px 0 rgba(23,60,83,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #173C53;
  align-self: flex-end;
  margin-bottom: 28px;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #21A179;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.19rem;
  color: #173C53;
  font-family: 'Montserrat', Times, serif;
  padding: 16px 12px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #21A1791A;
  color: #21A179;
}

@media (max-width: 1200px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav a.cta-button {
    margin-left: 8px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 1rem;
  }
  .main-nav img { height: 38px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 10px;
  }
  .mobile-menu {
    display: flex;
  }
}

/* === HERO SECTIONS === */
.hero {
  background: #F2F6F9;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 54px;
  padding: 54px 0 50px 0;
}
.hero .container {
  padding: 0 20px;
}
.hero .content-wrapper {
  gap: 18px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: #173C53;
}
.hero p {
  font-size: 1.23rem;
  color: #415668;
  margin-bottom: 20px;
  max-width: 730px;
}
.hero .cta-button {
  margin: 0;
}
@media (max-width: 770px) {
  .hero { padding: 29px 0 22px 0; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
}

/* === FLEX LAYOUT CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(23, 60, 83, 0.07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 0px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(33, 161, 121, 0.14);
  transform: translateY(-3px) scale(1.022);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 15px; }
  .content-grid { flex-direction: column; gap: 14px; }
}

/* === FEATURE LISTS & SERVICES === */
.features {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 28px 0 rgba(33,161,121,0.04);
}
.features .content-wrapper {
  gap: 14px;
}
.features h2 {
  margin-bottom: 8px;
  color: #173C53;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.features li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.07rem;
  color: #415668;
  border-left: 4px solid #21A17919;
  padding: 10px 20px;
  border-radius: 7px 18px 18px 7px;
  background: #F2F6F9;
}
.features li img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* SERVICE TILES/GRID */
.services {
  background: #fff;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.services-grid > div {
  background: #F2F6F9;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(33,161,121,0.03);
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.19s, transform 0.17s;
}
.services-grid > div:hover, .services-grid > div:focus-within {
  box-shadow: 0 8px 30px rgba(33,161,121,0.11);
  transform: translateY(-5px) scale(1.025);
}
.services-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}
.services-grid h3 {
  color: #173C53;
  margin-bottom: 8px;
  font-size: 1.12rem;
  font-family: 'Montserrat', Times, serif;
}
.services-grid .price {
  margin-top: 4px;
  font-family: 'Montserrat', Times, serif;
  color: #21A179;
  font-weight: 600;
  font-size: 1.1rem;
}
@media (max-width: 1000px) {
  .services-grid { gap: 18px; }
  .services-grid>div { min-width: 185px; }
}
@media (max-width: 768px) {
  .services-grid { flex-direction: column; gap: 13px; }
  .services-grid > div { min-width: unset; }
}
/* Service benefits & feature items */
.service-benefits {
  margin-top: 12px;
}
.service-benefits ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #173C53;
  background: transparent;
  border-left: 4px solid #21A17933;
  padding: 8px 15px;
  border-radius: 5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TESTIMONIALS === */
.testimonials {
  background: #fff;
}
.testimonials .content-wrapper {
  gap: 22px;
}
.testimonials h2 {
  color: #173C53;
}
.testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F2F6F9;
  padding: 20px 24px;
  min-width: 270px;
  max-width: 390px;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 rgba(23,60,83,0.06);
  margin-bottom: 0;
  font-size: 1rem;
  color: #173C53;
  position: relative;
  transition: box-shadow 0.19s, transform 0.16s;
}
.testimonial-card strong {
  font-family: 'Montserrat', Times, serif;
  color: #21A179;
  font-size: 0.97rem;
  font-weight: 600;
}
.testimonial-card p {
  color: #173C53;
  font-size: 1.07rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 18px rgba(33,161,121,0.11);
  transform: scale(1.025);
}
@media (max-width: 700px) {
  .testimonial-slider, .testimonial-grid { flex-direction: column; gap: 16px; }
  .testimonial-card { max-width: 100%; }
}

/* === CTA SECTIONS === */
.cta.primary {
  background: #173C53;
  color: #fff;
  border-radius: 18px;
  text-align: left;
  box-shadow: 0 2px 24px 0 rgba(33,161,121,0.08);
}
.cta.secondary {
  background: #21A179;
  color: #fff;
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 2px 20px 0 rgba(23,60,83,0.08);
}
.cta .content-wrapper h2 {
  color: #fff;
}
.cta .cta-button {
  background: #fff;
  color: #173C53 !important;
  margin-top: 10px;
}
.cta.primary .cta-button:hover, .cta.secondary .cta-button:hover {
  background: #fff;
  color: #21A179 !important;
  box-shadow: 0 4px 24px rgba(33,161,121,0.13);
}

/* === CONTACT & FOOTER === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #415668;
  font-size: 1rem;
}
.contact-details img {
  width: 21px; height: 21px; opacity: 0.7;
}
footer {
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 24px 0 rgba(33,161,121,0.041);
  margin-top: 54px;
  padding: 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 29px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 0 24px 0;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #415668;
  font-size: 0.97rem;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.18s,color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #21A1791A;
  color: #21A179;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 140px;
}
.brand-info img {
  width: 78px; height: auto;
  margin-bottom: 4px;
}
.brand-info span {
  font-family: 'Montserrat', Times, serif;
  font-size: 1rem;
  color: #173C53;
  font-weight: 600;
}
.brand-info small {
  color: #415668;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
}

/* === POLICY / LEGAL / TEXT SECTIONS === */
.policy {
  background: #fff;
}
.policy .content-wrapper {
  gap: 18px;
}
.policy h1, .policy h2 {
  color: #173C53;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-left: 0;
  list-style: none;
}
.text-section li {
  background: #F2F6F9;
  border-left: 4px solid #21A17933;
  padding: 8px 15px;
  border-radius: 5px;
  color: #173C53;
  font-size: 1rem;
}
.text-section h2, .text-section h3 { margin-top: 22px; }

/* === ABOUT PAGE SPECIAL === */
.about .text-section h3 {
  color: #21A179;
  font-family: 'Montserrat', Times, serif;
  margin-bottom: 6px;
}
.about .text-section strong {
  font-family: 'Montserrat', Times, serif;
  color: #173C53;
  font-weight: 650;
}

/* === BUTTONS & FORMS === */
button, .button {
  font-family: 'Montserrat', Times, serif;
  background: #21A179;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 11px 26px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: box-shadow 0.19s, background 0.22s, color 0.18s, transform 0.14s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #173C53;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(23,60,83,0.11);
  transform: translateY(-2px) scale(1.03);
}

/* === FAQ ON ANALIZA-SKLADU-CIALA === */
.faq {
  margin-top: 17px;
}
.faq h3 {
  color: #21A179;
  font-family: 'Montserrat', Times, serif;
  margin-bottom: 5px;
}
.faq ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}
.faq li {
  padding-left: 0;
  background: #F2F6F9;
  border-radius: 6px;
  border-left: 4px solid #173C5344;
  color: #415668;
  font-size: 1rem;
  padding: 9px 13px 9px 13px;
}
.faq li strong { color: #173C53; font-weight: 600; }

/* === LISTS FOR STEPS/ORDER === */
ol {
  padding-left: 1.2em;
  margin-bottom: 12px;
}
ol li {
  position: relative;
  padding-left: .6em;
  margin-bottom: 6px;
  color: #173C53;
}

/* === COOKIES CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #173C53;
  color: #fff;
  font-size: 1rem;
  padding: 24px 18px 20px 24px;
  z-index: 500;
  box-shadow: 0 -2px 32px 0 #173C5311;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  animation: cookies-slide-in 0.7s cubic-bezier(.21,1.25,.32,1.01);
  border-radius: 13px 13px 0 0;
}
@keyframes cookies-slide-in {
  0% { transform: translateY(120px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-size: 1.03rem;
  color: #fff;
  max-width: 560px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  border-radius: 22px;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', Times, serif;
  border: none;
  transition: background 0.18s, color 0.15s, transform 0.17s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #21A179;
  color: #fff;
}
.cookie-btn.reject {
  background: #f8f6f4;
  color: #173C53;
  border: 1px solid #21A17966;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff;
  color: #21A179;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff0f0;
  color: #173C53;
  border: 1px solid #21A17966;
}
.cookie-settings-btn {
  background: #173C53;
  color: #fff;
  border: 1px solid #21A179;
  padding: 9px 15px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #21A17922;
  color: #21A179;
}
/* Hide banner on small viewport until shown via JS */
.cookie-banner.hidden {
  display: none;
}

/* COOKIES PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 501;
  left: 0; top: 0; right:0; bottom:0;
  background: #173C5399;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-overlay-fadein 0.25s linear;
}
@keyframes modal-overlay-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #173C53;
  padding: 36px 30px 29px 32px;
  border-radius: 13px;
  box-shadow: 0 6px 42px 0 rgba(33,161,121,0.17);
  max-width: 410px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 510;
  animation: modal-pop-in 0.32s cubic-bezier(.3,1.68,.23,.92);
}
@keyframes modal-pop-in {
  0% { transform: scale(.7) translateY(60px); opacity:0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  color: #173C53;
  font-size: 1.16rem; margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F2F6F9;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
}
.cookie-modal .category-label {
  font-size: 1.04rem;
  color: #173C53;
}
.cookie-modal .toggle {
  position: relative;
  width: 44px;
  height: 22px;
  display: flex;
  align-items: center;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 44px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  cursor: pointer;
}
.cookie-modal .slider {
  background: #dde6ed;
  border-radius: 22px;
  width: 44px;
  height: 22px;
  transition: background 0.17s;
  position: relative;
}
.cookie-modal .toggle input:checked + .slider {
  background: #21A179;
}
.cookie-modal .slider:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.18s;
}
.cookie-modal .toggle input:checked + .slider:before {
  left: 24px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions .cookie-btn {
  min-width: 86px;
}

/* Make essential switch disabled */
.cookie-modal .toggle.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.card, .services-grid > div, .testimonial-card {
  transition: box-shadow 0.2s,transform 0.19s;
}
.cta-button, .cookie-btn, .button, .cookie-settings-btn {
  transition: background 0.13s, color 0.13s, box-shadow 0.16s,transform 0.13s;
}

/* === RESPONSIVE === */
@media (max-width: 740px) {
  .container { padding: 0 8px; }
  .card, .services-grid>div, .testimonial-card {
    padding: 18px 9px;
    min-width: unset;
  }
  section, .section {
    padding: 15px 2px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
}
@media (max-width: 570px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 6px 13px 8px;
    font-size: 0.93rem;
  }
}

/* === UTILITIES === */
.d-none { display: none !important; }

/* === END OF STYLE === */