/* RESET & BASELINE */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6FAF2;
  color: #2B353B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #F6FAF2;
}
:root {
  --primary: #11446A;
  --secondary: #159E9C;
  --accent: #F6FAF2;
  --warm1: #F8EAD8;
  --warm2: #FFDDAF;
  --warm3: #FFE6CC;
  --danger: #C44424;
  --shadow: 0 2px 12px rgba(17, 68, 106, 0.07), 0 1.5px 6px rgba(255,188,100,0.13);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --focus: 0 0 0 3px #FFD68E;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--secondary);
}
strong, b {
  font-weight: bold;
}
small {
  font-size: 85%;
}
::-webkit-input-placeholder { color: #7c7c7c; }
::-moz-placeholder { color: #7c7c7c; }
:-ms-input-placeholder { color: #7c7c7c; }
::placeholder { color: #7c7c7c; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* CARDS AND FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 230px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 20px rgba(255,190,110,0.19), 0 1px 3px rgba(17,68,106,0.14);
}
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.benefit-list > div {
  flex: 1 1 210px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-list > div {
  flex: 1 1 290px;
  min-width: 270px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.faq-list > div:hover {
  box-shadow: 0 2px 16px rgba(255,188,100,0.20), 0 1.2px 2.8px rgba(17,68,106,0.09);
}
.timeline {
  background: var(--warm1);
  border-radius: var(--radius-md);
  padding: 15px 20px;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 500;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff9f2;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 3px 20px rgba(250, 184, 83, 0.11), 0 1.5px 7px rgba(17,68,106,0.09);
  color: #39322c;
  font-size: 18px;
}
.testimonial-card p {
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
}
/* CTA BUTTON */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(17,68,106,0.13);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  margin-top: 15px;
  transition: background 0.17s, box-shadow 0.17s, color 0.17s, transform 0.12s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(250, 184, 83, 0.14), 0 1.5px 8px rgba(17,68,106,0.10);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

/* NAVIGATION & HEADER */
header {
  background: #fff;
  box-shadow: 0 3px 32px rgba(17,68,106,0.05);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 7px 13px;
  transition: background 0.17s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--warm2);
  color: var(--secondary);
  outline: none;
}
.main-nav .cta-btn {
  margin-top: 0;
  margin-left: 12px;
}
header img[alt="BlueShadow SolarPro"] {
  height: 44px;
  width: auto;
}

/* HAMBURGER/MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s;
  width: 48px;
  height: 48px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--warm2);
  outline: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(244,238,224,0.96);
  backdrop-filter: blur(2px);
  transition: transform 0.36s cubic-bezier(0.7, 0.2, 0.3, 1), opacity 0.3s;
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 32px;
  color: var(--primary);
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s;
  width: 48px;
  height: 48px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--warm2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding: 28px 32px 0 32px;
}
.mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: transparent;
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--warm2);
  color: var(--secondary);
  outline: none;
}
.mobile-nav .cta-btn {
  font-size: 19px;
  border-radius: var(--radius-md);
  margin: 6px 0;
  width: 90%;
  justify-content: center;
  text-align: center;
}

/* HEADINGS & TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.13;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.16;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.26rem;
  color: var(--secondary);
  font-weight: 700;
  margin: 13px 0 7px 0;
  line-height: 1.17;
}
p, ul, ol {
  margin-bottom: 18px;
}
.subheadline {
  color: var(--secondary);
  font-size: 1.2rem;
  font-family: var(--font-body);
  margin-bottom: 9px;
}
ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
h1:after, .h1:after {
  display: block;
  content: "";
  width: 55px;
  height: 4px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  margin-top: 12px;
}

/* TABLES */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 1rem;
}
thead {
  background: var(--warm1);
}
th, td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #f1e4c5;
}
th {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.11rem;
}
tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1.5px solid #e7e2db;
  padding: 36px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  transition: background 0.16s, color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--warm2);
  color: var(--secondary);
}
.footer-contact {
  color: #2B353B;
  font-size: 15px;
  line-height: 1.63;
}
.footer-contact strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: bold;
}

/* Special Lists */
.service-list {
  margin-bottom: 18px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-links {
  margin-top: 8px;
  font-size: 1.01rem;
  color: var(--primary);
}
.quick-links a {
  color: var(--secondary);
  text-decoration: underline;
}
.quick-links a:hover {
  color: var(--primary);
}

/* CONTACT PAGE specific */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.contact-details > div {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 15px 18px;
  box-shadow: 0 1px 8px rgba(255,188,100,0.07), 0 1px 2px rgba(17,68,106,0.07);
  min-width: 170px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.map {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--warm1);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--secondary);
}
.contact-options {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.contact-options span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--secondary);
  font-size: 1.07rem;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: #fff9f2;
  border-top: 2.5px solid var(--warm2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
  box-shadow: 0 -2px 12px rgba(255,188,100,0.10);
  font-size: 1rem;
  animation: slideUpIn 0.6s cubic-bezier(0.9, 0.1, 0.5, 1.2);
}
@keyframes slideUpIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-consent-banner .cookie-text {
  flex: 2 1 240px;
  color: #573515;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-actions {
  flex: 1 1 220px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 26px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 1px 7px rgba(17,68,106,0.07);
}
.cookie-btn.accept {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--secondary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--danger);
  border: 1.5px solid var(--danger);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--warm2);
  color: #7f3414;
}
.cookie-btn.settings {
  background: var(--warm2);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--warm1);
  color: var(--secondary);
}
/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 12010;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17, 44, 85, 0.15);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 0.23s;
}
@keyframes fadeIn {
  from { opacity:0; } to {opacity:1;}
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 24px rgba(255,188,100,0.22), 0 1.5px 8px rgba(17,68,106,0.14);
  padding: 38px 32px 28px 32px;
  min-width: 315px;
  max-width: 98vw;
  max-height: 85vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  animation: slideModalIn 0.5s cubic-bezier(.85,0,.12,1.3);
}
@keyframes slideModalIn {
  from { transform: translateY(60px); opacity: 0;}
  to { transform: none; opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: #7c510a;
  border-radius: 50%;
  cursor: pointer;
  padding: 4px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--warm2);
}
.cookie-modal h2 {
  font-size: 1.49rem;
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 0;
}
.cookie-modal .category {
  margin: 15px 0 8px 0;
  font-size: 1.09rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Switch/toggle for categories */
.cookie-toggle {
  width: 44px; height: 24px;
  background: #f3e1b6;
  border-radius: 16px;
  position: relative;
  margin-left: 12px;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.17s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--secondary);
}
.cookie-toggle .dot {
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.6px 4px rgba(17,68,106,0.08);
  transition: left 0.19s;
}
.cookie-toggle[aria-checked="true"] .dot {
  left: 23px;
}
.cookie-modal .always-on {
  background: none;
  color: #803f08;
  font-weight: 600;
  font-size: 1rem;
  padding-left: 0;
}

/* FACT / HIGHLIGHT */
.fact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 13px;
}
.fact-highlights p {
  background: var(--warm1);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 0;
  font-size: 1.01rem;
}

/* FORM BASE (optional, in case later forms are implemented) */
input, select, textarea, button {
  font-family: var(--font-body);
  font-size: 1rem;
}
input, select, textarea {
  border: 1.5px solid #e3dac4;
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  background: #fff;
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: var(--focus);
}
label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  header .container, footer .container {
    gap: 11px;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 825px) {
  .container {
    max-width: 97vw;
    padding: 0 6px;
  }
  header .container, footer .container {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
    gap: 7px;
  }
  .main-nav {
    gap: 7px;
    flex-wrap: wrap;
  }
  .features-grid, .benefit-list, .faq-list {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 4px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid, .benefit-list {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .contact-details {
    flex-direction: column;
    gap: 13px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer .container {
    flex-direction: column;
    gap: 13px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 10px;
    gap: 13px;
    font-size: 15px;
  }
  .cookie-consent-banner .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .features-grid > div,
  .faq-list > div,
  .benefit-list > div {
    min-width: unset;
    width: 100%;
  }
}
@media (max-width: 520px) {
  h1, .h1 {
    font-size: 1.62rem;
    margin-bottom: 10px;
  }
  h2, .h2 {
    font-size: 1.22rem;
    margin-bottom: 7px;
  }
  h3, .h3 {
    font-size: 1.01rem;
    margin: 8px 0 6px 0;
  }
  .section {
    margin-bottom: 27px;
    padding: 27px 2px;
  }
  .testimonial-card {
    padding: 16px 7px;
    font-size: 1rem;
  }
  .card {
    padding: 15px 6px;
  }
  .cta-btn {
    font-size: 16px;
    padding: 10px 18px;
  }
}

/* MICRO-INTERACTION TRANSITIONs */
.card, .features-grid > div, .faq-list > div, .testimonial-card, .benefit-list > div {
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .features-grid > div:hover, .faq-list > div:hover, .benefit-list > div:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 6px 28px rgba(255,174,74,0.09), 0 1.1px 4px rgba(17,68,106,0.11);
}

/* Utility: text-section */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* UTILITY: visually hidden (for a11y) */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* PRINT SUPPORT (No burger/cookie/footer, larger line-height, minimal colors) */
@media print {
  header, footer, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal, .cookie-modal-overlay {
    display: none !important;
  }
  body, .container, section, .content-wrapper {
    background: #fff !important;
    color: #000;
    box-shadow: none !important;
    font-size: 13pt;
  }
  .card, .testimonial-card, .features-grid > div, .faq-list > div, .benefit-list > div {
    box-shadow: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
}
