/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #222;
  background-color: #F7F5EC;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F7F5EC;
  line-height: 1.6;
  color: #222;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #275268;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.86,0,.07,1);
}
a:hover, a:focus {
  color: #7DB598;
}
ul, ol {
  padding-left: 1.4em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
}

/* --- VARIABLES W/ FALLBACKS --- */
:root {
  --color-primary: #275268;
  --color-secondary: #7DB598;
  --color-accent: #F7F5EC;
  --color-electric1: #00e2ae;
  --color-electric2: #fd3c81;
  --color-electric3: #ffd600;
  --color-electric4: #0b7fff;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-card: 18px;
  --radius-btn: 28px;
  --transition-main: 0.28s cubic-bezier(.75,.19,.35,1.28);
}

/* --- GENERAL CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features-grid, .testimonial-grid, .faq-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-container {
  gap: 24px;
}

.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,.07);
  overflow: hidden;
  transition: transform var(--transition-main), box-shadow var(--transition-main);
  position: relative;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 10px 36px 0 rgba(39,82,104,.18);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px 20px 22px 20px;
}

.content-grid {
  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: 18px;
  background: #fff;
  color: #1d2632;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 32px 0 rgba(123,183,152,0.10);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 430px;
  flex: 1 1 280px;
  position: relative;
}
.testimonial-card > img {
  width: 96px;
  height: 20px;
  margin-top: 4px;
}
.testimonial-card span {
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-display);
  color: #7DB598;
  letter-spacing: .02em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #275268;
  font-weight: 800;
  line-height: 1.15;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, li, address, span {
  font-family: var(--font-body);
  color: #222;
  font-size: 1rem;
}
strong {
  color: #fd3c81;
}

/* --- BUTTONS / CTA --- */
.btn-primary, .blog-search button, .mobile-nav a.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(90deg, #275268 0%, #0b7fff 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  padding: 14px 36px;
  box-shadow: 0 3px 16px 0 rgba(39,82,104,.14);
  transition: background var(--transition-main), color var(--transition-main), transform var(--transition-main);
  border: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #fd3c81 0%, #275268 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}

.blog-search button {
  padding: 12px 22px;
  background: #7DB598;
  color: #fff;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 10px 0 rgba(125,181,152,.09);
  font-weight: 700;
  transition: background var(--transition-main);
}
.blog-search button:hover, .blog-search button:focus {
  background: #fd3c81;
}

button, .btn-primary {
  outline: none;
  border: none;
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 3px solid #fd3c81;
  box-shadow: 0 2px 16px 0 rgba(39,82,104,.06);
  z-index: 100;
  position: relative;
}
header .container {
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
}
header nav a {
  font-size: 1rem;
  font-weight: 700;
  color: #275268;
  padding: 5px 8px;
  border-radius: 7px;
  transition: color .2s, background .18s;
}
header nav a:hover, header nav a:focus {
  background: #fd3c81;
  color: #fff;
}
header nav .btn-primary {
  margin-left: 16px;
  font-size: 1rem;
  padding: 10px 22px;
}

.mobile-menu-toggle {
  display: none;
  background: #fd3c81;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-main), box-shadow .1s;
  box-shadow: 0 6px 22px 0 rgba(253,60,129, 0.07);
  border: none;
  margin-left: 12px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #275268;
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,82,104, 0.94);
  transform: translateX(-110vw);
  transition: transform .34s cubic-bezier(.95,.01,.44,1.32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 14px; right: 18px;
  background: #fd3c81;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-main);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #0b7fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 68px;
  width: 100%;
  align-items: flex-start;
  padding-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 7px 0;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fd3c81;
  color: #fff;
}
.mobile-nav a.btn-primary {
  background: linear-gradient(90deg, #fd3c81 0%, #0b7fff 100%);
  color: #fff;
  font-size: 1.13rem;
  font-family: var(--font-display);
  padding: 14px 40px;
  margin-top: 18px;
}


/* --- FOOTER --- */
footer {
  width: 100%;
  background: #275268;
  padding: 38px 0 20px 0;
  color: #fff;
  border-top: 4px solid #fd3c81;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 600;
  color: #fd3c81;
  margin-bottom: 14px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: #fff;
  font-size: 1rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 9px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  text-decoration: underline;
  font-weight: 500;
  margin-bottom: 0;
  transition: color .16s;
}
footer nav a:hover {
  color: #fd3c81;
}


/* --- BLOG --- */
.features-grid article {
  background: #fff;
  border: 2px solid #fd3c81;
  border-radius: 18px;
  box-shadow: 0 1px 18px 0 rgba(39,82,104,0.08);
  padding: 28px 24px;
  flex: 1 1 270px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  transition: transform var(--transition-main), box-shadow var(--transition-main);
  position: relative;
}
.features-grid article:hover, .features-grid article:focus-within {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 7px 28px 0 rgba(253,60,129, .13);
  border-color: #0b7fff;
}
.features-grid .tags {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.features-grid .tags span {
  background: #7DB598;
  color: #fff;
  border-radius: 8px;
  font-size: 0.92rem;
  padding: 2px 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

.blog-search {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
}
.blog-search input[type="text"] {
  border: 2px solid #7DB598;
  border-radius: 18px;
  padding: 11px 18px;
  font-size: 1rem;
  transition: border .18s, box-shadow .18s;
  width: 240px;
}
.blog-search input[type="text"]:focus {
  border: 2px solid #fd3c81;
  box-shadow: 0 1px 6px 0 #fd3c812a;
}

input[type="email"] {
  border: 2px solid #275268;
  border-radius: 18px;
  padding: 13px 20px;
  font-size: 1rem;
  transition: border .18s;
  width: 240px;
}
input[type="email"]:focus {
  border-color: #fd3c81;
}

/* --- CONTACT --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info a {
  color: #fd3c81;
  font-weight: bold;
}
.contact-info strong {
  color: #275268;
}
.map {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  background: #eaf7f1;
  box-shadow: 0 2px 14px 0 rgba(39,82,104,0.07);
  max-width: 400px;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 8px;
}
.faq-list > div {
  background: #7DB59815;
  border-radius: 16px;
  padding: 18px 16px;
  flex: 1 1 230px;
  min-width: 170px;
  margin-bottom: 20px;
  position: relative;
}
.faq-list h3 {
  font-size: 1.12rem;
  color: #fd3c81;
}

/* --- LISTS --- */
ul, ol {
  margin-top: 12px;
  margin-bottom: 12px;
}
ul > li, ol > li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #1d2632;
}

/* --- SPECIAL SECTIONS --- */
.features-grid > div, .features-grid > article {
  flex: 1 1 220px;
  min-width: 200px;
}
.features-grid > div {
  background: #7DB59806;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(125,181,152,0.05);
  padding: 22px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
  border: 2px solid transparent;
}
.features-grid > div:hover {
  box-shadow: 0 2px 16px 0 #7DB59833;
  border: 2px solid #27526822;
  transform: scale(1.025);
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
}

/* --- Newsletter --- */
.section > div > div > input[type="email"] {
  width: 100%;
  max-width: 320px;
  margin-right: 10px;
}
.section > div > div > .btn-primary {
  margin-top: 10px;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.btn-primary, .features-grid article, .card, .features-grid > div, .testimonial-card, .footer-social img, .mobile-menu {
  will-change: transform, box-shadow;
}
.footer-social img {
  width: 34px; height: 34px;
  cursor: pointer;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  transition: box-shadow .23s, background .19s;
}
.footer-social img:hover, .footer-social img:focus {
  background: #fd3c81;
  box-shadow: 0 2px 12px 0 rgba(253,60,129,.18);
}

/* --- Z-INDEX LAYERING --- */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 9999;
}

/* --- SPACING: CARD & SECTION RULES --- */
.section, .card, .testimonial-card, .features-grid > div, .features-grid > article, .faq-list > div {
  margin-bottom: 20px;
}

/* --- ADDITIONAL CLASSES --- */
address {
  font-style: normal;
  color: #1d2632;
  font-size: 1rem;
}
.map img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1050px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 800px) {
  .content-wrapper, .features-grid, .testimonial-grid, .faq-list, .footer-contact {
    flex-direction: column;
  }
  .features-grid > div, .features-grid > article, .content-grid > * {
    min-width: 180px;
    width: 100%;
  }
  .testimonial-card {
    max-width: 100%;
  }
  .footer-social {
    margin-top: 16px;
  }
}
@media (max-width: 900px) {
  header nav {
    gap: 8px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 768px) {
  header nav, .footer-social {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .section {
    padding: 24px 7px;
    margin-bottom: 36px;
    border-radius: 13px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.11rem; }
  .features-grid, .testimonial-grid, .faq-list {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .blog-search, .footer-contact, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .container {
    max-width: 99vw;
    padding-left: 0; padding-right: 0;
  }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.11rem; }
  address, p, li, input, button { font-size: 0.96rem; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #275268;
  border-top: 4px solid #fd3c81;
  box-shadow: 0 -4px 16px 0 rgba(39,82,104,0.13);
  padding: 22px 10px 18px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  z-index: 99999;
  justify-content: space-between;
  min-height: 40px;
}
.cookie-banner p {
  flex: 4;
  font-size: 1rem;
  color: #222;
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  background: #fd3c81;
  color: #fff;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: bold;
  padding: 10px 22px;
  font-size: 1rem;
  margin-right: 5px;
  border: none;
  cursor: pointer;
  transition: background .22s, color .19s, box-shadow .13s;
  box-shadow: 0 1px 7px 0 rgba(253,60,129,.08);
}
.cookie-btn.reject {
  background: #275268;
}
.cookie-btn.settings {
  background: #7DB598;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #0b7fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner p {
    font-size: 0.98rem;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 20000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,82,104,0.88);
  align-items: center;
  justify-content: center;
  transition: opacity .23s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  padding: 32px 18px 24px 24px;
  border-radius: 24px;
  box-shadow: 0 4px 38px 0 rgba(39,82,104,.15);
  width: 98vw;
  max-width: 400px;
  color: #275268;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #fd3c81;
  font-size: 1.5rem;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 13px;
  background: #fd3c81;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #0b7fff;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 10px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.06rem;
}
.cookie-category-row label {
  flex: 1;
  color: #275268;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #7DB598;
  border-radius: 13px;
  transition: background 0.2s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #fd3c81;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 3.5px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 2px 6px 0 rgba(39,82,104,.12);
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-category-row .always-on {
  color: #7DB598;
  font-weight: bold;
  padding-left: 7px;
  font-size: 1rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* --- UTILITY CLASSES FOR ENERGY --- */
.energy-bg1 {
  background: #fd3c81 !important;
  color: #fff !important;
}
.energy-bg2 {
  background: #0b7fff !important;
  color: #fff !important;
}
.energy-bg3 {
  background: #ffd600 !important;
  color: #222 !important;
}
.energy-border-1 {
  border: 2.5px solid #fd3c81 !important;
}
.energy-shadow {
  box-shadow: 0 8px 34px 0 rgba(0,226,174,0.13);
}

/* --- END OF CSS --- */
