/* ==========================================================================
   EV Storage Systems — premium dark technical design system
   ========================================================================== */

:root {
  /* Palette */
  --bg: #0a0b0c;
  --bg-alt: #0d0e10;
  --surface: #141517;
  --surface-2: #1a1c1f;
  --surface-3: #202226;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f5;
  --text-muted: #a8acb1;
  --text-faint: #6d7176;
  --silver: #cdd2d6;
  --accent: #3ddc84;
  --accent-dim: rgba(61, 220, 132, 0.14);
  --accent-blue: #5db4ff;

  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Rajdhani", "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input { font: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #05130b;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 20ch;
}

.section-lead {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 62ch;
  margin-bottom: 32px;
}

.fine-print {
  color: var(--text-faint);
  font-size: 13px;
  margin-top: 20px;
  max-width: 70ch;
}

section { position: relative; padding: 110px 0; scroll-margin-top: 88px; }
@media (max-width: 720px) {
  section { padding: 72px 0; }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn--primary {
  background: var(--accent);
  color: #05130b;
}
.btn--primary:hover { transform: translateY(-2px); background: #35c977; }
.btn--ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--call { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }
.btn--call:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

/* ---------------- Navbar ---------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  background: rgba(10, 11, 12, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height 0.4s var(--ease);
}
.navbar.is-scrolled .navbar__inner { height: 68px; }
.navbar__logo { color: var(--text); display: flex; align-items: center; }
.navbar__logo-img { height: 58px; width: auto; display: block; }
@media (max-width: 560px) { .navbar__logo-img { height: 44px; } }
@media (max-width: 380px) { .navbar__logo-img { height: 38px; } }

.navbar__nav ul { display: flex; gap: 36px; }
.navbar__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.navbar__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}
.navbar__nav a:hover { color: var(--text); }
.navbar__nav a:hover::after { right: 0; }
.navbar__nav-cta {
  white-space: nowrap !important;
  padding: 8px 18px !important;
  color: #05130b !important;
  font-size: 13px !important;
  line-height: 1.3;
}
.navbar__nav-cta::after { display: none; }
.navbar__nav-cta:hover { color: #05130b !important; }

.navbar__actions { display: flex; align-items: center; gap: 16px; }
.navbar__tel { font-size: 14px; color: var(--text-muted); font-weight: 500; transition: color 0.3s var(--ease); white-space: nowrap; }
.navbar__tel:hover { color: var(--text); }
.navbar__burger {
  display: none;
  position: relative;
  z-index: 101;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.navbar__burger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.navbar__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .navbar__nav { display: none; }
  .navbar__actions { display: none; }
  .navbar__burger { display: flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(8, 9, 10, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  z-index: 99;
  pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-menu a { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text); }
.mobile-menu .btn {
  align-self: center;
  width: calc(100% - 16px);
  max-width: 320px;
  margin: 0 auto;
  font-size: 14px;
  padding: 16px 14px;
  white-space: normal;
  text-align: center;
  letter-spacing: 0.02em;
}
.mobile-menu__tel {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: -18px;
}

.sticky-call {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--accent);
  color: #05130b;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.sticky-call .icon { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 900px) {
  .sticky-call { display: flex; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(25%) brightness(0.55) contrast(1.08); transform: scale(1.06); }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10,11,12,0.2), rgba(10,11,12,0.75) 60%),
    linear-gradient(180deg, rgba(10,11,12,0.55) 0%, rgba(10,11,12,0.55) 40%, var(--bg) 96%);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 14px 0 20px;
  color: var(--text);
  max-width: 18ch;
}
.hero__subtitle { font-size: clamp(17px, 2vw, 21px); color: var(--silver); max-width: 62ch; margin-bottom: 36px; }
.hero__note { font-size: 15px; color: var(--text-muted); max-width: 58ch; margin-bottom: 40px; }
.hero__cta { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { white-space: normal; text-align: center; }
}

.hero__flow {
  position: absolute;
  left: 0; right: 0;
  bottom: 40px;
  z-index: 1;
  opacity: 0.85;
}
.flow-svg { width: 100%; height: 40px; }
.flow-line { stroke: var(--border-strong); stroke-width: 1; }
.flow-dot { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.hero__flow-labels {
  display: flex; justify-content: space-between;
  max-width: var(--container); margin: -6px auto 0; padding: 0 24px;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.22em; color: var(--text-faint);
}
@media (max-width: 640px) { .hero__flow { display: none; } }

.hero__scroll-cue {
  position: absolute; right: 32px; bottom: 40px; z-index: 1;
  width: 26px; height: 42px; border: 1px solid var(--border-strong); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--silver); animation: scrollcue 1.8s infinite ease; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0);} 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px);} }
@media (max-width: 720px) { .hero__scroll-cue { display: none; } }

/* ---------------- Offers (pasiūlymai) ---------------- */
.offers { padding: 90px 0; border-bottom: 1px solid var(--border); }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 40px;
  align-items: stretch;
}
.offers__note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.offer-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.offer-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-dim);
}
.offer-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #0d0e10; }
.offer-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-card__img--photo {
  background:
    radial-gradient(ellipse at 50% 40%, rgba(61,220,132,0.10), transparent 65%),
    #0c0d0f;
  padding: 14px;
}
.offer-card__img--photo img { object-fit: contain; }
.offer-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.offer-card__capacity {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.offer-card__model {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
  min-height: 2.6em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.offer-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--accent);
  margin-bottom: 4px;
  white-space: nowrap;
}
.offer-card__price-per-kwh {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 14px;
  white-space: nowrap;
}
.offer-card__specs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--text);
}
.offer-card__specs span { display: flex; flex-direction: column; gap: 3px; }
.offer-card__specs-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.offer-card__specs-value { white-space: nowrap; }
.offer-card__cta { margin-top: auto; white-space: normal; }
@media (max-width: 1080px) { .offers__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .offers__grid { grid-template-columns: 1fr; grid-auto-flow: row; }
  .offer-card__capacity { font-size: 26px; }
}

/* ---------------- Benefits (nauda) ---------------- */
.benefits { padding: 90px 0; border-bottom: 1px solid var(--border); }
.benefits__grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.benefit {
  flex: 1 1 33.333%;
  min-width: 240px;
  background: var(--bg);
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.benefit__icon { font-size: 28px; display: block; margin-bottom: 16px; }
.benefit h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.benefit p { color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 900px) { .benefit { flex-basis: 50%; } }
@media (max-width: 560px) { .benefit { flex-basis: 100%; } }

/* ---------------- Trust (kodėl EV Storage Systems) ---------------- */
.trust { padding: 70px 0 90px; border-bottom: 1px solid var(--border); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.trust-item { border-left: 2px solid var(--accent); padding-left: 18px; }
.trust-item h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.trust-item p { color: var(--text-muted); font-size: 14px; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust__grid { grid-template-columns: 1fr; } }

/* Capacity */
.capacity-section { padding: 90px 0; text-align: center; }
.capacity-section .eyebrow, .capacity-section .section-title { margin-left: auto; margin-right: auto; }
.capacity-section .section-title { max-width: 24ch; }
.capacity__range {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 8px 0 14px;
}
.capacity__note { color: var(--text-muted); font-size: 15px; max-width: 56ch; margin: 0 auto; }

/* ---------------- Batteries ---------------- */
.platforms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.platform-card { background: var(--bg-alt); padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.platform-card--extra {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.platform-card--extra:not(.is-shown) { opacity: 0; transform: translateY(-10px); }
.platform-card--extra.is-shown { opacity: 1; transform: translateY(0); }
.platform-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.brand-mark {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent);
  background: var(--surface-2);
  overflow: hidden;
}
.brand-mark--img { padding: 6px; }
.brand-mark--img img { width: 100%; height: 100%; object-fit: contain; }
.platform-card__brand { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; }
.platform-card__models { display: flex; flex-direction: column; gap: 8px; }
.platform-card__model { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; border-bottom: 1px dashed var(--border); padding-bottom: 8px; }
.platform-card__model:last-child { border-bottom: none; padding-bottom: 0; }
.platform-card__model-name { color: var(--text); }
.platform-card__model-cap { color: var(--text-faint); white-space: nowrap; }
@media (min-width: 768px) { .platforms__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .platforms__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .platforms__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------------- Accordion (compat + faq) ---------------- */
.compat { padding: 90px 0 100px; border-bottom: 1px solid var(--border); }
.compat__search {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 18px;
  max-width: 460px;
  background: var(--surface);
}
.compat__search .icon { width: 18px; height: 18px; fill: var(--text-faint); flex: none; }
.compat__search input { flex: 1; background: none; border: 0; color: var(--text); outline: none; font-size: 14px; }
.compat__search input::placeholder { color: var(--text-faint); }

.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
}
.acc-item__trigger-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc-item__brand { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.acc-item__count { font-size: 12.5px; color: var(--text-faint); }
.acc-item__chevron { width: 12px; height: 12px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg); transition: transform 0.35s var(--ease); flex: none; }
.acc-item.is-open .acc-item__chevron { transform: rotate(-135deg); }

.acc-item__panel { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-item__panel-inner { padding: 0 4px 24px; display: flex; flex-direction: column; gap: 10px; }

.model-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.model-row__name { font-size: 14.5px; color: var(--text); }
.model-row__meta { font-size: 12.5px; color: var(--text-faint); }

/* Kompaktiškas suderinamumo sąrašas — daugiau informacijos telpa viename ekrane */
.compat .acc-item__trigger { padding: 14px 4px; }
.compat .acc-item__brand { font-size: 15.5px; }
.compat .acc-item__panel-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px;
  padding: 2px 4px 18px;
}
.compat .model-row {
  padding: 7px 12px;
  border-radius: 6px;
  gap: 8px;
}
.compat .model-row__name { font-size: 13.5px; }
@media (max-width: 600px) {
  .compat .acc-item__panel-inner { grid-template-columns: 1fr; }
}

.compat__empty {
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.compat__empty-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.compat__empty-text { color: var(--text-muted); font-size: 14.5px; max-width: 48ch; margin: 0 auto 20px; }

/* ---------------- Projects (įgyvendinti projektai) ---------------- */
.projects { padding: 90px 0; border-bottom: 1px solid var(--border); }
.projects__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.project-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.project-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: #0d0e10; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card__body { padding: 20px 22px 24px; }
.project-card__capacity { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text); margin-bottom: 6px; }
.project-card__meta { font-size: 13px; color: var(--accent); margin-bottom: 10px; }
.project-card__desc { color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 900px) { .projects__grid { grid-template-columns: 1fr; } }

/* FAQ */
.accordion--faq .acc-item__trigger { padding: 24px 4px; }
.accordion--faq .acc-item__q { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.accordion--faq .acc-item__panel-inner { color: var(--text-muted); font-size: 15px; padding-bottom: 26px; max-width: 70ch; }

/* ---------------- Contact ---------------- */
.contact { border-top: 1px solid var(--border); text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(61,220,132,0.06), transparent 60%); }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .section-title { max-width: 20ch; margin-left: auto; margin-right: auto; }
.contact__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 72px);
  letter-spacing: -0.01em;
  margin: 34px 0;
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.contact__phone:hover { color: var(--accent); }
.contact__meta { display: flex; gap: 60px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
.contact__meta-label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.contact__meta a, .contact__meta span:last-child { color: var(--silver); font-size: 15px; }

/* ---------------- Section CTA ---------------- */
.section-cta { margin-top: 54px; display: flex; justify-content: center; }
.compat .section-cta { margin-top: 30px; }

/* ---------------- Platforms "show more" ---------------- */
.platforms__more { display: block; margin: 22px auto 0; }
.platform-card[hidden] { display: none; }

/* ---------------- Find your inverter model ---------------- */
.find-model {
  margin-top: 36px;
  padding: 22px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.find-model__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.find-model__text h3 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0; }

.find-model-text { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 18px 0 26px; }
.find-steps { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.find-steps__item { display: flex; gap: 14px; align-items: flex-start; }
.find-steps__num {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(61,220,132,0.4); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
}
.find-steps__item div { font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }
.find-steps__item strong { color: var(--text); font-weight: 600; }

/* ---------------- Modal ---------------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6,7,8,0.82); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative;
  width: 100%; max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); color: var(--text-muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.modal__close:hover { color: var(--text); border-color: var(--accent); }
.modal__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.modal__visual { background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__visual img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  object-fit: contain;
}
.modal__body { padding: 40px 36px; }
.modal__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
@media (max-width: 680px) {
  .modal__grid { grid-template-columns: 1fr; }
  .modal__visual { padding: 18px; }
  .modal__visual img { max-width: 280px; margin: 0 auto; }
  .modal__body { padding: 28px 22px; }
}

/* ---------------- Quote form ---------------- */
.quote { border-top: 1px solid var(--border); background: var(--bg-alt); }
.quote-form { margin-top: 20px; max-width: 860px; }
.quote-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--text-muted); font-weight: 500; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: border-color 0.25s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a8acb1' stroke-width='1.6'><path d='M5 8l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field__hint { font-size: 12.5px; color: var(--text-faint); }
.field__error { font-size: 12.5px; color: #e0785f; display: none; min-height: 1px; }
.field.has-error .field__error { display: block; }
.field.has-error input, .field.has-error select { border-color: #e0785f; }

/* Custom checkbox */
.field--checkbox { flex-direction: row; align-items: center; }
.field--checkbox label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; }
.field--checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px; height: 20px;
  margin: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  background: var(--surface);
  position: relative;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.field--checkbox input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.field--checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #05130b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.field--checkbox input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Custom file input */
.file-input { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.file-input__native {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-input__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.file-input__btn:hover { border-color: var(--accent); color: var(--accent); }
.file-input__native:focus-visible + .file-input__btn { outline: 2px solid var(--accent); outline-offset: 2px; }
.file-input__name { font-size: 13.5px; color: var(--text-faint); word-break: break-all; }

.quote-form__submit,
#quoteSubmit {
  min-width: 260px;
}
.quote-form__status { margin-top: 16px; text-align: left; font-size: 14px; min-height: 20px; }
.quote-form__status[data-state="ok"] { color: var(--accent); }
.quote-form__status[data-state="error"] { color: #e0785f; }
@media (max-width: 720px) {
  .quote-form__grid { grid-template-columns: 1fr; }
  #quoteSubmit { width: 100%; min-width: 0; }
}

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--border); padding: 70px 0 24px; background: var(--bg-alt); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo-img { height: 48px; width: auto; display: block; }
.footer__brand p { color: var(--text-faint); font-size: 14px; margin-top: 16px; max-width: 32ch; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title { font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--text-muted); font-size: 14.5px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 22px; font-size: 12.5px; color: var(--text-faint); }
@media (max-width: 720px) { .footer__inner { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- Reveal animations ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.mask-reveal { overflow: hidden; }
.mask-reveal > .mask-inner,
.mask-reveal {
  position: relative;
}
.mask-reveal {
  clip-path: inset(0 0 0 0);
}
.mask-reveal::before { content: none; }
.mask-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.mask-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* stagger children with .reveal inside a visible parent */
.is-visible .reveal { transition-delay: 0.05s; }
