/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #193265;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after { box-sizing: inherit; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; }
:focus { outline: 2px solid #5FB2E0; outline-offset: 2px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #193265;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 12px;
}
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #21396D;
  margin-bottom: 16px;
}
strong { font-weight: 700; }
em { font-style: italic; color: #5FB2E0; }
blockquote {
  border-left: 4px solid #5FB2E0;
  background: #F3FAF7;
  padding: 16px 24px;
  font-size: 1.125rem;
  font-style: italic;
  color: #193265;
  margin-bottom: 16px;
  border-radius: 0 12px 12px 0;
}

/* LAYOUT WRAPPERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(25,50,101,0.04);
  position: relative;
}

/* FLEXBOX PATTERNS */
.features, .content-grid, .card-container, .testimonial-list, .feature-list, .service-list, .service-detail-list, .footer-nav, .cta-section, .contacts-quick, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.features, .feature-list, .service-list, .card-container, .content-grid {
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F3FAF7;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(25,50,101,0.06);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(95,178,224,0.12);
  transform: translateY(-4px) scale(1.01);
}

.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;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(25,50,101,0.08);
  border-radius: 12px;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(95,178,224,0.14);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
}
.contacts-quick {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.contacts-quick span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #193265;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/***** HEADER & MENU ******/
header {
  background: #193265;
  width: 100%;
  z-index: 100;
  position: relative;
  box-shadow: 0 3px 16px rgba(25,50,101,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.main-nav a {
  color: #fff;
  font-size: 1rem;
  padding: 10px 0;
  letter-spacing: 0.5px;
  transition: color 0.18s;
  border-bottom: 2px solid transparent;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #5FB2E0;
  border-bottom: 2px solid #5FB2E0;
}
.cta.primary {
  background: #5FB2E0;
  color: #193265;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 3px 16px rgba(95,178,224,0.10);
  margin-left: 12px;
  margin-bottom: 0;
  border: none;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.12s;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: #193265;
  color: #fff;
  box-shadow: 0 6px 20px rgba(25,50,101,0.14);
  transform: translateY(-2px) scale(1.04);
}

/***** MOBILE BURGER MENU ******/
.mobile-menu-toggle {
  display: none;
  font-size: 2.5rem;
  background: none;
  color: #5FB2E0;
  border: none;
  cursor: pointer;
  z-index: 121;
  margin-left: 16px;
  padding: 8px 16px 8px 8px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #1d3d6c;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #193265;
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.6,.05,.16,.95);
  box-shadow: 2px 0 24px rgba(25,50,101,0.16);
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 2rem;
  color: #5FB2E0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 130;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #1d3d6c;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  padding: 12px 32px;
  border-radius: 8px;
  transition: background 0.2s, color 0.18s, transform 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #5FB2E0;
  color: #193265;
  transform: scale(1.06);
}

/***** HERO SECTION ******/
.hero {
  background: #5FB2E0;
  color: #193265;
  border-radius: 0 0 40px 40px;
  min-height: 320px;
  margin-bottom: 60px;
  padding: 50px 0 60px 0;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 48px rgba(95,178,224,0.10);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  color: #193265;
  font-size: 2.4rem;
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #193265;
  margin-bottom: 32px;
}

/***** FEATURES/USŁUGI ******/
.features h2, .services h2 {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #193265;
}
.feature-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list li, .service-list li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25,50,101,0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  min-width: 200px;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-list li:hover, .service-list li:hover {
  box-shadow: 0 6px 32px rgba(95,178,224,0.14);
  transform: translateY(-2px) scale(1.02);
}
.feature-list img, .service-list img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/***** PRICING / TABLES ******/
table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0 24px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(25,50,101,0.06);
  overflow: hidden;
}
thead {
  background: #193265;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
}
th, td {
  padding: 20px 16px;
  text-align: left;
}
th { border-bottom: 2px solid #5FB2E0; }
tbody tr {
  border-bottom: 1px solid #F3FAF7;
  transition: background 0.14s;
}
tbody tr:hover {
  background: #F3FAF7;
}
td {
  color: #21396D;
  font-size: 1rem;
}

/***** CARDS & TESTIMONIALS ******/
.testimonials {
  width: 100%;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 28px;
}

/***** FAQ ******/
.faq-section {
  background: #F3FAF7;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25,50,101,0.08);
  padding: 32px 28px;
  margin-bottom: 60px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.faq-item {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(25,50,101,0.08);
  padding: 20px 18px;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: #193265;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

/***** CONTACT INFO ******/
.contact-info ul, .contact-list, .location-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 0;
}
.contact-info ul li, .contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 1rem;
  color: #193265;
  font-weight: 600;
}
.map-stub {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F3FAF7;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(25,50,101,0.06);
  margin-top: 12px;
  width: fit-content;
}

/***** THANK YOU SECTION *****/
.thank-you-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 0;
  background: #F3FAF7;
  border-radius: 18px;
}

/***** GUARANTEE SECTION *****/
.guarantee, .guarantee-section {
  background: #F3FAF7;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(25,50,101,0.04);
  padding: 32px 24px;
  margin-bottom: 40px;
}
.guarantee ul, .guarantee-section ul {
  font-size: 1rem;
  color: #21396D;
  margin-bottom: 18px;
  margin-top: 14px;
  padding-left: 16px;
  list-style-type: disc;
}

/***** FOOTER *****/
footer {
  background: #193265;
  color: #fff;
  padding: 40px 0 16px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -3px 16px rgba(25,50,101,0.04);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-nav a {
  color: #5FB2E0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.branding {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}
.copyright {
  color: #ACC6E2;
  font-size: 0.95rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/***** BUTTON/CTA EFFECTS *****/
button, .cta, .mobile-menu-toggle {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cta:active, .mobile-menu-toggle:active, button:active {
  transform: scale(0.97);
}

/***** ANIMATIONS *****/
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .card, .testimonial-card, .faq-item, .thank-you-section, .guarantee, .guarantee-section {
  animation: fadeInUp 0.7s cubic-bezier(.6,.05,.16,.95);
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #193265;
  color: #fff;
  z-index: 9998;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -3px 36px rgba(25,50,101,0.15);
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  animation: fadeInUp 0.4s cubic-bezier(.6,.05,.16,.95);
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.cookie-btn {
  background: #5FB2E0;
  color: #193265;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 28px;
  cursor: pointer;
  margin-bottom: 0;
  box-shadow: 0 2px 12px rgba(95,178,224,0.08);
  transition: background 0.18s, box-shadow 0.2s, color 0.15s, transform 0.14s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #fff;
  color: #193265;
  box-shadow: 0 6px 32px rgba(25,50,101,0.10);
}
.cookie-btn.settings {
  background: #fff;
  color: #193265;
  border: 2px solid #5FB2E0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #5FB2E0;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(19,50,101,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.2s cubic-bezier(.6,.05,.16,.95);
}
.cookie-modal {
  background: #fff;
  color: #193265;
  border-radius: 18px;
  padding: 38px 30px 32px 30px;
  max-width: 400px;
  width: 96vw;
  box-shadow: 0 10px 60px rgba(25,50,101,0.18);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal h2 {
  color: #193265;
  font-size: 1.35rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #5FB2E0;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.6rem;
  color: #5FB2E0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #193265;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-category label {
  color: #193265;
  font-weight: 600;
  user-select: none;
}
.cookie-category.essential label {
  opacity: 0.75;
  font-weight: 600;
}
.cookie-category.essential input[type="checkbox"] {
  display: none; /* Always checked */
}

/***** MEDIA QUERIES: RESPONSIVE DESIGN *****/
@media (max-width: 1100px) {
  .main-nav { gap: 14px; }
  .footer-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .section { padding: 30px 10px; }
  .hero { padding: 24px 0 40px 0; min-height: 200px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .feature-list li, .service-list li, .faq-item {
    flex: 1 1 200px;
    padding: 16px 10px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 4px;
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .section { padding: 24px 4px; }
  .card-container, .content-grid, .features, .testimonial-list, .feature-list, .service-list, .faq-list {
    flex-direction: column;
    gap: 18px;
  }
  .cta-section, .contacts-quick, .thank-you-section, .footer-nav, .branding, .copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .testimonial-card, .card, .faq-item, .feature-list li, .service-list li {
    min-width: 0;
    width: 100%;
    margin-bottom: 14px;
    padding: 15px 8px;
  }
  table, th, td {
    font-size: 0.98rem;
    padding: 12px 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.06rem; }
  .hero { padding: 10px 0 22px 0; border-radius: 0 0 20px 20px; }
  .cookie-banner {
    padding: 16px 4px;
    font-size: 0.95rem;
  }
  .cookie-modal {
    padding: 20px 9px;
  }
}

/***** UTILITIES & SPACING *****/
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-48 { margin-top: 48px !important; }
.mb-48 { margin-bottom: 48px !important; }
.text-center { text-align: center !important; }

/***** PRINT (if needed) *****/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cta.primary { display: none !important; }
  body { background: #fff; color: #000;
    font-size: 13pt;
  }
  section, .section, .container, .card, .testimonial-card {
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
  }
}

/***** END OF CSS *****/
