/*
 * HeregMob – remedieri accesibilitate (WCAG 2.1 AA)
 * Audit: 29.11.2026 – vezi AUDIT-ACCESIBILITATE.md
 *
 * Selectoarele au prefix "body" ca să aibă specificitate mai mare decât
 * CSS-ul generat de Elementor, indiferent de ordinea de încărcare.
 *
 * Culoare: doar FUNDALUL butonului „Sună” din header e închis (#B05A00).
 * Textele portocalii (supratitluri, contoare, linkuri, hover footer) rămân
 * #F07C00, la cererea proprietarului (30.11.2026). Notă: #F07C00 pe alb are
 * contrast 2,77:1 (sub 4,5:1 cerut de WCAG AA) – excepție asumată.
 */

:root {
	--hm-accent-text: #B05A00;
}

/* ---------------------------------------------------------------
 * Butonul „Sună” din header (template 147, widget 55ef3b5)
 * text alb pe #F07C00 = 2,77:1  →  text alb pe #B05A00 = 4,87:1
 * ------------------------------------------------------------- */
body .elementor-147 .elementor-element.elementor-element-55ef3b5 .elementor-button {
	background-color: var(--hm-accent-text);
	border-color: var(--hm-accent-text);
}

/* Filtrele galeriei (Toate / Living / …) – devin butoane din JS;
 * aici doar le arătăm ca element interactiv. */
body .jkit-gallery .filter-controls li.jkit-gallery-control {
	cursor: pointer;
}

/* ---------------------------------------------------------------
 * Titluri mutate pe alt nivel (modulul headings.php): păstrăm exact
 * aspectul de dinainte acolo unde stilul global al noului nivel ar
 * adăuga spațiere între litere / altă înălțime de rând.
 * ------------------------------------------------------------- */
body .elementor-466 .elementor-element-7cabc99 h3,
body .elementor-466 .elementor-element-837f209 h3,
body .elementor-466 .elementor-element-7cb5bbc h3,
body .elementor-466 .elementor-element-8fc3731 h3,
body .elementor-461 .elementor-element-bcfe8ed h3,
body .elementor-461 .elementor-element-8035bec h3,
body .elementor-461 .elementor-element-b52537d h3,
body .elementor-461 .elementor-element-7b17f3f h3,
body .elementor-461 .elementor-element-92ea663 h3,
body .elementor-461 .elementor-element-3c592cb5 h3,
body .elementor-1009 .elementor-element-3e6e2c00 h3,
body .elementor-1009 .elementor-element-1f0d4091 h3,
body .elementor-1009 .elementor-element-e8dbebf h3,
body .elementor-1009 .elementor-element-daae4b0 h3 {
	letter-spacing: normal;
	text-transform: none;
	line-height: 1.2;
}

/* Titluri H3 → H2: setarea globală H3 nu avea font, deci foloseau
 * fontul sistemului; H2 global are Inter. Păstrăm fontul de dinainte. */
body .elementor-element-79c9fd00 h2.elementor-heading-title,
body .elementor-element-1fbd1863 h2.elementor-heading-title,
body .elementor-290 .elementor-element-20b7cd0 h2.elementor-heading-title {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body .elementor-503 .elementor-element-5aa1641 h3.elementor-heading-title {
	line-height: 1;
}

body .elementor-290 .elementor-element-20b7cd0 h2.elementor-heading-title {
	line-height: 1.4em;
}

body .elementor-564 .elementor-element-60ebd95 h1.elementor-heading-title {
	letter-spacing: 1px;
}

/* ---------------------------------------------------------------
 * Indicator de focus vizibil pe orice fundal (2.4.7, 1.4.11)
 * Inel dublu: alb lipit de element + contur închis în exterior,
 * deci se vede atât pe fundal alb cât și pe albastru / închis.
 * Apare doar la navigarea cu tastatura (:focus-visible).
 * ------------------------------------------------------------- */
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body summary:focus-visible,
body [tabindex]:not([tabindex="-1"]):focus-visible,
body .elementor-button:focus-visible {
	outline: 3px solid #1F2937 !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 3px #FFFFFF !important;
	transition: none !important;
}

/* Link „Sari la conținut” – vizibil și lizibil când primește focus */
body .skip-link.screen-reader-text:focus {
	background: #FFFFFF;
	color: #0062AA;
	font-weight: 700;
	padding: 12px 16px;
	z-index: 100000;
}

/* ---------------------------------------------------------------
 * Mișcare redusă (2.3.3 / bună practică)
 * Oprește animațiile de intrare Elementor, tranzițiile și efectele
 * pentru cei care au setat „reduce motion” în sistemul de operare.
 * ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.elementor-invisible {
		visibility: visible !important;
	}
}
