/* Mesh Logic Minimalist CSS – Responsive, Professional, Flexbox Only */

/* ================= RESET & BASE ================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #154069;
  background: #fff;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #154069;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #238960;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li + li {
  margin-top: 12px;
}
strong {
  font-weight: 600;
}
em {
  font-style: italic;
}
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154069;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p {
  margin-bottom: 16px;
  color: #1b2736;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ================= HEADER ================= */
header {
  background: #fff;
  border-bottom: 1px solid #E3E6ED;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #154069;
  font-weight: 500;
  padding: 6px 0;
  border: none;
  background: none;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #238960;
}
.cta-btn {
  background: #39B584;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(21,64,105,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #238960;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px rgba(21,64,105,0.13);
}

/* =================== MOBILE MENU =================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #154069;
  cursor: pointer;
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.12s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E3E6ED;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 24px rgba(21,64,105,0.10);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.76,.02,.43,1.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 36px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #154069;
  position: absolute;
  top: 20px;
  right: 28px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #39B584;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-left: 32px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #154069;
  padding: 10px 0 10px 4px;
  border-radius: 4px;
  width: 95%;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3E6ED;
  color: #238960;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;
  }
  .main-nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 9px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding-left: 6px;
    padding-right: 4px;
  }
}

/* ================= HERO SECTION ================= */
.hero-section {
  background: #E3E6ED;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
  padding: 40px 0 36px 0;
  box-shadow: 0 2px 20px 0 rgba(21,64,105,0.07);
}
.hero-section h1 {
  color: #154069;
  margin-bottom: 18px;
}
.hero-section p {
  color: #1b2736;
  font-size: 1.125rem;
  margin-bottom: 28px;
}
.hero-section .cta-btn {
  margin-top: 3px;
}

/* =================== SPACING/SECTIONS =================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(21,64,105,0.07);
  margin-bottom: 20px;
  position: relative;
  color: #154069;
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px 0 rgba(21,64,105,0.11);
}
.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 {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0.5px 6px rgba(21,64,105,0.08);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  color: #154069;
  min-width: 220px;
  max-width: 520px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  color: #154069;
  margin: 0 0 6px 0;
  line-height: 1.6;
}
.testimonial-card p {
  margin: 0 0 0 0;
  color: #238960;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 2px 10px rgba(57,181,132,0.07);
  transform: translateY(-2px) scale(1.022);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =================== SPECIAL LISTS/ELEMENTS =================== */
.service-price {
  color: #39B584;
  font-weight: 700;
  margin-left: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #6B7689;
  font-size: 0.9rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #39B584;
}
footer {
  border-top: 1px solid #E3E6ED;
  background: #fff;
  margin-top: 64px;
  padding: 34px 0 22px 0;
  color: #7C8594;
}
footer p {
  font-size: 0.9rem;
  color: #7C8594;
}

/* =================== FORMS, INPUTS =================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #E3E6ED;
  border-radius: 8px;
  padding: 10px 12px;
  background: #FAFAFA;
  color: #154069;
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  box-shadow: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus {
  border-color: #238960;
  box-shadow: 0 0 0 2px rgba(57,181,132,0.08);
}

/* =================== COOKIES BANNER =================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #154069;
  box-shadow: 0 -1px 20px 0 rgba(21,64,105,0.07);
  padding: 22px 20px 21px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 99999;
  gap: 24px;
  font-size: 0.99rem;
  transition: transform 0.37s;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 19px;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  background: #E3E6ED;
  color: #154069;
  box-shadow: 0 1.5px 6px 0 rgba(21,64,105,0.03);
  transition: background 0.16s, color 0.13s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: #39B584;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #238960;
}
.cookie-btn.reject {
  background: #E3E6ED;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d1dee8;
  color: #238960;
}
.cookie-btn.settings {
  background: transparent;
  color: #154069;
  text-decoration: underline;
  box-shadow: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #39B584;
  background: transparent;
}

/* =================== COOKIE MODAL =================== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(21,64,105,0.12);
  padding: 40px 28px 28px 28px;
  width: 95vw;
  max-width: 410px;
  z-index: 100002;
  opacity: 1;
  transition: opacity 0.25s, transform 0.34s cubic-bezier(.49,.03,.57,1.03);
  display: none;
}
.cookie-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.35rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin: 12px 0;
}
.cookie-modal .modal-btn-group {
  margin-top: 25px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 19px;
  font-size: 1.5rem;
  color: #8394A7;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #154069;
}
.cookie-modal .cookie-settings-list {
  margin-top: 17px;
  margin-bottom: 10px;
  padding-left: 0;
}
.cookie-modal .cookie-settings-list li {
  margin-bottom: 10px;
  list-style: none;
  display: flex;
  align-items: center;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.7px solid #E3E6ED;
  background: #fafbfc;
  position: relative;
  margin-right: 9px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"]:checked {
  border-color: #39B584;
  background: #39B584;
}
.cookie-modal input[type="checkbox"]:checked:after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 5px;
  top: 5px;
}

/* =========== RESPONSIVE DESIGN (MOBILE-FIRST) ========== */
@media (max-width: 900px) {
  section {
    padding: 36px 8px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  section {
    padding: 30px 4px 34px 4px;
    margin-bottom: 44px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.10rem; }
  section {
    padding: 18px 3px 21px 3px;
    margin-bottom: 32px;
  }
  .cookie-modal {
    padding: 22px 7px 12px 7px;
    max-width: 97vw;
  }
}

/* =================== ANIMATIONS =================== */
.cta-btn,
.card,
.testimonial-card,
.cookie-btn {
  transition: background 0.16s, color 0.15s, box-shadow 0.16s, transform 0.13s;
}
section, .card, .testimonial-card {
  transition: box-shadow 0.16s;
}

/* =================== UTILITIES & MISC =================== */
.hidden {
  display: none !important;
}
.nowrap { white-space: nowrap; }
.text-center {
  text-align: center;
}
.text-left { text-align: left; }
.text-right { text-align: right; }

::-webkit-scrollbar {
  width: 8px;
  background: #F7F8FA;
}
::-webkit-scrollbar-thumb {
  background: #E3E6ED;
  border-radius: 5px;
}

/* ====== END ====== */