/*
 * JP Elna Frontend – stiluri generale: Home (CTA, fapte, banda de contact), contrast, bara fixa de contact pe mobil.
 * Stil plat (fara umbre), paleta accesibila: albastru de text #0577a0 (5,06:1 pe alb), verde #0f7f43.
 */
:root {
	--jp-blue: #0577a0;
	--jp-blue-brand: #0694c6;
	--jp-ink: #1f2933;
	--jp-green: #0f7f43;
}

/* ---------- butoane ---------- */
.jp-cbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	min-height: 52px;
	padding: 0 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 700 19px/1.1 "Open Sans", -apple-system, system-ui, "Segoe UI", sans-serif;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.jp-cbtn svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.jp-cbtn--primary { background: var(--jp-blue); border-color: var(--jp-blue); color: #fff !important; }
.jp-cbtn--primary:hover { background: #045f82; border-color: #045f82; }
.jp-cbtn--ghost { background: transparent; border-color: var(--jp-blue); color: var(--jp-blue) !important; }
.jp-cbtn--ghost:hover { background: var(--jp-blue); color: #fff !important; }
.jp-cbtn--wa { background: var(--jp-green); border-color: var(--jp-green); color: #fff !important; }
.jp-cbtn--wa:hover { background: #0b6535; border-color: #0b6535; }
.jp-cbtn:focus-visible,
.jp-mbar__a:focus-visible { outline: 3px solid var(--jp-blue-brand); outline-offset: 3px; }

/* ---------- hero: butoane una langa alta (pe mobil una sub alta) ---------- */
.elementor-widget-button.elementor-element-0404693 > .elementor-widget-container,
.elementor-widget-button.elementor-element-49aa0ce > .elementor-widget-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
}
.jp-hero-cta { display: contents; }
.jp-hero-cta .jp-cbtn { min-height: 60px; }
.jp-hero-cta .jp-cbtn--primary { order: -2; }
.jp-hero-cta .jp-cbtn--ghost { order: -1; }
@media (max-width: 767px) {
	.elementor-widget-button.elementor-element-0404693 > .elementor-widget-container,
	.elementor-widget-button.elementor-element-49aa0ce > .elementor-widget-container {
		flex-direction: column;
		align-items: stretch;
	}
	.elementor-widget-button.elementor-element-49aa0ce .elementor-button-wrapper,
	.elementor-widget-button.elementor-element-49aa0ce .elementor-button { width: 100%; box-sizing: border-box; text-align: center; }
	.jp-hero-cta .jp-cbtn { width: 100%; }
}

/* ---------- bara de fapte ---------- */
.jp-facts { max-width: 1140px; margin: 34px auto 0; padding: 0 20px; box-sizing: border-box; }
.jp-facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.jp-facts li {
	display: flex; flex-direction: column; gap: 6px; margin: 0;
	padding: 20px 22px; background: #f4f8fb; border: 1px solid #e3ebf1; border-radius: 14px;
}
.jp-facts strong { font: 700 20px/1.25 "Open Sans", sans-serif; color: var(--jp-ink); }
.jp-facts span { font: 400 15px/1.55 "Open Sans", sans-serif; color: #3e4a56; }
@media (max-width: 1024px) { .jp-facts ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
	.jp-facts { margin-top: 22px; }
	.jp-facts ul { grid-template-columns: 1fr; gap: 10px; }
	.jp-facts li { padding: 14px 16px; gap: 4px; }
	.jp-facts strong { font-size: 17px; }
	.jp-facts span { font-size: 14px; line-height: 1.5; }
}

/* H1 din hero: line-height-ul original (0.3em) e facut pentru un singur rand; pe 2 randuri liniile s-ar suprapune */
.elementor-element-54f138d .jp-hd,
.elementor-element-5a27de7 .jp-hd { line-height: 1.04; }

/* ---------- banda de contact (inainte de subsol) ---------- */
.jp-cta-band {
	max-width: 1140px; margin: 8px auto 110px; padding: 40px 28px; box-sizing: border-box;
	text-align: center; background: #eaf5fa; border: 1px solid #d3e8f1; border-radius: 20px;
}
.jp-cta-band__title { margin: 0 0 10px; font: 800 32px/1.2 "Open Sans", sans-serif; color: var(--jp-ink); letter-spacing: -.01em; }
.jp-cta-band__text { max-width: 640px; margin: 0 auto 24px; font: 400 17px/1.6 "Open Sans", sans-serif; color: #2f3b47; }
.jp-cta-band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 767px) {
	.jp-cta-band { margin: 4px 16px 60px; padding: 30px 18px; border-radius: 16px; }
	.jp-cta-band__title { font-size: 25px; }
	.jp-cta-band__btns { flex-direction: column; }
	.jp-cta-band__btns .jp-cbtn { width: 100%; }
}

/* ---------- contrast: etichetele albastre de deasupra titlurilor cardurilor (3,47:1 -> 5,06:1) ---------- */
.elementor-widget-text-editor.elementor-element-2f9b3a8, .elementor-widget-text-editor.elementor-element-2f9b3a8 p,
.elementor-widget-text-editor.elementor-element-756c0bb, .elementor-widget-text-editor.elementor-element-756c0bb p,
.elementor-widget-text-editor.elementor-element-2574a5f, .elementor-widget-text-editor.elementor-element-2574a5f p,
.elementor-widget-text-editor.elementor-element-70ee479, .elementor-widget-text-editor.elementor-element-70ee479 p,
.elementor-widget-text-editor.elementor-element-18141a5, .elementor-widget-text-editor.elementor-element-18141a5 p,
.elementor-widget-text-editor.elementor-element-f23fe80, .elementor-widget-text-editor.elementor-element-f23fe80 p,
.elementor-widget-text-editor.elementor-element-2e18f3c, .elementor-widget-text-editor.elementor-element-2e18f3c p,
.elementor-widget-text-editor.elementor-element-a15fa77, .elementor-widget-text-editor.elementor-element-a15fa77 p { color: var(--jp-blue) !important; }

/* ---------- bara fixa de contact pe telefon: doua butoane usoare (Suna / WhatsApp), fara umbre ---------- */
.jp-mbar { display: none; }
@media (max-width: 767px) {
	.jp-mbar {
		display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
		box-sizing: border-box; background: #fff; border-top: 1px solid #e6ecf0;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	}
	.jp-mbar__a {
		flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 9px;
		min-height: 46px; padding: 0 14px; box-sizing: border-box; border: 1.5px solid transparent; border-radius: 999px;
		font: 600 15px/1 "Open Sans", -apple-system, system-ui, sans-serif; letter-spacing: .01em;
		text-decoration: none !important; transition: background-color .15s, border-color .15s;
		-webkit-tap-highlight-color: transparent;
	}
	.jp-mbar__a svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
	.jp-mbar__a--call { background: #eef7fb; border-color: #cfe5ef; color: #046a8f !important; }
	.jp-mbar__a--call:active { background: #dcedf5; }
	.jp-mbar__a--wa { background: #edf8f1; border-color: #c6e6d3; color: #0b6535 !important; }
	.jp-mbar__a--wa svg { fill: #16a34f; }
	.jp-mbar__a--wa:active { background: #dbf0e4; }
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
	html.jp-lb-open .jp-mbar,
	html.jp-mnav-lock .jp-mbar { display: none; }
}
@media print { .jp-mbar { display: none !important; } }

/* ---------- contrast: butonul "Solicitare oferta" din antet (alb pe #0694c6 = 3,47:1); text mare+bold (19px/700) => prag 3:1, culoarea de brand ramane ---------- */
.elementor-element-4384ed9 .elementor-button,
.elementor-element-97247a5 .elementor-button,
.elementor-element-30a479f .elementor-button,
.elementor-element-4384ed9 .elementor-button-text,
.elementor-element-97247a5 .elementor-button-text,
.elementor-element-30a479f .elementor-button-text { font-size: 19px; font-weight: 700; }

/* ---------- Home: despre firma, pasi, intrebari frecvente (continut SEO/GEO vizibil), stil plat ---------- */
section.jp-geo { max-width: 1140px; margin: 0 auto; padding: 64px 20px 0; box-sizing: border-box; color: var(--jp-ink); font: 400 17px/1.65 "Open Sans", -apple-system, system-ui, sans-serif; }
section.jp-geo *, section.jp-geo *::before, section.jp-geo *::after { box-sizing: border-box; }
section.jp-geo h2.jp-geo__h2 { margin: 0 0 20px; padding: 0; font: 800 32px/1.2 "Open Sans", -apple-system, system-ui, sans-serif; letter-spacing: -.01em; color: var(--jp-ink); text-transform: none; }
section.jp-geo h3.jp-geo__h3 { margin: 28px 0 10px; padding: 0; font: 700 20px/1.3 "Open Sans", -apple-system, system-ui, sans-serif; letter-spacing: 0; color: var(--jp-ink); text-transform: none; }
section.jp-geo p { margin: 0 0 14px; font: inherit; color: #2f3b47; }
section.jp-geo p.jp-geo__lead { font-size: 19px; line-height: 1.6; color: var(--jp-ink); }
section.jp-geo a[href] { color: var(--jp-blue); text-decoration: underline; text-underline-offset: 2px; }
section.jp-geo a[href]:hover { color: #045f82; }
.jp-geo__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
section.jp-geo aside.jp-geo__card { background: #f4f8fb; border: 1px solid #e3ebf1; border-radius: 14px; padding: 24px 26px; }
section.jp-geo aside.jp-geo__card h3.jp-geo__h3 { margin-top: 0; }
.jp-geo__card dl { margin: 0; padding: 0; }
.jp-geo__card dl > div { padding: 10px 0; border-top: 1px solid #e3ebf1; }
.jp-geo__card dl > div:first-child { border-top: 0; padding-top: 0; }
.jp-geo__card dt { margin: 0 0 2px; font: 600 12.5px/1.3 "Open Sans", sans-serif; text-transform: uppercase; letter-spacing: .05em; color: #52606d; }
.jp-geo__card dd { margin: 0; font: 400 16px/1.5 "Open Sans", sans-serif; color: var(--jp-ink); overflow-wrap: anywhere; }
section.jp-geo ul.jp-geo__list { margin: 0 0 16px; padding: 0 0 0 20px; list-style: disc; }
section.jp-geo ul.jp-geo__list li { margin: 0 0 8px; font: inherit; color: #2f3b47; }
section.jp-geo p.jp-geo__more { margin-top: 6px; font-weight: 600; }
section.jp-geo ol.jp-geo__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
section.jp-geo ol.jp-geo__steps li { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 22px; background: #fff; border: 1px solid #e3ebf1; border-radius: 14px; }
.jp-geo__n { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--jp-blue); color: #fff; font: 700 16px/34px "Open Sans", sans-serif; text-align: center; }
.jp-geo__steps strong { font: 700 18px/1.3 "Open Sans", sans-serif; color: var(--jp-ink); }
.jp-geo__steps li > span:last-child { font: 400 15px/1.55 "Open Sans", sans-serif; color: #3e4a56; }
.jp-geo__faq { max-width: 860px; }
.jp-geo__faq details { border-bottom: 1px solid #e3ebf1; }
.jp-geo__faq details:first-child { border-top: 1px solid #e3ebf1; }
.jp-geo__faq summary { position: relative; display: block; padding: 18px 44px 18px 0; list-style: none; cursor: pointer; font: 700 18px/1.4 "Open Sans", sans-serif; color: var(--jp-ink); }
.jp-geo__faq summary::-webkit-details-marker { display: none; }
.jp-geo__faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 26px/1 "Open Sans", sans-serif; color: var(--jp-blue); }
.jp-geo__faq details[open] > summary::after { content: "\2013"; }
.jp-geo__faq summary:focus-visible { outline: 3px solid var(--jp-blue-brand); outline-offset: 2px; }
.jp-geo__ans { padding: 0 0 18px; }
section.jp-geo .jp-geo__ans p { margin: 0; }
section.jp-geo--faq { padding-bottom: 56px; }
@media (max-width: 1024px) {
	.jp-geo__grid { grid-template-columns: 1fr; gap: 28px; }
	section.jp-geo ol.jp-geo__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
	section.jp-geo { padding: 44px 16px 0; font-size: 16px; }
	section.jp-geo h2.jp-geo__h2 { font-size: 25px; margin-bottom: 16px; }
	section.jp-geo h3.jp-geo__h3 { font-size: 18px; }
	section.jp-geo p.jp-geo__lead { font-size: 17px; }
	section.jp-geo ol.jp-geo__steps { grid-template-columns: 1fr; gap: 10px; }
	section.jp-geo ol.jp-geo__steps li { padding: 16px 18px; }
	.jp-geo__faq summary { font-size: 16px; padding: 16px 40px 16px 0; }
	section.jp-geo--faq { padding-bottom: 36px; }
}
