body.page-victron-energy{
  background:#020811;
}

.ve-page{
  --ve-bg:#020811;
  --ve-bg-2:#061a2c;
  --ve-panel:rgba(7,23,38,.78);
  --ve-panel-2:rgba(10,34,55,.86);
  --ve-line:rgba(140,206,255,.18);
  --ve-line-strong:rgba(95,177,237,.38);
  --ve-text:#f4fbff;
  --ve-muted:#b7c9d9;
  --ve-soft:#7ea6c6;
  --ve-blue:#1a7ed1;
  --ve-blue-2:#46b7ff;
  --ve-orange:#ff9d2f;
  --ve-orange-2:#ffd18b;
  --ve-shadow:0 26px 100px rgba(0,0,0,.55);
  --ve-shadow-soft:0 18px 46px rgba(1,13,24,.34);
  position:relative;
  overflow:hidden;
  color:var(--ve-text);
  background:
    radial-gradient(900px 520px at 16% 8%, rgba(31,128,210,.28), transparent 62%),
    radial-gradient(900px 680px at 86% 5%, rgba(255,157,47,.16), transparent 58%),
    radial-gradient(1100px 740px at 44% 56%, rgba(13,93,148,.18), transparent 70%),
    linear-gradient(180deg,#020811 0%,#061427 37%,#03101f 68%,#020811 100%);
}

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

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

.ve-page a{
  color:inherit;
}

.ve-shell{
  width:min(1180px, calc(100% - 40px));
  margin-inline:auto;
  position:relative;
  z-index:1;
}

.ve-hero{
  position:relative;
  min-height:calc(100vh - 86px);
  display:flex;
  align-items:center;
  padding:86px 0 72px;
  isolation:isolate;
}

.ve-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, rgba(2,8,17,.95) 0%, rgba(3,17,31,.86) 45%, rgba(4,21,36,.66) 100%),
    url('/assets/img/brands/victron-energy/header-discover.jpg') center/cover no-repeat;
  opacity:.96;
  z-index:-2;
}

.ve-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:180px;
  background:linear-gradient(180deg, transparent, #061427 82%);
  z-index:-1;
}

.ve-hero__glow{
  position:absolute;
  width:420px;
  height:420px;
  border-radius:999px;
  filter:blur(40px);
  pointer-events:none;
  opacity:.6;
  z-index:-1;
}

.ve-hero__glow--one{
  left:-130px;
  top:90px;
  background:rgba(40,147,230,.28);
}

.ve-hero__glow--two{
  right:-160px;
  bottom:120px;
  background:rgba(255,157,47,.18);
}

.ve-hero__grid{
  display:grid;
  grid-template-columns:minmax(0, .92fr) minmax(460px, 1.08fr);
  gap:44px;
  align-items:center;
}

.ve-hero__content{
  min-width:0;
}

.ve-logo-strip{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:24px;
}

.ve-logo-strip img{
  width:178px;
  height:auto;
  border-radius:18px;
  box-shadow:0 22px 60px rgba(0,0,0,.46);
}

.ve-logo-strip span,
.ve-kicker{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  gap:10px;
  color:#d9efff;
  font-size:12px;
  font-weight:800;
  line-height:1.15;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.ve-logo-strip span::before,
.ve-kicker::before{
  content:"";
  width:34px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--ve-orange), var(--ve-blue-2));
  flex:0 0 auto;
}

.ve-hero h1{
  margin:0;
  max-width:760px;
  font-size:clamp(45px, 6.1vw, 88px);
  line-height:.95;
  letter-spacing:-.065em;
  color:#fff;
  text-wrap:balance;
}

.ve-lead{
  margin:24px 0 0;
  max-width:710px;
  color:#d5e5f1;
  font-size:clamp(17px, 1.6vw, 22px);
  line-height:1.62;
}

.ve-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin-top:34px;
}

.ve-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 24px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  font-size:14px;
  font-weight:850;
  line-height:1;
  letter-spacing:.01em;
  text-decoration:none;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.ve-btn:hover{
  transform:translateY(-2px);
}

.ve-btn--primary{
  color:#05101d;
  border-color:rgba(255,208,132,.65);
  background:linear-gradient(135deg, var(--ve-orange-2), var(--ve-orange) 54%, #f47c13);
  box-shadow:0 16px 44px rgba(255,143,34,.28);
}

.ve-btn--ghost{
  color:#ecf8ff;
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(14px);
  box-shadow:0 14px 40px rgba(0,0,0,.22);
}

.ve-btn--ghost:hover{
  border-color:rgba(112,194,255,.45);
  background:rgba(44,140,213,.16);
}

.ve-hero__badge{
  width:max-content;
  max-width:min(100%, 670px);
  margin-top:26px;
  padding:13px 16px;
  border-radius:18px;
  border:1px solid rgba(80,175,239,.24);
  background:rgba(5,21,36,.52);
  color:#bfe4ff;
  box-shadow:inset 0 1px rgba(255,255,255,.05);
  font-size:14px;
}

.ve-hero__visual{
  position:relative;
  min-width:0;
}

.ve-slider{
  position:relative;
  min-height:590px;
  border:1px solid var(--ve-line-strong);
  border-radius:34px;
  overflow:hidden;
  box-shadow:var(--ve-shadow);
  background:rgba(4,17,30,.74);
}

.ve-slider::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(2,8,17,.02) 0%, rgba(2,8,17,.28) 50%, rgba(2,8,17,.82) 100%),
    linear-gradient(135deg, rgba(26,126,209,.28), transparent 46%, rgba(255,157,47,.22));
}

.ve-slide{
  position:absolute;
  inset:0;
  margin:0;
  opacity:0;
  transform:scale(1.045);
  transition:opacity .72s ease, transform 1.4s ease;
}

.ve-slide.is-active{
  opacity:1;
  transform:scale(1);
  z-index:1;
}

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

.ve-slide figcaption{
  position:absolute;
  left:22px;
  bottom:22px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(4,18,30,.72);
  color:#e9f7ff;
  font-size:13px;
  font-weight:800;
  backdrop-filter:blur(10px);
}

.ve-slider__dots{
  position:absolute;
  left:24px;
  top:24px;
  z-index:5;
  display:flex;
  gap:8px;
}

.ve-slider__dots button{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.42);
  background:rgba(255,255,255,.18);
  padding:0;
  cursor:pointer;
  transition:width .2s ease, background .2s ease, border-color .2s ease;
}

.ve-slider__dots button.is-active{
  width:30px;
  background:linear-gradient(90deg, var(--ve-blue-2), var(--ve-orange));
  border-color:rgba(255,255,255,.75);
}

.ve-system-card{
  position:absolute;
  right:24px;
  bottom:-34px;
  z-index:6;
  width:min(360px, calc(100% - 48px));
  padding:22px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.18);
  background:linear-gradient(145deg, rgba(5,21,36,.88), rgba(10,43,70,.83));
  box-shadow:0 24px 70px rgba(0,0,0,.42);
  backdrop-filter:blur(18px);
}

.ve-system-card strong{
  display:block;
  color:#fff;
  font-size:18px;
  line-height:1.2;
}

.ve-system-card p{
  margin:10px 0 0;
  color:#c7d9e7;
  font-size:14px;
  line-height:1.56;
}

.ve-metrics{
  padding:0 0 44px;
  margin-top:-28px;
  position:relative;
  z-index:4;
}

.ve-metrics__grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.ve-metric{
  min-height:124px;
  padding:22px;
  border-radius:24px;
  border:1px solid var(--ve-line);
  background:linear-gradient(180deg, rgba(10,33,54,.86), rgba(3,17,30,.82));
  box-shadow:var(--ve-shadow-soft);
}

.ve-metric strong{
  display:block;
  color:#fff;
  font-size:clamp(24px, 3.2vw, 38px);
  line-height:1;
  letter-spacing:-.04em;
}

.ve-metric span{
  display:block;
  margin-top:12px;
  color:var(--ve-muted);
  font-size:14px;
  line-height:1.35;
}

.ve-anchor-bar{
  position:sticky;
  top:86px;
  z-index:80;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(3,15,28,.74);
  backdrop-filter:blur(18px);
}

.ve-anchor-bar__inner{
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  padding:10px 0;
  scrollbar-width:none;
}

.ve-anchor-bar__inner::-webkit-scrollbar{
  display:none;
}

.ve-anchor-bar a{
  flex:0 0 auto;
  padding:11px 14px;
  border-radius:999px;
  color:#cde7fa;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  transition:background .2s ease, color .2s ease;
}

.ve-anchor-bar a:hover{
  color:#fff;
  background:rgba(68,165,231,.16);
}

.ve-section{
  position:relative;
  padding:92px 0;
}

.ve-section--systems{
  background:
    radial-gradient(720px 420px at 78% 30%, rgba(255,157,47,.12), transparent 70%),
    linear-gradient(180deg,#061427 0%,#06182b 100%);
}

.ve-section--marine{
  background:
    linear-gradient(180deg, rgba(1,9,18,.14), rgba(2,8,17,.54)),
    radial-gradient(760px 460px at 18% 28%, rgba(44,147,219,.14), transparent 68%);
}

.ve-section-head{
  max-width:760px;
  margin-bottom:34px;
}

.ve-section-head--split{
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(320px, .72fr);
  gap:28px;
  align-items:end;
  max-width:none;
}

.ve-section-head h2,
.ve-builder__intro h2,
.ve-install__sticky h2,
.ve-inquiry__content h2{
  margin:14px 0 0;
  color:#fff;
  font-size:clamp(32px, 4vw, 58px);
  line-height:1.02;
  letter-spacing:-.055em;
  text-wrap:balance;
}

.ve-section-head p,
.ve-builder__intro p,
.ve-install__sticky p,
.ve-inquiry__content p{
  margin:16px 0 0;
  color:var(--ve-muted);
  font-size:17px;
  line-height:1.7;
}

.ve-section-head--split > p{
  margin:0;
}

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

.ve-system-tile{
  min-height:330px;
  display:flex;
  flex-direction:column;
  padding:22px;
  border:1px solid var(--ve-line);
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(14,43,68,.82), rgba(5,20,35,.86));
  box-shadow:var(--ve-shadow-soft);
  position:relative;
  overflow:hidden;
}

.ve-system-tile::after{
  content:"";
  position:absolute;
  inset:auto -40px -70px auto;
  width:160px;
  height:160px;
  border-radius:999px;
  background:rgba(51,158,232,.15);
  filter:blur(6px);
}

.ve-system-tile__icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#061423;
  background:linear-gradient(135deg,#dff4ff,#58c5ff 52%,#ffb75d);
  font-weight:950;
  letter-spacing:-.04em;
  box-shadow:0 16px 40px rgba(61,178,255,.2);
}

.ve-system-tile h3{
  margin:24px 0 0;
  color:#fff;
  font-size:22px;
  line-height:1.12;
  letter-spacing:-.03em;
}

.ve-system-tile p{
  margin:14px 0 0;
  color:#c2d5e5;
  font-size:15px;
  line-height:1.6;
}

.ve-system-tile span:not(.ve-kicker){
  display:block;
  margin-top:auto;
  padding-top:18px;
  color:#92cfff;
  font-size:12px;
  line-height:1.45;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.ve-builder{
  background:
    radial-gradient(720px 540px at 76% 45%, rgba(50,164,244,.18), transparent 70%),
    linear-gradient(180deg,#06182b 0%,#04111f 100%);
}

.ve-builder__grid{
  display:grid;
  grid-template-columns:minmax(0, .85fr) minmax(420px, 1.15fr);
  gap:34px;
  align-items:start;
}

.ve-builder__intro{
  position:sticky;
  top:160px;
}

.ve-builder__choices{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

.ve-choice,
.ve-filter{
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  color:#dcecf8;
  background:rgba(255,255,255,.06);
  font-size:13px;
  font-weight:850;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.ve-choice:hover,
.ve-filter:hover{
  transform:translateY(-1px);
  color:#fff;
  border-color:rgba(89,189,255,.38);
}

.ve-choice.is-active,
.ve-filter.is-active{
  color:#06111d;
  border-color:rgba(255,200,120,.7);
  background:linear-gradient(135deg, #d9f5ff, #5ac4ff 48%, #ffad4b);
}

.ve-builder__result-wrap{
  min-height:540px;
  position:relative;
}

.ve-builder-result{
  display:none;
  min-height:540px;
  padding:34px;
  border-radius:34px;
  border:1px solid var(--ve-line-strong);
  background:
    linear-gradient(180deg, rgba(8,31,51,.9), rgba(2,13,24,.92)),
    url('/assets/img/brands/victron-energy/header-monitor.jpg') center/cover no-repeat;
  box-shadow:var(--ve-shadow);
  overflow:hidden;
  position:relative;
}

.ve-builder-result::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 320px at 76% 18%, rgba(255,157,47,.18), transparent 66%),
    linear-gradient(90deg, rgba(2,13,24,.96), rgba(3,16,28,.75));
  z-index:0;
}

.ve-builder-result > *{
  position:relative;
  z-index:1;
}

.ve-builder-result.is-active{
  display:flex;
  flex-direction:column;
  animation:veFadeIn .28s ease both;
}

.ve-builder-result h3{
  margin:16px 0 0;
  max-width:640px;
  color:#fff;
  font-size:clamp(30px, 4.4vw, 56px);
  line-height:1.04;
  letter-spacing:-.05em;
}

.ve-builder-result p{
  max-width:680px;
  margin:18px 0 0;
  color:#d5e7f5;
  font-size:17px;
  line-height:1.65;
}

.ve-builder-result ul{
  display:grid;
  gap:10px;
  margin:28px 0 0;
  padding:0;
  list-style:none;
}

.ve-builder-result li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#c8e4f8;
  font-size:15px;
  line-height:1.45;
}

.ve-builder-result li::before{
  content:"";
  width:10px;
  height:10px;
  margin-top:.42em;
  border-radius:999px;
  background:linear-gradient(135deg, var(--ve-blue-2), var(--ve-orange));
  flex:0 0 auto;
}

.ve-inline-link{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding-top:34px;
  color:#ffe0a8;
  font-weight:900;
  text-decoration:none;
}

.ve-inline-link::after{
  content:"→";
  transition:transform .2s ease;
}

.ve-inline-link:hover::after{
  transform:translateX(4px);
}

.ve-products{
  background:
    radial-gradient(960px 600px at 18% 18%, rgba(255,157,47,.09), transparent 70%),
    linear-gradient(180deg,#04111f 0%,#06182b 100%);
}

.ve-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 26px;
}

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

.ve-product-card{
  display:flex;
  flex-direction:column;
  min-height:430px;
  border:1px solid var(--ve-line);
  border-radius:26px;
  background:linear-gradient(180deg, rgba(11,33,53,.84), rgba(3,16,28,.92));
  box-shadow:var(--ve-shadow-soft);
  overflow:hidden;
  isolation:isolate;
  transition:transform .22s ease, border-color .22s ease, opacity .22s ease;
}

.ve-product-card:hover{
  transform:translateY(-4px);
  border-color:rgba(83,191,255,.46);
}

.ve-product-card.is-hidden{
  display:none;
}

.ve-product-card__image{
  position:relative;
  z-index:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 210px;
  height:210px;
  padding:18px 18px 14px;
  overflow:hidden;
  border-bottom:1px solid rgba(140,206,255,.12);
  background:
    radial-gradient(160px 110px at 50% 46%, rgba(255,255,255,.2), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
}

.ve-product-card__image img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:176px;
  object-fit:contain;
  object-position:center;
  filter:drop-shadow(0 18px 26px rgba(0,0,0,.35));
}

.ve-product-card__body{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  flex:1;
  padding:20px;
  background:linear-gradient(180deg, rgba(5,20,35,.98), rgba(3,16,28,.96));
}

.ve-chip{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  color:#bbecff;
  border:1px solid rgba(96,192,255,.27);
  background:rgba(61,165,235,.11);
  font-size:11px;
  line-height:1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.ve-product-card h3{
  margin:16px 0 0;
  color:#fff;
  font-size:20px;
  line-height:1.16;
  letter-spacing:-.03em;
}

.ve-product-card p{
  margin:12px 0 0;
  color:#bed4e5;
  font-size:14px;
  line-height:1.58;
  overflow-wrap:anywhere;
}

.ve-marine-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.ve-marine-card{
  min-height:225px;
  padding:24px;
  border-radius:28px;
  border:1px solid var(--ve-line);
  background:
    linear-gradient(145deg, rgba(10,35,57,.82), rgba(3,15,27,.88));
  box-shadow:var(--ve-shadow-soft);
  position:relative;
  overflow:hidden;
}

.ve-marine-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg, var(--ve-blue-2), var(--ve-orange));
  opacity:.9;
}

.ve-marine-card h3{
  margin:0;
  color:#fff;
  font-size:22px;
  line-height:1.16;
  letter-spacing:-.03em;
}

.ve-marine-card p{
  margin:14px 0 0;
  color:#c7d9e7;
  font-size:15px;
  line-height:1.62;
}

.ve-install{
  background:
    radial-gradient(740px 520px at 84% 24%, rgba(255,157,47,.11), transparent 70%),
    linear-gradient(180deg,#020c18 0%,#061427 100%);
}

.ve-install__grid{
  display:grid;
  grid-template-columns:minmax(0, .8fr) minmax(440px, 1.2fr);
  gap:44px;
  align-items:start;
}

.ve-install__sticky{
  position:sticky;
  top:160px;
}

.ve-install__sticky img{
  margin-top:32px;
  border-radius:28px;
  border:1px solid var(--ve-line);
  background:rgba(255,255,255,.04);
  box-shadow:var(--ve-shadow-soft);
}

.ve-steps{
  display:grid;
  gap:14px;
}

.ve-step{
  display:grid;
  grid-template-columns:86px minmax(0, 1fr);
  gap:18px;
  padding:24px;
  border:1px solid var(--ve-line);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(9,32,53,.74), rgba(4,17,30,.88));
  box-shadow:var(--ve-shadow-soft);
}

.ve-step > span{
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  border-radius:20px;
  color:#06111d;
  background:linear-gradient(135deg, #e5f6ff, #61c7ff 48%, #ffb75d);
  font-size:20px;
  font-weight:950;
  letter-spacing:-.05em;
}

.ve-step h3{
  margin:0;
  color:#fff;
  font-size:22px;
  line-height:1.14;
}

.ve-step p{
  margin:10px 0 0;
  color:#c6d9e7;
  font-size:15px;
  line-height:1.62;
}

.ve-gallery-section{
  background:#061427;
}

.ve-gallery{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  grid-auto-rows:260px;
  gap:16px;
}

.ve-gallery__item{
  position:relative;
  margin:0;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--ve-line);
  background:#071b2e;
  box-shadow:var(--ve-shadow-soft);
}

.ve-gallery__item:first-child{
  grid-row:span 2;
}

.ve-gallery__item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
  transition:transform .5s ease;
}

.ve-gallery__item:hover img{
  transform:scale(1.07);
}

.ve-gallery__item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 44%, rgba(2,8,17,.82));
}

.ve-gallery__item figcaption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  z-index:1;
  color:#fff;
  font-weight:900;
  line-height:1.25;
}

.ve-inquiry{
  padding-bottom:110px;
  background:
    radial-gradient(800px 560px at 14% 38%, rgba(40,147,230,.16), transparent 70%),
    radial-gradient(860px 600px at 78% 28%, rgba(255,157,47,.15), transparent 74%),
    linear-gradient(180deg,#061427 0%,#020811 100%);
}

.ve-inquiry__grid{
  display:grid;
  grid-template-columns:minmax(0, .92fr) minmax(420px, 1.08fr);
  gap:34px;
  align-items:start;
  padding:34px;
  border:1px solid var(--ve-line-strong);
  border-radius:38px;
  background:
    linear-gradient(135deg, rgba(9,31,51,.78), rgba(2,12,22,.92)),
    url('/assets/img/brands/victron-energy/header-discover.jpg') center/cover no-repeat;
  box-shadow:var(--ve-shadow);
  overflow:hidden;
}

.ve-inquiry__content{
  min-width:0;
}

.ve-contact-card{
  display:grid;
  gap:10px;
  margin-top:30px;
  padding:22px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(2,12,22,.62);
  backdrop-filter:blur(14px);
}

.ve-contact-card span{
  color:#93d4ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.ve-contact-card a{
  color:#fff;
  font-weight:850;
  text-decoration:none;
}

.ve-contact-card a:hover{
  color:#ffd69a;
}

.ve-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:24px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(2,10,19,.76);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 60px rgba(0,0,0,.36);
}

.ve-form label{
  display:grid;
  gap:8px;
  min-width:0;
}

.ve-form label span{
  color:#c8dbea;
  font-size:12px;
  font-weight:850;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.ve-form input,
.ve-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  color:#fff;
  background:rgba(255,255,255,.07);
  outline:none;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ve-form input{
  min-height:52px;
  padding:0 16px;
}

.ve-form textarea{
  resize:vertical;
  min-height:160px;
  padding:16px;
  line-height:1.5;
}

.ve-form input::placeholder,
.ve-form textarea::placeholder{
  color:rgba(220,236,248,.54);
}

.ve-form input:focus,
.ve-form textarea:focus{
  border-color:rgba(92,198,255,.72);
  background:rgba(255,255,255,.1);
  box-shadow:0 0 0 4px rgba(50,162,239,.14);
}

.ve-form__wide,
.ve-form__submit,
.ve-form__note{
  grid-column:1 / -1;
}

.ve-form__submit{
  width:100%;
  border:0;
}

.ve-form__note{
  margin:0;
  color:#bed3e3;
  font-size:13px;
  line-height:1.5;
}

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

@media (max-width:1180px){
  .ve-hero__grid,
  .ve-builder__grid,
  .ve-install__grid,
  .ve-inquiry__grid{
    grid-template-columns:1fr;
  }

  .ve-hero{
    min-height:auto;
  }

  .ve-hero__visual{
    max-width:820px;
  }

  .ve-slider{
    min-height:520px;
  }

  .ve-builder__intro,
  .ve-install__sticky{
    position:relative;
    top:auto;
  }

  .ve-system-grid,
  .ve-product-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:920px){
  .ve-hero{
    padding:62px 0 54px;
  }

  .ve-shell{
    width:min(100% - 28px, 760px);
  }

  .ve-logo-strip{
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
  }

  .ve-logo-strip img{
    width:164px;
  }

  .ve-section-head--split,
  .ve-metrics__grid,
  .ve-marine-grid{
    grid-template-columns:1fr 1fr;
  }

  .ve-section-head--split > p{
    margin-top:0;
  }

  .ve-anchor-bar{
    top:72px;
  }

  .ve-gallery{
    grid-template-columns:1fr 1fr;
    grid-auto-rows:230px;
  }

  .ve-gallery__item:first-child{
    grid-column:1 / -1;
    grid-row:span 1;
  }
}

@media (max-width:720px){
  .ve-hero h1{
    font-size:clamp(42px, 13vw, 62px);
  }

  .ve-lead,
  .ve-section-head p,
  .ve-builder__intro p,
  .ve-install__sticky p,
  .ve-inquiry__content p{
    font-size:16px;
  }

  .ve-slider{
    min-height:430px;
    border-radius:26px;
  }

  .ve-system-card{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    margin-top:14px;
  }

  .ve-metrics{
    margin-top:0;
    padding-top:24px;
  }

  .ve-metrics__grid,
  .ve-section-head--split,
  .ve-system-grid,
  .ve-product-grid,
  .ve-marine-grid,
  .ve-gallery,
  .ve-form{
    grid-template-columns:1fr;
  }

  .ve-section{
    padding:70px 0;
  }

  .ve-builder-result{
    min-height:0;
    padding:26px;
    border-radius:28px;
  }

  .ve-builder__result-wrap{
    min-height:0;
  }

  .ve-product-card{
    min-height:auto;
  }

  .ve-product-card__image{
    flex-basis:190px;
    height:190px;
    padding:16px 16px 12px;
  }

  .ve-product-card__image img{
    max-height:158px;
  }

  .ve-step{
    grid-template-columns:1fr;
  }

  .ve-inquiry__grid{
    padding:20px;
    border-radius:30px;
  }

  .ve-form{
    padding:18px;
    border-radius:24px;
  }
}

@media (max-width:480px){
  .ve-shell{
    width:min(100% - 22px, 460px);
  }

  .ve-hero{
    padding-top:44px;
  }

  .ve-hero__actions,
  .ve-btn{
    width:100%;
  }

  .ve-slider{
    min-height:360px;
  }

  .ve-slide figcaption{
    left:14px;
    right:14px;
    bottom:14px;
    justify-content:center;
  }

  .ve-slider__dots{
    left:16px;
    top:16px;
  }

  .ve-metric,
  .ve-system-tile,
  .ve-marine-card,
  .ve-step{
    padding:20px;
    border-radius:22px;
  }

  .ve-anchor-bar{
    top:68px;
  }
}


/* Victron card safety: keep product visuals inside the media area and never over text. */
.ve-product-card__image{
  overflow:hidden;
}
.ve-product-card__image img{
  max-height:176px;
}
.ve-product-card__body{
  position:relative;
  z-index:2;
}


@media (max-width:760px){
  .ve-product-card__image{
    flex-basis:190px;
    height:190px;
  }
  .ve-product-card__image img{
    max-height:158px;
  }
}
