/*----------- victron -----------*/
#victron { padding-top: 110px }
#victron section { padding: 60px 40px }
#victron h2 { color: #50bd84; font-family: 'Cabin', sans-serif; font-size: 2.4em; letter-spacing: -1px; margin-bottom: 36px; text-align: center }
#victron .vcGrid { display: grid; gap: 28px; margin: auto; max-width: 1180px }
#victron .vcGrid.three { grid-template-columns: repeat(3,1fr) }
.vcHero { text-align: center }
.vcHero h1 { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-size: 3.4em; letter-spacing: -1px; line-height: 1.15em; margin: 26px auto 18px; max-width: 860px }
.vcHero p { font-size: 1.3em; line-height: 1.5em; margin: 0 auto; max-width: 740px }
.vcHero .skewBtn { margin: 30px auto 0 auto }
.vcBadge { align-items: center; border: 2px solid #11449b; display: inline-flex; flex-direction: column; gap: 6px; padding: 14px 30px }
.vcBadge img { max-height: 40px }
.vcWordmark { color: #11449b; font-family: 'Cabin', sans-serif; font-size: 1.8em; font-weight: 700; letter-spacing: -1px }
.vcTitle { color: #11449b; font-size: 1em; font-weight: 600; letter-spacing: 1px; text-transform: uppercase }
.vcWhy { background-color: #e4f5ec }
.vcWhy .vcGrid > div { text-align: center }
.vcWhy i { color: #45b77b; font-size: 2.6em; margin-bottom: 14px }
.vcWhy h3, .vcCard h3, .vcProject h3 { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-size: 1.4em; margin-bottom: 8px }
.vcWhy p, .vcCard p, .vcProject p { font-size: 1.1em; line-height: 1.45em }
.vcCard { border: 1px solid #d7ebe0; border-left: 4px solid #50bd84; padding: 26px 24px }
.vcCard i { color: #45b77b; font-size: 2em; margin-bottom: 12px }
.vcProject figure img { height: 100%; object-fit: cover; width: 100% }
.vcProject figure { align-items: center; overflow: hidden; background-color: #eef1f4; color: #8a949e; display: flex; height: 200px; justify-content: center; margin-bottom: 14px }
.vcCta { background-color: #0e4a7f; text-align: center }
#victron .vcCta h2 { color: #fff }
.vcCta .skewBtn { margin: 0 auto }
.vcLinks { margin-top: 30px }
.vcLinks a { color: #b3e2c9; text-decoration: underline }
.vcNote { color: #9db8cf; font-size: .85em; margin-top: 14px }
@media only screen and (max-width:900px) {
	#victron .vcGrid.three { grid-template-columns: repeat(1,1fr) }
	.vcHero h1 { font-size: 2.4em }
}
@media only screen and (max-width:480px) {
	#victron { padding-top: 80px }
	#victron section { padding: 40px 22px }
	.vcHero h1 { font-size: 1.9em }
	#victron h2 { font-size: 1.9em }
}

/*----------- home banner -----------*/
#victronBanner { height: 64px; margin-top: 150px; align-items: center; background-color: #f1f5fb; border-bottom: 1px solid #dbe4f3; border-top: 1px solid #dbe4f3; color: #11449b; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; padding: 0 28px; transition: background-color 0.3s ease }
#victronBanner:hover { background-color: #e4ecf8 }
#victronBanner img { height: 46px; width: auto }
#victronBanner .vbText { font-size: 1.2em; line-height: 1.3em }
#victronBanner .vbText strong { font-weight: 700 }
#victronBanner .vbLink { border-bottom: 2px solid #50bd84; color: #0e4a7f; font-family: 'Cabin', sans-serif; font-weight: 700; padding-bottom: 2px; text-transform: uppercase }
#victronBanner .vbLink i { margin-left: 6px }
/* hero sits right below the banner: header (150px) + banner (64px) */
#victronBanner + #wrapSlider #mainSlider .item { height: calc(100vh - 214px); min-height: 520px }
@media only screen and (max-width:1040px) {
	#victronBanner { margin-top: 114px }
	#victronBanner + #wrapSlider #mainSlider .item { height: calc(var(--vh, 1vh) * 100 - 210px); min-height: 520px }
}
@media only screen and (max-width:880px) {
	#victronBanner + #wrapSlider { margin-top: 24px }
	#victronBanner + #wrapSlider #mainSlider .item { height: auto; min-height: 0 }
}
@media only screen and (max-width:700px) {
	#victronBanner { flex-direction: column; gap: 8px; height: auto; padding: 14px 22px; text-align: center }
	#victronBanner .vbText { font-size: 1.1em }
}
@media only screen and (max-width:620px) {
	#victronBanner { margin-top: 96px }
}

/*----------- main nav: 7 items (Blog included) + Cotizar button + language -----------*/
@media only screen and (min-width:1041px) {
	#mainNav > ul { grid-template-columns: repeat(9,auto) }
}
@media only screen and (min-width:1041px) and (max-width:1500px) {
	#mainNav > ul > li.item > a { font-size: 1em; padding-left: 10px; padding-right: 10px }
	#mainNav > ul > li.navCta > a { padding: 9px 16px }
}
#mainNav > ul > li.navCta > a {
	background-color: #50bd84;
	color: #fff !important;
	margin: 0 20px 0 14px;
	padding: 10px 20px;
	text-transform: uppercase;
	transform: skew(-18deg);
	transition: all 0.3s ease;
}
#mainNav > ul > li.navCta > a span { border-bottom: none !important; display: inline-block; padding-bottom: 0; transform: skew(18deg) }
#mainNav > ul > li.navCta > a:hover { background-color: #0e4a7f }
@media only screen and (max-width:1040px) {
	#mainNav > ul > li.navCta > a { display: table; margin: 14px auto 6px auto; padding: 14px 34px }
}

/*----------- quick quote popup -----------*/
.quickQuote { max-width: 600px }
.quickQuote h2 { margin-bottom: 8px }
.quickQuote .qIntro { font-size: 1.15em; margin-bottom: 22px; text-align: center }
.quickQuote .col50 { gap: 0 20px }
.quickQuote form { margin-bottom: 0 }
.quickQuote #btnQuick { margin: 6px auto 0 auto }
.quickQuote .qTrap { height: 0; left: -9999px; overflow: hidden; position: absolute; width: 0 }
#qDone { text-align: center }
#qDone h2 { text-align: center }
#qDone h2 i { color: #50bd84; margin-right: 6px }
.quickQuote .qWa { background-color: #25d366; border-radius: 4px; color: #fff; display: inline-block; font-family: 'Cabin', sans-serif; font-size: 1.15em; font-weight: 700; margin: 6px 0 18px 0; padding: 12px 24px }
.quickQuote .qWa i { font-size: 1.3em; margin-right: 8px; vertical-align: -2px }
.quickQuote .qWa:hover { background-color: #1da851 }
.quickQuote .qMore { color: #0e4a7f; display: block; font-weight: 600; text-decoration: underline }

/* small laptops: logo and menu share a narrow header */
@media only screen and (min-width:1041px) and (max-width:1180px) {
	header #logo, header.change #logo { left: 20px }
	header #logo svg, header.change #logo svg, header.blue #logo svg, header.change.v2Nav #logo svg { height: 40px; width: 150px }
	header #mainNav, header.change #mainNav { right: 14px }
	#mainNav > ul > li.item > a { font-size: .9em; padding-left: 5px; padding-right: 5px }
	#mainNav > ul > li.navCta > a { margin: 0 14px 0 8px; padding: 8px 13px }
}

/*----------- home page: hero buttons, live numbers, cards, steps, projects, closing CTA, EHS strip -----------*/
.heroBtns { align-items: center; display: flex; flex-wrap: wrap; gap: 0 22px }
#mainSlider .textBox a.heroQuote { background-color: transparent; border: 2px solid #50bd84; color: #50bd84; padding: 12px 22px }
#mainSlider .textBox a.heroQuote:hover { background-color: #50bd84; color: #fff }

.hpSection { padding: 70px 40px }
.hpWrap { margin: auto; max-width: 1180px }
.hpSection h2 { color: #50bd84; font-family: 'Cabin', sans-serif; font-size: 2.6em; letter-spacing: -1px; line-height: 1.15em; margin-bottom: 36px; text-align: center }
.hpSection h3 { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-size: 1.4em; margin-bottom: 8px }
.hpSection p { font-size: 1.1em; line-height: 1.5em }

.hpStats { background-color: #0e4a7f }
.hpStats h2 { color: #fff }
.hpStatGrid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr) }
.hpStatGrid > div { text-align: center }
.hpStatGrid strong { color: #fff; display: block; font-family: 'Cabin', sans-serif; font-size: 3em; font-weight: 700; line-height: 1.1em }
.hpStatGrid strong small { color: #5dcc93; font-size: .45em; font-weight: 600 }
.hpStatGrid span { color: #d9e8f3; display: block; font-size: 1.1em; line-height: 1.35em; margin-top: 8px }
.hpStatGrid em { color: #5dcc93; display: block; font-size: 1em; font-style: normal; font-weight: 600; margin-top: 6px }
.hpStats .hpNote { color: #9db8cf; font-size: .95em; margin-top: 34px; text-align: center }

.hpCardGrid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr) }
.hpCard { border: 1px solid #d7ebe0; border-top: 4px solid #50bd84; padding: 30px 26px; text-align: center }
.hpCard > i { color: #45b77b; font-size: 2.4em; margin-bottom: 14px }
.hpCard a { color: #0e4a7f; display: inline-block; font-family: 'Cabin', sans-serif; font-weight: 700; margin-top: 16px; text-transform: uppercase }
.hpCard a:hover { color: #50bd84 }
.hpCard a i { margin-left: 6px }

.hpSteps { background-color: #e4f5ec }
.hpStepList { counter-reset: none; display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); list-style: none }
.hpStepList li { list-style: none; text-align: center }
.hpStepList li span { align-items: center; background-color: #50bd84; border-radius: 50%; color: #fff; display: inline-flex; font-family: 'Cabin', sans-serif; font-size: 1.5em; font-weight: 700; height: 52px; justify-content: center; margin-bottom: 14px; width: 52px }

.hpProjGrid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr) }
.hpProjGrid a { display: block }
.hpProjGrid figure { background-position: center; background-size: cover; height: 220px; margin-bottom: 12px }
.hpMore { margin-top: 30px; text-align: center }
.hpMore a { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-weight: 700; text-transform: uppercase }
.hpMore a:hover { color: #50bd84 }

.hpCta { background-color: #0e4a7f; text-align: center }
.hpCta h2 { color: #fff; margin-bottom: 14px }
.hpCta p { color: #d9e8f3 }
.hpCtaBtns { align-items: center; display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: center; margin-top: 8px }
.hpCtaBtns .skewBtn { margin: 22px 0 0 0 }
.hpWa { color: #fff; font-family: 'Cabin', sans-serif; font-size: 1.15em; font-weight: 600; margin-top: 22px }
.hpWa i { color: #25d366; font-size: 1.4em; margin-right: 6px; vertical-align: -2px }
.hpWa:hover { color: #5dcc93 }

.hpEhs { background-color: #f5f5f5; padding: 36px 40px }
.hpEhs h2 { color: #424242; font-size: 1.3em; letter-spacing: 0; margin-bottom: 14px; text-align: center }
.hpEhs ul { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center }
.hpEhs li { list-style: none }
.hpEhs a { color: #0e4a7f; font-weight: 600; text-decoration: underline }
.hpEhs a:hover { color: #50bd84 }

@media only screen and (max-width:1000px) {
	.hpStepList { grid-template-columns: repeat(2, 1fr) }
}
@media only screen and (max-width:760px) {
	.hpStatGrid { grid-template-columns: repeat(1, 1fr) }
}
@media only screen and (max-width:860px) {
	.hpCardGrid, .hpProjGrid { grid-template-columns: repeat(1, 1fr) }
	.hpSection h2 { font-size: 2em }
}
@media only screen and (max-width:520px) {
	.hpSection { padding: 44px 22px }
	.hpStatGrid, .hpStepList { grid-template-columns: repeat(1, 1fr) }
	.hpStatGrid strong { font-size: 2.6em }
}

/* Specialties: 3 cards on the first row, 2 wider cards on the second */
#victron .vcSkills .vcGrid.three { grid-template-columns: repeat(6, 1fr) }
#victron .vcSkills .vcCard { grid-column: span 2 }
#victron .vcSkills .vcCard:nth-child(n+4) { grid-column: span 3 }
@media only screen and (max-width:900px) {
	#victron .vcSkills .vcGrid.three { grid-template-columns: repeat(1, 1fr) }
	#victron .vcSkills .vcCard, #victron .vcSkills .vcCard:nth-child(n+4) { grid-column: auto }
}

/*----------- news article components (scoped to .ar) -----------*/
.mainText .ar { color: #424242 }
.mainText .ar p { font-size: 1.1em; line-height: 1.65em; margin-bottom: 16px }
.mainText .ar a { color: #0e4a7f; font-weight: 600; text-decoration: underline }
.mainText .ar a:hover { color: #50bd84 }
.mainText .ar .ar-badge { align-items: center; background: #fff; border: 2px solid #0e4a7f; border-radius: 4px; display: inline-flex; gap: 14px; margin: 0 0 20px; padding: 10px 16px }
.mainText .ar .ar-badge img { display: block; height: 34px; width: auto }
.mainText .ar .ar-badge span { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase }
.mainText .ar p.ar-lead { color: #42566a; font-family: 'Cabin', sans-serif; font-size: 1.45em; line-height: 1.4em; margin-bottom: 10px }
.mainText .ar p.ar-by { color: #667b8d; font-size: .95em; margin-bottom: 22px }
.mainText .ar h3.ar-h { font-size: 1.9em; line-height: 1.2em; margin: 40px 0 12px }
.mainText .ar h4.ar-sub { color: #1f7a52; font-size: 1.3em; margin: 28px 0 6px }
.mainText .ar .ar-fig { margin: 20px 0 8px }
.mainText .ar .ar-fig img { border: 1px solid #dbe4ec; border-radius: 8px; display: block; height: auto; max-width: 100%; width: 100% }
.mainText .ar .ar-cap { color: #667b8d; font-size: .95em; margin-top: 8px }
.mainText .ar .ar-cards { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 10px }
.mainText .ar .ar-cards.ar-c2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.mainText .ar .ar-cards > div { background: #fff; border: 1px solid #dbe4ec; border-radius: 10px; min-width: 0; padding: 14px 16px }
.mainText .ar .ar-ct { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-size: 1.25em; font-weight: 700; margin-bottom: 4px }
.mainText .ar .ar-cards p { color: #42566a; font-size: 1em; line-height: 1.5em; margin: 0 }
.mainText .ar .ar-thumb { border: 1px solid #dbe4ec; border-radius: 6px; display: block; height: 120px; margin-bottom: 10px; object-fit: cover; object-position: top left; width: 100% }
.mainText .ar .ar-two { column-gap: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); margin: 16px 0 6px }
.mainText .ar .ar-col { display: grid; grid-row: span 5; grid-template-rows: subgrid; min-width: 0 }
.mainText .ar .ar-ch { color: #0e4a7f; font-family: 'Cabin', sans-serif; font-size: 1.35em; font-weight: 700 }
.mainText .ar .ar-cs { color: #667b8d; font-size: .95em; margin-bottom: 10px }
.mainText .ar .ar-aud { display: contents }
.mainText .ar .ar-item { border-left: 3px solid #50bd84; margin-bottom: 14px; padding: 2px 0 2px 14px }
.mainText .ar .ar-item b { color: #0e4a7f; display: block; font-family: 'Cabin', sans-serif; font-size: 1.15em; margin-bottom: 2px }
.mainText .ar .ar-item span { color: #42566a; display: block; font-size: 1.05em; line-height: 1.5em }
.mainText .ar ul.ar-list { list-style: disc; margin: 0 0 16px; padding-left: 22px }
.mainText .ar ul.ar-list li { font-size: 1.1em; line-height: 1.6em; margin-bottom: 6px }
.mainText .ar .ar-cta { background: #0e4a7f; border-radius: 12px; margin: 40px 0 18px; padding: 26px 24px }
.mainText .ar .ar-cta .ar-ch { color: #fff; font-size: 1.7em; margin-bottom: 6px }
.mainText .ar .ar-cta p { color: #dbe9f5; margin-bottom: 16px }
.mainText .ar .ar-cta a.ar-btn { border-radius: 4px; display: inline-block; font-family: 'Cabin', sans-serif; font-size: 1em; font-weight: 700; letter-spacing: .03em; margin: 0 10px 8px 0; padding: 11px 20px; text-decoration: none; text-transform: uppercase }
.mainText .ar .ar-cta a.ar-btn.p { background: #50bd84; color: #08241a }
.mainText .ar .ar-cta a.ar-btn.s { border: 1px solid #9fc3e2; color: #fff }
.mainText .ar p.ar-links { font-size: 1em }
.mainText .ar p.ar-fine { color: #667b8d; font-size: .85em }
@media only screen and (max-width:760px) {
	.mainText .ar .ar-cards, .mainText .ar .ar-cards.ar-c2 { grid-template-columns: repeat(1, minmax(0, 1fr)) }
	.mainText .ar .ar-two { display: block }
	.mainText .ar .ar-col { display: block }
	.mainText .ar .ar-aud { display: block }
	.mainText .ar .ar-col + .ar-col { margin-top: 18px }
	.mainText .ar h3.ar-h { font-size: 1.6em }
}

/* News article page wrapper (ndetail uses an id, not the .wrapNdetail class) */
#wrapNdetail { max-width: 900px; margin: 0 auto; padding: 190px 24px 60px; box-sizing: border-box }
#wrapNdetail > h1 { position: static; left: auto; top: auto; width: auto; transform: none; font-size: 1.1em; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px }
@media (max-width: 760px) { #wrapNdetail { padding: 130px 18px 40px } }
