/* Global site styles, shared components and homepage sections */

:root {
  --color-background: #ffffff;
  --color-text: #101010;
  --color-muted: #7d7d7d;
  --color-muted-light: #a3a3a3;
  --color-primary: #eb6f1b;
  --color-primary-dark: #dc5900;
  --color-accent-blue: #4da3e4;
  --color-accent-green: #88ff82;
  --color-border-light: rgba(255, 255, 255, 0.75);
  --color-footer: #aeaeae;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.08);
  --shadow-card: 10px 10px 10px rgba(0, 0, 0, 0.16);
  --radius-large: 18px;
  --radius-medium: 15px;
  --radius-pill: 999px;
  --hero-width: 1860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: var(--color-text);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page {
  overflow-x: hidden;
}

.page--reveal {
  --reveal-distance-x: 56px;
  --reveal-distance-y: 52px;
  --reveal-duration: 0.88s;
  --reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

.page--reveal.is-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance-y), 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-easing),
    transform var(--reveal-duration) var(--reveal-easing);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.page--reveal.is-reveal-ready [data-reveal="left"] {
  transform: translate3d(calc(var(--reveal-distance-x) * -1), 0, 0);
}

.page--reveal.is-reveal-ready [data-reveal="right"] {
  transform: translate3d(var(--reveal-distance-x), 0, 0);
}

.page--reveal.is-reveal-ready [data-reveal="up"] {
  transform: translate3d(0, var(--reveal-distance-y), 0);
}

.page--reveal.is-reveal-ready [data-reveal="soft"] {
  transform: translate3d(0, 28px, 0);
}

.page--reveal.is-reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.page--reveal.is-reveal-ready .why-us-card[data-reveal] {
  transition:
    min-height 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    padding-top 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    padding-bottom 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    gap 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    opacity var(--reveal-duration) var(--reveal-easing) var(--reveal-delay, 0ms),
    transform var(--reveal-duration) var(--reveal-easing) var(--reveal-delay, 0ms);
}

.page--reveal.is-reveal-ready .storage-benefit-card[data-reveal] {
  transition:
    min-height 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    padding-bottom 0.46s cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    opacity var(--reveal-duration) var(--reveal-easing) var(--reveal-delay, 0ms),
    transform var(--reveal-duration) var(--reveal-easing) var(--reveal-delay, 0ms);
}

.section {
  padding: 0 32px;
}

.section--wide {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 24px 64px;
  align-items: start;
}

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

.section-heading__title {
  margin: 0;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-heading__text {
  margin: 10px 0 0;
  color: var(--color-muted-light);
  font-size: 20px;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 16px 42px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.button--primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.button--primary:focus-visible {
  transform: none;
  background-color: var(--color-primary-dark);
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: transparent;
}

.button--outline:focus-visible {
  transform: none;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.92);
}

.button--wide {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  width: min(100%, 1920px);
  margin: 0 auto;
  min-height: 980px;
  padding: 30px 30px 0;
}

.hero__background {
  --hero-image-shift-x: 0px;
  --hero-image-shift-y: 0px;
  position: absolute;
  inset: 30px 30px auto;
  height: 967px;
  border-radius: var(--radius-large);
  background: radial-gradient(92% 96% at 100% 28%, rgba(255, 214, 168, 0.78) 0%, rgba(255, 239, 218, 0.36) 28%, rgba(255, 239, 218, 0) 56%),
  linear-gradient(162deg, #4ea7e6 20.17%, #81d1ff 44.12%, rgba(255, 146, 0, 0.59) 52.1%, #ef9a4c 61.76%, #eb6f1b 96%);
  overflow: hidden;
}

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/home/hero-solar-panels.png") center bottom / cover no-repeat;
  transform: translate3d(var(--hero-image-shift-x), var(--hero-image-shift-y), 0) scale(1.07)
    scaleX(-1);
  transform-origin: center;
  will-change: transform;
}

.site-header {
  position: relative;
  z-index: 12;
  padding: 44px 0 0;
}

.site-header.is-nav-open {
  z-index: 80;
}

.site-header__inner {
  width: min(100%, var(--hero-width));
  margin: 0 auto;
  padding: 0 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.site-logo {
  flex: 0 0 auto;
  width: 118px;
}

.site-header__menu-toggle {
  display: none;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-header__menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__link {
  position: relative;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header .button--outline {
  min-height: 46px;
  padding: 12px 34px;
  font-size: 12px;
}

.site-header--light .site-header__menu-toggle {
  border-color: rgba(16, 16, 16, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--hero-width));
  margin: 0 auto;
  min-height: 760px;
  padding: 98px 76px 0;
  color: #ffffff;
}

.hero__eyebrow {
  display: none;
}

.hero__title {
  margin: 0;
  width: min(1080px, 100%);
  font-size: clamp(82px, 8.5vw, 132px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero__text {
  display: none;
}

.hero__stats {
  position: absolute;
  left: 76px;
  bottom: 78px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transform: scale(0.94);
  transform-origin: left bottom;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  box-shadow:
    0 18px 34px rgba(15, 33, 69, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);

  background-color: rgba(215, 215, 215, 0.22);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card--small {
  width: 244px;
  padding: 18px 20px 16px;
}

.hero-card--wide {
  width: 350px;
  padding: 18px 20px 16px;
}

.hero-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card__value {
  display: block;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(8, 24, 52, 0.12);
}

.hero-card--small .hero-card__value {
  font-size: 46px;
  letter-spacing: -0.08em;
}

.hero-card__label {
  display: block;
  margin-top: 7px;
  color: #27c2ff;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.hero-card--wide .hero-card__label {
  font-size: 15px;
}

.hero-card__label--green {
  color: #8dff77;
}

.hero-card__icon {
  width: 48px;
  object-fit: cover;
}

.why-us {
  padding-top: 146px;
}

.why-us .section-heading {
  max-width: 1500px;
  margin: 0 auto 72px;
}

.why-us .section-heading--split {
  grid-template-columns: 492px minmax(0, 1fr);
  gap: 24px 78px;
}

.why-us .section-heading__title {
  max-width: 492px;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.why-us .section-heading__text {
  max-width: 1060px;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.6;
}

.why-us__grid {
  --why-us-grid-min-height: 264px;
  max-width: 1620px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  min-height: var(--why-us-grid-min-height);
  gap: 0;
  overflow: visible;
  border-radius: 0;
}

.why-us-card {
  --why-us-card-min-height: 232px;
  --why-us-card-padding-top: 34px;
  --why-us-card-padding-bottom: 28px;
  flex: 1 1 0;
  min-height: var(--why-us-card-min-height);
  padding: var(--why-us-card-padding-top) 42px var(--why-us-card-padding-bottom);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 34px;
  border-radius: 18px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition:
    min-height 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    padding-top 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    padding-bottom 0.46s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.46s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card + .why-us-card {
  margin-left: -34px;
}

.why-us-card:focus-visible {
  min-height: calc(var(--why-us-card-min-height) + 32px);
  padding-top: calc(var(--why-us-card-padding-top) + 12px);
  padding-bottom: calc(var(--why-us-card-padding-bottom) + 20px);
  gap: 40px;
}

.why-us-card img {
  width: 152px;
}

.why-us-card h3 {
  margin: 0;
  width: 235px;
  font-size: 28px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.why-us-card--dark {
  background: var(--color-primary-dark);
}

.why-us-card--orange {
  background: #ff6700;
}

.why-us-card--light-orange {
  background: #ff812c;
}

.why-us-card--peach {
  background: #fe9b58;
}

.why-us-card--sand {
  background: #ffba8b;
}

.service-section {
  position: relative;
  z-index: var(--service-section-z, 1);
  padding: 34px 32px 0;
}

.service-section__heading {
  margin-bottom: 60px;
}

.service-section__inner {
  position: relative;
  min-height: 606px;
  border-radius: var(--radius-large);
  overflow: visible;
  display: block;
  isolation: isolate;
}

.service-section__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--service-section-background, transparent);
  z-index: 0;
}

.why-us + .service-section {
  padding-top: 238px;
}

.service-section__inner--left {
  grid-template-columns: none;
}

.service-section__inner--right {
  grid-template-columns: none;
}

.service-section__inner--service {
  background: none;
}

.service-section__content {
  position: relative;
  z-index: 3;
  width: 42%;
  max-width: 660px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 177px 0 0 152px;
  color: #ffffff;
  background: transparent;
}

.service-section__inner--right .service-section__content {
  margin-left: auto;
  width: 44%;
  max-width: 680px;
  padding: 165px 142px 0 0;
}

.service-section__inner--service .service-section__content {
  background: transparent;
}

.service-section__title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.service-section__title-row h2 {
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.service-section__title-row img {
  width: 42px;
  height: 42px;
  margin-top: 10px;
}

.service-section__description {
  margin: 0 0 38px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.service-section__image {
  position: relative;
  z-index: 2;
  min-height: 0;
  pointer-events: none;
}

.service-section__image > img,
.service-section__image-main {
  position: static;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.service-section__image--stacked {
  overflow: visible;
}

.service-section__image-main {
  object-position: initial;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tag-list__item {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 9px 28px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-list__item:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.92);
}

.service-section--solar {
  --service-section-background: #8ec7ef;
  --service-section-z: 3;
  --solar-overhang: 86px;
}

.service-section--solar .service-section__content {
  width: 40%;
  max-width: 690px;
  padding: 192px 0 0 150px;
}

.service-section--solar .service-section__description {
  margin-bottom: 30px;
}

.service-section--solar .tag-list__item {
  min-width: 124px;
  min-height: 42px;
  padding: 7px 20px;
  font-size: 15px;
}

.service-section--solar .service-section__image {
  position: absolute;
  inset: 0;
  width: auto;
  overflow: visible;
  border-radius: 0;
}

.service-section--solar .service-section__image > img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: calc(100% + var(--solar-overhang));
  max-width: none;
  border-radius: 0 0 var(--radius-large) 0;
}

.service-section--battery {
  --service-section-background: #eda56f;
  --service-section-z: 2;
  --battery-overhang: 24px;
  padding-top: 48px;
}

.service-section--battery .service-section__image {
  position: absolute;
  inset: 0;
  width: auto;
  overflow: visible;
}

.service-section--battery .service-section__image > img {
  position: absolute;
  left: 34px;
  bottom: 0;
  width: auto;
  height: calc(100% + var(--battery-overhang));
  max-width: none;
}

.service-section--battery .service-section__content {
  width: 46%;
  max-width: 760px;
  padding: 138px 138px 0 0;
}

.service-section--battery .service-section__description {
  margin-bottom: 30px;
}

.service-section--battery .tag-list__item {
  min-width: 124px;
  min-height: 42px;
  padding: 7px 20px;
  font-size: 15px;
}

.service-section--service {
  --service-section-background: #73c5aa;
  --service-section-z: 1;
  padding-top: 48px;
}

.service-section--service .service-section__content {
  width: 40%;
  max-width: 700px;
  padding: 176px 0 0 160px;
}

.service-section--service .service-section__description {
  margin-bottom: 30px;
}

.service-section--service .tag-list__item {
  min-width: 124px;
  min-height: 42px;
  padding: 7px 20px;
  font-size: 15px;
}

.service-section--service .service-section__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 var(--radius-large) var(--radius-large) 0;
}

.service-section--service .service-section__image-main {
  position: absolute;
  right: -650px;
  bottom: -480px;
  width: auto;
  height: 158%;
  max-width: none;
  z-index: 2;
  transform: rotateZ(-35deg);
}

.references {
  padding-top: 108px;
}

.references__viewport {
  max-width: 1500px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}

.references__viewport::-webkit-scrollbar {
  display: none;
}

.references__viewport:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 6px;
  border-radius: var(--radius-medium);
}

.references__track {
  display: flex;
  gap: 18px;
}

.reference-card {
  flex: 0 0 calc((100% - 36px) / 3);
  display: block;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: pointer;
}

.reference-card__image {
  position: relative;
  border-radius: var(--radius-medium);
  overflow: hidden;
  aspect-ratio: 504 / 379;
  margin-bottom: 16px;
}

.reference-card__image img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.reference-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(121, 195, 234, 0.04), rgba(115, 189, 227, 0.35));
  transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-card__arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.reference-card__arrow img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.reference-card__text {
  margin: 0;
  color: var(--color-muted-light);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}

.reference-card__text strong {
  display: block;
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.reference-card:focus-visible .reference-card__image img:first-child {
  transform: scale(1.035);
}

.reference-card:focus-visible .reference-card__image::after {
  opacity: 0.84;
}

.reference-card:focus-visible .reference-card__arrow {
  transform: translate3d(2px, -2px, 0);
}

.reference-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 8px;
  border-radius: var(--radius-medium);
}

.references__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 18px;
}

.references.is-static .references__dots {
  display: none;
}

.references__dot {
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c8c8c8;
  cursor: pointer;
}

.references__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.2);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button--primary:hover {
    transform: none;
    background-color: var(--color-primary-dark);
  }

  .button--outline:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.92);
  }

  .site-header__menu-toggle:hover {
    transform: translateY(-1px);
  }

  .site-nav__link:hover::after {
    transform: scaleX(1);
  }

  .why-us-card:hover {
    min-height: calc(var(--why-us-card-min-height) + 32px);
    padding-top: calc(var(--why-us-card-padding-top) + 12px);
    padding-bottom: calc(var(--why-us-card-padding-bottom) + 20px);
    gap: 40px;
  }

  .tag-list__item:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.92);
  }

  .reference-card:hover .reference-card__image img:first-child {
    transform: scale(1.035);
  }

  .reference-card:hover .reference-card__image::after {
    opacity: 0.84;
  }

  .reference-card:hover .reference-card__arrow {
    transform: translate3d(2px, -2px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .references__viewport {
    scroll-behavior: auto;
  }
}

.career {
  padding-top: 132px;
  padding-bottom: 140px;
}

.career__intro {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  gap: 54px;
  align-items: start;
}

.career__intro-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
}

.career__title {
  margin: 0;
  max-width: 520px;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.career__title span {
  display: inline-block;
  color: var(--color-primary);
}

.career__intro-right p {
  margin: 0;
  color: var(--color-muted-light);
  font-size: 20px;
  line-height: 1.6;
}

.career__cta {
  min-width: 180px;
}

.site-footer {
  background: var(--color-footer);
  color: #ffffff;
}

.site-footer__inner {
  width: min(100%, 1720px);
  margin: 0 auto;
  padding: 74px 40px 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto;
  grid-template-areas:
    "brand links"
    "contact copyright";
  gap: 64px 88px;
  align-items: start;
}

.site-footer__brand {
  grid-area: brand;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 24px 56px;
  align-items: start;
}

.site-footer__brand img {
  width: 132px;
}

.site-footer__brand p {
  margin: 0;
  max-width: 620px;
  padding-top: 8px;
  font-size: 14px;
  line-height: 2.55;
}

.site-footer__links {
  grid-area: links;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 18px 88px;
  align-items: start;
  justify-self: end;
}

.site-footer__column:nth-child(1) {
  order: 2;
}

.site-footer__column:nth-child(2) {
  order: 3;
}

.site-footer__column:nth-child(3) {
  order: 1;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__column a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.site-footer__contact {
  grid-area: contact;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  align-items: center;
}

.site-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
}

.site-footer__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-footer__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__copyright {
  margin: 0;
  grid-area: copyright;
  justify-self: end;
  align-self: center;
  font-size: 14px;
}

#proc-s-nami,
#fotovoltaika,
#bess,
#servis,
#reference,
#kariera,
#kontakt {
  scroll-margin-top: 110px;
}

@media (max-width: 1500px) {
  .service-section--solar {
    --solar-overhang: 72px;
  }

  .service-section--battery {
    --battery-overhang: 18px;
    padding-top: 40px;
  }

  .service-section--service {
    padding-top: 40px;
  }

  .hero__content {
    padding-left: 64px;
    padding-right: 64px;
  }

  .site-header__inner {
    padding-left: 64px;
    padding-right: 64px;
  }

  .why-us__grid {
    --why-us-grid-min-height: 426px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
  }

  .why-us-card {
    --why-us-card-min-height: 190px;
    --why-us-card-padding-top: 28px;
    --why-us-card-padding-bottom: 24px;
    min-height: var(--why-us-card-min-height);
    padding: var(--why-us-card-padding-top) 24px var(--why-us-card-padding-bottom);
    gap: 22px;
    border-radius: 18px;
  }

  .why-us-card + .why-us-card {
    margin-left: 0;
  }

  .why-us-card h3 {
    width: auto;
    font-size: 22px;
  }

  .why-us-card--sand {
    grid-column: span 2;
  }

  .service-section {
    padding-top: 28px;
  }

  .why-us + .service-section {
    padding-top: 172px;
  }

  .service-section__inner {
    min-height: 520px;
  }

  .service-section__content {
    width: 44%;
    padding: 136px 0 0 88px;
  }

  .service-section__inner--right .service-section__content {
    width: 46%;
    padding: 126px 88px 0 0;
  }

  .service-section__title-row {
    gap: 14px;
    margin-bottom: 14px;
  }

  .service-section__title-row h2 {
    font-size: 52px;
  }

  .service-section__title-row img {
    width: 34px;
    height: 34px;
    margin-top: 9px;
  }

  .service-section__description {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .tag-list {
    gap: 10px;
  }

  .tag-list__item {
    min-height: 42px;
    padding: 8px 20px;
    font-size: 13px;
  }

  .service-section--solar .service-section__image {
    inset: 0;
    width: auto;
  }

  .service-section--solar .service-section__content {
    width: 42%;
    padding: 152px 0 0 112px;
  }

  .service-section--solar .tag-list__item {
    min-width: 116px;
    min-height: 38px;
    padding: 6px 16px;
    font-size: 12px;
  }

  .service-section--battery .service-section__image {
    inset: 0;
    width: auto;
  }

  .service-section--battery .service-section__content {
    width: 47%;
    padding: 126px 88px 0 0;
  }

  .service-section--battery .tag-list__item {
    min-width: 116px;
    min-height: 38px;
    padding: 6px 16px;
    font-size: 12px;
  }

  .service-section--service .service-section__image {
    right: 0;
    width: 60%;
  }

  .service-section--service .service-section__content {
    width: 42%;
    padding: 148px 0 0 112px;
  }

  .service-section--service .service-section__image-main {
    bottom: -10px;
    height: 106%;
  }

  .service-section--service .tag-list__item {
    min-width: 116px;
    min-height: 38px;
    padding: 6px 16px;
    font-size: 12px;
  }

}

@media (max-width: 1564px) and (min-width: 1201px) {
  .page .site-header--light .site-header__inner {
    width: min(calc(100% - 64px), 1500px);
  }
}

@media (max-width: 1200px) {
  .page--reveal {
    --reveal-distance-x: 40px;
    --reveal-distance-y: 38px;
    --reveal-duration: 0.8s;
  }

  .service-section--solar {
    --solar-overhang: 48px;
  }

  .service-section--battery {
    --battery-overhang: 11px;
    padding-top: 32px;
  }

  .service-section--service {
    padding-top: 32px;
  }

  .page .site-header .site-header__inner {
    padding: 0 32px;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
  }

  .page .site-header .site-logo {
    width: 108px;
  }

  .page .site-header .site-header__menu-toggle {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
  }

  .page .site-header .site-nav {
    position: absolute;
    top: calc(100% + 16px);
    left: 32px;
    right: 32px;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    flex-wrap: nowrap;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(8, 28, 60, 0.88);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 26px 54px rgba(6, 18, 42, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  }

  .page .site-header .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .page .site-header .site-nav__link {
    padding: 12px 6px;
  }

  .page .site-header .site-nav__link::after {
    display: none;
  }

  .page .site-header .site-nav__link.is-active {
    color: var(--color-primary);
  }

  .page .site-header .site-nav .button {
    width: 100%;
    margin-top: 0;
    min-height: 0;
    padding: 12px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: none;
  }

  .page .site-header .site-nav .button:hover {
    transform: none;
    background: transparent;
  }

  .page .site-header .site-nav .button[aria-current="page"] {
    color: var(--color-primary);
  }

  .page .site-header.site-header--light .site-nav {
    border-color: rgba(16, 16, 16, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
  }

  .hero {
    min-height: 900px;
    padding: 22px 22px 0;
  }

  .hero__background {
    inset: 22px 22px auto;
    height: 840px;
  }

  .hero__content {
    min-height: auto;
    padding: 62px 32px 48px;
  }

  .hero__title {
    max-width: 620px;
    font-size: clamp(58px, 8.5vw, 78px);
    line-height: 1;
  }

  .hero__stats {
    position: static;
    margin-top: 24px;
    flex-direction: row;
    align-items: stretch;
    gap: 14px;
    transform: none;
  }

  .hero-card--small,
  .hero-card--wide {
    padding: 15px 18px;
  }

  .hero-card--small {
    width: 272px;
  }

  .hero-card--wide {
    width: 332px;
  }

  .hero-card__value {
    font-size: 34px;
  }

  .hero-card--small .hero-card__value {
    font-size: 34px;
  }

  .hero-card__label,
  .hero-card--wide .hero-card__label {
    font-size: 14px;
    line-height: 1.2;
  }

  .hero-card__icon {
    width: 40px;
  }

  .section-heading__text,
  .why-us .section-heading__text,
  .career__intro-right p,
  .reference-card__text {
    font-size: 18px;
  }

  .section-heading--split,
  .career__intro,
  .career__content {
    grid-template-columns: 1fr;
  }

  .why-us .section-heading--split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .why-us .section-heading__title,
  .why-us .section-heading__text {
    max-width: none;
  }

  .why-us {
    padding-top: 72px;
  }

  .why-us .section-heading {
    margin-bottom: 48px;
  }

  .service-section__heading {
    margin-bottom: 48px;
  }

  .why-us .section-heading__title {
    font-size: 50px;
  }

  .why-us__grid {
    --why-us-grid-min-height: 606px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
  }

  .why-us-card {
    --why-us-card-min-height: 182px;
    --why-us-card-padding-top: 26px;
    --why-us-card-padding-bottom: 22px;
    min-height: var(--why-us-card-min-height);
    padding: var(--why-us-card-padding-top) 28px var(--why-us-card-padding-bottom);
    gap: 22px;
  }

  .why-us-card img {
    width: 120px;
  }

  .why-us-card h3 {
    width: 100%;
    font-size: 22px;
  }

  .why-us-card + .why-us-card {
    margin-left: 0;
  }

  .why-us-card--sand {
    grid-column: 1 / -1;
  }

  .service-section {
    padding-top: 24px;
  }

  .why-us + .service-section {
    padding-top: 128px;
  }

  .service-section__inner {
    min-height: 470px;
    overflow: hidden;
  }

  .service-section__content,
  .service-section__inner--right .service-section__content {
    width: 100%;
    max-width: 520px;
    padding: 58px 32px 0;
  }

  .service-section__image,
  .service-section--solar .service-section__image,
  .service-section--battery .service-section__image,
  .service-section--service .service-section__image {
    position: absolute;
    top: auto;
    right: 0;
    left: auto;
    width: 58%;
    min-height: 0;
  }

  .service-section--solar .service-section__image {
    inset: 0;
    width: auto;
  }

  .service-section--battery .service-section__image {
    inset: 0;
    width: auto;
  }

  .service-section--service .service-section__image {
    right: 0;
    width: 60%;
    height: 100%;
  }

  .service-section--service .service-section__image-main {
    bottom: -8px;
    height: 104%;
  }

  .service-section__title-row {
    gap: 12px;
    margin-bottom: 12px;
  }

  .service-section__title-row h2 {
    font-size: 42px;
  }

  .service-section__title-row img {
    width: 30px;
    height: 30px;
    margin-top: 8px;
  }

  .service-section__description {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .service-section--solar .service-section__content {
    width: 100%;
    max-width: 560px;
    padding-top: 78px;
  }

  .service-section--solar .tag-list__item {
    min-width: 104px;
    min-height: 34px;
    padding: 5px 12px;
    font-size: 11px;
  }

  .tag-list__item {
    min-height: 38px;
    padding: 7px 16px;
    font-size: 12px;
  }

  .service-section--battery .service-section__content {
    margin-left: 0;
    max-width: 560px;
    padding-top: 72px;
  }

  .service-section--battery .tag-list__item {
    min-width: 104px;
    min-height: 34px;
    padding: 5px 12px;
    font-size: 11px;
  }

  .service-section--service .service-section__content {
    width: 100%;
    max-width: 560px;
    padding-top: 72px;
  }

  .service-section--service .tag-list__item {
    min-width: 104px;
    min-height: 34px;
    padding: 5px 12px;
    font-size: 11px;
  }

  .reference-card {
    flex-basis: calc((100% - 25px) / 2);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "contact"
      "copyright";
    padding: 72px 32px 56px;
    gap: 34px;
  }

  .site-footer__brand {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer__brand img {
    width: 96px;
  }

  .site-footer__brand p {
    max-width: 520px;
    padding-top: 0;
    font-size: 12px;
    line-height: 1.8;
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: stretch;
    gap: 22px;
  }

  .site-footer__column:nth-child(1),
  .site-footer__column:nth-child(2),
  .site-footer__column:nth-child(3) {
    order: 0;
  }

  .site-footer__column {
    gap: 8px;
  }

  .site-footer__column a {
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
    white-space: normal;
  }

  .site-footer__contact {
    gap: 12px 26px;
  }

  .site-footer__contact-item {
    gap: 8px;
    font-size: 12px;
    line-height: normal;
  }

  .site-footer__icon {
    width: 16px;
    height: 16px;
  }

  .site-footer__copyright {
    justify-self: start;
    align-self: start;
    font-size: 12px;
  }
}

@media (max-width: 850px) {
  .hero {
    min-height: 610px;
  }

  .hero__background {
    height: 550px;
  }
}

@media (max-width: 1200px) and (min-width: 851px) {
  .hero__content {
    min-height: 690px;
  }

  .hero__stats {
    position: absolute;
    left: 32px;
    bottom: 48px;
    margin-top: 0;
  }
}

@media (max-width: 1560px) and (min-width: 1201px) {
  .why-us {
    padding-top: 120px;
  }

  .why-us .section-heading {
    margin-bottom: 56px;
  }

  .why-us .section-heading--split {
    gap: 24px 48px;
  }

  .why-us .section-heading__title {
    font-size: 56px;
  }

  .why-us .section-heading__text {
    font-size: 18px;
    line-height: 1.5;
  }

  .why-us__grid {
    --why-us-grid-min-height: 230px;
    max-width: 1500px;
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow: visible;
  }

  .why-us-card {
    --why-us-card-min-height: 198px;
    --why-us-card-padding-top: 28px;
    --why-us-card-padding-bottom: 22px;
    flex: 1 1 0;
    min-width: 0;
    min-height: var(--why-us-card-min-height);
    padding: var(--why-us-card-padding-top) 22px var(--why-us-card-padding-bottom);
    gap: 20px;
    border-radius: 18px;
  }

  .why-us-card + .why-us-card {
    margin-left: -33px;
  }

  .why-us-card img {
    width: 120px;
  }

  .why-us-card h3 {
    width: auto;
    font-size: 22px;
  }

  .why-us-card--sand {
    grid-column: auto;
  }

  .service-section {
    padding-top: 28px;
  }

  .why-us + .service-section {
    padding-top: 164px;
  }

  .service-section__inner {
    min-height: 500px;
    overflow: hidden;
  }

  .service-section__content {
    width: 43%;
    max-width: 540px;
    padding: 108px 0 0 84px;
  }

  .service-section__inner--right .service-section__content {
    width: 42%;
    max-width: 520px;
    padding: 100px 72px 0 0;
  }

  .service-section__title-row {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .service-section__title-row h2 {
    font-size: clamp(46px, 4vw, 58px);
    line-height: 0.96;
  }

  .service-section__title-row img {
    width: 32px;
    height: 32px;
    margin-top: 8px;
  }

  .service-section__description {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.3;
  }

  .tag-list {
    gap: 10px;
  }

  .tag-list__item,
  .service-section--solar .tag-list__item,
  .service-section--battery .tag-list__item,
  .service-section--service .tag-list__item {
    min-width: 0;
    min-height: 38px;
    padding: 7px 18px;
    font-size: 12px;
  }

  .service-section--solar {
    --solar-overhang: 32px;
  }

  .service-section--solar .service-section__content {
    width: 42%;
    max-width: 560px;
    padding: 126px 0 0 92px;
  }

  .service-section--solar .service-section__image > img {
    right: -72px;
    height: calc(100% + var(--solar-overhang));
  }

  .service-section--battery {
    --battery-overhang: 4px;
    padding-top: 36px;
  }

  .service-section--battery .service-section__image > img {
    left: -92px;
    bottom: 0;
    height: calc(100% + var(--battery-overhang));
    max-width: 64%;
  }

  .service-section--battery .service-section__content {
    width: 40%;
    max-width: 500px;
    padding: 104px 72px 0 0;
  }

  .service-section--service {
    padding-top: 36px;
  }

  .service-section--service .service-section__content {
    width: 41%;
    max-width: 520px;
    padding: 122px 0 0 92px;
  }

  .service-section--service .service-section__image {
    width: 54%;
  }

  .service-section--service .service-section__image-main {
    right: -600px;
    bottom: -392px;
    height: 156%;
  }
}

@media (max-width: 1200px) and (min-width: 821px) {
  .service-section {
    padding-top: 28px;
  }

  .why-us + .service-section {
    padding-top: 88px;
  }

  .service-section__inner {
    min-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
  }

  .service-section__image,
  .service-section--solar .service-section__image,
  .service-section--battery .service-section__image,
  .service-section--service .service-section__image {
    display: none;
  }

  .service-section__content,
  .service-section__inner--right .service-section__content,
  .service-section--solar .service-section__content,
  .service-section--battery .service-section__content,
  .service-section--service .service-section__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px 44px;
    min-height: 272px;
    justify-content: flex-start;
  }

  .service-section__title-row {
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
  }

  .service-section__title-row h2 {
    font-size: clamp(36px, 5vw, 46px);
    line-height: 0.98;
  }

  .service-section__title-row img {
    width: 30px;
    height: 30px;
    margin-top: 0;
  }

  .service-section__description {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.3;
  }

  .tag-list {
    gap: 10px;
  }

  .tag-list__item,
  .service-section--solar .tag-list__item,
  .service-section--battery .tag-list__item,
  .service-section--service .tag-list__item {
    min-width: 0;
    min-height: 34px;
    padding: 6px 14px;
    font-size: 11px;
  }
}

@media (max-width: 820px) {
  .page--reveal {
    --reveal-distance-x: 28px;
    --reveal-distance-y: 26px;
    --reveal-duration: 0.72s;
  }

  .service-section--solar {
    --solar-overhang: 12px;
  }

  .service-section--battery {
    --battery-overhang: 5px;
  }

  .service-section--service {
  }

  .section,
  .section--wide {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding: 12px 12px 0;
    min-height: 500px;
  }

  .hero__background {
    inset: 12px 12px auto;
    height: 450px;
  }

  .hero__background::after {
    background-position: 62% bottom;
  }

  .site-header {
    padding-top: 18px;
  }

  .page .site-header .site-header__inner {
    padding: 0 16px;
  }

  .page .site-header .site-logo {
    width: 82px;
  }

  .page .site-header .site-header__menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .page .site-header .site-nav {
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 14px;
  }

  .hero__content {
    min-height: auto;
    padding: 34px 16px 34px;
  }

  .hero__title {
    max-width: 238px;
    font-size: clamp(40px, 11vw, 50px);
    line-height: 0.98;
  }

  .hero__stats {
    width: min(100%, 258px);
    margin-top: 18px;
    flex-direction: column;
    gap: 8px;
  }

  .hero-card--small,
  .hero-card--wide {
    width: 100%;
    padding: 13px 15px;
    border-radius: 14px;
  }

  .hero-card__value {
    font-size: 28px;
  }

  .hero-card--small .hero-card__value {
    font-size: 28px;
  }

  .hero-card__label,
  .hero-card--wide .hero-card__label {
    font-size: 12px;
  }

  .hero-card__icon {
    width: 34px;
  }

  .section-heading__text,
  .career__intro-right p,
  .reference-card__text {
    font-size: 15px;
  }

  .section-heading__title,
  .career__title {
    font-size: 38px;
  }

  .career__intro {
    gap: 18px;
  }

  .career__intro-left {
    display: contents;
  }

  .career__title {
    order: 1;
  }

  .career__intro-right {
    order: 2;
  }

  .career__cta {
    order: 3;
    justify-self: start;
    margin-top: 2px;
  }

  .service-section {
    padding-top: 28px;
  }

  .service-section + .service-section {
    padding-top: 16px;
  }

  .why-us {
    padding-top: 52px;
  }

  .why-us .section-heading {
    margin-bottom: 28px;
  }

  .service-section__heading {
    margin-bottom: 28px;
  }

  .why-us .section-heading__title {
    font-size: 34px;
  }

  .why-us .section-heading__text {
    font-size: 15px;
    line-height: 1.5;
  }

  .why-us + .service-section {
    padding-top: 64px;
  }

  .service-section__inner {
    min-height: auto;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
  }

  .service-section__image,
  .service-section--solar .service-section__image,
  .service-section--battery .service-section__image,
  .service-section--service .service-section__image {
    display: none;
  }

  .service-section__content,
  .service-section__inner--right .service-section__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px 24px;
    min-height: 204px;
    justify-content: flex-start;
  }

  .service-section--solar .service-section__content,
  .service-section--battery .service-section__content,
  .service-section--service .service-section__content {
    width: 100%;
    max-width: none;
    padding: 28px 24px;
  }

  .service-section--solar .tag-list__item {
    min-width: 0;
  }

  .service-section--battery .tag-list__item {
    min-width: 0;
  }

  .service-section--service .tag-list__item {
    min-width: 0;
  }

  .service-section__title-row {
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
  }

  .service-section__title-row h2 {
    font-size: 32px;
  }

  .service-section__title-row img {
    width: 26px;
    height: 26px;
    margin-top: 0;
  }

  .service-section__description {
    min-height: 35px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .tag-list {
    margin-top: auto;
    gap: 10px;
  }

  .tag-list__item {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .why-us__grid {
    --why-us-grid-min-height: 770px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .why-us-card {
    --why-us-card-min-height: 138px;
    --why-us-card-padding-top: 18px;
    --why-us-card-padding-bottom: 16px;
    min-height: var(--why-us-card-min-height);
    padding: var(--why-us-card-padding-top) 16px var(--why-us-card-padding-bottom);
    gap: 14px;
    border-radius: 18px;
  }

  .why-us-card img {
    width: 92px;
  }

  .why-us-card h3 {
    font-size: 17px;
    line-height: 1.02;
  }

  .why-us-card--sand {
    grid-column: auto;
  }

  .reference-card {
    flex-basis: 100%;
  }

  .reference-card__text strong {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .hero__content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero__title {
    max-width: min(100%, 284px);
    font-size: clamp(32px, 10.5vw, 38px);
    line-height: 1;
  }

  .hero__stats {
    width: min(100%, 244px);
  }
}
