@charset "UTF-8";
/* zolar.se – all site styles in one file.
   Merged from the old hashed build css (_build/assets), unused rules removed.
   Order matters: base -> page sections -> components -> overrides. */


/* ===== base: tokens, reset, typography, utilities ===== */

*,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

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

button:disabled,
input:disabled {
  cursor: not-allowed;
}

:root {
  --color-primary: hsl(0, 0%, 88%);
  --color-primary-dark: hsl(0, 0%, 78%);
  --color-secondary: hsl(116, 34%, 60%);
  --color-secondary-dark: hsl(116, 34%, 50%);
  --color-background: hsl(0, 0%, 6%);
  --color-surface: hsl(0, 0%, 10%);
  --color-text-light: hsl(0, 0%, 92%);
  --color-text-light-muted: hsl(0, 0%, 65%);
  --color-text-dark: hsl(0, 0%, 10%);
  --color-text-dark-muted: hsl(0, 0%, 25%);
  --color-border-dark: hsl(0, 0%, 14%);
  --color-border-light: hsl(0, 0%, 80%);
  --color-success: hsl(145, 49%, 55%);
  --color-danger: hsl(0, 79%, 68%);
  --color-warning: hsl(25, 71%, 58%);
  --color-info: hsl(204, 70%, 63%);
  --color-white: hsl(0, 0%, 100%);
  --color-black: hsl(0, 0%, 0%);
  --color-accent: hsl(155, 80%, 58%);
  --color-accent-2: hsl(195, 86%, 60%);
  --color-gray-100: hsl(215, 28%, 17%);
  --color-gray-200: hsl(213, 14%, 24%);
  --color-gray-300: hsl(212, 15%, 32%);
  --color-gray-400: hsl(210, 19%, 41%);
  --color-gray-500: hsl(212, 15%, 52%);
  --color-gray-600: hsl(210, 19%, 71%);
  --color-gray-700: hsl(212, 26%, 83%);
  --color-gray-800: hsl(210, 29%, 90%);
  --color-gray-900: hsl(210, 20%, 98%);
}

body {
  font-family: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-light);
  background-color: var(--color-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

h1 {
  font-size: 3rem;
}

@media(min-width:768px)and (max-width:1023px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media(min-width:1024px) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 1.75rem;
}

@media(min-width:768px)and (max-width:1023px) {
  h2 {
    font-size: 2rem;
  }
}

@media(min-width:1024px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-size: 1.25rem;
}

@media(min-width:1024px) {
  h3 {
    font-size: 1.5rem;
  }
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  transition: color .3s ease;
}

.text-sm {
  font-size: .875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-gray-600);
}

:root {
  --image-brightness: 1.06;
  --bg-image-brightness: 1.06;
}

img {
  filter: brightness(var(--image-brightness));
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media(min-width:768px)and (max-width:1023px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.container-sm {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container-md {
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1,1fr);
}

@media(min-width:768px)and (max-width:1023px) {
  .grid-cols-sm-2 {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(min-width:1024px) {
  .grid-cols-md-2 {
    grid-template-columns: repeat(2,1fr);
  }

  .grid-cols-md-3 {
    grid-template-columns: repeat(3,1fr);
  }

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

.gap-sm {
  gap: .5rem;
}

.gap-lg {
  gap: 1.5rem;
}

.gap-xl {
  gap: 2.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.form-label.required:after {
  content: " *";
  color: var(--color-danger);
}

.form-control {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-light);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  transition: border-color box-shadow background-color;
}

.form-control::placeholder {
  color: var(--color-text-light-muted);
  opacity: .7;
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(var(--color-primary),.3);
  outline: none;
}

.form-control:disabled {
  background-color: var(--color-gray-100);
  border-color: var(--color-border-dark);
  color: var(--color-text-light-muted);
  cursor: not-allowed;
  opacity: .6;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  cursor: pointer;
}

select.form-control:not([multiple]) {
  height: auto;
}

.mt-lg {
  margin-top: 1.5rem;
}

.mb-sm {
  margin-bottom: .5rem;
}

.mb-md {
  margin-bottom: 1rem;
}

.mb-lg {
  margin-bottom: 1.5rem;
}

.mb-xl {
  margin-bottom: 2.5rem;
}

@keyframes landingFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== page: residential/commercial/industrial (scoped to body.pg-product) ===== */

:where(.pg-product) .hienergy-product-page {
  background-color: var(--color-background);
  color: var(--color-text-light);
}

:where(.pg-product) .section {
  padding: 4rem 0;
}

:where(.pg-product) .description-section p {
  font-size: clamp(1rem,1.1vw,1.25rem);
  line-height: 1.65;
}

:where(.pg-product) .hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 70%;
  filter: brightness(var(--bg-image-brightness, 1.06));
  color: var(--color-white);
}

:where(.pg-product) .hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,#000000a6,#00000026);
  z-index: 1;
}

:where(.pg-product) .hero-section .container {
  position: relative;
  z-index: 2;
}

:where(.pg-product) .hero-section .hero-content {
  max-width: 700px;
  margin: 0 auto;
}

:where(.pg-product) .hero-section .hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: .5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,.5);
}

:where(.pg-product) .hero-section .hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 5px rgba(0,0,0,.5);
}

:where(.pg-product) .value-props-section {
  padding: 4rem 0;
}

:where(.pg-product) .value-props-section .card-title-wrapper {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

:where(.pg-product) .value-props-section .card-title-wrapper h3 {
  margin: 0;
}

:where(.pg-product) .tilted-divider {
  height: 48px;
  background: linear-gradient(180deg,#ffffff0a,#ffffff04 40%,#fff0);
  border-top: 1px solid var(--color-border-dark);
}

:where(.pg-product) .tilted-divider--reverse {
  height: 48px;
  background: linear-gradient(0deg,#ffffff0a,#ffffff04 40%,#fff0);
  border-top: 1px solid var(--color-border-dark);
}

:where(.pg-product) .spec-table-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  overflow: hidden;
}

:where(.pg-product) .spec-table {
  width: 100%;
  border-collapse: collapse;
}

:where(.pg-product) .spec-table th,
:where(.pg-product) .spec-table td {
  padding: .5rem 1rem;
}

:where(.pg-product) .spec-table th {
  width: 40%;
  text-align: left;
  color: var(--color-text-light);
  font-weight: 500;
  background: #ffffff05;
  border-right: 1px solid var(--color-border-dark);
}

:where(.pg-product) .spec-table td {
  color: var(--color-text-light-muted);
}

:where(.pg-product) .spec-table tr+tr {
  border-top: 1px solid var(--color-border-dark);
}

:where(.pg-product) .btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

:where(.pg-product) .btn-outline-secondary:hover {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

:where(.pg-product) .spec-section {
  flex: 1;
}

:where(.pg-product) .themed-select {
  appearance: none;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  padding: .5rem 2.5rem .5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

:where(.pg-product) .themed-select:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 .2rem #007bff40;
}

:where(.pg-product) .how-it-works-section .section-header__title {
  margin-bottom: 2.5rem;
}

:where(.pg-product) .steps-container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2.5rem;
}

@media(max-width:767px) {
  :where(.pg-product) .steps-container {
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 0 1rem 1rem;
  }

  :where(.pg-product) .steps-container::-webkit-scrollbar {
    display: none;
  }
}

:where(.pg-product) .step-card {
  position: relative;
  text-align: center;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
}

:where(.pg-product) .step-card .step-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-border-dark);
}

:where(.pg-product) .step-card .step-icon {
  margin: .5rem 0 1rem;
  color: var(--color-secondary);
}

:where(.pg-product) .step-card .step-icon svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}

:where(.pg-product) .step-card .step-title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

:where(.pg-product) .step-card p {
  max-width: 66ch;
}

:where(.pg-product) .cta-section {
  padding-bottom: 4rem;
}

:where(.pg-product) .cta-card {
  background-color: var(--color-surface);
  border-radius: 16px;
  padding: 4rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 25px 50px #00000040;
}

:where(.pg-product) .cta-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

@media(max-width:767px) {
  :where(.pg-product) .hero-section .hero-title {
    font-size: 3.5rem;
  }
}

:where(.pg-product) .model-selectors-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media(min-width:768px) {
  :where(.pg-product) .model-selectors-container {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }
}

:where(.pg-product) .model-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ===== page: contact (scoped to body.pg-contact) ===== */

:where(.pg-contact) .contact-page {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 4rem 0;
}

@media(max-width:767px) {
  :where(.pg-contact) .contact-page {
    padding: 2.5rem 1rem;
    align-items: flex-start;
  }
}

:where(.pg-contact) .contact-section {
  width: 100%;
}

:where(.pg-contact) .contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

:where(.pg-contact) .contact-header .contact-title {
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

@media(max-width:767px) {
  :where(.pg-contact) .contact-header .contact-title {
    font-size: 1.125rem;
  }
}

:where(.pg-contact) .contact-header .contact-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width:767px) {
  :where(.pg-contact) .contact-header .contact-subtitle {
    font-size: 1rem;
  }
}

:where(.pg-contact) .contact-form-title,
:where(.pg-contact) .contact-info-title {
  margin-bottom: 1.5rem;
}

@media(max-width:767px) {
  :where(.pg-contact) .contact-form-title,
  :where(.pg-contact) .contact-info-title {
    font-size: 1.125rem;
  }
}

:where(.pg-contact) .contact-form {
  background-color: var(--color-surface);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--color-border-dark);
  box-shadow: 0 4px 8px #00000026;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media(max-width:767px) {
  :where(.pg-contact) .contact-form {
    padding: 1.5rem;
  }
}

:where(.pg-contact) .contact-info-item {
  display: flex;
  align-items: flex-start;
}

:where(.pg-contact) .contact-info-item:not(:last-child) {
  margin-bottom: 1.5rem;
}

:where(.pg-contact) .contact-info-item .icon {
  margin-right: 1rem;
  margin-top: .25rem;
}

:where(.pg-contact) .contact-info-item .contact-info-text .contact-info-item-title {
  margin-bottom: .25rem;
}

:where(.pg-contact) .contact-info-item .contact-info-text p {
  color: var(--color-text-light-muted);
  margin: 0;
  font-size: .875rem;
}

:where(.pg-contact) .contact-step-panel {
  display: grid;
  gap: 1.5rem;
}

:where(.pg-contact) .contact-form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

:where(.pg-contact) .contact-form-nav .btn {
  min-width: 140px;
}

@media(max-width:767px) {
  :where(.pg-contact) .contact-form-nav {
    flex-direction: column-reverse;
  }

  :where(.pg-contact) .contact-form-nav .btn {
    width: 100%;
  }
}

:where(.pg-contact) .contact-primary-button {
  min-width: 180px;
}

/* ===== page: why-zolar (scoped to body.pg-about) ===== */

:where(.pg-about) .why-zolar-page .home-section {
  padding: 5rem 0;
}

:where(.pg-about) .why-zolar-page .why-zolar-hero {
  position: relative;
  min-height: 60vh;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

:where(.pg-about) .why-zolar-page .why-zolar-hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  z-index: 1;
}

:where(.pg-about) .why-zolar-page .why-zolar-hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000bf;
  z-index: 2;
}

:where(.pg-about) .why-zolar-page .why-zolar-hero__content {
  position: relative;
  z-index: 3;
}

:where(.pg-about) .why-zolar-page .why-zolar-hero__title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

:where(.pg-about) .why-zolar-page .why-zolar-hero__subtitle {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

:where(.pg-about) .section-header {
  margin-bottom: 4rem;
}

:where(.pg-about) .section-header__title {
  margin-bottom: 1rem;
}

:where(.pg-about) .technology-section__image img {
  border-radius: 16px;
  box-shadow: 0 25px 50px #00000040;
}

:where(.pg-about) .team-card__image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--color-border-dark);
}

:where(.pg-about) .team-card__name {
  margin-bottom: .25rem;
  font-weight: 600;
}

:where(.pg-about) .team-card__role {
  min-height: 36px;
  margin-bottom: .5rem;
  color: var(--color-text-light);
  font-size: .875rem;
}

:where(.pg-about) .team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

:where(.pg-about) .team-card__contacts .contact-row {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--color-text-light);
  line-height: 1.25;
}

:where(.pg-about) .team-card__contacts .contact-row a {
  color: var(--color-text-light);
  text-decoration: none;
  overflow-wrap: anywhere;
}

:where(.pg-about) .team-card__contacts .contact-row .icon {
  color: var(--color-text-light-muted);
  transform: translateY(.5px);
}

/* ===== page: reference-projects (scoped to body.pg-refs) ===== */

:where(.pg-refs) .page-header {
  margin-top: 10vh;
  padding: 4rem 0;
  text-align: center;
}

:where(.pg-refs) .page-header h1 {
  margin-bottom: 1rem;
}

:where(.pg-refs) .reference-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

:where(.pg-refs) .reference-card.card {
  border-radius: 8px;
  will-change: transform;
  transform-origin: center;
  transition: transform .18s ease,box-shadow .18s ease;
}

:where(.pg-refs) .reference-card.card.card-interactive:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px #0003;
}

:where(.pg-refs) .reference-card.card .card-img-top {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

:where(.pg-refs) .reference-card .card-img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
}

:where(.pg-refs) .reference-card .card-body {
  padding: 1rem;
}

:where(.pg-refs) .reference-card__icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(var(--color-secondary),.1);
  margin-bottom: 1.5rem;
}

:where(.pg-refs) .reference-card__title {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

:where(.pg-refs) .reference-card__meta {
  font-size: .875rem;
  color: var(--color-text-light-muted);
  margin-bottom: .5rem;
}

:where(.pg-refs) .references-grid {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width:767px) {
  :where(.pg-refs) .references-grid {
    width: 100%;
  }
}

/* ===== page: privacy (scoped to body.pg-privacy) ===== */

:where(.pg-privacy) .privacy .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

:where(.pg-privacy) .privacy h1 {
  font-size: clamp(1.5rem,2vw,2.25rem);
  margin-bottom: 1rem;
}

:where(.pg-privacy) .privacy h2 {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem,1.4vw,1.35rem);
}

:where(.pg-privacy) .privacy p,
:where(.pg-privacy) .privacy li {
  line-height: 1.6;
}

:where(.pg-privacy) .privacy ul {
  padding-left: 1rem;
}

/* ===== components: header, nav, buttons, cards, footer ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  border-radius: 9999px;
  transition: box-shadow .3s ease,background-image .3s ease,color .3s ease;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
}

.btn:disabled {
  pointer-events: none;
  opacity: .5;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-image: linear-gradient(45deg,var(--color-primary),var(--color-primary-dark));
  box-shadow: 0 0 15px rgba(var(--color-primary),.3),0 4px 8px #00000026;
  color: var(--color-background);
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(var(--color-primary),.5),0 10px 20px #0003;
}

.btn-secondary {
  background-image: linear-gradient(45deg,var(--color-secondary),var(--color-secondary-dark));
  box-shadow: 0 0 15px rgba(var(--color-secondary),.3),0 4px 8px #00000026;
  color: var(--color-white);
  font-weight: 600;
}

.btn-secondary:hover {
  box-shadow: 0 0 25px rgba(var(--color-secondary),.5),0 10px 20px #0003;
}

.btn-outline-secondary {
  background-color: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  box-shadow: none;
}

.btn-outline-secondary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 0 15px rgba(var(--color-secondary),.4);
}

.btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-gray-600);
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: var(--color-border-dark);
  color: var(--color-text-light);
}

.btn-block {
  width: 100%;
}

.btn-icon-only {
  padding: .5rem;
}

.btn-icon-only.btn-lg {
  padding: 1rem;
}

.divider {
  border: 0;
  border-radius: 9999px;
  height: 4px;
  background-color: var(--color-border-dark);
  margin: 4rem 0;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s ease;
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px #0003;
}

.card-elevated {
  box-shadow: 0 4px 8px #00000026;
}

.card-body {
  padding: 1.5rem;
}

.card-text {
  margin-bottom: 1rem;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-img {
  width: 100%;
  height: auto;
}

.card-img-top {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

@keyframes modalBackdropIn {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header {
  width: 100%;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  position: fixed;
  padding: 0 2.5rem;
  height: 64px;
  backdrop-filter: saturate(140%) blur(8px);
  background: linear-gradient(180deg,#0000008c,#00000059);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transform: translateY(0);
  transition: background-color .3s ease,backdrop-filter .3s ease,transform .45s ease-in-out;
}

@media(max-width:1023px) {
  .header:has(.header__nav--open) {
    background-color: var(--color-black);
  }
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  width: 100%;
}

.header__brand {
  flex: 1;
  z-index: 101;
}

.header__brand img {
  height: 28px;
  width: 112px;
}

.header__actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  z-index: 101;
}

.header__nav {
  flex: 2;
  display: flex;
  justify-content: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item {
  position: relative;
}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-weight: 500;
  color: var(--color-text-light-muted);
  transition: color .2s ease;
  white-space: nowrap;
  padding: .5rem 1rem;
  border-radius: 8px;
}

.header__nav-link:hover {
  color: var(--color-primary);
  background-color: rgba(var(--color-white),.05);
}

.header__nav-link--active {
  color: var(--color-primary);
  font-weight: 600;
}

.header .header__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%) translateY(8px);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  padding: .5rem;
  min-width: 240px;
  z-index: 1000;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 20px #0003;
  backdrop-filter: blur(10px);
  transition: opacity .2s ease,visibility .2s ease,transform .2s ease;
}

.header .header__dropdown-link {
  display: block;
  padding: .5rem 1rem;
  color: var(--color-text-light-muted);
  border-radius: 4px;
  white-space: nowrap;
}

.header .header__dropdown-link:hover {
  background-color: var(--color-gray-100);
  color: var(--color-primary);
}

@media(min-width:1024px) {
  .header .header__nav-item--has-dropdown:hover>.header__dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translate(-50%) translateY(0);
  }
}

.header__mobile-toggle {
  display: none;
}

@media(max-width:1023px) {
  .header__nav-item {
    padding: 0;
  }

  .header__brand img {
    height: 22px;
    width: 80px;
  }

  .header .contact-button-container {
    display: none;
  }

  .header__mobile-toggle {
    display: inline-flex;
  }

  .header__nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    padding-top: 100px;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity .3s ease,visibility .3s ease,transform .3s ease;
  }

  .header__nav--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .header .header__dropdown-menu {
    position: static;
    transform: none;
    background-color: transparent;
    border: none;
    padding: 0;
    margin-top: 1rem;
    text-align: center;
    min-width: auto;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transition: max-height .3s ease-out,margin-top .3s ease-out;
  }

  .header .header__dropdown-menu li {
    padding: .5rem 0;
  }

  .header .header__nav-item--dropdown-open>.header__dropdown-menu {
    display: block;
    max-height: 500px;
  }
}

.app-layout {
  display: flex;
  flex-direction: column;
}

.app-layout__main {
  min-height: 100vh;
  flex: 1;
  padding-top: 64px;
}

.site-footer {
  background-color: var(--color-surface);
  color: var(--color-text-light);
  padding: 4rem 1rem 1rem;
}

.site-footer__main {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,280px));
  gap: 4rem;
  justify-content: center;
  max-width: 1200px;
  margin-inline: auto;
  padding-bottom: 4rem;
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 320px;
}

.site-footer .footer-col__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.site-footer .footer-col__desc {
  font-size: .875rem;
  color: var(--color-text-light-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.site-footer .footer-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col__list li {
  margin-bottom: .5rem;
}

.site-footer .footer-col__list li a {
  color: var(--color-text-light-muted);
  font-size: .875rem;
  transition: color .3s ease;
}

.site-footer .footer-col__list li a:hover {
  color: var(--color-primary);
}

.site-footer .social-links {
  display: flex;
  gap: 1rem;
}

.site-footer .social-links a {
  color: var(--color-text-light-muted);
  font-size: 1.4rem;
  transition: color .3s ease;
}

.site-footer .social-links a:hover {
  color: var(--color-primary);
}

.site-footer .newsletter-form {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  width: 100%;
}

.site-footer .newsletter-form input {
  flex: 1;
  min-width: 0;
}

.site-footer .newsletter-form .newsletter-button {
  padding: .25rem 1rem;
  font-size: .875rem;
  height: auto;
  line-height: 1.4;
  white-space: nowrap;
}

.site-footer__bottom-bar {
  border-top: 1px solid var(--color-border-dark);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
}

@media(max-width:767px) {
  .site-footer__bottom-bar {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }
}

.site-footer__bottom-bar p {
  color: var(--color-text-light-muted);
  font-size: .875rem;
  margin: 0;
}


/* ===== overrides ===== */

/* mobile menu: keep logo + toggle above the open menu, stop the page scrolling behind it */
.header__brand,
.header__actions { position: relative; z-index: 2; }
body.nav-open { overflow: hidden; }
.header__nav-item--has-dropdown > .header__nav-link { cursor: pointer; }

/* locked model dropdowns on the product page */
.themed-select:disabled { opacity: 1; cursor: default; }

/* thank-you page */
.thanks { padding: 8rem 1rem 6rem; text-align: center; max-width: 40rem; margin: 0 auto; }
.thanks h1 { margin-bottom: 1rem; }
.thanks p { margin-bottom: 2rem; }
.thanks .thanks__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* icons (was an inline style on every icon span) */
.icon { display: inline-flex; align-items: center; justify-content: center; }

/* round back-arrow on product/about heroes (was an inline <style> in every head) */
html { scroll-behavior: smooth; }
.hero-back {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 10;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: #1e1e1e; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: background .2s, transform .2s;
}
.hero-back:hover { background: #fff; transform: translateX(-2px); }

/* ===== besparingskalkylator (index.html#kalkylator) ===== */

.calc {
  --calc-green: var(--color-secondary);
  padding: 5rem 1rem;
  background:
    radial-gradient(60rem 30rem at 85% 0%, hsl(116 34% 60% / .10), transparent 60%),
    var(--color-background);
  border-top: 1px solid var(--color-border-dark);
  scroll-margin-top: 64px;
}
.calc__inner { max-width: 1120px; margin: 0 auto; }
.calc__head { text-align: center; max-width: 42rem; margin: 0 auto 2rem; }
.calc__eyebrow {
  display: inline-block; margin-bottom: .75rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--calc-green);
}
.calc__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .75rem; }
.calc__lead { color: var(--color-text-light-muted); font-size: 1.125rem; }

.calc__tabs {
  display: flex; justify-content: center; gap: .25rem;
  width: fit-content; margin: 0 auto 2.5rem; padding: .25rem;
  background: var(--color-surface); border: 1px solid var(--color-border-dark); border-radius: 999px;
}
.calc__tabs button {
  padding: .6rem 1.4rem; border-radius: 999px;
  color: var(--color-text-light-muted); font-weight: 600;
  transition: background-color .2s, color .2s;
}
.calc__tabs button:hover { color: var(--color-text-light); }
.calc__tabs button[aria-selected="true"] { background: var(--calc-green); color: #0b140b; }

.calc__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) {
  .calc__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .calc-result { position: sticky; top: 88px; }
}

.calc-form, .calc-result {
  background: var(--color-surface); border: 1px solid var(--color-border-dark); border-radius: 16px;
  padding: 1.75rem;
}
.calc-field { margin-bottom: 1.4rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field > label, .calc-label { display: block; font-weight: 500; margin-bottom: .5rem; }
.calc-unit { color: var(--color-text-light-muted); font-weight: 400; font-size: .875rem; }
.calc-hint { display: block; margin-top: .4rem; font-size: .8rem; color: var(--color-text-light-muted); }
.calc-check { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-weight: 500; }
.calc-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--calc-green); }
.calc-range { display: grid; grid-template-columns: 1fr 8.5rem; gap: .75rem; align-items: center; }
.calc-range input[type="range"] { width: 100%; accent-color: var(--calc-green); }
.calc-range .form-control { text-align: right; }

.calc[data-mode="hem"] .only-biz,
.calc:not([data-mode="hem"]) .only-hem { display: none; }

.calc-stepper { display: inline-flex; align-items: center; border: 1px solid var(--color-border-dark); border-radius: 8px; overflow: hidden; }
.calc-stepper button { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; color: var(--color-text-light); }
.calc-stepper button:hover { background: var(--color-border-dark); }
.calc-stepper output { min-width: 3rem; text-align: center; font-weight: 600; }

.calc-result__label { color: var(--color-text-light-muted); font-size: .9rem; }
.calc-result__total {
  margin: .25rem 0 .25rem; font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 700; line-height: 1.1;
  color: var(--calc-green); font-variant-numeric: tabular-nums;
}
.calc-result__unit { font-size: 1.25rem; font-weight: 500; color: var(--color-text-light-muted); }
.calc-result__system { color: var(--color-text-light); font-weight: 500; margin-bottom: 1.25rem; }

.calc-bars { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.calc-bar { display: grid; grid-template-columns: 9.5rem 1fr 6.5rem; gap: .75rem; align-items: center; font-size: .9rem; }
.calc-bar__track { height: .5rem; background: var(--color-border-dark); border-radius: 999px; overflow: hidden; }
.calc-bar__fill { display: block; height: 100%; background: var(--calc-green); border-radius: 999px; transition: width .3s ease; }
.calc-bar__value { text-align: right; font-variant-numeric: tabular-nums; }
.calc-bar--zero { opacity: .45; }

.calc-facts { display: grid; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border-dark); margin-bottom: 1.5rem; }
.calc-facts div { display: flex; justify-content: space-between; gap: 1rem; }
.calc-facts dt { color: var(--color-text-light-muted); }
.calc-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.calc-result__cta { width: 100%; justify-content: center; }
.calc-result__note { margin-top: 1rem; font-size: .8rem; color: var(--color-text-light-muted); }

@media (max-width: 520px) {
  .calc { padding: 3.5rem 1rem; }
  .calc-form, .calc-result { padding: 1.25rem; }
  .calc-range { grid-template-columns: 1fr 6.5rem; }
  .calc-bar { grid-template-columns: 1fr 5.5rem; }
  .calc-bar__track { grid-column: 1 / -1; grid-row: 2; }
  .calc__tabs button { padding: .55rem 1rem; }
}

/* team: initials instead of external placeholder images */
.team-card__avatar {
  display: flex; align-items: center; justify-content: center;
  background: var(--color-background); color: var(--color-secondary);
  font-size: 2.25rem; font-weight: 600; letter-spacing: .02em;
}
.team-card__role:empty { display: none; }
.calc-result__top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.calc-badge {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 999px;
  color: hsl(40 90% 70%); background: hsl(40 90% 60% / .12); border: 1px solid hsl(40 90% 60% / .35);
}
.calc-result__note strong { color: var(--color-text-light); font-weight: 600; }

/* ===== startsida: hero, kalkylator + staplade produktpaneler ===== */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100vh - 64px); margin-top: -64px; padding: calc(64px + 4rem) 1.5rem 6rem;
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, .92) 0%, rgba(8, 10, 8, .75) 45%, rgba(8, 10, 8, .25) 100%),
    linear-gradient(0deg, var(--color-background) 0%, transparent 30%);
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__inner { width: 100%; max-width: 1200px; margin: 0 auto; }
.hero__eyebrow {
  display: inline-block; margin-bottom: 1.25rem; padding: .35rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-secondary); background: hsl(116 34% 60% / .12); border: 1px solid hsl(116 34% 60% / .3);
}
.hero__title { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.02em; max-width: 14ch; margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: hsl(0 0% 85%); max-width: 38rem; margin-bottom: 2rem; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.btn-outline-light { background: transparent; color: var(--color-white); border: 1px solid rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; color: hsl(0 0% 75%); font-size: .95rem; }
.hero__facts strong { color: var(--color-white); font-weight: 600; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.5rem; translate: -50% 0;
  color: rgba(255, 255, 255, .7); animation: hero-bob 2s ease-in-out infinite;
}
.hero__scroll:hover { color: #fff; }
@keyframes hero-bob { 50% { transform: translateY(6px); } }

/* fade-in when sections scroll into view (site.js adds .is-visible) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }
.hero__inner > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.hero__inner > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.hero__inner > [data-reveal]:nth-child(4) { transition-delay: .24s; }
.hero__inner > [data-reveal]:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg, .hero__scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* no up/down spinner arrows on number fields */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== produktkarusell (startsidan #losningar) ===== */

.products { padding: 5rem 0 3rem; scroll-margin-top: 64px; }
.products__head {
  max-width: 1200px; margin: 0 auto 2rem; padding: 0 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
}
.products__eyebrow {
  display: inline-block; margin-bottom: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-secondary);
}
.products__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .5rem; }
.products__lead { color: var(--color-text-light-muted); font-size: 1.1rem; }
.products__nav { display: flex; gap: .5rem; flex-shrink: 0; }
.products__arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-text-light); border: 1px solid var(--color-border-dark); background: var(--color-surface);
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.products__arrow:hover { border-color: var(--color-secondary); color: var(--color-secondary); }
.products__arrow:disabled { opacity: .35; cursor: default; }

.products__track {
  --gutter: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); gap: 1.25rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: .5rem var(--gutter) 1.5rem;
  scrollbar-width: none; cursor: grab;
}
.products__track::-webkit-scrollbar { display: none; }
.products__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.products__track.is-dragging .pcard { pointer-events: none; }
.products__track:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 4px; }

.pcard {
  scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border-dark); border-radius: 16px;
  color: var(--color-text-light); text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.pcard:hover { transform: translateY(-6px); border-color: hsl(116 34% 60% / .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.pcard__img { aspect-ratio: 1 / 1; overflow: hidden; background: #1b1b1b; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .6s ease; -webkit-user-drag: none; user-select: none; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.25rem 1.4rem; flex: 1; }
.pcard__tag { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-secondary); }
.pcard__name { font-size: 1.4rem; margin: 0; }
.pcard__spec { font-size: .9rem; font-weight: 500; color: var(--color-text-light); margin: 0; }
.pcard__desc { font-size: .9rem; color: var(--color-text-light-muted); margin: .25rem 0 .75rem; line-height: 1.55; }
.pcard__more { margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--color-secondary); }

@media (max-width: 640px) {
  .products { padding-top: 3.5rem; }
  .products__nav { display: none; }
}

/* centered carousel heading, arrows under the text */
.products__head { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.products__lead { max-width: 36rem; margin: 0 auto; }

/* carousel centering: all 5 in a centered row on wide screens, otherwise the active card snaps to the middle */
.products__track {
  --card: min(78vw, 320px);
  grid-auto-columns: var(--card);
  padding-inline: calc(50% - var(--card) / 2);
  scroll-padding-inline: 0;
}
.products__track .pcard { scroll-snap-align: center; }
@media (min-width: 1280px) {
  .products__track {
    grid-auto-columns: min(300px, calc((100% - 5rem) / 5));
    justify-content: center;
    padding-inline: 3rem;
  }
}
.products__nav[hidden] { display: none; }

/* ===== blogg (/blogg/) ===== */

.blog-hero { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem 2.5rem; text-align: center; }
.blog-hero__eyebrow, .blog-tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-secondary);
}
.blog-hero__eyebrow { margin-bottom: .75rem; }
.blog-hero__title { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; margin-bottom: .75rem; }
.blog-hero__lead { color: var(--color-text-light-muted); font-size: 1.15rem; max-width: 40rem; margin: 0 auto; }

.blog-list, .blog-more, .blog-wrap { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.blog-list__heading { font-size: 1.5rem; margin: 3rem 0 1.25rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.bcard, .bfeat {
  display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--color-text-light);
  background: var(--color-surface); border: 1px solid var(--color-border-dark); border-radius: 16px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.bcard:hover, .bfeat:hover { transform: translateY(-4px); border-color: hsl(116 34% 60% / .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.bcard__img, .bfeat__img { aspect-ratio: 16 / 9; overflow: hidden; background: #1b1b1b; }
.bcard__img img, .bfeat__img img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .6s ease; }
.bcard:hover img, .bfeat:hover img { transform: scale(1.04); }
.bcard__body, .bfeat__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.4rem 1.5rem; flex: 1; }
.bcard__meta, .bfeat__meta, .post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; color: var(--color-text-light-muted); }
.bcard__title { font-size: 1.2rem; line-height: 1.35; margin: 0; }
.bcard__excerpt, .bfeat__excerpt { color: var(--color-text-light-muted); font-size: .95rem; line-height: 1.6; margin: 0 0 .5rem; }
.bcard__more, .bfeat__more { margin-top: auto; font-weight: 600; color: var(--color-secondary); }
@media (min-width: 900px) {
  .bfeat { display: grid; grid-template-columns: 1.3fr 1fr; }
  .bfeat__img { aspect-ratio: auto; min-height: 360px; }
  .bfeat__body { justify-content: center; padding: 2.5rem; }
}
.bfeat__title { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; margin: 0; }

.blog-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 2.25rem; border-radius: 16px; border: 1px solid hsl(116 34% 60% / .3);
  background: radial-gradient(40rem 20rem at 100% 0%, hsl(116 34% 60% / .14), transparent 70%), var(--color-surface);
}
.blog-cta__title { font-size: 1.5rem; margin-bottom: .4rem; }
.blog-cta__text { color: var(--color-text-light-muted); margin: 0; }
.blog-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.post { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 2rem; }
.post__head { max-width: 46rem; margin: 0 auto 2rem; }
.post__back { display: inline-block; margin-bottom: 1.5rem; color: var(--color-text-light-muted); font-size: .95rem; }
.post__back:hover { color: var(--color-secondary); }
.post__title { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -.02em; margin: .75rem 0 1rem; }
.post__lead { font-size: 1.2rem; color: hsl(0 0% 80%); line-height: 1.6; }
.post__cover { max-width: 64rem; margin: 0 auto 2.5rem; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.post__body { max-width: 46rem; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; color: hsl(0 0% 86%); }
.post__body h2 { font-size: 1.7rem; margin: 2.5rem 0 .75rem; color: var(--color-text-light); }
.post__body h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; color: var(--color-text-light); }
.post__body p { margin-bottom: 1.1rem; }
.post__body strong { color: var(--color-text-light); }
.post__body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.25rem; }
.post__body li { margin-bottom: .4rem; }
.post__figure { margin: 2rem 0; border-radius: 12px; overflow: hidden; }
.post__figure img { width: 100%; filter: none; }

/* ===== leasing (/leasing) – same look as the product pages ===== */

@media (min-width: 768px) {
  .steps-container--4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (min-width: 1100px) {
  .steps-container--4 { grid-template-columns: repeat(4, 1fr) !important; gap: 1.5rem !important; }
}
.leasing-packages-section { padding: 4rem 0; }
.lease-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 2rem auto 0; }
.lease-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 2rem; border-radius: 16px;
  background: var(--color-surface); border: 1px solid var(--color-border-dark);
  transition: border-color .3s ease, transform .3s ease;
}
.lease-card:hover { border-color: hsl(116 34% 60% / .5); transform: translateY(-4px); }
.lease-card--big { border-color: hsl(116 34% 60% / .35); }
.lease-card__tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-secondary); }
.lease-card__name { font-size: 2rem; margin: 0; }
.lease-card__spec { font-weight: 500; margin: 0 0 .25rem; }
.lease-card__figures { display: grid; gap: .6rem; margin: 1rem 0 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-border-dark); }
.lease-card__figures div { display: flex; justify-content: space-between; gap: 1rem; }
.lease-card__figures dt { color: var(--color-text-light-muted); }
.lease-card__figures dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.lease-card__figures dd::after { content: " /mån"; font-weight: 400; color: var(--color-text-light-muted); font-size: .85em; }
.lease-card__net { padding-top: .6rem; border-top: 1px dashed var(--color-border-dark); }
.lease-card__net dd { color: var(--color-secondary); font-size: 1.2rem; }
.lease-card__cta { margin-top: auto; width: 100%; justify-content: center; }
.lease-note { max-width: 960px; margin: 1.5rem auto 0; font-size: .9rem; color: var(--color-text-light-muted); text-align: center; }
.lease-note strong { color: var(--color-text-light); }

/* quote box on product/leasing pages: less padding on phones so the form gets room */
@media (max-width: 600px) {
  .cta-card { padding: 1.5rem !important; }
}

/* ===== startsida: bildspel i hero ===== */
.hero__slides { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 8s ease-out;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 8, .88) 0%, rgba(8, 10, 8, .62) 45%, rgba(8, 10, 8, .15) 100%),
    linear-gradient(0deg, var(--color-background) 0%, transparent 28%);
}
.hero__dots {
  position: absolute; right: max(1.5rem, calc((100vw - 1200px) / 2)); bottom: 2rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem;
}
.hero__dot {
  display: flex; flex-direction: column; gap: .4rem; min-width: 5.5rem; padding: .25rem 0;
  color: rgba(255, 255, 255, .6); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: left;
}
.hero__dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero__dot i::after { content: ""; display: block; height: 100%; width: 0; background: var(--color-secondary); }
.hero__dot.is-active { color: #fff; }
.hero__dot.is-active i::after { width: 100%; transition: width var(--slide-ms, 6500ms) linear; }
.hero__dot:hover { color: #fff; }
@media (max-width: 640px) {
  .hero__dots { left: 1.5rem; right: auto; bottom: 4.5rem; }
  .hero__dot { min-width: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: opacity .3s; transform: none !important; }
  .hero__dot.is-active i::after { transition: none; }
}

/* Hem: 6 compact steps ("Din resa mot energioberoende") */
:where(.pg-product) .steps-container--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
:where(.pg-product) .steps-container--6 .step-card {
  padding: 1.25rem .75rem; border: 1px solid var(--color-border-dark); border-radius: 14px; background: var(--color-surface);
}
:where(.pg-product) .steps-container--6 .step-number { font-size: 1rem; line-height: 1; color: var(--color-secondary); }
:where(.pg-product) .steps-container--6 .step-icon { margin: .6rem 0 .4rem; }
:where(.pg-product) .steps-container--6 .step-icon svg { width: 30px; height: 30px; }
:where(.pg-product) .steps-container--6 .step-title { margin: .25rem 0 .4rem; font-size: 1rem; line-height: 1.3; }
:where(.pg-product) .steps-container--6 p { font-size: .85rem; line-height: 1.45; margin: 0; }
@media (max-width: 1099px) {
  :where(.pg-product) .steps-container--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :where(.pg-product) .steps-container--6 {
    grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible; gap: .75rem;
  }
}

/* ===== Lantbruk: produktkort SAJ CHS2 / ZOE ZBox-C ===== */
.lb-products-section { padding: 4rem 0; scroll-margin-top: 64px; }
.lb-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; max-width: 1100px; margin: 2.5rem auto 0; }
.lb-product {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border-dark); border-radius: 18px;
  transition: border-color .3s ease, transform .3s ease;
}
.lb-product:hover { border-color: hsl(116 34% 60% / .5); transform: translateY(-4px); }
.lb-product__img { aspect-ratio: 16 / 10; overflow: hidden; background: #1b1b1b; }
.lb-product__img img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.lb-product__img--light { background: #fff; }
.lb-product__img--light img { object-fit: contain; padding: 1rem; }
.lb-product__body { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; flex: 1; }
.lb-product__tag { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-secondary); }
.lb-product__name { font-size: 1.6rem; margin: 0; }
.lb-product__name span { display: block; font-size: 1rem; font-weight: 500; color: var(--color-text-light-muted); margin-top: .2rem; }
.lb-product .text-muted { margin: 0; }
.lb-product__list { list-style: none; padding: 0; margin: .25rem 0; display: grid; gap: .5rem; }
.lb-product__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--color-text-light); }
.lb-product__list svg { flex: none; margin-top: .15rem; color: var(--color-secondary); }
.lb-product__price { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--color-border-dark); font-size: 1.75rem; font-weight: 700; color: var(--color-text-light); }
.lb-product__price span { display: block; font-size: .85rem; font-weight: 400; color: var(--color-text-light-muted); }
.lb-product__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: .5rem; }
.lb-product__sheet { color: var(--color-secondary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .lb-products { grid-template-columns: 1fr; }
}

/* Lantbruk hero: dark, text left, product image right */
.lb-hero {
  position: relative; padding: 5rem 1.5rem 4.5rem;
  background: radial-gradient(50rem 28rem at 85% 30%, hsl(116 34% 60% / .12), transparent 65%), var(--color-background);
  border-bottom: 1px solid var(--color-border-dark);
}
.lb-hero__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; }
.lb-hero__copy { display: flex; flex-direction: column; gap: 1.25rem; }
.lb-hero__eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-secondary); }
.lb-hero__title { font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.lb-hero__lead { font-size: 1.15rem; line-height: 1.65; color: hsl(0 0% 80%); max-width: 34rem; margin: 0; }
.lb-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.lb-hero__img { background: #fff; border-radius: 24px; padding: 1.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.lb-hero__img img { width: 100%; height: auto; max-height: 440px; object-fit: contain; filter: none; }
@media (max-width: 860px) {
  .lb-hero { padding: 4rem 1.25rem 3.5rem; }
  .lb-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .lb-hero__img { max-width: 420px; }
}
.lb-spec-second { margin-top: 4rem; }

/* product grids with 3+ cards (C&I, Utility) */
.lb-products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1240px; }
@media (max-width: 1100px) { .lb-products--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .lb-products--3 { grid-template-columns: 1fr; } }

/* menu has 7 items since "Mark och projekt" – tighten spacing on small desktops so it stays on one line */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header__nav-list { gap: .25rem; }
  .header__nav-link { padding: .5rem .6rem; font-size: .95rem; }
}

/* home: ZOE installations in Sweden (photo grid under the products) */
.zse { padding: 3rem 0 5rem; }
.zse__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.zse__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.zse__head .btn { flex-shrink: 0; }
.zse__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.zse__item { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--color-surface); }
.zse__item img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.zse__item:hover img { transform: scale(1.04); }
.zse__item figcaption {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: .1rem; padding: 2.5rem 1rem .9rem;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color: #fff;
}
.zse__item figcaption strong { font-size: .95rem; }
.zse__item figcaption span { font-size: .8rem; color: rgba(255,255,255,.8); }
@media (max-width: 860px) {
  .zse__head { flex-direction: column; align-items: flex-start; }
  .zse__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .zse__grid { grid-template-columns: 1fr; } }


/* blog: industry news from other media (text-only, kept apart from Zolar's own posts) */
.blog-news { margin-bottom: 1rem; }
.blog-news__heading { margin-top: 0; margin-bottom: .4rem; }
.blog-news__lead { margin: 0 0 1.25rem; color: var(--color-text-light-muted); }
.blog-news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.bnews {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; text-decoration: none; color: var(--color-text-light);
  background: var(--color-surface); border: 1px solid var(--color-border-dark); border-left: 4px solid var(--color-secondary); border-radius: 12px;
  transition: border-color .3s ease, transform .3s ease;
}
.bnews:hover { transform: translateY(-3px); border-color: hsl(116 34% 60% / .5); border-left-color: var(--color-secondary); }
.bnews__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; color: var(--color-text-light-muted); }
.bnews__source { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .75rem; color: var(--color-secondary); }
.bnews__title { font-size: 1.2rem; line-height: 1.35; margin: 0; }
.bnews__excerpt { margin: 0; color: var(--color-text-light-muted); font-size: .95rem; line-height: 1.6; }
.bnews__more { margin-top: auto; font-weight: 600; color: var(--color-secondary); }

/* villa: Hienergy photo gallery */
.hienergy-gallery { padding-top: 1rem; }
.hg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hg-item { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--color-surface); }
.hg-item--wide { grid-column: span 2; }
.hg-item img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hg-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .8rem; font-size: .9rem; font-weight: 600; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.75), transparent); }
@media (max-width: 760px) { .hg-grid { grid-template-columns: 1fr; } .hg-item--wide { grid-column: auto; } }

/* why-zolar: our solution (process + financing + after-sales) */
.wz-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.wz-step { padding: 1.75rem; border: 1px solid var(--color-border-dark); border-radius: 16px; background: var(--color-surface); }
.wz-step span { font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--color-secondary); }
.wz-step h3 { font-size: 1.15rem; margin: .6rem 0 .5rem; }
.wz-step p { margin: 0; color: var(--color-text-light-muted); line-height: 1.6; }
.wz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.wz-card { padding: 2rem; border: 1px solid hsl(116 34% 60% / .45); border-radius: 16px; background: hsl(116 34% 60% / .07); }
.wz-card h3 { font-size: 1.3rem; margin: 0 0 1rem; color: var(--color-secondary); }
.wz-card ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .6rem; line-height: 1.55; color: hsl(0 0% 80%); }
.wz-card strong { color: var(--color-text-light); }
.wz-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 1.25rem 0 0; }
.wz-links a { color: var(--color-secondary); font-weight: 600; }
@media (max-width: 960px) { .wz-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wz-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .wz-flow { grid-template-columns: 1fr; } }
.blog-news__lead a { color: var(--color-secondary); font-weight: 600; }
.bnews { padding: 0; overflow: hidden; }
.bnews > :not(.bnews__img) { margin-left: 1.5rem; margin-right: 1.5rem; }
.bnews > .bnews__more { margin-bottom: 1.5rem; }
.bnews__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-background); margin-bottom: .4rem; }
.bnews__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bnews:hover .bnews__img img { transform: scale(1.04); }
/* 8 menu items since "Investera" – a bit tighter on mid-size desktops */
@media (min-width: 1024px) and (max-width: 1439px) {
  .header__nav-list { gap: .15rem; }
  .header__nav-link { padding: .5rem .5rem; font-size: .92rem; }
}

/* language switcher SV | EN */
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; margin-right: .5rem; font-size: .85rem; font-weight: 600; }
.lang-switch a { padding: .3rem .45rem; border-radius: 6px; color: var(--color-text-light-muted); text-decoration: none; }
.lang-switch a:hover { color: var(--color-primary); }
.lang-switch a[aria-current="true"] { color: var(--color-secondary); }
