/* ZenCircuit Base CSS – Gradient Modern Aesthetic (flexbox only) */

/* 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: linear-gradient(120deg, #F9F7F0 0%, #B4C8B5 100%);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #3B5365;
  min-height: 100vh;
  font-size: 16px;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #3B5365;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #61888e;
}
ul, ol {
  list-style: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #3B5365;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #42515e;
}
strong {
  color: #3B5365;
}
em {
  font-style: italic;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: 0 6px 32px 0 rgba(60,80,90,0.12);
  transition: box-shadow 0.2s, background 0.2s;
}
.section:last-child {
  margin-bottom: 0;
}

/* FLEXBOX PATTERNS (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(60,80,90,0.10);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(60,80,90,0.14);
  transform: translateY(-4px) 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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F7F0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(60,80,90,0.07);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 240px;
  width: 100%;
  max-width: 370px;
  color: #232c33;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS & CTA */
.cta, button.cta, .cookie-banner button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #3B5365 0%, #B4C8B5 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(60,80,90,0.13);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-top: 6px;
}
.cta:hover, .cta:focus, button.cta:hover, .cookie-banner button.cta:hover {
  background: linear-gradient(90deg, #48667b 0%, #A9BCAC 100%);
  transform: translateY(-2px) scale(1.03);
}

button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  background: #B4C8B5;
  color: #3B5365;
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:hover, input[type="button"]:hover, input[type="submit"]:hover {
  background: #3B5365;
  color: #fff;
}

/* NAVIGATION */
header {
  width: 100%;
  background: #F9F7F0;
  box-shadow: 0 2px 16px 0 rgba(60,80,90,0.05);
  position: relative;
  z-index: 10;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  width: 100%;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #3B5365;
  padding: 6px 16px;
  border-radius: 24px;
  transition: background 0.2s, color 0.15s;
}
header nav a.cta {
  background: linear-gradient(90deg, #B4C8B5 0%, #3B5365 100%);
  color: #fff;
  font-weight: 600;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(60,80,90,0.11);
}
header nav a.cta:hover, header nav a.cta:focus {
  background: linear-gradient(90deg, #A9BCAC 0%, #48667b 100%);
}
header nav a:hover, header nav a:focus {
  background: #B4C8B5;
  color: #232c33;
}
header nav img {
  height: 38px;
  margin-right: 12px;
  display: block;
}
.header-shadow {
  box-shadow: 0 4px 24px rgba(34,41,47,0.13);
  transition: box-shadow 0.18s;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #3B5365;
  border: none;
  border-radius: 50%;
  color: #fff;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: 1200;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #61888e;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(59, 83, 101, 0.92);
  z-index: 1201;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.8, 0.05, 0.25, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #B4C8B5;
  color: #3B5365;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin: 24px 24px 8px 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  display: flex;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #3B5365;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  padding: 30px 40px 20px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B4C8B5;
  background: none;
}

/* MAIN & SECTIONS */
main {
  padding-top: 16px;
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section > .container > h2 {
  margin-bottom: 32px;
}

/* SPECIAL: INDEX FOCUS CARDS */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.content-wrapper ul li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(60,80,90,0.07);
  padding: 22px 20px 18px 20px;
  min-width: 240px;
  flex: 1 1 220px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.14s;
  position: relative;
  gap: 6px;
}
.content-wrapper ul li:hover {
  box-shadow: 0 8px 30px 0 rgba(60,80,90,0.14);
  transform: translateY(-2px) scale(1.018);
}
.content-wrapper ul li img {
  height: 36px;
  width: 36px;
  margin-bottom: 8px;
}

/* TESTIMONIAL SECTION */
.content-wrapper .testimonial-card {
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 350px;
  align-items: flex-start;
  font-size: 1rem;
  background: #fff;
  color: #383838;
  border-left: 6px solid #B4C8B5;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(60,80,90,0.09);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.17s;
}
.content-wrapper .testimonial-card span {
  margin-top: 4px;
  font-size: 1rem;
  color: #3B5365;
}
.content-wrapper .testimonial-card strong {
  font-weight: 700;
  color: #3B5365;
}
.content-wrapper .testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(60,80,90,0.14);
  border-color: #3B5365;
}

/* FOOTER */
footer {
  background: #3B5365;
  color: #fff;
  padding: 38px 0 18px 0;
  margin-top: 100px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  border-radius: 18px;
  padding: 4px 16px;
  transition: background 0.18s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #B4C8B5;
  color: #3B5365;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 0.96rem;
}
.footer-info p {
  color: #fff;
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #232c33;
  box-shadow: 0 -4px 32px 0 rgba(59,83,101,0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 28px;
  gap: 20px;
  z-index: 1500;
  font-size: 1rem;
  animation: slideUpCookie 0.35s cubic-bezier(0.8,0.05,0.25,1);
}
@keyframes slideUpCookie {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .button-group {
  display: flex;
  gap: 20px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.cookie-banner .accept {
  background: #3B5365;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #B4C8B5;
  color: #3B5365;
}
.cookie-banner .reject {
  background: #B4C8B5;
  color: #3B5365;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #3B5365;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  border: 1px solid #B4C8B5;
  color: #3B5365;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #B4C8B5;
  color: #3B5365;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  inset: 0;
  background: rgba(59,83,101,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.24s cubic-bezier(0.8,0.05,0.25,1);
}
@keyframes fadeInCookieModal {
  from {opacity: 0;}
  to {opacity:1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 44px rgba(34,41,47,0.18);
  max-width: 430px;
  width: 90vw;
  padding: 38px 28px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: #3B5365;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #3B5365;
  width: 21px;
  height: 21px;
  margin-right: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-description {
  color: #42515e;
  font-size: 1rem;
}
.cookie-modal .essential[disabled] {
  opacity: 0.7;
}
.cookie-modal .cookie-label {
  font-size: 1rem;
}

/* RESPONSIVE DESIGN (Mobile First) */
@media (max-width: 1000px) {
  .container, .content-wrapper { max-width: 98vw; }
  .content-wrapper ul li {
    min-width: 180px;
    flex: 1 1 150px;
  }
}
@media (max-width: 830px) {
  .content-wrapper ul, .card-container, .content-grid {
    gap: 14px;
  }
  .card {
    min-width: 125px;
    max-width: 90vw;
  }
  .testimonial-card {
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  /* MOBILE NAVIGATION */
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 4vw;
  }
  main, section {
    padding: 0;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .content-wrapper, .content-wrapper ul, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .content-wrapper ul {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 575px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 22px 0;
    margin-bottom: 34px;
  }
  .section {
    padding: 18px 8px;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.06rem;
    margin-bottom: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 6px;
    font-size: 0.99rem;
  }
  .cookie-banner .button-group {
    justify-content: center;
    width: 100%;
    gap: 10px;
  }
}

/* FOCUS & ACCESSIBILITY */
a:focus, button:focus {
  outline: 2px solid #B4C8B5;
  outline-offset: 2px;
  z-index: 1;
}

/* SELECTION COLOR */
::selection {
  background: #B4C8B5;
  color: #fff;
}

/* HIDE SCROLLBAR FOR MOBILE MENU (OPTIONAL) */
.mobile-menu {
  overflow-y: auto;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* SHADOWS AND ELEVATION */
.card, .content-wrapper ul li, .testimonial-card {
  box-shadow: 0 2px 10px rgba(59,83,101,0.09);
}

/* UTILITY */
.hidden { display: none !important; }

/* ZEN MODERN GRADIENT EFFECTS */
.section {
  background: linear-gradient(117deg, #F9F7F0 70%, #B4C8B5 100%);
}
.content-wrapper ul li, .card {
  background: linear-gradient(100deg, #fff 87%, #B4C8B511 100%);
}
.testimonial-card {
  background: linear-gradient(90deg, #F9F7F0 85%, #B4C8B540 100%);
}

/* END */
