/*
Theme Name:  Solar Atlas Caribbean
Theme URI:   https://www.demo4client.in/
Author:      Solar Atlas Caribbean
Author URI:  https://www.demo4client.in/
Description: Official theme for Solar Atlas Caribbean – the Caribbean's leading solar energy marketplace. Connects homeowners and businesses with verified solar providers across 28+ islands.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solaratlas-caribbean
Tags:        custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   FONT FACES  (Glacial Indifference – shipped with theme)
   ============================================================ */
@font-face {
  font-family: "Glacial Indifference";
  src: url("assets/fonts/GlacialIndifference-Regular.woff") format("woff"),
       local("Glacial Indifference"), local("GlacialIndifference-Regular");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Glacial Indifference";
  src: url("assets/fonts/GlacialIndifference-Bold.woff") format("woff"),
       local("Glacial Indifference Bold"), local("GlacialIndifference-Bold");
  font-weight: 700 900;
  font-display: swap;
}

/* ============================================================
   common.css – verbatim (font/image paths adjusted)
   ============================================================ */

:root {
  --blue: #0250CE;
  --blue-dark: #054ab0;
  --ink: #1a2540;
  --muted: #667085;
  --line: #dfe5ee;
  --soft: #f4f7fb;
  --panel: #eaf2ff;
  --white: #fff;
  --shadow: 0 12px 30px rgba(16, 36, 75, .08);
  font-family: "Glacial Indifference", "Poppins", "Segoe UI", Arial, sans-serif;
}

.text-white {
  color: white !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f2f2f2;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {font-family: inherit;font-weight: 700;line-height: 1.2;color: var(--ink);margin: 0;}
h1 {font-size: 48px;}
h2 {font-size: 42px;}
h3 {font-size: 28px;}
h4 {font-size: 22px;}
h5 {font-size: 18px;}
h6 {font-size: 16px;}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

i[data-lucide]::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-radius: 50%;
  vertical-align: -.12em;
}

i[data-lucide="menu"]::before {
  width: 18px;
  height: 12px;
  border: solid currentColor;
  border-width: 2px 0;
  border-radius: 0;
  box-shadow: 0 5px 0 currentColor;
}

i[data-lucide="arrow-right"]::before {
  content: "->";
  width: auto;
  height: auto;
  border: 0;
  font-style: normal;
}

i[data-lucide="arrow-left"]::before {
  content: "<-";
  width: auto;
  height: auto;
  border: 0;
  font-style: normal;
}

i[data-lucide="mail"]::before {
  border-radius: 2px;
}

.bg-white {
    background: #FFFFFF;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 94px;
  padding: 0 clamp(28px, 5vw, 92px);
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 128px;
  color: var(--blue);
  line-height: 1;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(#fff7d6 0 44%, #1d77df 45% 100%);
  border: 2px solid #e8f0ff;
}

.brand-mark::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffc429;
  box-shadow: 0 -12px 0 -6px #ffc429, 9px -9px 0 -6px #ffc429, 12px 0 0 -6px #ffc429, -9px -9px 0 -6px #ffc429, -12px 0 0 -6px #ffc429;
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 32px;
  height: 8px;
  border-radius: 50% 50% 0 0;
  background: repeating-linear-gradient(90deg, #0b5fd7 0 5px, #ffcc24 5px 7px);
}

.brand strong {
  display: block;
  font-size: 16px;
}

.brand small {
  display: block;
  color: #e27316;
  font-weight: 700;
  font-size: 10px;
  text-align: center;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 4.4vw, 66px);
  font-size: 15px;
}

.nav-menu a {
  padding: 15px 0 12px;
  border-bottom: 2px solid transparent;
}

.nav-menu a.active {
  color: var(--blue) !important;
  border-color: var(--blue) !important;
}

.nav-menu a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.currency-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
}

.currency-picker select {
  border: 0;
  color: var(--blue);
  background: transparent;
  outline: 0;
  padding: 10px;
}

.currency-picker.is-enhanced select {
  display: none;
}

.currency-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 58px;
  border: 0;
  padding: 10px 0;
  color: var(--blue);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.currency-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.8px 1.8px 0;
  transform: translateY(-2px) rotate(45deg);
}

.currency-menu {
  position: absolute;
  top: calc(100% + 0px);
  left: -11px;
  z-index: 80;
  display: none;
  width: max-content;
  min-width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.currency-picker.is-open .currency-menu {
  display: grid;
}

.currency-option {
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
}

.currency-option:hover,
.currency-option.is-selected {
  color: var(--blue);
  background: var(--panel);
}

.flag {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.us-flag {
  background: repeating-linear-gradient(180deg, #d9272e 0 3px, #fff 3px 6px);
  position: relative;
  overflow: hidden;
}

.us-flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: #17468f;
}

.jm-flag {
  background: linear-gradient(35deg, transparent 42%, #fed100 43% 56%, transparent 57%), linear-gradient(145deg, transparent 42%, #fed100 43% 56%, transparent 57%), linear-gradient(90deg, #009b3a 0 50%, #000 50%);
}

.eu-flag {
  background: #003399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='%23ffcc00'%3E%3Ctext x='60' y='16' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='82' y='24' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='92' y='46' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='82' y='68' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='60' y='76' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='38' y='68' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='28' y='46' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3Ctext x='38' y='24' font-size='11' text-anchor='middle'%3E★%3C/text%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
}

.gb-flag {
  background: linear-gradient(35deg, transparent 42%, #fff 43% 48%, #c8102e 49% 54%, #fff 55% 60%, transparent 61%), linear-gradient(145deg, transparent 42%, #fff 43% 48%, #c8102e 49% 54%, #fff 55% 60%, transparent 61%), linear-gradient(90deg, transparent 38%, #fff 39% 45%, #c8102e 46% 54%, #fff 55% 61%, transparent 62%), linear-gradient(0deg, transparent 38%, #fff 39% 45%, #c8102e 46% 54%, #fff 55% 61%, transparent 62%), #012169;
}

.xc-flag {
  background:
    linear-gradient(35deg, transparent 43%, #fcd116 44% 48%, #000 49% 51%, #fff 52% 56%, transparent 57%),
    linear-gradient(145deg, transparent 43%, #fcd116 44% 48%, #000 49% 51%, #fff 52% 56%, transparent 57%),
    linear-gradient(180deg, #65cfff 0 50%, #009e49 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='%23ffffff'%3E%3Ctext x='60' y='43' font-size='18' text-anchor='middle'%3E★%3C/text%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .9);
  background: transparent;
}

.btn-large {
  min-height: 60px;
  padding-inline: 34px;
  font-size: 20px;
}

.btn-sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 34px;
  font-size: 17px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-secondary {
  color: var(--blue);
  background: #eaf2ff;
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--panel);
}

.home-hero h1,
.listing-hero h1 {
  margin: 0 0 22px;
  color: #fff;
}

.home-hero p,
.listing-hero p {
  margin: 0 auto 28px;
  max-width: 900px;
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.45;
}

.left-title {
  text-align: left !important;
  margin-bottom: 8px !important;
}

.lead {
  margin-top: 0;
  color: var(--blue);
  font-size: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr .7fr 1fr 1.3fr;
  gap: 54px;
  padding: 48px clamp(24px, 7vw, 96px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-bottom {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: #667085;
}

.site-footer a,
.site-footer p {
  display: block;
  color: #667085;
}

.site-footer svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  vertical-align: middle;
}

.social {
  display: flex;
  gap: 12px;
}

.social span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.newsletter input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 0;
}

.listing-hero {
  min-height: 340px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 50px 20px;
  color: var(--white);
  background: linear-gradient(rgba(7, 91, 216, .72), rgba(7, 91, 216, .72)), url("assets/images/solar-farm.jpg") 50% 67%/cover;
}

.listing-hero p {
  color: var(--white);
  max-width: 780px;
}

.providers-filters-column .ad-slot,
aside.ad-slot {
  width: 100%;
  height: 500px;
  display: grid;
  place-items: center;
  border: 1px dashed #aeb6c4;
  border-radius: 9px;
  background: #f5f7fb;
  color: #667085;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1199px) {
  .site-header {
    height: auto;
    min-height: 74px;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 12px 22px;
  }
  .brand {
    margin-right: auto;
  }
  .hamburger {
    display: grid;
    place-items: center;
    order: 2;
  }
  .nav-menu,
  .header-actions {
    display: none;
    width: 100%;
  }
  .site-header.menu-open .nav-menu,
  .site-header.menu-open .header-actions {
    display: flex;
  }
  .nav-menu {
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
  }
  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .header-actions {
    order: 4;
    flex: 0 0 100%;
    flex-wrap: wrap;
    margin-left: 0;
    padding: 12px 0 4px;
  }
  .header-actions .btn {
    flex: 1 1 150px;
    padding-inline: 14px;
  }
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  h2 {font-size: 28px;}
  h3 {font-size: 22px;}
  h4 {font-size: 18px;}
  .site-header {
    padding: 12px 16px;
  }
  .left-title {
    font-size: 24px !important;
  }
  .lead {
    font-size: 14px !important;
    line-height: 1.3;
  }
}

.brand img {
  height: 70px;
}

.font-medium {
  font-weight: 500 !important;
}

.social svg {
  height: 30px;
  width: 30px;
}

.newsletter input {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  color: var(--pcp-ink);
  background: none !important;
}

@media (max-width: 786px) {
  .pad-lg {
    padding: 20px !important;
  }
}

.no-margin {
  margin: 0 !important;
}

.flex-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.flex-row-lg {
  display: flex;
  gap: 25px;
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flex-col-lg {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.flex-col-between {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

@media (max-width: 768px) {
  .flex-row-lg {
    display: flex !important;
    gap: 25px;
    align-items: center;
    flex-direction: column;
  }
}

.pad-lg {
  padding: 80px;
}

.currency-toggle,
.currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

.currency-flag {
  font-size: 18px;
  line-height: 1;
}

.currency-toggle,
.currency-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-flag {
  width: 20px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.currency-option svg,
.currency-toggle svg {
  display: block;
}

/* ── Profile/Blog vars (merged from product-company-profile.css) ── */
:root {
  --blue: #0758d6;
  --blue-dark: #0448b6;
  --ink: #222533;
  --muted: #677086;
  --line: #e0e1e6;
  --soft: #f2f2f3;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(25, 35, 58, .08);
}

/* ============================================================
   styles.css – verbatim (image paths adjusted)
   ============================================================ */

.quote-btn-large {
  min-height: 60px;
  padding-inline: 34px;
  font-size: 20px;
}

.quote-form-section {
  background: var(--soft);
}

.quote-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}

.quote-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.quote-form-grid input,
.quote-form-grid select,
.quote-form-grid textarea {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #cfd5de;
  background: transparent;
  outline: 0;
  font: inherit;
  color: var(--body);
  width: 100%;
}

.quote-form-grid textarea {
  resize: vertical;
}

.quote-form-full {
  grid-column: 1 / -1;
}

.quote-form-submit {
  margin-top: 36px;
  text-align: center;
}

.underline-input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #cfd5de;
  background: transparent;
  outline: 0;
  font: inherit;
  color: var(--ink);
  display: block;
  margin-bottom: 16px;
}

.underline-input::placeholder {
  color: var(--muted);
}

.underline-input:focus {
  border-bottom-color: var(--blue);
}

.home-hero {
    min-height: 498px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(104, 155, 211, 0.4), rgba(104, 155, 211, 0.4)), url(assets/images/raze-solar-Q8V1EEvnJgk-unsplash.jpg) center / cover;
}

.home-hero-content {
  width: min(980px, calc(100% - 36px));
  transform: translateY(-2px);
}

.about-hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.section {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 70px 0;
}

.section h2,
.home-quote-section h2 {
  margin: 0 0 38px;
  color: var(--blue);
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.about-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-category-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  background: #fff;
}

.about-category-grid svg {
  color: var(--blue);
  width: 30px;
  height: 30px;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-category-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  background: #fff;
}

.home-category-grid svg {
  color: var(--blue);
  width: 30px;
  height: 30px;
}

p {
  color: var(--muted);
  line-height: 1.45;
}

.about-category-grid p {
  margin: 0 auto;
  max-width: 280px;
  font-size: 12px;
}

.home-category-grid p {
  margin: 0 auto;
  max-width: 280px;
  font-size: 12px;
}

.bloglist-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.bloglist-provider-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.bloglist-provider-card img {
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  filter: brightness(0.5);
}

.bloglist-provider-card div:not(.bloglist-card-actions) {
  padding: 14px 18px;
}

.bloglist-provider-card h3 {
  margin: 0 0 4px;
}

.bloglist-provider-card p {
  margin: 0;
  font-size: 13px;
  color: #222;
}

.bloglist-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.bloglist-card-actions a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.home-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.home-provider-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.home-provider-card img {
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  filter: brightness(0.5);
}

.home-provider-card div:not(.home-card-actions) {
  padding: 14px 18px;
}

.home-provider-card h3 {
  margin: 0 0 4px;
}

.home-provider-card p {
  margin: 0;
  font-size: 13px;
  color: #222;
}

.home-card-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.home-card-actions button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  justify-content: center;
}

.home-stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 62px clamp(28px, 7vw, 96px);
  background: linear-gradient(90deg, #E2EDFF 0%, #A2C5FF 46%, #E2EDFF 100%);
}

.home-stats-band div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.home-stats-band svg {
  width: 46px;
  height: 48px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--white);
}

.home-stats-band strong {
  font-size: 26px;
  color: #071833;
}

.home-stats-band span {
  font-size: 13px;
  color: #1f2d45;
}

.home-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.home-image-pair {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.home-image-pair img {
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 8px;
}

.home-benefit-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.home-benefit-list article:last-child {
  border-bottom: 0;
}

.home-benefit-list svg {
  color: var(--blue);
  width: 28px;
  height: 28px;
}

.home-benefit-list h3,
.home-benefit-list p {
  margin: 0;
}

.home-benefit-list h3 {
  color: var(--blue);
}

.home-benefit-list p {
  font-size: 14px;
  color: #263248;
}

.home-saving-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.home-saving-grid article {
  padding: 34px;
  border-radius: 6px;
  background: linear-gradient(90deg, #E2EDFF 0%, #FFFFFF 46%, #E2EDFF 100%);
}

.home-saving-grid h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--blue);
  color: var(--blue);
  font-size: 28px;
}

.home-saving-grid span {
  display: block;
  color: #6c7280;
  margin-top: 12px;
}

.home-saving-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font-size: 22px;
}

.home-saving-grid p {
  padding: 16px;
  border: 1px solid #74a8ff;
  border-radius: 8px;
  color: var(--blue);
  font-size: 17px;
  background: rgb(255 255 255 / 50%);
}

.home-saving-grid b {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.home-quote-section {
  width: min(900px, calc(100% - 34px));
  margin: 0 auto;
  padding: 42px 0 90px;
  text-align: center;
}

.home-quote-section h2 {
  margin-bottom: 12px;
}

.home-quote-section p {
  margin: 0 auto 26px;
  color: var(--blue);
  font-size: 24px;
}

.about-content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 46%);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.about-content-split h2 {
  text-align: left;
}

.about-content-split p {
  font-size: 17px;
}

.about-content-image {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-content-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.about-content-band {
  background: var(--soft);
}

.about-stats {
  grid-template-columns: repeat(4, 1fr);
}

.contact-page {
  background: #f2f2f2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 30px;
}

.contact-info,
.contact-form {
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 30px;
}

.contact-info h2 {
  text-align: left;
}

.contact-detail {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-detail h3,
.contact-detail p {
  margin: 0;
}

.contact-detail h3 {
  color: var(--blue);
}

.contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  margin-top: 7px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #cfd5de;
  color: var(--muted);
  outline: 0;
  background: transparent;
}

.contact-form textarea {
  resize: vertical;
}

.providers-listing-page {
  padding: 40px clamp(16px, 4vw, 60px) 60px;
  background: #f2f2f2;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: min(1280px, calc(100% - 0px));
  margin: 0 auto;
}

.filter-sidebar {
  background: var(--white);
  border-radius: 8px;
  border: 2px solid #0450cf;
  padding: 24px;
  align-self: start;
}

.filter-sidebar h3 {
  margin: 0 0 16px;
  color: var(--blue);
  text-decoration: underline;
  font-size: 18px;
}

.filter-group {
  margin: 18px 0;
}

.filter-group h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.filter-link {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}

.filter-link.is-active {
  color: var(--blue);
  font-weight: 700;
}

.filter-link:hover {
  color: var(--blue);
}

.filter-count {
  color: #aab0be;
  font-size: 12px;
}

.filter-clear {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.provider-results {
  min-width: 0;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.results-count {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.sort-bar select {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 14px;
}

.product-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.providers-inner {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.providers-filters-column {
  align-self: start;
  display: grid;
  gap: 24px;
}

.providers-filters-column .ad-slot {
  width: 360px;
  height: 500px;
  margin: 0 auto;
}

.product-card h2 a,
.product-card .product-head p a {
  color: inherit;
  text-decoration: none;
}

.providers-filters {
  width: 360px;
  margin: 0 auto;
  padding: 24px 26px 30px;
  border-radius: 20px;
  background: var(--white);
  border: 2px solid #0450cf;
}

.contact-filters {
  padding: 24px 26px 30px;
  border-radius: 8px;
  background: var(--white);
}

.providers-filters h2,
.contact-filters h2 {
  margin: 0 0 26px;
  color: var(--blue);
  text-decoration: underline;
  font-size: 18px;
}

.providers-filters label,
.providers-filters legend,
.contact-filters label,
.contact-filters legend {
  display: block;
  margin-bottom: 12px;
  color: #3f4657;
  font-size: 17px;
}

.providers-filters input[type="search"],
.providers-filters select,
.contact-filters input[type="search"],
.contact-filters select {
  width: 100%;
  margin-top: 7px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #cfd5de;
  color: var(--muted);
  outline: 0;
  background: transparent;
}

.providers-filters fieldset,
.contact-filters fieldset {
  margin: 22px 0;
  padding: 0;
  border: 0;
}

.providers-filters fieldset label,
.contact-filters fieldset label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  font-size: 15px;
}

.providers-filters input[type="checkbox"],
.contact-filters input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.providers-filters input[type="range"],
.contact-filters input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.providers-search-btn,
.contact-search-btn {
  width: 100%;
  margin-top: 14px;
}

.providers-reset-btn {
  width: 100%;
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: #9aa2b0;
  cursor: pointer;
}

.providers-reset-btn svg {
  width: 20px;
  color: var(--blue);
  vertical-align: middle;
}

.providers-product-list {
  display: grid;
  gap: 24px;
}

.providers-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.providers-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  background: #fff;
  color: #4e5565;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.providers-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--blue);
  color: var(--blue);
}

.providers-page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.providers-page-btn:disabled {
  opacity: .4;
  cursor: default;
}

.providers-page-ellipsis {
  color: #9aa0ae;
  padding: 0 4px;
  line-height: 40px;
}

.product-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 6px;
}

.card-image-link {
  display: block;
  height: 180px;
  overflow: hidden;
  border-radius: 6px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.category-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--panel);
  color: var(--blue);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.card-title {
  margin: 0;
  font-size: 20px;
}

.card-title a {
  color: var(--ink);
}

.card-title a:hover {
  color: var(--blue);
}

.card-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-price {
  font-size: 15px;
  color: var(--ink);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--ink);
}

.card-footer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.card-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 20px;
  left: 22px;
  padding: 8px 14px;
  border-radius: 4px;
  color: var(--blue);
  background: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.product-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--blue);
}

.product-head h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
}

.product-head p {
  margin: 4px 0 0;
  color: var(--blue);
  align-items: center;
  display: flex;
  gap: 5px;
}

.product-price {
  white-space: nowrap;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.specs {
  width: 100%;
  margin: 18px 0;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.specs td {
  padding: 8px 0;
}

.specs tr {
  border-bottom: 1px solid var(--line) !important;
}

.specs td:last-child {
  text-align: right;
  color: #4c5565;
}

.product-actions {
  display: flex;
  justify-content: flex-end;
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.empty-state {
  padding: 48px;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  color: var(--muted);
}

/* Profile page (new layout) */
.profile-hero-new {
  background: linear-gradient(rgba(7, 91, 216, .72), rgba(7, 91, 216, .72)), url("assets/images/solar-farm.jpg") 50% 67%/cover;
  min-height: 260px;
  display: grid;
  align-items: center;
  padding: 40px clamp(16px, 4vw, 60px);
}

.profile-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.provider-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  flex-shrink: 0;
  background: #fff;
}

.profile-hero-info {
  flex: 1;
  min-width: 0;
}

.profile-hero-info h1 {
  color: #fff;
  font-size: 28px;
  margin: 6px 0 8px;
}

.profile-category {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.profile-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  margin: 0;
}

.profile-rating {
  color: #fff;
  font-size: 15px;
  margin: 4px 0;
}

.profile-price {
  color: rgba(255,255,255,.9);
  font-size: 15px;
  margin: 4px 0;
}

.profile-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.profile-hero-actions .btn {
  min-height: 40px;
  font-size: 14px;
}

.profile-body-section {
  background: var(--soft);
  padding: 40px clamp(16px, 4vw, 60px) 60px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.profile-main {
  min-width: 0;
}

.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.profile-card h2 {
  color: var(--blue);
  font-size: 22px;
  margin: 0 0 16px;
}

.gallery-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-main {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.profile-accordion {
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.profile-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 0;
}

.profile-accordion-toggle::after {
  content: '+';
  font-size: 26px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.profile-accordion.is-open .profile-accordion-toggle::after {
  content: '−';
}

.accordion-chevron {
  display: none;
}

.profile-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.profile-accordion.is-open .profile-accordion-body {
  max-height: 2000px;
  padding-bottom: 16px;
}

.profile-sidebar {
  min-width: 0;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
}

.sidebar-ad {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sidebar-ad-img {
  width: 100%;
  display: block;
}

.sidebar-ad-placeholder {
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center;
  border: 1px dashed #aeb6c4;
  border-radius: 8px;
  background: #f5f7fb;
  color: #667085;
  font-size: 16px;
  font-weight: 700;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-row svg {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 1px;
}

.contact-row a {
  color: var(--muted);
}

.contact-row a:hover {
  color: var(--blue);
}

.map-embed {
  border-radius: 6px;
  overflow: hidden;
}

.quote-sidebar-card .quote-form {
  padding: 0;
  max-width: 100%;
  box-shadow: none;
  border-radius: 0;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #dde1ea;
  border-radius: 8px;
  background: #fff;
  color: #4e5565;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pagination .current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── Events ── */
.events-section {
  padding: 40px clamp(16px, 4vw, 60px) 60px;
  background: #f2f2f2;
}

.events-layout {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.events-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 30px;
}

.events-quote-card {
  background: #fff;
  border-radius: 20px;
  border: 2px solid #0450cf;
  padding: 30px;
}

.events-quote-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: #111;
}

.events-quote-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
}

.events-quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.events-quote-form input,
.events-quote-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}

.events-quote-form button {
  height: 52px;
  border: none;
  border-radius: 10px;
  background: #0450cf;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.events-list-header {
  margin-bottom: 20px;
}

.events-list-header h2 {
  margin: 0 0 4px;
}

.events-list-header p {
  margin: 0;
  color: var(--muted);
}

.event-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  box-shadow: var(--shadow);
}

.event-img-wrap {
  height: 220px;
  overflow: hidden;
}

.event-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-body {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.event-date-badge {
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 10px 14px;
  flex-shrink: 0;
  min-width: 56px;
}

.event-day {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.event-info {
  flex: 1;
  min-width: 0;
}

.event-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.event-title a {
  color: var(--ink);
}

.event-title a:hover {
  color: var(--blue);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
}

.event-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.event-actions {
  display: flex;
  gap: 10px;
}

/* ── Blog ── */
.blog-section {
  padding: 60px clamp(16px, 4vw, 60px);
  background: #f2f2f2;
}

.blog-posts-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.blog-card-img-link {
  display: block;
  height: 220px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 20px 24px;
}

.blog-card-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.blog-date {
  color: var(--muted);
}

.blog-cat {
  color: var(--blue);
  font-weight: 700;
}

.blog-card-title {
  margin: 0 0 10px;
  font-size: 22px;
}

.blog-card-title a {
  color: var(--ink);
}

.blog-card-title a:hover {
  color: var(--blue);
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.author-avatar {
  border-radius: 50%;
}

.blog-sidebar {
  align-self: start;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-cat-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.sidebar-cat-list li a {
  color: var(--muted);
}

.sidebar-cat-list li a:hover {
  color: var(--blue);
}

.sidebar-recent-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.sidebar-recent-post a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.sidebar-date {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.related-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── Single post ── */
.single-post-hero {
  padding: 60px 20px 40px;
}

.post-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.post-cat-badge {
  background: var(--panel);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.post-date, .post-read-time {
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

.post-hero-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  margin-top: 16px;
}

.single-post-section {
  padding: 40px clamp(16px, 4vw, 60px) 60px;
  background: #f2f2f2;
}

.single-post-content {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.single-post-featured-img {
  margin: -32px -32px 28px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.post-content h2, .post-content h3 {
  color: var(--ink);
  margin-top: 32px;
}

.post-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 20px 0;
}

.post-tags {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.post-tags-label {
  font-weight: 700;
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 20px;
  background: var(--soft);
  border-radius: 8px;
}

.author-avatar-lg {
  border-radius: 50%;
  flex-shrink: 0;
}

.author-box-text h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.post-nav {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 48%;
}

.post-nav-prev {
  align-items: flex-start;
}

.post-nav-next {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
}

.post-nav-dir {
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
}

.post-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* ── About page ── */
.about-section {
  padding: 60px clamp(16px, 4vw, 60px);
  background: #f2f2f2;
}

.about-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 40%);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 0;
}

.about-image img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-text .section-label {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  margin: 12px 0 16px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
}

.savings-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.savings-list li {
  font-size: 15px;
  color: var(--ink);
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 0;
}

.about-band-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-band-icon {
  margin-bottom: 16px;
}

.about-band-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.about-band-card p {
  font-size: 14px;
  margin: 0;
}

.about-stats-section {
  background: linear-gradient(90deg, #E2EDFF 0%, #A2C5FF 46%, #E2EDFF 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 60px clamp(16px, 4vw, 60px);
  max-width: 1280px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.stat-item strong {
  font-size: 32px;
  font-weight: 800;
  color: #071833;
}

.stat-item span {
  font-size: 14px;
  color: #1f2d45;
}

.about-cta-section {
  padding: 60px 20px;
  background: #fff;
}

.about-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.about-cta-inner h2 {
  margin: 0 0 14px;
}

.about-cta-inner p {
  margin: 0 0 28px;
  font-size: 17px;
}

.about-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Contact page ── */
.contact-section {
  padding: 40px clamp(16px, 4vw, 60px) 60px;
  background: #f2f2f2;
}

.contact-info-panel {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-info-panel h2 {
  text-align: left;
  margin: 0 0 14px;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--panel);
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.contact-info-text h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
}

.contact-info-text p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.contact-info-text a {
  color: var(--blue);
}

.contact-form-panel {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form-panel h2 {
  text-align: left;
  margin: 0 0 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.contact-map-section {
  margin-top: 0;
}

/* ── No results ── */
.no-results {
  background: #fff;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
}

/* ── Breadcrumb ── */
.breadcrumb {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

.breadcrumb a {
  color: rgba(255,255,255,.9);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Homepage sections ── */
.hero {
  min-height: 498px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(rgba(104, 155, 211, 0.4), rgba(104, 155, 211, 0.4)), url(assets/images/raze-solar-Q8V1EEvnJgk-unsplash.jpg) center / cover;
  padding: 40px 20px;
}

.hero-inner {
  width: min(980px, calc(100% - 36px));
}

.hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
}

.hero h1 span {
  display: block;
  color: #A2C5FF;
}

.hero p {
  color: rgba(255,255,255,.92);
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 auto 28px;
  max-width: 720px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

.container {
  width: min(1280px, calc(100% - 34px));
  margin-inline: auto;
  padding: 0;
}

.category-section {
  padding: 60px 0;
  background: #fff;
}

.category-section h2 {
  text-align: center;
  margin: 0 0 36px;
  color: var(--blue);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  transition: box-shadow .2s, border-color .2s;
}

.category-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
}

.category-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.category-icon-placeholder {
  width: 48px;
  height: 48px;
  background: var(--panel);
  border-radius: 8px;
}

.category-card span {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.category-card small {
  font-size: 12px;
  color: var(--muted);
}

.featured-providers {
  padding: 60px 0;
  background: #f2f2f2;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0;
  color: var(--blue);
}

.view-all {
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.provider-card.product-card {
  grid-template-columns: 1fr;
}

.provider-card .card-image-link {
  height: 200px;
}

.stats-band {
  background: linear-gradient(90deg, #E2EDFF 0%, #A2C5FF 46%, #E2EDFF 100%);
}

.why-section {
  padding: 70px 0;
  background: #fff;
}

.why-section h2 {
  text-align: center;
  color: var(--blue);
  margin: 0 0 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.why-icon {
  margin-bottom: 14px;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.why-card p {
  margin: 0;
  font-size: 14px;
}

.savings-section {
  padding: 70px 0;
  background: var(--soft);
}

.savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
}

.savings-text h2 {
  margin: 0 0 16px;
}

.savings-text p {
  font-size: 17px;
  margin: 0 0 20px;
}

.savings-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-cta-section {
  padding: 70px 0;
  background: var(--blue);
}

.quote-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 60px);
}

.quote-cta-text h2 {
  color: #fff;
  margin: 0 0 12px;
}

.quote-cta-text p {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  margin: 0;
}

.quote-cta-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quote-cta-form .underline-input {
  border-bottom-color: rgba(255,255,255,.4);
  color: #fff;
}

.quote-cta-form .underline-input::placeholder {
  color: rgba(255,255,255,.6);
}

/* ── Ad card ── */
.ad-card {
  min-height: 500px;
  border-radius: 9px;
  overflow: hidden;
  color: #fff;
  padding: 90px 25px 34px;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .36), rgba(0, 0, 0, .48)),
    url("assets/images/justin-lim-Fpcy-AdFhUg-unsplash.jpg") center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ad-card h2 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.2;
}

.ad-card p {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.28;
}

/* ── Auth ── */
.auth-page { background: var(--soft); }
.auth-main { min-height: calc(100vh - 94px - 64px); display: grid; place-items: center; padding: 48px 20px; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); width: 100%; max-width: 460px; padding: 40px 40px 36px; }
.auth-card--wide { max-width: 600px; }
.auth-card__header { text-align: center; margin-bottom: 32px; }
.auth-logo { display: inline-block; margin-bottom: 20px; }
.auth-card__header h1 { font-size: 24px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.auth-card__header p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.auth-field input, .auth-field select { height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; color: var(--ink); background: var(--white); outline: 0; width: 100%; }
.auth-field input:focus, .auth-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 91, 216, 0.1); }
.auth-submit { width: 100%; height: 48px; font-size: 15px; }
.auth-switch { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.auth-switch a { color: var(--blue); font-weight: 700; }
.auth-forgot { font-size: 13px; color: var(--blue); font-weight: 600; }
.auth-checkbox { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink); }
.auth-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1199px) {
  .about-category-grid,
  .bloglist-provider-grid,
  .home-category-grid,
  .home-provider-grid,
  .provider-grid,
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content-split,
  .contact-grid,
  .savings-grid,
  .quote-cta-inner { grid-template-columns: 1fr; }
  .providers-inner { grid-template-columns: 300px 1fr; }
  .providers-listing-page { grid-template-columns: 280px minmax(0, 1fr); }
  .product-card { grid-template-columns: 200px minmax(0, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-split-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bloglist-provider-grid { grid-template-columns: 2fr 1fr; }
}

@media (max-width: 767px) {
  .about-category-grid,
  .bloglist-provider-grid,
  .home-category-grid,
  .home-provider-grid,
  .home-stats-band,
  .home-why-grid,
  .home-saving-grid,
  .site-footer,
  .provider-grid,
  .why-grid,
  .about-cards-grid,
  .category-grid,
  .stats-grid,
  .form-row,
  .profile-layout { grid-template-columns: 1fr; }
  .providers-listing-page { grid-template-columns: 1fr; padding: 24px 16px; }
  .events-layout { grid-template-columns: 1fr; }
  .events-sidebar { position: static; }
  .product-card { grid-template-columns: 1fr; }
  .section { padding: 38px 20px; }
  .hero-stats { gap: 24px; }
  .quote-cta-section { padding: 40px 0; }
  .bloglist-provider-grid { grid-template-columns: 1fr; }
  .blog-section .bloglist-provider-grid { grid-template-columns: 1fr; }
  .single-post-section .bloglist-provider-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .auth-card { padding: 28px 20px 24px; }
}
