/* ==========================
   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: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #F7F7F2;
  color: #22415B;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
*:focus {
  outline: 2px solid #6AB6D8;
  outline-offset: 2px;
}

/* ===========================
   BRAND FONTS & TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #22415B;
}
.section h2, h2.section-title {
  font-size: 2rem;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: 0.07em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
h4, h5, h6 {
  margin-bottom: 8px;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}
/* Hierarchy spacing */
.text-section h1,
.text-section h2,
.text-section h3 { margin-top: 0.2em; }

/* ==========================
   CONTAINER + STRUCTURE
   ========================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

main {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* GRID-LIKE FLEX CONTAINERS  */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 8px rgba(34,65,91,0.09);
  border-radius: 14px;
  border: 1.5px solid #e4e4e0;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.18s;
  z-index: 1;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 5px 24px rgba(106,182,216,0.15);
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: #F7F7F2;
  border: 1.5px solid #e0e8ef;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(34,65,91,0.08);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, border-color 0.15s;
  position: relative;
  z-index: 1;
}
.testimonial-card:hover { box-shadow: 0 7px 32px rgba(34,65,91,0.09); border-color: #6AB6D8; }
.testimonial-card p {
  color: #181e25;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.testimonial-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #22415B;
  font-size: 0.98rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #eaeaea;
  box-shadow: 0 8px 24px rgba(60,88,120,0.03);
  z-index: 10;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  position: relative;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.015em;
  margin-left: 32px;
}
.main-nav a {
  padding: 10px 8px;
  border-radius: 10px;
  transition: background 0.15s, color 0.18s;
  color: #22415B;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e7f3f9;
  color: #22415B;
}
.cta.primary {
  background: #22415B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 9px;
  padding: 11px 32px;
  font-size: 1.1rem;
  transition: background 0.17s, transform 0.17s, box-shadow 0.17s;
  margin-left: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(106,182,216,0.04);
  letter-spacing: 0.03em;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #6AB6D8;
  color: #22415B;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(34,65,91,0.13);
}
.cta.secondary {
  background: #F7F7F2;
  border: 1.6px solid #22415B;
  color: #22415B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 9px;
  padding: 9px 24px;
  font-size: 1rem;
  margin-top: 4px;
  margin-bottom: 4px;
  transition: background 0.17s, border-color 0.18s, color 0.17s, transform 0.13s;
  cursor: pointer;
}
.cta.secondary:hover,
.cta.secondary:focus {
  border-color: #6AB6D8;
  background: #e7f3f9;
  color: #22415B;
  transform: translateY(-1.5px) scale(1.04);
}

button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F2;
  border: 1.7px solid #22415B;
  border-radius: 7px;
  color: #22415B;
  font-size: 1.77rem;
  width: 44px;
  height: 44px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.13s, box-shadow 0.14s, border-color 0.12s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e7f3f9;
  box-shadow: 0 6px 16px rgba(106,182,216,0.07);
  border-color: #6AB6D8;
}
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,65,91,0.97);
  box-shadow: 0 20px 70px rgba(34,65,91,0.14);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 30px 20px 30px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.47,1.64,.41,.8),opacity 0.19s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 32px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #6AB6D8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 10px;
}
.mobile-nav a {
  font-size: 1.27rem;
  font-weight: 600;
  padding: 16px 0 16px 0;
  width: 100%;
  color: #fff;
  border-radius: 7px;
  background: none;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #6AB6D8;
  color: #22415B;
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .cta.primary { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ==========================
   HERO SECTION
   ========================== */
.hero {
  background: #E7F3F9;
  border-radius: 20px;
  margin-top: 16px;
  margin-bottom: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container,
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  color: #22415B;
  font-size: 2.2rem;
}
.hero p {
  color: #22415B;
  font-size: 1.10rem;
  margin-bottom: 10px;
}

/* ==========================
   FEATURES SECTION
   ========================== */
.features {
  background: #F7F7F2;
  border-radius: 17px;
  margin-bottom: 60px;
}
.features .content-wrapper,
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.features ul {
  list-style: none;
  padding-left: 0;
}
.features ul li {
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 360px;
  background: #fff;
  border-radius: 13px;
  border: 1.2px solid #e4e4e0;
  box-shadow: 0 2px 8px rgba(34,65,91,0.09);
  padding: 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.18s, box-shadow 0.17s, transform 0.17s;
}
.features ul li:hover,
.features ul li:focus-within {
  border-color: #6AB6D8;
  box-shadow: 0 4px 20px rgba(106,182,216,0.16);
  transform: translateY(-2px) scale(1.01);
}
.features ul li img {
  width: 38px;
  height: 38px;
  display: block;
  margin-bottom: 10px;
}
.features ul li h3 {
  font-size: 1.10rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22415B;
  margin-bottom: 0;
}
.features ul li p {
  color: #22415B;
  font-size: 1rem;
}

/* ==========================
   PRODUCT CARDS & LISTS
   ========================== */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.product-card {
  flex: 1 1 230px;
  min-width: 230px;
  max-width: 320px;
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #e4e4e0;
  box-shadow: 0 2px 8px rgba(60,80,104,0.065);
  padding: 30px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.12s, border-color 0.13s;
  z-index: 1;
}
.product-card:hover, .product-card:focus-within {
  border-color: #6AB6D8;
  box-shadow: 0 10px 28px rgba(106,182,216,0.14);
  transform: translateY(-2px) scale(1.02);
}
.product-card h3 {
  font-size: 1.18rem;
  color: #22415B;
  margin-bottom: 6px;
}
.product-card ul {
  margin-bottom: 10px;
  padding-left: 16px;
}
.product-price {
  font-weight: 700;
  color: #6AB6D8;
  font-size: 1.10rem;
  margin: 5px 0 8px 0;
}

/* ==========================
   CTA & CALL TO ACTION
   ========================== */
.cta {
  display: inline-block;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.cta + .cta { margin-left: 14px; }

.cta-section, .cta {
  text-align: center;
  margin-top: 0;
}
.cta .content-wrapper { align-items: center; }

/* ==========================
   ABOUT, TEXT SECTION
   ========================== */
.text-section {
  background: #fff;
  border-radius: 13px;
  border: 1.2px solid #e0e8ef;
  box-shadow: 0 2px 8px rgba(60,80,104,0.07);
  padding: 28px 24px;
  margin-bottom: 40px;
}
.text-section ul, .text-section ol {
  margin: 0 0 14px 18px;
  list-style: disc inside;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ==========================
   FOOTER
   ========================== */
footer {
  background: #22415B;
  color: #fff;
  padding: 40px 0 10px 0;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
footer .content-wrapper {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  gap: 22px;
}
.footer-menu {
  display: flex;
  gap: 70px;
  flex-wrap: wrap;
}
.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: #e4f1fb;
  font-size: 1rem;
  transition: color 0.15s, text-decoration 0.1s;
  border-radius: 8px;
  padding: 6px 0;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #6AB6D8;
  text-decoration: underline;
}
.footer-contact p, .footer-contact a {
  color: #e4f1fb;
  font-size: 0.97rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 5px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  transition: background 0.15s, box-shadow 0.12s;
  border: 1.3px solid #e4e4e0;
  margin-bottom: 0;
}
.footer-social a:hover, .footer-social a:focus {
  background: #6AB6D8;
  box-shadow: 0 4px 24px rgba(106,182,216,0.12);
}
.footer-social a img {
  width: 24px;
  height: 24px;
}

.copyright {
  text-align: center;
  color: #b1c9e1;
  font-size: 0.92rem;
  margin-top: 15px;
}

@media (max-width: 1024px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-menu { gap: 32px; }
}
@media (max-width: 650px) {
  footer .footer-contact { margin-top: 16px; }
  .footer-social { margin-bottom: 10px; }
  .footer-menu { flex-direction: column; gap: 14px; }
}

/* ==========================
   RESPONSIVE DESIGN STYLES
   ========================== */
@media (max-width: 1180px) {
  .container { max-width: 98vw; }
}
@media (max-width: 1024px) {
  .main-nav, .cta.primary { display: none; }
  .hero { margin-bottom: 36px; padding-top: 10px; }
  .features, .section { padding: 30px 9px; }
}
@media (max-width: 900px) {
  .content-grid, .product-list, .card-container {
    gap: 16px;
  }
  .features ul, .features .content-wrapper {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .features, .hero { padding: 24px 5px; }
  .footer-contact,
  .footer-menu,
  .footer-social { gap: 11px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .hero h1 { font-size: 1.28rem; }
  .product-card, .features ul li {
    min-width: 92vw;
    max-width: 99vw;
    padding: 20px 12px;
    margin-left: auto; margin-right: auto;
  }
  .product-list, .card-container, .features ul {
    flex-direction: column;
    gap: 14px;
  }
  .footer-social a { width: 35px; height: 35px; }
}
@media (max-width: 520px) {
  .hero, .features, .section { border-radius: 8px; }
  .testimonial-card, .text-section { padding: 15px 6px; }
}

/* ==========
   UTILITIES
   ========== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.list-unstyled { list-style: none; padding-left: 0; }

/* =============
   ANIMATIONS
   ============= */
.fade-in {
  opacity: 0;
  animation: fade-in 0.62s ease-in 0.08s forwards;
}
@keyframes fade-in {
  from { opacity:0; transform: translateY(14px); }
  to { opacity:1; transform: none; }
}
.slide-in-left {
  opacity: 0; transform: translateX(-30px);
  animation: slide-in-left 0.5s cubic-bezier(.47,1.64,.41,.8) forwards;
}
@keyframes slide-in-left {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: none; }
}

/* =============
   COOKIE CONSENT BANNER
   ============= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  z-index: 3000;
  background: #22415B;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 34px 16px 18px;
  box-shadow: 0 0 32px 10px rgba(34,65,91,0.08);
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.47,1.64,.41,.8), opacity 0.2s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner__text {
  max-width: 480px;
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  min-width: 108px;
  border: none;
  border-radius: 7px;
  padding: 8px 17px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-btn.accept {
  background: #6AB6D8;
  color: #22415B;
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: #fff;
  color: #22415B;
}
.cookie-btn.reject {
  background: #fff;
  color: #22415B;
  border: 1.6px solid #6AB6D8;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #6AB6D8;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.6px solid #fff;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #fff;
  color: #22415B;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  display: none; /* show with .active */
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34,65,91,0.84);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.3s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal__dialog {
  background: #fff;
  color: #22415B;
  border-radius: 16px;
  box-shadow: 0 14px 48px rgba(34,65,91,0.22);
  max-width: 480px;
  width: 100%;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 15px;
  background: transparent;
  border: none;
  color: #22415B;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { color: #6AB6D8; }
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7f2;
  border-radius: 8px;
  padding: 12px 11px;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border: 1.3px solid #e2eaef;
}
.cookie-category .toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #e9ecf3;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.15s;
}
.cookie-category .toggle:checked {
  background: #6AB6D8;
}
.cookie-category .toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2.2px; top: 2.4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(60,80,104,0.06);
  transition: left 0.15s;
}
.cookie-category .toggle:checked:before {
  left: 19px;
}
.cookie-category[data-essential='true'] .toggle {
  background: #b1c9e1;
}
.cookie-category[data-essential='true'] .toggle,
.cookie-category[data-essential='true'] .toggle:checked {
  cursor: not-allowed;
  pointer-events: none;
  background: #b1c9e1;
}

.cookie-modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px 10px;
    font-size: 0.99rem;
    gap: 15px;
  }
  .cookie-modal__dialog {
    padding: 22px 7px;
    max-width: 99vw;
  }
}

/* ==========================
   GEOMETRIC & STRUCTURED
   ACCENTS & VISUALS
   ========================== */
.section, .features, .hero {
  position: relative;
  overflow: visible;
}
.section:before, .features:before, .hero:before {
  content: '';
  display: block;
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 16px 4px 16px 4px;
  background: #E7F3F9;
  left: -30px; top: -32px;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
.section:after, .features:after, .hero:after {
  content: '';
  display: block;
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 7px 18px 7px 18px;
  background: #6AB6D8;
  right: -22px; bottom: -22px;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}
/* Only shapes for large screens */
@media (max-width: 900px){
  .section:before, .features:before, .hero:before,
  .section:after, .features:after, .hero:after { display: none; }
}

/* =======
   MISC  
   ======= */
ul, ol {
  padding-left: 19px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Button Restyle for Accessibility */
button, .cta, input[type=submit] {
  border: none;
  background: none;
  outline: none;
}

/* ===========
   Print styles
   =========== */
@media print{
  *{background:transparent!important; color: #000!important; box-shadow: none!important;}
}

/* End of CSS */
