/*
Theme Name: Learning HUB
Theme URI: https://360learning.ro
Author: 360 Learning HUB SRL
Description: Tema site-ului 360learning.ro — catalog de cursuri autorizate (tip de conținut „Curs", filtre, pagini de curs), bloc pentru proiecte cu fonduri europene, formular unic de cerere cu email + Google Sheets, SEO de bază. Fără page builder, fără dependențe externe.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietar — 360 Learning HUB SRL
Text Domain: learninghub
*/

/* ---------- Fonturi (găzduite local) ---------- */
@font-face {
	font-family: "League Spartan";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(assets/fonts/league-spartan-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "League Spartan";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(assets/fonts/league-spartan-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(assets/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url(assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variabile ---------- */
:root {
	--lh-bg: #F1EFE7;          /* crem — fundalul logoului */
	--lh-bg-alt: #E9E5DA;      /* bej mai închis pentru secțiuni alternative */
	--lh-surface: #FFFFFF;
	--lh-surface-soft: #FAF8F3;
	--lh-ink: #141414;
	--lh-ink-2: #3D3A35;
	--lh-muted: #6A655C;
	--lh-line: #DCD7CB;
	--lh-accent: #141414;      /* negru — acțiuni principale, ca în logo */
	--lh-accent-hover: #3A352E;
	--lh-on-accent: #F1EFE7;   /* text pe butoanele negre */
	--lh-sand: #A8875A;        /* nisip — detalii decorative (iconițe, puncte, linii) */
	--lh-sand-ink: #7A5F38;    /* nisip închis — text pe crem (contrast AA) */
	--lh-accent-soft: #E9E0CF; /* nisip deschis — fundalul blocului fonduri UE */
	--lh-accent-line: #D6C6A8;
	--lh-ok: #1F6B45;
	--lh-err: #A3262A;

	--lh-font-head: "League Spartan", "Helvetica Neue", Arial, sans-serif;
	--lh-font-body: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

	--lh-max: 1180px;
	--lh-narrow: 780px;
	--lh-gutter: clamp(16px, 4vw, 32px);
	--lh-radius: 14px;
	--lh-radius-sm: 9px;
	--lh-shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 6px 24px rgba(20, 20, 20, .06);
	--lh-section: clamp(56px, 8vw, 104px);
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
	margin: 0;
	background: var(--lh-bg);
	color: var(--lh-ink);
	font-family: var(--lh-font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--lh-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--lh-sand); }
a:hover { color: var(--lh-sand-ink); }
:focus-visible { outline: 3px solid var(--lh-accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 {
	font-family: var(--lh-font-head);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	color: var(--lh-ink);
	text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
mark.lh-missing { background: #FFE9A8; color: #5A4300; padding: 0 .25em; border-radius: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.lh-skip { position: absolute; left: 12px; top: -60px; background: var(--lh-ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.lh-skip:focus { top: 12px; color: #fff; }
.lh-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Layout ---------- */
.lh-container { width: 100%; max-width: calc(var(--lh-max) + 2 * var(--lh-gutter)); margin: 0 auto; padding: 0 var(--lh-gutter); }
.lh-container--narrow { max-width: calc(var(--lh-narrow) + 2 * var(--lh-gutter)); }
.lh-section { padding: var(--lh-section) 0; }
.lh-section--alt { background: var(--lh-bg-alt); }
.lh-section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.lh-section__head h2 { margin: 0; }
.lh-grid { display: grid; gap: 20px; }
.lh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.lh-grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 400px) { .lh-grid--cards, .lh-grid--3, .lh-grid--2 { grid-template-columns: 1fr; } }
.lh-muted { color: var(--lh-muted); }
.lh-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lh-sand-ink); margin-bottom: .8em; }
.lh-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--lh-ink-2); max-width: 46em; }
.lh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* ---------- Butoane ---------- */
.lh-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--lh-font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.lh-btn--primary, .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--lh-accent); color: var(--lh-on-accent); }
.lh-btn--primary:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--lh-accent-hover); color: var(--lh-on-accent); }
.lh-btn--ghost, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--lh-ink); border-color: var(--lh-ink); }
.lh-btn--ghost:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--lh-ink); color: #fff; }
.lh-btn--sm { min-height: 40px; padding: 8px 18px; font-size: .94rem; }
.lh-btn--block { width: 100%; }
.lh-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--lh-ink); }
.lh-link-arrow .lh-icon { width: 18px; height: 18px; transition: transform .15s; }
.lh-link-arrow:hover { color: var(--lh-sand-ink); }
.lh-link-arrow:hover .lh-icon { transform: translateX(3px); }

/* ---------- Antet ---------- */
.lh-header { position: sticky; top: 0; z-index: 50; background: rgba(241, 239, 231, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lh-header.is-scrolled { border-bottom-color: var(--lh-line); }
.lh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.lh-logo img, .custom-logo { width: auto; height: 56px; }
.lh-nav { display: flex; align-items: center; gap: 28px; }
.lh-menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.lh-menu a { color: var(--lh-ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.lh-menu a:hover, .lh-menu .current-menu-item > a, .lh-menu .current-page-ancestor > a, .lh-menu .current-menu-ancestor > a { border-bottom-color: var(--lh-sand); color: var(--lh-ink); }
.lh-nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--lh-ink); cursor: pointer; }
.lh-nav-toggle .lh-icon { width: 28px; height: 28px; }
.lh-nav-toggle__close { display: none; }
@media (max-width: 1060px) {
	.lh-nav-toggle { display: block; }
	.lh-nav {
		position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px;
		background: var(--lh-bg); padding: 12px var(--lh-gutter) 28px; border-bottom: 1px solid var(--lh-line);
		box-shadow: 0 18px 30px rgba(20, 20, 20, .08);
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
		max-height: calc(100vh - 76px); overflow-y: auto;
	}
	.lh-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.lh-menu { flex-direction: column; gap: 0; }
	.lh-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--lh-line); font-size: 1.08rem; }
	.lh-menu a:hover, .lh-menu .current-menu-item > a { border-bottom-color: var(--lh-line); color: var(--lh-sand-ink); }
	.lh-nav__cta { margin-top: 14px; }
	.lh-nav-toggle[aria-expanded="true"] .lh-nav-toggle__open { display: none; }
	.lh-nav-toggle[aria-expanded="true"] .lh-nav-toggle__close { display: block; }
}
@media (max-width: 560px) { .lh-logo img, .custom-logo { height: 42px; } }

/* ---------- Hero-uri ---------- */
.lh-page-hero { padding: clamp(40px, 7vw, 84px) 0 clamp(28px, 4vw, 48px); }
.lh-page-hero h1 { max-width: 18em; }
.lh-page-hero--center { text-align: center; padding: 110px 0; }
.lh-page-hero--center .lh-lead, .lh-page-hero--center h1 { margin-inline: auto; }
.lh-page-hero--center .lh-actions { justify-content: center; }
.lh-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--lh-muted); margin-bottom: 22px; }
.lh-breadcrumb a { color: var(--lh-muted); text-decoration: none; }
.lh-breadcrumb a:hover { color: var(--lh-sand-ink); text-decoration: underline; }

/* ---------- Conținut din editor (secțiuni full-width) ---------- */
.lh-content > * { max-width: calc(var(--lh-narrow) + 2 * var(--lh-gutter)); margin-left: max(0px, calc((100% - var(--lh-max) - 2 * var(--lh-gutter)) / 2)); margin-right: auto; padding-left: var(--lh-gutter); padding-right: var(--lh-gutter); }
.lh-content > ul, .lh-content > ol { padding-left: calc(var(--lh-gutter) + 1.3em); }
.lh-content > .wp-block-group,
.lh-content > .alignfull { max-width: none; padding-left: max(var(--lh-gutter), calc((100% - var(--lh-max)) / 2)); padding-right: max(var(--lh-gutter), calc((100% - var(--lh-max)) / 2)); }
.lh-content > .wp-block-group { padding-top: var(--lh-section); padding-bottom: var(--lh-section); margin: 0; }
.lh-content > .wp-block-group.lh-tight-top { padding-top: 0; }
.lh-content > .lh-eu { max-width: none; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.lh-content > .alignfull { margin-left: 0; margin-right: 0; }
.lh-content > .wp-block-group:not([class*="lh-bg-"]) + .wp-block-group:not([class*="lh-bg-"]) { padding-top: 0; }
.lh-content > p:last-child, .lh-content > ul:last-child { margin-bottom: var(--lh-section); }
.lh-content > h2 { margin-top: 1.6em; }
.lh-content--legal > * { font-size: 1rem; }
.lh-content .wp-block-group > * { margin-top: 0; }
.wp-block-group.lh-bg-alt { background: var(--lh-bg-alt); }
.wp-block-group.lh-bg-white { background: var(--lh-surface); }
.wp-block-group.lh-bg-ink { background: var(--lh-ink); color: #EDEAE2; }
.wp-block-group.lh-bg-ink h2, .wp-block-group.lh-bg-ink h3 { color: #fff; }
.wp-block-group.lh-bg-ink a:not(.wp-block-button__link) { color: #D8C3A0; }
.wp-block-group.lh-bg-ink .lh-lead { color: #CFCAC0; }
.wp-block-group.lh-bg-ink .lh-eyebrow { color: #CDB083; }
.wp-block-group.lh-bg-ink .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--lh-ink); }
.wp-block-group.lh-bg-ink .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.wp-block-group.lh-narrow > * { max-width: var(--lh-narrow); }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.wp-block-columns + .wp-block-columns { margin-top: 24px; }
.wp-block-group > .wp-block-columns { margin-top: 28px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.wp-block-list { padding-left: 1.2em; }
.wp-block-heading.lh-section-title { max-width: 18em; }
.wp-block-image img { border-radius: var(--lh-radius); }

/* Hero homepage */
.wp-block-group.lh-hero { padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.lh-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 13em; letter-spacing: -0.025em; }
.lh-hero h1 em { font-style: normal; color: var(--lh-sand-ink); }
.lh-hero .lh-lead { margin-top: 18px; }
.lh-hero::after {
	content: ""; position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(168, 135, 90, .22), rgba(168, 135, 90, 0) 62%); pointer-events: none;
}
.lh-proof { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--lh-ink-2); font-weight: 600; font-size: .95rem; }
.lh-proof li { display: flex; align-items: center; gap: 8px; }
.lh-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lh-sand); }

/* Carduri de „direcții" din editor */
.wp-block-columns.lh-pillars .wp-block-column {
	background: var(--lh-surface); border-radius: var(--lh-radius); padding: 30px 28px; box-shadow: var(--lh-shadow);
	display: flex; flex-direction: column;
}
.wp-block-columns.lh-pillars .wp-block-column > :last-child { margin-top: auto; margin-bottom: 0; }
.lh-pillars .lh-pill-num { font-family: var(--lh-font-head); font-weight: 700; color: var(--lh-sand-ink); font-size: .95rem; letter-spacing: .1em; margin-bottom: 18px; }
.lh-pillars h3 { font-size: 1.5rem; }

/* ---------- Carduri ---------- */
.lh-card { background: var(--lh-surface); border-radius: var(--lh-radius); padding: 26px; box-shadow: var(--lh-shadow); }
.lh-card--flat { box-shadow: none; border: 1px solid var(--lh-line); background: var(--lh-surface-soft); }
.lh-card--flat .lh-icon { color: var(--lh-sand); margin-bottom: 12px; width: 28px; height: 28px; }
.lh-card--flat h3 { font-size: 1.15rem; }
.lh-card--flat p:last-child { margin-bottom: 0; }

.lh-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--lh-accent-soft); color: var(--lh-sand-ink); }
.lh-chip .lh-icon { width: 15px; height: 15px; }
.lh-chip--calificare { background: #141414; color: #F1EFE7; }
.lh-chip--perfectionare { background: #E3E0D6; color: #3D3A35; }
.lh-chip--competente-cheie { background: transparent; color: #3D3A35; box-shadow: inset 0 0 0 1px #BDB6A6; }
.lh-chip--outline { background: transparent; border: 1px solid var(--lh-accent-line); }

/* ---------- Card de curs ---------- */
.lh-ccard { position: relative; display: flex; flex-direction: column; background: var(--lh-surface); border: 1px solid var(--lh-line); border-radius: var(--lh-radius); padding: 22px 22px 18px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.lh-ccard:hover { border-color: #BFB39C; box-shadow: 0 14px 34px rgba(20, 20, 20, .08); transform: translateY(-2px); }
.lh-ccard[hidden] { display: none; }
.lh-ccard__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.lh-ccard__auth { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--lh-sand-ink); }
.lh-ccard__auth .lh-icon { width: 16px; height: 16px; color: var(--lh-sand); }
.lh-ccard__title { font-size: 1.3rem; line-height: 1.15; margin: 0; }
.lh-ccard__title a { color: var(--lh-ink); text-decoration: none; }
.lh-ccard__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--lh-radius); }
.lh-ccard__code { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--lh-muted); margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.lh-ccard__text { color: var(--lh-ink-2); font-size: .95rem; line-height: 1.55; margin: 12px 0 0; }
.lh-ccard__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: auto 0 0; padding-top: 18px; }
.lh-ccard__facts > div { background: var(--lh-bg); padding: 10px 12px; }
.lh-ccard__facts > div:first-child { border-radius: 8px 0 0 8px; }
.lh-ccard__facts > div:last-child { border-radius: 0 8px 8px 0; }
.lh-ccard__facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lh-muted); }
.lh-ccard__facts dd { margin: 2px 0 0; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.lh-ccard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.lh-ccard__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--lh-ink); }
.lh-ccard__more .lh-icon { width: 18px; height: 18px; transition: transform .15s; }
.lh-ccard:hover .lh-ccard__more .lh-icon { transform: translateX(3px); }
.lh-ccard__offer { position: relative; z-index: 1; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--lh-ink); padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--lh-ink); transition: background .15s, color .15s; }
.lh-ccard__offer:hover { background: var(--lh-ink); color: var(--lh-on-accent); }
.lh-grid--cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* ---------- Catalog: antet ---------- */
.lh-cat-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: linear-gradient(180deg, var(--lh-bg) 0%, var(--lh-bg-alt) 100%); border-bottom: 1px solid var(--lh-line); margin-bottom: clamp(32px, 4vw, 48px); }
.lh-cat-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
@media (max-width: 900px) { .lh-cat-hero__grid { grid-template-columns: 1fr; align-items: start; } }
.lh-cat-hero h1 { margin-bottom: .3em; }
.lh-cat-hero .lh-lead { margin-bottom: 0; }
.lh-search { background: var(--lh-surface); border-radius: var(--lh-radius); padding: 20px; box-shadow: var(--lh-shadow); }
.lh-search__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lh-muted); margin-bottom: 10px; }
.lh-search__field { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--lh-line); border-radius: 999px; padding: 5px 5px 5px 16px; background: var(--lh-surface-soft); transition: border-color .15s, box-shadow .15s; }
.lh-search__field:focus-within { border-color: var(--lh-ink); box-shadow: 0 0 0 3px rgba(168, 135, 90, .28); background: #fff; }
.lh-search__field .lh-icon { color: var(--lh-muted); }
.lh-search__field input { border: 0; background: transparent; min-height: 40px; padding: 0 4px; box-shadow: none !important; flex: 1; min-width: 0; }
.lh-search__field input::-webkit-search-cancel-button { cursor: pointer; }
.lh-search__hint { font-size: .85rem; color: var(--lh-muted); margin: 12px 0 0; }
.lh-tiles { list-style: none; padding: 0; margin: clamp(28px, 4vw, 40px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .lh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lh-tile { display: grid; align-content: start; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; height: 100%; padding: 16px 18px; border-radius: var(--lh-radius-sm); background: rgba(255, 255, 255, .6); border: 1px solid var(--lh-line); text-decoration: none; color: var(--lh-ink); transition: background .15s, border-color .15s, color .15s; }
.lh-tile:hover { background: #fff; border-color: #BFB39C; color: var(--lh-ink); }
.lh-tile.is-active { background: var(--lh-ink); border-color: var(--lh-ink); color: var(--lh-on-accent); }
.lh-tile__n { grid-row: 1 / 3; font-family: var(--lh-font-head); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--lh-sand); padding-top: 2px; min-width: 1.2em; }
.lh-tile__name { font-weight: 800; font-size: 1rem; }
.lh-tile__desc { font-size: .82rem; line-height: 1.4; color: var(--lh-muted); }
.lh-tile.is-active .lh-tile__desc { color: #CFCAC0; }
@media (max-width: 560px) { .lh-tile__desc { display: none; } .lh-tile { align-items: center; } }

/* ---------- Catalog: rezultate și filtre ---------- */
.lh-cat { scroll-margin-top: 90px; }
.lh-cat__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--lh-line); }
.lh-cat__count { margin: 0; font-size: 1rem; }
.lh-cat__count strong { font-family: var(--lh-font-head); font-size: 1.5rem; }
.lh-cat__bar-right { display: flex; align-items: center; gap: 10px; }
.lh-cat__sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--lh-muted); }
.lh-cat__sort select { min-height: 42px; width: auto; padding-top: 8px; padding-bottom: 8px; font-size: .94rem; font-weight: 600; background-color: var(--lh-surface); }
.lh-cat__toggle { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--lh-ink); background: transparent; font: inherit; font-weight: 700; font-size: .94rem; color: var(--lh-ink); cursor: pointer; }
.lh-cat__toggle .lh-icon { width: 20px; height: 20px; }
.lh-cat__badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--lh-ink); color: var(--lh-on-accent); font-size: .78rem; padding: 0 6px; }
.lh-cat__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.lh-cat__side { position: sticky; top: 96px; display: grid; gap: 18px; }
.lh-cat__form { background: var(--lh-surface); border: 1px solid var(--lh-line); border-radius: var(--lh-radius); padding: 6px 18px 16px; }
.lh-cat__group { border: 0; margin: 0; padding: 16px 0 12px; border-bottom: 1px solid var(--lh-line); min-width: 0; }
.lh-cat__group legend { float: left; width: 100%; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lh-ink); margin-bottom: 10px; }
.lh-cat__group legend + * { clear: both; }
.lh-cat__hint { font-size: .82rem; color: var(--lh-muted); margin: 0 0 6px; line-height: 1.4; }
.lh-check { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: .94rem; line-height: 1.3; }
.lh-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lh-check__box { flex: none; width: 18px; height: 18px; border: 1.5px solid #B3AA98; border-radius: 5px; background: #fff; display: grid; place-items: center; transition: all .12s; }
.lh-check--radio .lh-check__box { border-radius: 50%; }
.lh-check input:checked + .lh-check__box { background: var(--lh-ink); border-color: var(--lh-ink); }
.lh-check input:checked + .lh-check__box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.lh-check--radio input:checked + .lh-check__box::after { width: 6px; height: 6px; border: 0; border-radius: 50%; background: #fff; transform: none; }
.lh-check input:focus-visible + .lh-check__box { outline: 3px solid var(--lh-sand); outline-offset: 2px; }
.lh-check:hover .lh-check__box { border-color: var(--lh-ink); }
.lh-check__label { flex: 1; }
.lh-check__n { font-size: .8rem; font-weight: 700; color: var(--lh-muted); background: var(--lh-bg); border-radius: 999px; padding: 1px 8px; }
.lh-cat__actions { padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lh-cat__reset { font-size: .9rem; font-weight: 700; color: var(--lh-muted); }
.lh-cat__help { background: var(--lh-ink); color: #DCD7CB; border-radius: var(--lh-radius); padding: 20px 18px; font-size: .92rem; }
.lh-cat__help p { margin: 0 0 12px; }
.lh-cat__help-title { color: #fff; font-family: var(--lh-font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.lh-cat__help .lh-btn--primary { background: var(--lh-on-accent); color: var(--lh-ink); }
.lh-cat__help .lh-btn--primary:hover { background: #fff; color: var(--lh-ink); }
.lh-cat__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #fff; font-weight: 700; text-decoration: none; }
.lh-cat__phone .lh-icon { width: 18px; height: 18px; color: var(--lh-sand); }
.lh-cat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lh-cat__chips:not(:empty) { margin-bottom: 18px; }
.lh-cat__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--lh-surface); border: 1px solid var(--lh-line); font: inherit; font-size: .86rem; font-weight: 600; color: var(--lh-ink); cursor: pointer; }
.lh-cat__chip:hover { border-color: var(--lh-ink); }
.lh-cat__chip span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--lh-bg); font-size: .8rem; line-height: 1; }
.lh-cat__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.lh-cat__empty { background: var(--lh-surface); border: 1px dashed #BFB39C; padding: 36px 28px; border-radius: var(--lh-radius); text-align: center; }
.lh-cat__empty-title { font-family: var(--lh-font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
@media (max-width: 960px) {
	.lh-cat__layout { grid-template-columns: 1fr; }
	.lh-cat__toggle { display: inline-flex; }
	.lh-cat__side { position: static; display: none; }
	.lh-cat__side.is-open { display: grid; }
	.lh-cat__help { display: none; }
}
@media (max-width: 480px) {
	.lh-cat__sort > span { display: none; }
}

/* ---------- Pagina de curs ---------- */
.lh-course-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--lh-line); }
.lh-course-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lh-course-hero h1 { max-width: 20em; }
.lh-course-hero__code { display: inline-block; font-size: .42em; vertical-align: middle; font-family: var(--lh-font-body); font-weight: 700; letter-spacing: 0; color: var(--lh-muted); border: 1px solid var(--lh-line); border-radius: 8px; padding: 4px 10px; margin-left: 6px; transform: translateY(-4px); }
.lh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--lh-line); border: 1px solid var(--lh-line); border-radius: var(--lh-radius); overflow: hidden; margin: 30px 0 0; max-width: 920px; }
.lh-facts > div { background: var(--lh-surface-soft); padding: 16px 18px; }
.lh-facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lh-muted); }
.lh-facts dd { margin: 4px 0 0; font-weight: 700; line-height: 1.35; }
.lh-course-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .lh-course-body { grid-template-columns: 1fr; } }
.lh-course-section + .lh-course-section { margin-top: 48px; }
.lh-course-section h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lh-course-aside { position: sticky; top: 100px; }
@media (max-width: 960px) { .lh-course-aside { position: static; order: -1; } }
.lh-sheet__title { font-size: 1.25rem; }
.lh-sheet dl { margin: 0 0 22px; display: grid; grid-template-columns: 1fr; }
.lh-sheet dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lh-muted); padding-top: 12px; border-top: 1px solid var(--lh-line); }
.lh-sheet dt:first-child { border-top: 0; padding-top: 0; }
.lh-sheet dd { margin: 3px 0 12px; font-weight: 600; font-size: .96rem; }
.lh-sheet dd .lh-muted { font-weight: 500; font-size: .88rem; }
.lh-sheet__phone { text-align: center; font-size: .92rem; margin: 12px 0 0; color: var(--lh-muted); }
.lh-steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.lh-steps-list li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; background: var(--lh-surface); border-radius: var(--lh-radius-sm); padding: 14px 16px; font-weight: 600; line-height: 1.4; }
.lh-steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--lh-font-head); color: var(--lh-sand-ink); font-weight: 700; min-width: 1.6em; }
.lh-checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.lh-checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.lh-checklist .lh-icon { color: var(--lh-sand); width: 20px; height: 20px; margin-top: 2px; }
.lh-checklist--cols { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 24px; }
.lh-prose > *:last-child { margin-bottom: 0; }
.lh-prose { max-width: 46em; }

/* ---------- Bloc fonduri UE ---------- */
.lh-eu { background: var(--lh-accent-soft); padding: var(--lh-section) 0; border-top: 1px solid var(--lh-accent-line); border-bottom: 1px solid var(--lh-accent-line); }
.lh-eu__head { max-width: 760px; margin-bottom: 34px; }
.lh-eu__intro { font-size: 1.12rem; color: var(--lh-ink-2); }
.lh-eu__card h3 { font-size: 1.2rem; }
.lh-eu__card p { margin: 0; color: var(--lh-ink-2); font-size: .97rem; }
.lh-eu__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--lh-bg); color: var(--lh-ink); margin-bottom: 16px; }
.lh-eu__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 0; }

/* ---------- Cum lucrăm ---------- */
.lh-how { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: none; }
.lh-how__step { position: relative; padding: 26px 24px; background: var(--lh-surface); border-radius: var(--lh-radius); box-shadow: var(--lh-shadow); }
.lh-how__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lh-ink); color: #fff; font-family: var(--lh-font-head); font-weight: 700; margin-bottom: 16px; padding-top: 3px; }
.lh-how__step h3 { font-size: 1.18rem; }
.lh-how__step p { margin: 0; color: var(--lh-ink-2); font-size: .97rem; }

/* ---------- FAQ ---------- */
.lh-faq, .lh-content .wp-block-details { border-top: 1px solid var(--lh-line); }
.lh-faq { max-width: var(--lh-narrow); }
.lh-faq__item, .wp-block-details { border-bottom: 1px solid var(--lh-line); padding: 0; margin: 0 !important; }
.lh-faq__item summary, .wp-block-details summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.06rem; }
.lh-faq__item summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.lh-faq__item summary::after, .wp-block-details summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--lh-sand); border-bottom: 2px solid var(--lh-sand); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.lh-faq__item[open] summary::after, .wp-block-details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.lh-faq__item p, .wp-block-details > p { margin: 0 0 20px; color: var(--lh-ink-2); max-width: 44em; }
.lh-content .wp-block-details + .wp-block-details { border-top: 0; }

/* ---------- Formular ---------- */
.lh-form-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; scroll-margin-top: 96px; }
.lh-content > .lh-form-wrap { max-width: calc(var(--lh-max) + 2 * var(--lh-gutter)); padding: var(--lh-section) var(--lh-gutter); margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .lh-form-wrap { grid-template-columns: 1fr; } }
.lh-form-intro h2 { margin-bottom: .4em; }
.lh-form-intro > p { color: var(--lh-ink-2); }
.lh-form-direct { margin-top: 20px; font-weight: 600; }
.lh-form-card { background: var(--lh-surface); border-radius: var(--lh-radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--lh-shadow); }
.lh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 600px) { .lh-form { grid-template-columns: 1fr; } }
.lh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.lh-field--full { grid-column: 1 / -1; }
.lh-field[hidden] { display: none; }
.lh-field > label, .lh-field > legend { font-weight: 700; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.lh-req { color: var(--lh-sand-ink); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--lh-ink); background: var(--lh-surface-soft);
	border: 1.5px solid var(--lh-line); border-radius: var(--lh-radius-sm); padding: 11px 14px; min-height: 48px;
	transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141414' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lh-accent); box-shadow: 0 0 0 3px rgba(168, 135, 90, .28); background-color: #fff; }
textarea { min-height: 110px; resize: vertical; }
.lh-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 600px) { .lh-options { grid-template-columns: 1fr; } }
.lh-option { position: relative; display: block; }
.lh-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lh-option span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--lh-line); border-radius: var(--lh-radius-sm); font-weight: 600; font-size: .95rem; line-height: 1.3; background: var(--lh-surface-soft); transition: all .15s; height: 100%; }
.lh-option span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--lh-line); background: #fff; transition: all .15s; }
.lh-option input:checked + span { border-color: var(--lh-accent); background: var(--lh-accent-soft); color: var(--lh-ink); }
.lh-option input:checked + span::before { border-color: var(--lh-accent); box-shadow: inset 0 0 0 4px #fff; background: var(--lh-accent); }
.lh-option input:focus-visible + span { outline: 3px solid var(--lh-accent); outline-offset: 2px; }
.lh-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 500; line-height: 1.5; }
.lh-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--lh-accent); }
.lh-form-note { font-size: .85rem; color: var(--lh-muted); margin: 10px 0 0; text-align: center; }
.lh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lh-alert { border-radius: var(--lh-radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: .96rem; }
.lh-alert p { margin: 4px 0 0; }
.lh-alert--ok { background: #E6F2EA; color: var(--lh-ok); border: 1px solid #BFDCCB; }
.lh-alert--err { background: #F8E7E7; color: var(--lh-err); border: 1px solid #EBC3C4; }

/* ---------- Contact ---------- */
.lh-contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--lh-ink); }
.lh-contact-card .lh-icon { color: var(--lh-sand); width: 28px; height: 28px; margin-bottom: 12px; }
.lh-contact-card__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lh-muted); }
.lh-contact-card strong { font-size: 1.12rem; word-break: break-word; }
.lh-contact-card__hint { font-size: .9rem; color: var(--lh-muted); margin-top: 6px; }
a.lh-contact-card:hover strong { color: var(--lh-sand-ink); }

/* ---------- Subsol ---------- */
.lh-footer { background: var(--lh-ink); color: #CFCAC0; padding: 72px 0 28px; font-size: .95rem; }
.lh-footer a { color: #EDEAE2; text-decoration: none; }
.lh-footer a:hover { color: #fff; text-decoration: underline; }
.lh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid #2E2C29; }
@media (max-width: 900px) { .lh-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lh-footer__grid { grid-template-columns: 1fr; } }
.lh-footer__logo { height: 56px; width: auto; filter: invert(1); margin-bottom: 16px; }
.lh-footer__brand p { max-width: 30em; }
.lh-footer__title { font-family: var(--lh-font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8F897E; margin-bottom: 16px; }
.lh-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lh-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.lh-footer__contact .lh-icon { width: 18px; height: 18px; color: #CDB083; margin-top: 4px; }
.lh-footer__social { display: flex; gap: 16px; margin-top: 18px; }
.lh-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 24px; font-size: .86rem; }
.lh-footer__company { margin: 0; }
.lh-footer__menu { display: flex !important; flex-wrap: wrap; gap: 8px 20px !important; }
.lh-anpc { display: flex; flex-wrap: wrap; gap: 8px; }
.lh-anpc__badge { display: inline-block; border: 1px solid #4A4742; border-radius: 6px; padding: 6px 10px; font-size: .78rem; font-weight: 600; }

/* ---------- Diverse ---------- */
.lh-post-item { padding: 24px 0; border-bottom: 1px solid var(--lh-line); }
.lh-pill-note { display: inline-block; background: var(--lh-accent-soft); color: var(--lh-sand-ink); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.lh-demo-shot { background: var(--lh-surface); border-radius: var(--lh-radius); box-shadow: var(--lh-shadow); padding: 18px; }

@media print {
	.lh-header, .lh-footer, .lh-form-wrap, .lh-eu { display: none; }
	body { background: #fff; }
}

/* Ajustări catalog pe mobil */
.lh-cat__badge[hidden] { display: none; }
@media (max-width: 560px) {
	.lh-tiles { gap: 8px; }
	.lh-tile { padding: 12px; column-gap: 10px; }
	.lh-tile__n { font-size: 1.5rem; }
	.lh-tile__name { font-size: .9rem; line-height: 1.25; word-break: normal; hyphens: auto; }
	.lh-search { padding: 16px; }
}
