/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222E44;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #222E44;
  text-decoration: none;
  transition: color 0.15s;
}
a:focus,
a:hover {
  color: #4FA3E3;
  outline: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.1rem; }

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
}
button:focus,
a:focus {
  outline: 2px solid #4FA3E3;
  outline-offset: 3px;
}

::-webkit-input-placeholder, ::placeholder {
  color: #858fa3;
  opacity: 1;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,46,68,0.09);
  padding: 32px 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: 0 4px 24px rgba(79,163,227,0.16);
  transform: translateY(-2px) scale(1.02);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,46,68,0.08);
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 400px;
  color: #222E44;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-card span:last-child {
  font-size: 1.2rem;
  color: #4FA3E3;
  letter-spacing: 0.12em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(34,46,68,0.06);
  position: sticky;
  top: 0;
  z-index: 1050;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  position: relative;
}
.logo img {
  height: 42px;
  width: auto;
}
.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-list li a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.nav-list li a:hover,
.nav-list li a.active {
  background: #F4F6FB;
  color: #222E44;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #222E44;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(34,46,68,0.06);
  transition: background 0.17s, box-shadow 0.17s, transform 0.12s;
  letter-spacing: 0.02em;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #4FA3E3;
  color: #222E44 !important;
  box-shadow: 0 4px 20px rgba(79,163,227,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #222E44;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(34,46,68,0.06);
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1202;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F4F6FB;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1300;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 4px 32px rgba(34,46,68,0.18);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
  animation: mobileMenuIn 0.36s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes mobileMenuIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 15px;
  background: #F4F6FB;
  color: #222E44;
  font-size: 2.2rem;
  border: none;
  border-radius: 6px;
  padding: 2px 10px 4px 10px;
  cursor: pointer;
  z-index: 1302;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #4FA3E3;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 70px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #222E44;
  padding: 13px 0;
  border-bottom: 1px solid #F4F6FB;
  border-radius: 0;
  transition: background 0.2s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F4F6FB;
  color: #4FA3E3;
}

/* MAIN CONTENT */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURE ICONS */
.content-wrapper ul li, 
.content-wrapper > ul > li,
.text-section > ul > li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.06rem;
  line-height: 1.35;
}
.content-wrapper ul li img {
  width: 32px;
  height: 32px;
  background: #F4F6FB;
  border-radius: 8px;
  padding: 6px;
}

/* SERVICE PRICE LABELS */
.price {
  color: #4FA3E3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-left: 6px;
}

/* ACCORDIONS/FAQ */
details {
  margin-bottom: 20px;
  background: #F4F6FB;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(34,46,68,0.06);
  padding: 16px 24px;
  transition: box-shadow 0.18s;
}
details[open] {
  box-shadow: 0 4px 16px rgba(79,163,227,0.12);
}
details summary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  color: #222E44;
}
details summary:focus {
  color: #4FA3E3;
}

/* FOOTER */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #F4F6FB;
  margin-top: 60px;
  padding-top: 28px;
  padding-bottom: 22px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav li a {
  font-size: 0.99rem;
  font-weight: 500;
  color: #222E44;
  opacity: 0.9;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav li a:hover {
  background: #F4F6FB;
  color: #4FA3E3;
}
.footer-info {
  font-size: 0.96rem;
  color: #858fa3;
  text-align: center;
  margin-top: 10px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #F4F6FB;
  box-shadow: 0 -2px 14px rgba(34,46,68,0.07);
  padding: 24px 16px 16px 16px;
  z-index: 2400;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: slideUpBanner 0.4s;
}
@keyframes slideUpBanner {
  from { transform: translateY(64px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 6px rgba(34,46,68,0.05);
  margin-right: 4px;
}
.cookie-btn--accept {
  background: #222E44;
  color: #fff;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #4FA3E3;
  color: #222E44;
}
.cookie-btn--reject {
  background: #F4F6FB;
  color: #222E44;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #fff;
  color: #4FA3E3;
}
.cookie-btn--settings {
  background: #fff;
  color: #4FA3E3;
  border: 1px solid #4FA3E3;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
  background: #4FA3E3;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2500;
  background: rgba(32,46,68, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.25s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px 30px 30px;
  max-width: 410px;
  box-shadow: 0 8px 32px rgba(34,46,68,0.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPopIn 0.27s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalPopIn {
  0% { transform: scale(0.95); opacity: 0; }
  80% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 17px;
  right: 15px;
  background: #F4F6FB;
  color: #222E44;
  border: none;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 36px; height: 36px;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #4FA3E3;
  color: #fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
}
.cookie-toggle {
  accent-color: #4FA3E3;
  width: 20px; height: 20px;
  cursor: pointer;
}
.cookie-category--essential label {
  font-weight: 500;
  opacity: 0.75;
}
.cookie-category--essential input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* BUTTONS (SECONDARY) */
.button, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: #fff;
  color: #222E44;
  border: 1px solid #4FA3E3;
  border-radius: 7px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.button:hover, .button:focus,
.btn-secondary:hover, .btn-secondary:focus {
  background: #F4F6FB;
  color: #4FA3E3;
}

/* MEDIA QUERIES: RESPONSIVE FLEX-GRID LAYOUTS/MENUS */
@media (max-width: 1024px) {
  .container {
    max-width: 94vw;
  }
  nav {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .nav-list {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 99vw;
    padding-left: 8px; padding-right: 8px;
  }
  .nav-list {
    gap: 10px;
  }
  .content-grid {
    gap: 14px;
  }
  .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  nav {
    padding: 16px 8px;
  }
  .nav-list,
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: none;
  }
  .mobile-menu.active {
    display: flex;
  }
  .content-wrapper, .text-section, .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 100vw;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 0; padding-right: 0;
  }
  section {
    padding: 28px 4px;
  }
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.09rem; }
  .card {
    padding: 20px 10px;
  }
}

/* MICRO-INTERACTIONS/ANIMATIONS */
.cta-primary, .button, .btn-secondary, .cookie-btn {
  transition: background 0.2s, color 0.2s, transform 0.13s, box-shadow 0.13s;
}
.cta-primary:active, .button:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* GENERAL ELEMENT SPACING & WHITE SPACE */
main > section,
.section {
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
}
.card-container, .content-grid, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* FORM ELEMENTS (for potential contact forms) */
input, textarea, select {
  border: 1px solid #F4F6FB;
  border-radius: 7px;
  background: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #4FA3E3;
  outline: none;
  box-shadow: 0 2px 8px rgba(79,163,227,0.10);
}
label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #222E44;
  margin-bottom: 4px;
  display: block;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid #4FA3E3;
  outline-offset: 2px;
}

/* SUCCESS/ERROR MESSAGES */
.alert-success {
  background: #F4F6FB;
  border-left: 4px solid #4FA3E3;
  color: #222E44;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

/* UTILITIES */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* OVERRIDES FOR FLEXBOXule{0pt}{24pt}CRITICAL */
.content-wrapper:not(.text-image-section) {
  flex-direction: column;
}

/* HELPER TO TRIM SPACING OF LAST CHILD */
.content-wrapper > *:last-child,
.card-container > *:last-child {
  margin-bottom: 0;
}

/* PRINT OVERRIDE */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #222E44 !important;
  }
}
