/* Lucid Peak Energie – Minimalist Modern CSS Theme */
/*=================================================================*
  RESET & BASELINE NORMALIZE
*=================================================================*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #073246;
  background: #fff;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #21703C;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #073246;
  outline: none;
}
ul, ol {
  margin-left: 1.25em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.75em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #21703C;
  margin-bottom: 12px;
  line-height: 1.2;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.38rem;
}
h4 {
  font-size: 1.17rem;
}
p, .subheadline {
  font-size: 1.125rem;
  color: #073246;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* Minimalist white/neutral backgrounds for sections */
section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(33,112,60,.04);
}
section.hero {
  background: #F1F5F2;
  box-shadow: none;
  border-radius: 0 0 42px 42px;
  margin-bottom: 48px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}
.cta-banner {
  align-items: center;
  text-align: center;
  background: #F1F5F2;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(33,112,60,.06);
  padding: 40px 20px;
  gap: 20px;
}

/*=================================================================*
  HEADER & MAIN NAVIGATION
*=================================================================*/
header {
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(7,50,70,0.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  color: #073246;
  padding: 6px 7px;
  border-radius: 8px;
  transition: background 0.19s, color 0.19s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F1F5F2;
  color: #21703C;
}
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 26px;
  font-size: 1rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-left: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-primary {
  background: #21703C;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(33,112,60,0.13);
}
.btn-primary:hover, .btn-primary:focus {
  background: #16562C;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(33,112,60,0.17);
}
.btn-secondary {
  background: #073246;
  color: #fff;
  margin-left: 0;
  box-shadow: 0 2px 8px 0 rgba(7,50,70,0.09);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #16562C;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(33,112,60,0.12);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.2rem;
  color: #21703C;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  margin-right: 0;
  transition: color 0.18s;
  z-index: 110;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #21703C;
}

/*=================================================================*
  HERO AREA
*=================================================================*/
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  gap: 18px;
}
.hero h1 {
  color: #073246;
  font-size: 2.15rem;
}
.hero .subheadline {
  color: #21703C;
  font-weight: 400;
  font-size: 1.17rem;
}

/*=================================================================*
  CARDS & FEATURE ELEMENTS
*=================================================================*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-card {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px 24px 20px;
  box-shadow: 0 2px 24px 0 rgba(33,112,60,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  transition: box-shadow 0.19s, transform 0.21s;
}
.feature-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}
.feature-card:hover {
  box-shadow: 0 6px 32px 0 rgba(33,112,60,0.13);
  transform: translateY(-5px) scale(1.02);
}
.project-highlight {
  background: #F1F5F2;
  border-radius: 14px;
  padding: 24px 18px;
  box-shadow: 0 1px 8px 0 rgba(7,50,70,0.07);
  margin-bottom: 20px;
}

.projects-list, .benefits-list, .services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.service-brief, .service-detail {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(33,112,60,0.04);
  padding: 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.service-brief:hover, .service-detail:hover {
  box-shadow: 0 6px 22px 0 rgba(33,112,60,0.10);
}

.service-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-detail {
  flex: 1 1 260px;
  min-width: 200px;
}

/*=================================================================*
  TESTIMONIALS
*=================================================================*/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #F1F5F2;
  border-radius: 14px;
  padding: 24px 24px 14px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 22px 0 rgba(7,50,70,0.10);
  min-width: 240px;
  transition: box-shadow 0.17s, transform 0.21s;
}
.testimonial-card blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #073246;
  font-size: 1.03rem;
  font-style: italic;
  margin-bottom: 9px;
}
.testimonial-card .testimonial-meta span {
  color: #21703C;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(33,112,60,0.14);
  transform: translateY(-3px) scale(1.015);
}

/*=================================================================*
  BLOG/UTILITY CARDS
*=================================================================*/
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.blog-post {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(33,112,60,0.06);
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 210px;
  transition: box-shadow 0.17s, transform 0.21s;
}
.blog-post:hover {
  box-shadow: 0 6px 28px 0 rgba(7,50,70,0.13);
  transform: translateY(-3px) scale(1.02);
}

.blog-search {
  width: 100%;
  margin-bottom: 18px;
  display: flex;
}
.blog-search input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid #DDE5DF;
  font-size: 1rem;
  background: #F1F5F2;
  color: #073246;
  transition: border 0.16s;
}
.blog-search input[type="text"]:focus {
  border-color: #21703C;
  outline: none;
}
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
}
.blog-categories a {
  font-size: 0.98rem;
  color: #073246;
  background: #F1F5F2;
  border-radius: 8px;
  padding: 7px 13px;
  transition: background 0.16s, color 0.16s;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: #21703C;
  color: #fff;
}

/*=================================================================*
  LAYOUT FLEX UTILS / PREDEFINED GAPS
*=================================================================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Text & image presentation */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

/*=================================================================*
  CONTACT DETAILS
*=================================================================*/
.contact-details {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  color: #073246;
  font-size: 1rem;
  gap: 11px;
}
.contact-details li img {
  width: 20px; height: 20px; display: inline-block;
}

/*=================================================================*
  FOOTER
*=================================================================*/
footer {
  background: #F1F5F2;
  padding: 38px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-start;
}
footer a img {
  height: 36px;
  width: auto;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #073246;
  opacity: 0.94;
  transition: color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #21703C;
}
.footer-contact {
  font-size: .97rem;
  color: #073246;
  opacity: .91;
  line-height: 1.5;
}
.footer-contact a {
  color: #21703C;
  border-bottom: 1px solid #E3EAE4;
  transition: border 0.13s;
}
.footer-contact a:hover {
  border-bottom: 1px solid #21703C;
}

/*=================================================================*
  MOBILE MENU OVERLAY
*=================================================================*/
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0; right: 0;
  width: 94vw;
  max-width: 350px;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.6,.17,.37,.89);
  z-index: 120;
  box-shadow: -4px 0 30px 0 rgba(7,50,70,0.16);
  padding: 38px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #21703C;
  align-self: flex-end;
  margin-bottom: 21px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #21703C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 21px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #073246;
  padding: 7px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  min-width: 90px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F5F2;
  color: #21703C;
}

/* Overlay to darken background when menu open */
body.mobile-menu-open:before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,50,70,0.23);
  z-index: 119;
  pointer-events: auto;
  transition: opacity 0.33s;
}

/* Hide desktop nav on mobile, show mobile button */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1020px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/*=================================================================*
  COOKIE CONSENT BANNER & MODAL
*=================================================================*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 22px 0 rgba(33,112,60,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  z-index: 2002;
  justify-content: space-between;
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
  animation: cookieAppear 0.39s cubic-bezier(.6,.17,.37,.89);
}
@keyframes cookieAppear {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  background: #21703C;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
}
.cookie-btn.reject {
  background: #073246;
}
.cookie-btn.settings {
  background: transparent;
  border: 1px solid #21703C;
  color: #21703C;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #16562C;
  color: #fff;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #0d2333;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F1F5F2;
  color: #073246;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%) scale(0.96);
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 32px 0 rgba(7,50,70,0.16);
  padding: 26px 34px;
  z-index: 2003;
  min-width: 323px;
  width: 94vw;
  max-width: 430px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.19s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) scale(1);
}
.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal-header h3 {
  color: #21703C;
  font-size: 1.25rem;
  margin-bottom: 0;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #21703C;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #073246;
}
.cookie-category label {
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #21703C;
  width: 16px; height: 16px;
}
.cookie-category.essential label,
.cookie-category.essential {
  color: #A1A9AD;
  font-style: italic;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #DDE5DF;
}
/* Overlay for modal */
.cookie-modal-overlay {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,50,70,0.11);
  z-index: 2002;
  pointer-events: auto;
}

/*=================================================================*
  MICRO-INTERACTIONS & TRANSITIONS
*=================================================================*/
button,
input[type="button"],
input[type="submit"] {
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  font-family: inherit;
}

/* Focus outlines for accessibility */
:focus-visible {
  outline: 2px solid #21703C;
  outline-offset: 1px;
}

/*=================================================================*
  MEDIA QUERIES – RESPONSIVE FLEX & TYPOGRAPHY
*=================================================================*/
@media (max-width: 900px) {
  .feature-grid,
  .testimonial-slider,
  .blog-list,
  .service-detail-grid {
    flex-direction: column;
    gap: 20px;
  }
  .projects-list, .benefits-list{
    gap: 17px;
  }
  .content-wrapper.cta-banner {
    gap: 15px;
  }
  section {
    margin-bottom: 40px;
    padding: 27px 9px;
  }
  footer {
    padding-left: 9px; padding-right: 9px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 95vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 1.36rem;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero .content-wrapper {
    min-height: 170px;
    gap: 13px;
  }
  .blog-post, .feature-card, .service-detail {
    min-width: 80vw;
    padding: 17px 10px;
  }
  .testimonial-card {
    min-width: 80vw;
    padding: 16px 10px 9px 10px;
  }
  .cta-banner {
    padding: 23px 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 13px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner-buttons {
    gap: 6px;
  }
  .cookie-modal {
    min-width: 80vw;
    max-width: 97vw;
    padding: 13px 6px;
  }
  .cookie-modal-header h3 {
    font-size: 1rem;
  }
  .mobile-menu {
    width: 100vw; max-width: 100vw; padding: 23px 7px 18px 20px;
  }
  header .container {
    flex-wrap: wrap;
    gap: 4px;
  }
}

/*=================================================================*
  PRINT STYLES
*=================================================================*/
@media print {
  body * { color: #000 !important; background: #fff !important; }
  .main-nav, .mobile-menu, .btn-primary, .btn-secondary, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .content-wrapper, section, footer { box-shadow: none !important; }
}

/*=================================================================*
  END: Lucid Peak Energie Minimalist Modern CSS
*=================================================================*/
