/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  background: #F8FAFC;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FAFC;
  color: #25344C;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #44A573;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #25344C;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #25344C;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; }

p {
  margin-bottom: 14px;
}
strong { font-weight: 700; color: #25344C; }

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 750px;
  margin: 0 auto;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(37,52,76,0.05), 0 1.5px 6px 0 rgba(37,52,76,0.04);
  border: 1px solid #E3E9F0;
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(37,52,76,0.09), 0 3px 12px 0 rgba(37,52,76,0.08);
  transform: translateY(-2px);
}
.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: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7FAFC;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(37,52,76,0.04);
  border: 1px solid #E3E9F0;
  margin-bottom: 20px;
  color: #25344C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER AND NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(37, 52, 76, 0.05);
  z-index: 999;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-left: 30px;
}
.main-nav a {
  color: #25344C;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: #F4EDE8;
  color: #44A573;
}
.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #fff;
  background: #25344C;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px 30px;
  margin-left: 32px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(37,52,76,0.10);
  transition: background 0.18s, transform 0.18s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #44A573;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #25344C;
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.15s;
  z-index: 1202;
}
.mobile-menu-toggle:focus {
  color: #44A573;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,52,76, 0.97);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  transform: translateX(-100vw);
  transition: transform 0.29s cubic-bezier(.63,-0.3,.37,1.36);
  z-index: 2000;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #44A573;
  font-size: 2rem;
  align-self: flex-end;
  margin: 20px 0 20px 0;
  cursor: pointer;
  z-index: 2001;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #44A573;
  color: #fff;
  text-decoration: none;
}

/* === HERO SECTION === */
.hero {
  background: #25344C;
  color: #fff;
  padding: 56px 0 48px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}
.hero .cta-btn {
  background: #44A573;
  color: #fff;
  margin-left: 0;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #25344C;
}
.hero p {
  color: #F4EDE8;
}

/* === FOOTER === */
footer {
  background: #25344C;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #F4EDE8;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  opacity: 0.94;
  transition: color 0.16s, text-decoration 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #44A573;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.98rem;
  color: #B4BCCE;
  opacity: 0.92;
  letter-spacing: 0.01em;
}

/* === LISTS & CONTENT === */
ul {
  line-height: 1.7;
  margin-bottom: 1em;
  padding-left: 1.1em;
}
ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}
li strong {
  color: #25344C;
}

/* === BUTTONS === */
button, .cta-btn {
  outline: none;
  transition: box-shadow 0.15s, background 0.15s, color 0.15s;
}
button:active, .cta-btn:active {
  opacity: 0.92;
}

/* === FORMS (for contact/message) === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1px solid #B4BCCE;
  background: #fff;
  color: #25344C;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #44A573;
  outline: 1.5px solid #44A573;
}

/* === TESTIMONIALS === */
.testimonial-card strong {
  color: #25344C;
  font-size: 1.08rem;
}
.testimonial-card div {
  color: #59677B;
  font-size: 1rem;
}

/* === CARDS & FEATURES === */
.card h3 {
  color: #25344C;
  margin-bottom: 10px;
}
.card p {
  color: #59677B;
  font-size: 0.98rem;
}
.feature-item strong {
  color: #25344C;
  font-size: 1.05rem;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #25344C;
  color: #fff;
  padding: 26px 16px 24px 16px;
  box-shadow: 0 -2px 18px 0 rgba(37,52,76,0.17);
  z-index: 3000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.28s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner__content {
  max-width: 620px;
  font-size: 1rem;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  padding: 10px 20px;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  margin-top: 8px;
  background: #fff;
  color: #25344C;
  font-weight: 600;
  box-shadow: 0 1.5px 6px 0 rgba(37,52,76,0.10);
  transition: background 0.12s, color 0.15s, box-shadow 0.18s;
}
.cookie-btn.primary {
  background: #44A573;
  color: #fff;
}
.cookie-btn.danger {
  background: #D35656;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F4EDE8;
  color: #25344C;
}
.cookie-btn.primary:hover, .cookie-btn.primary:focus {
  background: #25344C;
  color: #fff;
}
.cookie-btn.danger:hover, .cookie-btn.danger:focus {
  background: #911f1f;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(37,52,76,0.54);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.22s;
  opacity: 1;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  color: #25344C;
  width: 96vw;
  max-width: 400px;
  border-radius: 13px;
  box-shadow: 0 7px 32px 0 rgba(37,52,76,0.25);
  padding: 32px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.cookie-modal__title {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #25344C;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #25344C;
  font-size: 1.9rem;
  cursor: pointer;
  opacity: 0.7;
  transition: color 0.17s, opacity 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #44A573;
  opacity: 1;
}
.cookie-modal__body {
  padding-top: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E3E9F0;
  padding: 14px 0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category__name {
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category__desc {
  color: #59677B;
  font-size: 0.96rem;
}
.cookie-switch {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #E3E9F0;
  border-radius: 19px;
  position: relative;
  outline: none;
  margin-left: 10px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch:checked {
  background: #44A573;
}
.cookie-switch:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1.5px 5px 0 rgba(37,52,76,0.09);
}
.cookie-switch:checked:after {
  transform: translateX(18px);
}
.cookie-category__toggle[disabled], .cookie-switch[disabled] {
  opacity: 0.55;
  pointer-events: none;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1200px) {
  .container {
    max-width: 920px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 90vw;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 22px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .text-section {
    max-width: 100%;
    padding: 0;
    gap: 17px;
  }
  .feature-item, .card, .testimonial-card {
    padding: 16px 10px;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    margin-bottom: 36px;
    padding: 25px 6px;
  }
  .hero {
    padding: 34px 0 24px 0;
  }
  .cookie-modal {
    padding: 24px 9px 12px 9px;
    max-width: 95vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 6px 16px 6px;
  }
  footer .container {
    flex-direction: column;
    gap: 10px;
    padding: 0 8px;
  }
  .footer-nav {
    gap: 14px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    margin-bottom: 6px;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .card, .testimonial-card { padding: 11px 4px; }
  .cookie-modal { padding: 8px 3px 5px 3px; }
}

/* === PRINT SUPPORT === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body, .container { background: #fff; color: #25344C; }
}

/* === UTILITIES === */
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* === FOCUS OUTLINE === */
a, button, input, textarea, .cta-btn {
  outline-color: #44A573;
  outline-width: 2.5px;
  outline-style: solid;
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid #44A573;
  outline-offset: 1.5px;
}

/* === MISC === */
::-webkit-input-placeholder { color: #8392AD; opacity: 1; }
::-moz-placeholder { color: #8392AD; opacity: 1; }
:-ms-input-placeholder { color: #8392AD; opacity: 1; }
::placeholder { color: #8392AD; opacity: 1; }

/* === Z-INDEX LAYERS === */
header { z-index: 1100; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3500; }

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