/* =====================================================================
   Calm Circuit - Scandinavian Clean Style CSS
   (Brand: modern, trustworthy, eco-conscious)
   Author: Professional CSS/UI Designer
   ===================================================================== */

/* RESET & BASELINE NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F4F8F7;
  color: #22302A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #26604F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9AC426;
  outline: none;
}
ul, ol {
  list-style: inside disc;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #26604F;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.12;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1rem; margin-bottom: 10px; }

/* =====================================================================
   LAYOUT - FLEXBOX CONTAINERS
   ===================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Main spacing pattern for sections */
.section, .hero, .features, .about-short, .about-philosophy, .team, .services, .benefits, .cta, .testimonials, .resources, .faq, .statistics, .confirmation, .legal, .contact-info {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 12px;
}
.section:last-child, .confirmation {
  margin-bottom: 0;
}

/* FLEXBOX GRIDS/STRUCTURAL LAYOUTS */
.feature-grid, .service-list, .team-profiles, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid, .service-list {
  justify-content: space-between;
}
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38, 96, 79, 0.08);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 480px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(38, 96, 79, 0.12);
}
.testimonial-slider {
  gap: 24px;
}
.feature-item, .service-item, .team-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38, 96, 79, 0.07);
  padding: 32px 24px 24px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
  min-width: 250px;
  flex: 1 1 250px;
  max-width: 330px;
}
.feature-item:hover, .service-item:hover, .team-profile:hover {
  box-shadow: 0 6px 22px rgba(38, 96, 79, 0.13);
  transform: translateY(-2px) scale(1.02);
}

.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 32px;
}
.team-profile img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f6f6f4;
  object-fit: cover;
  margin-bottom: 10px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,96,79,0.07);
  padding: 24px;
  transition: box-shadow 0.2s;
}

/* Enough gap everywhere! */
ul, ol {
  margin-bottom: 24px;
  margin-top: 8px;
}
li {
  margin-bottom: 10px;
}

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(38,96,79,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 10px 20px;
}
header img {
  height: 45px;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #26604F;
  opacity: 0.94;
  padding: 6px 16px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.desktop-nav a:hover, .desktop-nav a:focus, .footer-nav a:hover {
  background: #F4F8F7;
  color: #9AC426;
}
.button.primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #26604F;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 12px rgba(38,96,79,0.09);
  transition: background 0.19s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
}
.button.primary:hover, .button.primary:focus {
  background: #1D493B;
  color: #fff;
  box-shadow: 0 4px 18px rgba(38,96,79,0.13);
  transform: translateY(-1.5px) scale(1.01);
}
.button.secondary {
  background: #9AC426;
  color: #26604F;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 12px 26px;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.button.secondary:hover, .button.secondary:focus {
  background: #7DAF1D;
  color: #fff;
}
.button.ghost {
  background: transparent;
  border: 1.5px solid #26604F;
  color: #26604F;
  font-weight: 600;
  border-radius: 24px;
  padding: 12px 26px;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.button.ghost:hover, .button.ghost:focus{
  background: #F4F8F7;
  color: #9AC426;
  border-color: #9AC426;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #26604F;
  font-size: 2rem;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: 12px;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4F8F7;
  color: #9AC426;
}

/* ========== MOBILE MENU / DRAWER ========== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2500;
  flex-direction: column;
  transition: transform 0.34s cubic-bezier(.8,.02,.18,1), opacity 0.34s;
  transform: translateX(100%);
  box-shadow: -2px 0 24px 0 rgba(38,96,79,0.12);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  margin: 18px 24px 6px 0;
  border: none;
  background: transparent;
  color: #26604F;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #9AC426;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 30px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #26604F;
  padding: 14px 0;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F8F7;
  color: #9AC426;
}

/* =====================================================================
   HERO SECTIONS, PAGE SECTIONS, CTA
   ===================================================================== */
.hero {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(38,96,79,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  margin-bottom: 60px;
  padding: 52px 20px;
}
.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.2rem;
  color: #22302A;
  margin-bottom: 22px;
}
.cta {
  background: #E9F3E2;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(154,196,38,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta h2 {
  color: #26604F;
  margin-bottom: 8px;
}
.cta p {
  color: #22302A;
  margin-bottom: 18px;
}

/* FEATURES, SERVICES, TEAM */
.features, .about-philosophy, .about-short, .services, .team, .benefits, .resources {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,96,79,0.06);
}
.service-price {
  font-size: 1.1rem;
  color: #9AC426;
  font-weight: 700;
  margin-top: 13px;
}
.benefits ul, .resources ul, .statistics ul, .about-short ul, .about-philosophy ul, .faq-accordion {
  margin-top: 12px;
}
.benefits ul li {
  font-size: 1.05rem;
}

/* FAQ ACCORDION (simple, no JS revealed state assumed) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #F4F8F7;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(38,96,79,0.04);
  transition: box-shadow 0.16s;
}
.faq-item:hover {
  box-shadow: 0 2px 14px rgba(154,196,38,0.13);
}
.faq-item h3 {
  color: #26604F;
  font-size: 1.13rem;
  margin-bottom: 6px;
}

/* TESTIMONIALS */
.testimonials {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38,96,79,0.06);
}
.testimonial-card p {
  color: #22302A;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-author {
  color: #26604F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 6px;
}

/* STATISTICS */
.statistics ul li {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: #26604F;
}
.statistics ul li strong {
  color: #9AC426;
}

/* LEGAL/BASIC TEXT SECTIONS */
.legal, .text-section, .contact-info {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 12px rgba(38,96,79,0.05);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.text-section h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

/* THANK YOU/CONFIRMATION */
.confirmation {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(38,96,79,0.08);
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer {
  background: #26604F;
  padding: 40px 0 24px 0;
  color: #fff;
  margin-top: 40px;
  box-shadow: 0 -1px 12px rgba(38, 96, 79, 0.07);
}
footer .container {
  flex-direction: column;
  gap: 28px;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  margin-bottom: 10px;
}
.footer-brand img {
  width: 57px;
  height: 57px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  color: #F4F8F7;
}
.footer-contact a {
  color: #9AC426;
  text-decoration: underline;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 12px 0;
}
.footer-nav a, .footer-legal a {
  color: #F4F8F7;
  font-size: 1rem;
  border-radius: 8px;
  padding: 4px 12px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-legal a:hover {
  background: #9AC426;
  color: #fff;
}
.footer-legal {
  font-size: 0.93rem;
  color: #F4F8F7;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  transition: filter 0.15s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: brightness(1) sepia(1) hue-rotate(60deg) saturate(6); /* accent color tint */
}

/* =====================================================================
   COOKIE CONSENT BANNER & MODAL
   ===================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #22302A;
  box-shadow: 0 -2px 24px rgba(38,96,79,0.11);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 3100;
  font-size: 1rem;
  transition: transform 0.28s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .button {
  margin-left: 8px;
  min-width: 130px;
  font-size: 1rem;
  border-radius: 22px;
  box-shadow: none;
  padding: 10px 22px;
}
.cookie-banner .button.primary {
  background: #26604F;
  color: #fff;
}
.cookie-banner .button.primary:hover {
  background: #1D493B;
}
.cookie-banner .button.secondary {
  background: #9AC426;
  color: #fff;
}
.cookie-banner .button.secondary:hover {
  background: #7DAF1D;
}
.cookie-banner .button.ghost {
  background: transparent;
  border: 1px solid #26604F;
  color: #26604F;
}
.cookie-banner .button.ghost:hover {
  background: #F4F8F7;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  background: rgba(38,96,79,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: fadein 0.32s;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 44px 0 rgba(38,96,79,0.13);
  display: flex;
  flex-direction: column;
  width: 94vw;
  max-width: 430px;
  padding: 38px 30px 30px 30px;
  z-index: 3300;
  gap: 24px;
  position: relative;
  animation: popin 0.32s cubic-bezier(.51,1.44,.78,1);
}
@keyframes popin {
  from { transform: scale(0.91); opacity: 0; } to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: none;
  color: #26604F;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #9AC426;
}
.cookie-modal h2 {
  color: #26604F;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #F4F8F7;
  border: 1.5px solid #26604F;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, border 0.17s;
}
.cookie-toggle:checked {
  background: #9AC426;
  border-color: #9AC426;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  left: 1px;
  top: 1px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(38,96,79,0.09);
  transition: transform 0.18s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-category-label {
  font-size: 1.05rem;
  color: #26604F;
}
.cookie-category-desc {
  font-size: 0.95rem;
  color: #22302A;
}

/* Essential cookies always enabled: grayed toggle, not clickable */
.cookie-toggle[disabled], .cookie-toggle[readonly] {
  filter: grayscale(0.7);
  cursor: not-allowed;
  opacity: 0.55;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 4px;
  justify-content: flex-end;
}

/* =====================================================================
   RESPONSIVE DESIGN (Mobile-First)
   ===================================================================== */
@media (max-width: 1150px) {
  .feature-grid,.service-list,.team-profiles,.testimonial-slider,.card-container,.card-grid {
    gap: 18px;
  }
}
@media (max-width: 990px) {
  .feature-grid,.service-list,.team-profiles {
    gap: 16px;
  }
  .feature-item, .service-item, .team-profile {
    min-width: 190px;
    max-width: 310px;
  }
}
@media (max-width: 850px) {
  .hero {
    padding: 38px 8px;
  }
  .feature-item, .service-item {
    padding: 24px 14px 18px 14px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header > .container {
    flex-direction: row;
    gap: 10px;
    min-height: 60px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section, .hero, .features, .about-short, .about-philosophy, .team, .services, .benefits, .cta, .testimonials, .resources, .faq, .statistics, .confirmation, .legal, .contact-info {
    padding: 28px 6px;
    border-radius: 12px;
    margin-bottom: 38px;
  }
  .feature-grid, .service-list, .team-profiles, .testimonial-slider, .card-container, .card-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
  .feature-item, .service-item, .team-profile, .testimonial-card {
    max-width: 100%;
    min-width: unset;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-social {
    margin-top: 6px;
    gap: 10px;
  }
  .cookie-modal {
    padding: 24px 6px 16px 6px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  .hero h1 { font-size: 2.15rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .button.primary, .button.secondary, .button.ghost {
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}

/* =====================================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ===================================================================== */
.button, .button.primary, .button.secondary, .button.ghost, a, .testimonial-card, .feature-item, .service-item, .footer-nav a, .footer-legal a, .mobile-nav a {
  transition: background 0.19s, color 0.19s, box-shadow 0.18s, transform 0.16s, border 0.15s;
}

/* Simple focus styles for accessibility */
:focus {
  outline: 2px solid #9AC426;
  outline-offset: 1px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* Hide scrollbars for modal if needed */
body.modal-open {
  overflow: hidden;
}

/* Misc Spacing Fixes */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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