/* ===== Tokens ===== */
:root {
  --green: #11a84e;
  --green-soft: #349972;
  --text: #333333;
  --text-muted: #3f4943;
  --navy: #0f2e50;
  --border: #bec9c1;
  --bg-soft: #eff3ff;
  --bg-footer: #f8f9ff;
  --white: #ffffff;
  --container: 1300px;
  --font-noto: "Noto Sans", sans-serif;
  --font-inter: Inter, sans-serif;
  --font-hanken: "Hanken Grotesk", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-noto);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn--green:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 14px 22px -4px rgba(17, 168, 78, 0.35), 0 6px 10px -4px rgba(0, 0, 0, 0.12);
}

.btn--green:active {
  transform: translateY(0);
}

.btn--outline {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--nav {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.7px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  line-height: 20px;
  white-space: nowrap;
}

.btn--hero {
  padding: 16.5px 40px 17.5px;
  font-size: 14px;
  line-height: 20px;
}

.btn--outline.btn--hero {
  padding: 17px 41px;
}

.btn--cta {
  padding: 20px 48px;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-bottom: 2px solid var(--green);
  padding-bottom: 6px;
  white-space: nowrap;
  transition: gap 0.25s ease, color 0.25s ease;
}

.text-link:hover {
  gap: 12px;
}

.text-link img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.text-link:hover img {
  transform: translateX(3px);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 210;
  height: 80px;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.header.is-scrolled,
.header.is-mega-open {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  width: 125px;
  height: 45px;
  flex-shrink: 0;
}

.header__logo img {
  width: 125px;
  height: 45px;
  object-fit: cover;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 16px;
}

.header__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: color 0.25s ease;
  position: relative;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.header__link:hover::after,
.header__link.is-active::after,
.header__link.is-open::after {
  transform: scaleX(1);
}

.header__link:hover,
.header__link.is-active,
.header__link.is-open {
  color: var(--green);
}

.header__link.is-active {
  padding-bottom: 4px;
}

.header__link.is-open {
  color: rgba(17, 168, 78, 0.8);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.mobile-nav {
  display: flex;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.95);
  padding: 24px 20px;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

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

.mobile-nav__link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 8px 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  color: var(--white);
}

.hero__swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__swiper .swiper-wrapper,
.hero__slide {
  height: 100%;
}

.hero__slide {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  position: absolute;
  width: 115%;
  height: 114.86%;
  left: -7.5%;
  top: -7.43%;
  max-width: none;
  object-fit: cover;
}

.hero--carousel .hero__slide.swiper-slide-active .hero__bg img {
  animation: heroZoom 12s ease-out forwards;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.64) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 56%;
  transform: translateX(-50%);
  text-align: center;
  padding: 0 24px;
  width: 100%;
  max-width: 1300px;
  box-sizing: border-box;
}

.hero__title {
  font-size: clamp(28px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 0 auto 48px;
  max-width: 1100px;
  padding: 0 8px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

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

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-inter);
  font-size: 16px;
  color: var(--white);
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 8px 12px;
}

.hero__scroll-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  animation: bounce 1.6s infinite;
}

.hero__pagination.swiper-pagination {
  position: absolute;
  z-index: 3;
  left: 0 !important;
  right: 0;
  bottom: 88px;
  width: 100% !important;
  transform: none !important;
  text-align: center;
  line-height: 0;
}

.hero__pagination .swiper-pagination-bullet {
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero__pagination .swiper-pagination-bullet-active {
  background: var(--white);
  transform: scale(1.15);
}

.hero__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero__nav::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  position: absolute;
  top: 50%;
  left: 50%;
}

.hero__nav:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__prev {
  left: 24px;
}

.hero__prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.hero__next {
  right: 24px;
}

.hero__next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.hero__scroll {
  z-index: 4;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.65;
  }
}

/* ===== Section common ===== */
.section {
  padding: 85px 0 0;
}

.section__title {
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  color: var(--text);
}

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

.section__title--white {
  color: var(--white);
}

.section__link-wrap {
  display: flex;
  justify-content: center;
  margin-top: 77px;
}

/* ===== Chargers ===== */
.chargers {
  padding-top: 85px;
}

.chargers .section__title {
  margin-bottom: 64px;
}

.chargers__featured {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  height: 648px;
}

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

.chargers__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(17, 168, 78, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: playPulse 2.4s ease-in-out infinite;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(17, 168, 78, 0.55);
  animation: none;
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(17, 168, 78, 0.4), 0 0 0 0 rgba(17, 168, 78, 0.35);
  }
  50% {
    box-shadow: 0 10px 30px rgba(17, 168, 78, 0.45), 0 0 0 14px rgba(17, 168, 78, 0);
  }
}

.play-btn img {
  width: 16.5px;
  height: 21px;
}

.chargers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.charger-card {
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  background: #005387;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
}

.charger-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -8px rgba(0, 0, 0, 0.22);
}

.charger-card__img,
.charger-card > img {
  position: absolute;
  inset: 0;
  width: 162.69%;
  height: 100%;
  left: -31.34%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.charger-card--dc .charger-card__img,
.charger-card--dc > img {
  width: 100%;
  height: 100%;
  left: 0;
  inset: 0;
}

.charger-card:hover .charger-card__img,
.charger-card:hover > img {
  transform: scale(1.035);
}

.charger-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0) 81%);
}

.charger-card .tag {
  display: inline-flex;
  align-self: flex-start;
  background: var(--green);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 15px;
  padding: 3.5px 12px;
  border-radius: 2px;
  margin-bottom: 15px;
}

.charger-card h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--white);
  margin-bottom: 8px;
}

.charger-card p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.charger-card:hover .arrow-btn {
  transform: translateX(4px);
  background: var(--green);
}

.arrow-btn img {
  width: 16px;
  height: 16px;
  transition: filter 0.3s ease;
}

.charger-card:hover .arrow-btn img {
  filter: brightness(0) invert(1);
}

/* ===== Solutions ===== */
.solutions {
  padding-top: 222px;
  overflow: hidden;
}

.solutions__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 80px;
}

.solutions__text {
  max-width: 896px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solutions__text p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-muted);
}

.solutions__track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.solutions__track.swiper {
  width: 100%;
  overflow: hidden;
}

.solutions__track .swiper-wrapper {
  align-items: stretch;
}

.solutions__track .swiper-slide.solution-card {
  height: 476px;
  box-sizing: border-box;
}

.solution-card {
  position: relative;
  width: 100%;
  height: 476px;
  overflow: hidden;
}

.solution-card__img,
.solution-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover .solution-card__img,
.solution-card:hover > img {
  transform: scale(1.03);
}

.solution-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
}

.solution-card__body span {
  color: var(--green-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  line-height: 20px;
  margin-bottom: 8px;
}

.solution-card__body h3 {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.solutions__progress {
  width: min(639px, calc(100% - 40px));
  height: 2px;
  background: rgba(190, 201, 193, 0.35);
  margin: 60px auto 0;
  position: relative;
}

.solutions__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 37%;
  background: var(--green);
}

/* ===== Projects ===== */
.projects {
  padding-top: 95px;
}

.projects__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.projects__desc {
  margin-top: 16px;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-muted);
  max-width: 633px;
}

.projects__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  height: 500px;
}

.projects__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px -8px rgba(0, 0, 0, 0.22);
}

.project-card--large {
  height: 500px;
}

.project-card--small {
  flex: 1;
  min-height: 238px;
}

.project-card > img,
.project-card img.project-card__img,
.project-card a > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover > img,
.project-card:hover img.project-card__img,
.project-card:hover a > img {
  transform: scale(1.03);
}

.project-card--large > img,
.project-card--large img.project-card__img,
.project-card--large a > img {
  width: 100%;
  height: 100%;
  left: 0;
  inset: 0;
  max-width: none;
}

.project-card--small > img,
.project-card--small img.project-card__img,
.project-card--small a > img {
  width: 115.78%;
  left: -7.89%;
  max-width: none;
}

.project-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.project-card--large .project-card__body {
  padding: 40px;
}

.project-card--small .project-card__body {
  padding: 24px;
}

.project-card__body span {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 24px;
  margin-bottom: 8px;
}

.project-card--small .project-card__body span {
  margin-bottom: 4px;
}

.project-card--large h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.project-card--small h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--white);
}

.project-card--large p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 576px;
}

/* ===== Advantages ===== */
.advantages {
  position: relative;
  margin-top: 130px;
  height: 667px;
  overflow: hidden;
}

.advantages__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantages__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.advantages .section__title {
  margin-bottom: 80px;
}

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

.adv-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 33px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(17, 168, 78, 0.45);
  transform: translateY(-3px);
}

.adv-card__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.adv-card__icon--certs {
  width: 33px;
  height: 31.5px;
}

.adv-card__icon--partners {
  width: 30px;
  height: 27px;
}

.adv-card__icon--rd {
  width: 27px;
  height: 28px;
}

.adv-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--white);
  padding-top: 8px;
}

.adv-card p {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== News ===== */
.news {
  padding-top: 112px;
}

.news__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.news-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-item:hover {
  transform: translateX(4px);
}

.news-item__media {
  width: 480px;
  height: 270px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: var(--bg-soft);
}

.news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-item:hover .news-item__media img {
  transform: scale(1.03);
}

.news-item__body {
  padding-top: 8px;
  flex: 1;
  min-width: 0;
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.news-badge {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--green);
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 18px;
  padding: 7px 17px;
  text-transform: uppercase;
}

.news-item__meta time {
  font-family: var(--font-inter);
  font-size: 14px;
  letter-spacing: 0.7px;
  line-height: 21px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.news-item__title {
  font-family: var(--font-inter);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--text);
  max-width: 788px;
  transition: color 0.25s ease;
}

.news-item:hover .news-item__title {
  color: var(--green);
}

.news-item__title--green {
  color: var(--green);
}

/* ===== Support ===== */
.support {
  position: relative;
  margin-top: 135px;
  padding: 120px 0;
  background: var(--bg-soft);
  overflow: hidden;
}

.support__bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.support__bg img {
  width: 100%;
  height: 109.33%;
  top: -4.66%;
  position: absolute;
  object-fit: cover;
}

.support .section__title {
  margin-bottom: 64px;
  position: relative;
}

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

.support-card {
  background: var(--white);
  border: 1px solid rgba(17, 168, 78, 0.2);
  border-radius: 4px;
  padding: 49px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.45s ease;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 28px -10px rgba(17, 168, 78, 0.22);
  border-color: rgba(17, 168, 78, 0.5);
}

.support-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
}

.support-card__icon--warranty {
  width: 32px;
  height: 40px;
}

.support-card__icon--lib {
  width: 32px;
  height: 32px;
}

.support-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}

.support-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 270px;
}

.support-card a {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--green);
  text-transform: uppercase;
}

/* ===== CTA ===== */
.cta {
  padding: 120px 20px;
  background: var(--white);
}

.cta__inner {
  max-width: 672px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta h2 {
  font-family: var(--font-inter);
  font-size: 60px;
  font-weight: 700;
  line-height: 66px;
  letter-spacing: -1.2px;
  color: var(--text);
}

.cta p {
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 28px;
  color: var(--text-muted);
}

.cta .btn {
  margin-top: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px 24px;
  margin-bottom: 80px;
  width: 100%;
}

.footer__logo {
  width: 125px;
  height: 45px;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.footer__logo img {
  width: 125px;
  height: 45px;
  object-fit: cover;
}

.footer__nav {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  padding-left: 0;
  width: 100%;
}

.footer__cols {
  display: flex;
  gap: 96px;
  justify-content: flex-start;
  width: 100%;
}

/* Fallback when pages omit .footer__nav wrapper */
.footer__top > .footer__cols {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  padding-left: 0;
  width: 100%;
}

.footer__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__col h4 {
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__col a {
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 21px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--green);
}

.footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 21px;
  color: var(--text-muted);
}

.footer__contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--text);
}

.footer__contact a,
.footer__contact-text {
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 21px;
  color: var(--text-muted);
}

.footer__contact a {
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--green);
}

.footer__top-btn {
  width: 64px;
  height: 64px;
  border: 1px solid var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer__top-btn:hover {
  background: var(--green);
  transform: translateY(-4px);
}

.footer__top-btn img {
  width: 20px;
  height: 20px;
  max-width: none;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.footer__top-btn:hover img {
  filter: brightness(0) invert(1);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.footer__bottom > p,
.footer__legal a,
.footer__legal span {
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 21px;
  color: var(--text-muted);
  white-space: nowrap;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__legal span {
  color: var(--border);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
  flex-shrink: 0;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.footer__social img {
  width: 20px;
  height: 20px;
  max-width: none;
  object-fit: contain;
}

/* Nested social (legacy markup) keeps spacing consistent */
.footer__legal .footer__social {
  margin-left: 0;
}

/* ===== Floating Get Quote ===== */
.float-quote {
  position: fixed;
  right: 32px;
  bottom: 20%;
  z-index: 140;
  width: 114px;
  height: 134px;
  border-radius: 20px;
  background: var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 25px;
  gap: 2px;
  box-shadow: 0 10px 28px rgba(17, 168, 78, 0.28);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    background 0.28s ease;
  animation: floatPulse 3s ease-in-out infinite;
}

@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.float-quote:hover {
  transform: translateY(-4px) scale(1.04);
  background: #0e9343;
  box-shadow: 0 16px 36px rgba(17, 168, 78, 0.42);
  animation: none;
}

.float-quote img {
  width: 58px;
  height: 58px;
  max-width: none;
  flex-shrink: 0;
}

.float-quote span {
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--white);
  white-space: nowrap;
}

.float-quote:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.3);
}

/* ===== Get a Quote Modal — Figma 72:13 ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-modal.is-open .video-modal__dialog {
  transform: translateY(0) scale(1);
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-modal__close:hover {
  background: rgba(0, 0, 0, 0.75);
}

.video-modal__player video,
.video-modal__player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

body.video-modal-open {
  overflow: hidden;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1012px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  padding: 56px 57px 52px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-modal.is-open .quote-modal__dialog {
  transform: translateY(0) scale(1);
}

.quote-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.quote-modal__close:hover {
  color: #333;
  background: #f3f4f6;
}

.quote-modal__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 48px;
}

.quote-modal__title {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  color: #333;
}

.quote-modal__desc {
  margin: 0;
  max-width: 768px;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #4b5563;
}

.quote-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 898px;
  margin: 0 auto;
}

.quote-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  background: #fff;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 400;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-field input {
  height: 53px;
  padding: 16px 13px 15px;
}

.quote-field textarea {
  height: 141px;
  min-height: 141px;
  padding: 13px;
  line-height: 24px;
  resize: vertical;
}

.quote-field input::placeholder,
.quote-field textarea::placeholder {
  color: #6b7280;
}

.quote-field input:focus,
.quote-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(17, 168, 78, 0.12);
}

.quote-field input.is-invalid,
.quote-field textarea.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.quote-modal__verify {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 0;
}

.quote-modal__verify-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #374151;
}

.quote-modal__verify-label strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #0f2e50;
}

.quote-modal__refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  transition: transform 0.3s ease;
}

.quote-modal__refresh:hover,
.quote-modal__refresh.is-spinning {
  transform: rotate(90deg);
}

.quote-modal__refresh.is-spinning {
  animation: quoteCaptchaSpin 0.4s ease;
}

@keyframes quoteCaptchaSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.quote-modal__refresh img {
  display: block;
  width: 13.333px;
  height: 13.333px;
}

.quote-modal__submit {
  width: 100%;
  height: 60px;
  margin-top: 8px;
  border: none;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.quote-modal__submit:hover {
  background: #0e9343;
}

.quote-modal__submit:disabled,
.quote-modal__submit.is-sent {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

body.quote-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .quote-modal {
    padding: 16px;
    align-items: flex-start;
  }

  .quote-modal__dialog {
    padding: 40px 20px 28px;
    max-height: calc(100vh - 32px);
  }

  .quote-modal__title {
    font-size: 28px;
    line-height: 32px;
  }

  .quote-modal__head {
    margin-bottom: 28px;
  }

  .quote-modal__row {
    grid-template-columns: 1fr;
  }

  .quote-modal__desc {
    font-size: 15px;
    line-height: 22px;
  }
}

/* ===== Mega Menu ===== */
.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mega-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.mega-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
}

.mega-panel {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  max-height: calc(100vh - 80px);
  transform: translateY(-16px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-overlay.is-open .mega-panel {
  transform: translateY(0);
}

.mega-left {
  width: 39.27%;
  background: var(--white);
  border-right: 1px solid #f3f4f6;
  padding: 48px 49px 48px max(24px, calc((100vw - 1300px) / 2));
  display: flex;
  flex-direction: column;
  gap: 64px;
  position: relative;
  min-height: 500px;
  overflow-y: auto;
}

.mega-right {
  width: 0;
  max-width: 0;
  padding: 48px 0;
  background: #f9fafb;
  position: relative;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mega-panel.has-products .mega-right {
  width: 32.65%;
  max-width: 627px;
  padding: 48px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
}

.mega-close img {
  width: 24px;
  height: 24px;
}

.mega-close--right {
  top: 16px;
  right: 24px;
}

.mega-title {
  font-family: var(--font-inter);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  color: #1f2937;
}

.mega-cats {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--text);
  gap: 12px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mega-cat:hover {
  color: var(--green);
  transform: translateX(4px);
}

.mega-cat.is-active {
  color: var(--green);
}

.mega-chevron {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-right: 4px;
}

.mega-learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 11px 25px;
  align-self: flex-start;
  margin-top: auto;
}

.mega-right-title {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--text);
  margin-bottom: 16px;
  padding-right: 32px;
}

.mega-products {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 5px 2px rgba(0, 0, 0, 0.05);
  min-height: 146px;
  padding: 15px 18px 15px 10px;
  gap: 16px;
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card.is-ready {
  opacity: 1;
  transform: none;
  animation: none;
}

.product-card.is-ready:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  height: 100%;
}

.product-card__label {
  font-family: var(--font-hanken);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  line-height: 15px;
  margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--font-hanken);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #1a1c1e;
  line-height: 33.6px;
}

.product-card__details {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-family: var(--font-hanken);
  font-size: 14px;
  line-height: 24px;
  border-top: 1px solid rgba(190, 201, 193, 0.3);
  padding-top: 17px;
  margin-top: 12px;
  align-self: flex-start;
}

.product-card__details img {
  width: 9.333px;
  height: 9.333px;
  flex-shrink: 0;
}

.product-card__img {
  width: 117px;
  height: 116px;
  flex-shrink: 0;
  object-fit: cover;
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
  .header__nav {
    gap: 14px;
    padding: 0 8px;
  }

  .header__link {
    font-size: 13px;
  }

  .mega-left {
    padding-left: 40px;
  }
}

@media (max-width: 1200px) {
  .header__nav,
  .header .btn--nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__title,
  .cta h2 {
    font-size: clamp(32px, 3.6vw, 42px);
    line-height: 1.15;
  }

  .section__title {
    font-size: 32px;
    line-height: 36px;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .project-card--large {
    height: 420px;
  }

  .advantages__grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantages {
    height: auto;
    min-height: 667px;
  }

  .advantages__overlay {
    position: relative;
    padding: 80px 0;
  }

  .news-item__title {
    font-size: 24px;
    line-height: 32px;
  }

  .news-item__media {
    width: 360px;
    height: 202px;
  }

  .support__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer__cols {
    gap: 48px;
  }

  .mega-panel {
    flex-direction: column;
  }

  .mega-left {
    width: 100%;
    max-width: none;
    padding: 48px 24px;
    min-height: auto;
  }

  .mega-right {
    width: 0;
    max-width: 0;
    height: 0;
    padding: 0;
    flex: 0;
  }

  .mega-panel.has-products .mega-right {
    width: 100%;
    max-width: none;
    height: auto;
    padding: 48px 24px;
    flex: 1;
  }
}

@media (max-width: 900px) {
  .chargers__featured {
    height: 360px;
  }

  .chargers__grid {
    grid-template-columns: 1fr;
  }

  .charger-card {
    height: 420px;
  }

  .solutions__track {
    padding: 0;
  }

  .solutions__track .swiper-slide.solution-card,
  .solution-card {
    height: 360px;
  }

  .solutions {
    padding-top: 80px;
  }

  .news-item {
    flex-direction: column;
  }

  .news-item__media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .projects__head,
  .news__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__top {
    gap: 32px 16px;
    margin-bottom: 40px;
  }

  .footer__cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
    justify-content: stretch;
  }

  /* Odd last column sits full-width so it doesn't look orphaned */
  .footer__col:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .footer__col {
    flex: none;
    max-width: none;
    gap: 16px;
  }

  .footer__top-btn {
    width: 48px;
    height: 48px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 28px;
  }

  .footer__bottom > p,
  .footer__legal a,
  .footer__legal span {
    white-space: normal;
  }

  .footer__meta {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__legal {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .footer__social {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 0 32px;
  }

  .footer__top {
    gap: 20px 12px;
    margin-bottom: 28px;
  }

  .footer__logo,
  .footer__logo img {
    width: 104px;
    height: 37px;
  }

  /* Phone: one column — clearer hierarchy for 3 link groups */
  .footer__cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__col:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .footer__col {
    gap: 12px;
  }

  .footer__col h4 {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 16px;
  }

  .footer__col ul {
    gap: 10px;
  }

  .footer__col a {
    font-size: 13px;
    line-height: 20px;
  }

  .footer__top-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .footer__top-btn img {
    width: 16px;
    height: 16px;
  }

  .footer__bottom {
    gap: 14px;
    padding-top: 20px;
  }

  .footer__bottom > p,
  .footer__legal a,
  .footer__legal span {
    font-size: 12px;
    line-height: 18px;
  }

  .footer__meta {
    gap: 14px;
  }

  .footer__legal {
    gap: 6px 10px;
  }

  .footer__legal span {
    display: none;
  }

  .footer__legal a:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: var(--border);
  }

  .footer__social {
    gap: 12px;
  }

  .footer__social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
  }

  .float-quote {
    right: 16px;
    bottom: 20px;
    width: 88px;
    height: 104px;
    border-radius: 16px;
    padding-top: 16px;
    gap: 4px;
  }

  .float-quote img {
    width: 42px;
    height: 42px;
  }

  .float-quote span {
    font-size: 12px;
    line-height: 18px;
  }

  .hero {
    min-height: 100vh;
    height: 100vh;
  }

  .hero__title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 28px;
  }

  .hero__content {
    top: inherit;
    bottom: 15%;
  }

  .hero__pagination {
    bottom: 72px;
  }

  .hero__nav {
    display: none;
  }

  .btn--hero {
    padding: 14px 24px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .btn--outline.btn--hero {
    padding: 14px 24px;
  }

  .section,
  .chargers {
    padding-top: 56px;
  }

  .chargers .section__title {
    margin-bottom: 32px;
  }

  .chargers__featured {
    height: 220px;
  }

  .play-btn {
    width: 56px;
    height: 56px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .advantages .section__title {
    margin-bottom: 40px;
  }

  .cta h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .cta {
    padding: 72px 20px;
  }

  .support {
    margin-top: 72px;
    padding: 72px 0;
  }

  .mega-cats {
    gap: 28px;
  }

  .mega-cat {
    font-size: 16px;
  }

  .product-card__img {
    width: 90px;
    height: 90px;
  }
}

/* ===== Motion ===== */
.anim-hero {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

.hero__scroll.anim-hero {
  opacity: 0;
  transform: translateX(-50%) translateY(28px);
  animation: fadeUpScroll 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

.hero:not(.hero--carousel) .hero__bg img,
.hero--carousel .hero__slide.swiper-slide-active .hero__bg img {
  animation: heroZoom 12s ease-out forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.chargers__featured > img {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.chargers__featured:hover > img {
  transform: scale(1.02);
}

.solutions__progress-bar {
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-learn {
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-learn:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.product-card__details {
  transition: gap 0.3s ease;
}

.product-card:hover .product-card__details {
  gap: 8px;
}

.product-card__img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpScroll {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(17, 168, 78, 0.28);
  }
  50% {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 10px rgba(17, 168, 78, 0);
  }
}

@keyframes progressPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.75;
  }
}
