/* H!Tech Contact — folosește culorile temei (merge pe temă închisă și deschisă) */
.htc2{
	--c-red: var(--red, #e10a17); --c-fg: var(--fg, #0a0a0d); --c-dim: var(--fg-dim, #45454c); --c-muted: var(--muted, #6b6b72);
	--c-card: var(--card, #fff); --c-card2: var(--card-2, #f7f7f9); --c-line: var(--line, rgba(10,10,13,.1)); --c-line2: var(--line-strong, rgba(10,10,13,.2));
	--c-input: var(--input-bg, #fff); --c-soft: var(--red-soft, rgba(225,10,23,.08)); --c-ok: var(--success, #158043);
	display:grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 0; color: var(--c-fg);
	background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-l, 28px); overflow: hidden;
	font-family: var(--f-body, Inter, system-ui, sans-serif); text-align: left; position: relative;
}
.htc2 *{ box-sizing: border-box; }
.htc2-page{ margin: 24px 0; }

/* coloana din stânga */
.htc2-side{ padding: 32px 28px; background: radial-gradient(120% 70% at 0% 0%, var(--c-soft), transparent 60%), var(--c-card2); border-right: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 14px; }
.htc2-kicker{ font: 600 11px/1 var(--f-mono, ui-monospace, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--c-red); }
.htc2-title{ font: 700 clamp(1.7rem, 3vw, 2.2rem)/1.05 var(--f-display, 'Space Grotesk', system-ui, sans-serif); margin: 0; letter-spacing: -.02em; color: var(--c-fg); }
.htc2-sub{ margin: 0; color: var(--c-dim); font-size: .95rem; line-height: 1.5; }
.htc2-quick{ display: grid; gap: 8px; margin-top: 6px; }
.htc2-q{ display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--c-line); background: var(--c-card); color: var(--c-fg) !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.htc2-q:hover{ border-color: var(--c-red); transform: translateY(-1px); }
.htc2-q i{ font-style: normal; font-size: 20px; width: 26px; text-align: center; }
.htc2-q span{ display: grid; line-height: 1.25; min-width: 0; }
.htc2-q b{ font-size: .93rem; }
.htc2-q small{ color: var(--c-muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.htc2-locs{ list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.htc2-locs li{ display: grid; gap: 2px; font-size: .85rem; }
.htc2-locs a{ color: var(--c-fg) !important; text-decoration: none !important; display: grid; }
.htc2-locs a:hover b{ color: var(--c-red); }
.htc2-locs span{ color: var(--c-muted); }
.htc2-locs em{ font-style: normal; color: var(--c-ok); font-size: .8rem; font-weight: 600; }

/* formularul */
.htc2-form{ padding: 30px 30px 26px; display: grid; gap: 18px; align-content: start; }
.htc2-hp{ position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.htc2-topics{ border: 0; margin: 0; padding: 0; min-width: 0; }
.htc2-topics legend{ font-weight: 700; font-size: .95rem; margin-bottom: 10px; padding: 0; color: var(--c-fg); }
.htc2-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.htc2-chip{ position: relative; cursor: pointer; margin: 0; }
.htc2-chip input{ position: absolute; opacity: 0; pointer-events: none; }
.htc2-chip span{ display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--c-line2); font-size: .88rem; font-weight: 600; color: var(--c-dim); transition: all .15s; user-select: none; }
.htc2-chip:hover span{ border-color: var(--c-red); color: var(--c-fg); }
.htc2-chip input:checked + span{ background: var(--c-red); border-color: var(--c-red); color: #fff; box-shadow: 0 6px 18px -8px var(--red-glow, rgba(225,10,23,.5)); }
.htc2-chip input:focus-visible + span{ outline: 2px solid var(--c-red); outline-offset: 2px; }

.htc2-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.htc2-wide{ grid-column: 1 / -1; }
.htc2-f{ display: grid; gap: 6px; margin: 0; position: relative; min-width: 0; }
.htc2-f[hidden]{ display: none; }
.htc2-f > span{ font-size: .8rem; font-weight: 600; color: var(--c-dim); }
.htc2-f > span i{ font-style: normal; font-weight: 400; color: var(--c-muted); }
.htc2-f input, .htc2-f select, .htc2-f textarea{
	width: 100%; font: inherit; font-size: .95rem; color: var(--c-fg); background: var(--c-input); border: 1px solid var(--c-line2);
	border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s; margin: 0; box-shadow: none; min-height: 0; height: auto;
}
.htc2-f textarea{ resize: vertical; min-height: 120px; line-height: 1.5; }
.htc2-f input:focus, .htc2-f select:focus, .htc2-f textarea:focus{ border-color: var(--c-red); box-shadow: 0 0 0 3px var(--c-soft); }
.htc2-f.is-bad input, .htc2-f.is-bad textarea{ border-color: var(--danger, #c81e2c); }
.htc2-count{ position: absolute; right: 10px; bottom: 8px; font-size: .72rem; color: var(--c-muted); pointer-events: none; }
.htc2-f input::placeholder, .htc2-f textarea::placeholder{ color: var(--c-muted); opacity: .8; }

.htc2-drop{ border: 1.5px dashed var(--c-line2); border-radius: 14px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.htc2-drop.is-over{ border-color: var(--c-red); background: var(--c-soft); }
.htc2-drop label{ cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: .9rem; margin: 0; color: var(--c-fg); }
.htc2-drop label i{ font-style: normal; }
.htc2-drop label span{ color: var(--c-muted); font-size: .8rem; }
.htc2-thumbs{ display: flex; flex-wrap: wrap; gap: 8px; }
.htc2-thumbs:not(:empty){ margin-top: 10px; }
.htc2-thumb{ position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--c-card2); display: grid; place-items: center; font-size: .7rem; color: var(--c-muted); border: 1px solid var(--c-line); }
.htc2-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.htc2-thumb button{ position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; line-height: 20px; padding: 0; cursor: pointer; }

.htc2-consent{ display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--c-dim); line-height: 1.45; margin: 0; cursor: pointer; }
.htc2-consent input{ margin-top: 2px; accent-color: var(--c-red); width: 16px; height: 16px; flex: none; }
.htc2-consent a{ color: var(--c-red); }
.htc2-consent.is-bad{ color: var(--danger, #c81e2c); }

.htc2-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.htc2-btn{ appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; background: var(--c-red) !important; color: #fff !important;
	font: 700 1rem/1 var(--f-body, Inter, system-ui, sans-serif); padding: 15px 24px; border-radius: 999px; transition: transform .15s, box-shadow .15s, opacity .15s; box-shadow: 0 10px 26px -12px var(--red-glow, rgba(225,10,23,.6)); }
.htc2-btn:hover{ transform: translateY(-1px); }
.htc2-btn i{ font-style: normal; transition: transform .2s; }
.htc2-btn:hover i{ transform: translateX(3px); }
.htc2-btn[disabled]{ opacity: .6; pointer-events: none; }
.htc2-btn.is-loading i{ animation: htc2spin .8s linear infinite; }
.htc2-btn-ghost{ background: transparent !important; color: var(--c-fg) !important; border: 1px solid var(--c-line2); box-shadow: none; }
.htc2-note{ margin: 0; font-size: .8rem; color: var(--c-muted); flex: 1 1 180px; }
.htc2-err{ margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--c-soft); color: var(--danger, #c81e2c); font-size: .9rem; font-weight: 600; }
.htc2-err[hidden]{ display: none; }
@keyframes htc2spin{ to{ transform: rotate(360deg); } }

/* trimis */
.htc2-done{ grid-column: 2; padding: 48px 30px; display: grid; justify-items: center; align-content: center; text-align: center; gap: 8px; outline: none; }
.htc2-done[hidden]{ display: none; }
.htc2-done h3{ font: 700 1.6rem/1.1 var(--f-display, 'Space Grotesk', system-ui, sans-serif); margin: 6px 0 0; color: var(--c-fg); }
.htc2-done p{ margin: 0; color: var(--c-dim); }
.htc2-done b{ color: var(--c-fg); font-family: var(--f-mono, ui-monospace, monospace); }
.htc2-muted{ font-size: .88rem; max-width: 380px; }
.htc2-done .htc2-btn{ margin-top: 12px; }
.htc2-check svg{ width: 76px; height: 76px; }
.htc2-check circle{ fill: none; stroke: var(--c-ok); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: htc2draw .6s ease forwards; }
.htc2-check path{ fill: none; stroke: var(--c-ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: htc2draw .35s .45s ease forwards; }
@keyframes htc2draw{ to{ stroke-dashoffset: 0; } }
.htc2.is-sent .htc2-form{ display: none; }

/* fereastra */
.htc2-modal{ position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; }
.htc2-modal[hidden]{ display: none; }
.htc2-backdrop{ position: absolute; inset: 0; background: rgba(5,5,8,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: htc2fade .2s ease; }
.htc2-dialog{ position: relative; width: min(980px, 100%); max-height: calc(100dvh - 40px); overflow: auto; border-radius: var(--r-l, 28px); animation: htc2pop .32s var(--ease, cubic-bezier(.22,.9,.32,1)); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overscroll-behavior: contain; }
.htc2-dialog .htc2{ border: 0; }
.htc2-x{ position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line, rgba(127,127,135,.3)); background: var(--card, #fff); color: var(--fg, #0a0a0d); cursor: pointer; font-size: 15px; line-height: 1; padding: 0; }
.htc2-x:hover{ border-color: var(--red, #e10a17); color: var(--red, #e10a17); }
html.htc2-lock, html.htc2-lock body{ overflow: hidden !important; }
@keyframes htc2fade{ from{ opacity: 0; } }
@keyframes htc2pop{ from{ opacity: 0; transform: translateY(18px) scale(.98); } }

@media (max-width: 820px){
	.htc2{ grid-template-columns: 1fr; }
	.htc2-side{ border-right: 0; border-bottom: 1px solid var(--c-line); padding: 26px 20px 20px; }
	.htc2-quick{ grid-template-columns: repeat(3, minmax(0,1fr)); }
	.htc2-q{ flex-direction: column; text-align: center; gap: 4px; padding: 10px 6px; }
	.htc2-q small{ display: none; }
	.htc2-locs{ display: none; }
	.htc2-form{ padding: 22px 20px 22px; }
	.htc2-done{ grid-column: 1; }
	.htc2-modal{ padding: 0; place-items: end center; }
	.htc2-dialog{ max-height: 94dvh; border-radius: 22px 22px 0 0; animation-name: htc2up; }
	.htc2-dialog .htc2{ border-radius: 22px 22px 0 0; }
}
@media (max-width: 520px){ .htc2-grid{ grid-template-columns: 1fr; } .htc2-btn{ width: 100%; justify-content: center; } }
@keyframes htc2up{ from{ transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce){ .htc2-dialog, .htc2-backdrop, .htc2-check *{ animation: none !important; stroke-dashoffset: 0 !important; } }
.htc2 .htc2-side{ margin:0; position:static; align-self:stretch; width:auto; max-width:none; float:none; }
