/* === CSS RESET & NORMALIZATION === */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #F4F7FA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  color: #244676;
  background: #F4F7FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
a {
  color: #244676;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C9C018;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #244676;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
p, .subheadline {
  font-size: 1.125rem;
  color: #244676;
  margin-bottom: 16px;
  font-weight: 400;
}
p.subheadline, .subheadline {
  font-weight: 500;
  color: #244676;
  margin-bottom: 24px;
}
strong {
  font-weight: 700;
  color: #244676;
}

/* === BASE CONTAINERS & LAYOUTS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 rgba(36,70,118,0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 20px 0;
    margin-bottom: 32px;
    border-radius: 8px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(36,70,118,0.10);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  color: #244676;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  background: #F4F7FA;
  color: #C9C018;
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #244676;
  color: #fff;
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 4px 0 rgba(36,70,118,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #C9C018;
  color: #244676;
  transform: translateY(-2px) scale(1.03);
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #244676;
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 220;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F7FA;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,70,118,0.97);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.86,0,0.07,1);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 3px 0 32px 0 rgba(36,70,118,0.20);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 28px 32px 12px 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 0 36px;
  padding-top: 20px;
  gap: 24px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 12px 0px;
  border-radius: 6px;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.09);
  color: #C9C018;
  padding-left: 12px;
}
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .logo img { height: 38px; }
}
@media (max-width: 900px) {
  header .container {
    gap: 12px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}
@media (max-width: 850px) {
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 851px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* === MAIN LAYOUTS: SPACING + FLEXBOX === */
.card-container, .feature-grid, .testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(36,70,118,0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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,
  .feature-grid,
  .testimonial-slider,
  .testimonial-grid,
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch;
  }
}

/* === FEATURES & CARDS === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F4F7FA;
  padding: 24px 20px;
  border-radius: 12px;
  gap: 15px;
  min-width: 240px;
  max-width: 360px;
  flex: 1 0 260px;
  box-shadow: 0 1px 6px 0 rgba(36,70,118,0.05);
  transition: box-shadow 0.18s, transform 0.12s;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 4px 16px 0 rgba(36,70,118,0.12);
  transform: translateY(-2px) scale(1.01);
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

.card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(36,70,118,0.07);
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 5px 18px 0 rgba(36,70,118,0.14);
  transform: translateY(-3px) scale(1.01);
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px 0 rgba(36,70,118,0.10);
  min-width: 240px;
  max-width: 420px;
  flex: 1 0 260px;
}
.testimonial-card p {
  color: #244676;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: #7A879D;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-left: 4px;
}
@media (max-width: 600px) {
  .testimonial-card {
    max-width: 100%;
    padding: 18px 12px;
    border-radius: 7px;
  }
}

/* === LISTS === */
.service-list, .feature-list, .contact-info {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #244676;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-list li, .feature-list li, .contact-info li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 0px;
  line-height: 1.7;
}
.price {
  color: #C9C018;
  font-weight: 600;
  margin-left: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* === FOOTER === */
footer {
  background: #F4F7FA;
  border-top: 1.5px solid #e6eaf2;
  margin-top: 60px;
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo img {
  height: 36px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
footer nav a {
  padding: 6px 10px;
  font-size: 1rem;
  color: #244676;
  border-radius: 6px;
  transition: background 0.19s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background: #244676;
  color: #fff;
}
.footer-contact {
  color: #7A879D;
  font-size: 0.99rem;
  margin-top: 6px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0 8px;
  }
}

/* === FORMS & CONTACT === */
.contact-info {
  background: #F4F7FA;
  padding: 18px 22px;
  border-radius: 10px;
  font-size: 1.1rem;
  margin-bottom: 22px;
}

/* === TEXT/LEGAL SECTIONS === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #244676;
  font-size: 1.08rem;
  background: #F4F7FA;
  padding: 20px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.text-section h2 {
  font-size: 1.3rem;
  margin-top: 10px;
  margin-bottom: 8px;
}
.text-section ul, .text-section ol {
  list-style: disc;
  padding-left: 23px;
}
.text-section li {
  margin-bottom: 6px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .text-section {
    padding: 14px 4px;
    border-radius: 6px;
  }
}

/* === BACKGROUND COLOR VARIANTS === */
.white-bg {
  background: #fff;
}

/* === COOKIES CONSENT BANNER STYLES === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 40px 0 rgba(36,70,118,0.16);
  z-index: 3050;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 18px 34px 18px 24px;
  font-size: 1.07rem;
  transition: transform 0.36s cubic-bezier(0.68, -0.2, 0.32, 1.6);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  color: #244676;
  font-size: 1.07rem;
  max-width: 600px;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 24px;
  background: #244676;
  color: #fff;
  transition: background 0.17s, color 0.17s, border 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C9C018;
  color: #244676;
}
.cookie-btn.settings {
  background: #F4F7FA;
  color: #244676;
  border: 2px solid #244676;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #244676;
  color: #fff;
  border: 2px solid #C9C018;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px 18px 12px;
    gap: 12px;
  }
  .cookie-banner-text { max-width: 99vw; }
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(36,70,118,0.75);
  z-index:3100;
  opacity:0;
  pointer-events:none;
  transition: opacity 0.28s;
}
.cookie-modal-backdrop.visible {
  opacity:1;
  pointer-events:auto;
}
.cookie-modal {
  position:fixed;
  left:50%;
  top:50%;
  min-width:320px;
  max-width:94vw;
  max-height:92vh;
  overflow-y:auto;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 48px 0 rgba(36,70,118,0.26);
  padding: 36px 28px 24px 28px;
  z-index: 3110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s, transform 0.33s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #244676;
  margin-bottom: 18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-categories label {
  font-size: 1.09rem;
  color: #244676;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-categories input[type='checkbox'] {
  accent-color: #244676;
  width: 19px; height: 19px;
  border-radius: 4px;
  border: 1.5px solid #7A879D;
}
.cookie-category-desc {
  color: #7A879D;
  font-size: 0.98rem;
  margin-left: 27px;
}
.cookie-modal-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 16px;
  border: none;
  background: transparent;
  color: #244676;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 8px;
  width: 40px;height:40px;
  transition: background 0.16s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: #F4F7FA;
  color: #C9C018;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity:1; transform: none; }
}
.card, .feature-item, .testimonial-card {
  animation: fadeInUp 0.6s cubic-bezier(0.475, 0.275, 0.395, 1.05) both;
}

/* === SPECIAL: MISC & POLISH LOCALIZATION TUNING === */
.mission-statement {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #244676;
  background: #F4F7FA;
  border-left: 4px solid #C9C018;
  padding: 12px 18px;
  border-radius: 8px;
  margin: 10px 0 4px 0;
}

/* === THANK YOU/CONFIRMATION === */
@media (max-width: 600px) {
  h1 {font-size: 1.5rem;}
  h2 {font-size: 1.18rem;}
  .cta-primary {font-size: 1rem;padding:10px 18px;}
  .feature-item, .card, .testimonial-card {
     padding:14px 8px;
     font-size: 0.99rem;
  }
}

/* === NATIVE ELEMENTS === */
input, button, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.3;
}
button { cursor: pointer; }

/* === SCROLLBAR FOR DESKTOP === */
@media (min-width: 641px) {
  html::-webkit-scrollbar {
    width: 10px;
    background: #F4F7FA;
  }
  html::-webkit-scrollbar-thumb {
    background: #e2e6ec;
    border-radius: 6px;
  }
}

/* === VISUAL HIERARCHY: GAPS & SPACING === */
.section + .section,
.card + .card,
.feature-item + .feature-item,
.testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* === ACCESSIBILITY: FOCUS STATES === */
:focus {
  outline: 2px solid #C9C018;
  outline-offset: 1px;
}

/* === HIDE OUT-OF-VIEW MOBILE MENU === */
.mobile-menu,
.cookie-modal, .cookie-modal-backdrop {
  display: none;
}
.mobile-menu.open,
.cookie-modal.visible, .cookie-modal-backdrop.visible {
  display: flex;
}

