/* XD Studio — stiluri de bază; culorile vin din variabilele temei (--xd-accent etc.). */
:root { --xd-accent: #2ea3f2; --xd-text: #0f1420; --xd-muted: #5b6474; --xd-line: #e3e6ec; --xd-bg: #ffffff; --xd-radius: 14px; }

.xds-filtre { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.xds-filtre button { border: 1px solid var(--xd-line); background: transparent; border-radius: 999px; padding: 8px 16px; cursor: pointer; font: inherit; color: var(--xd-text); }
.xds-filtre button.is-active { background: var(--xd-text); color: #fff; border-color: var(--xd-text); }

.xds-grila { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.xds-card a { display: block; text-decoration: none; color: inherit; border-radius: var(--xd-radius); overflow: hidden; background: var(--xd-bg); border: 1px solid var(--xd-line); transition: transform .25s ease, box-shadow .25s ease; }
.xds-card a:hover, .xds-card a:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,20,32,.12); }
.xds-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.xds-card__titlu { display: block; padding: 14px 16px 2px; font-weight: 600; }
.xds-card__teh { display: block; padding: 0 16px 16px; color: var(--xd-muted); font-size: .9em; }

.xds-buton { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--xd-text); color: var(--xd-text); text-decoration: none; font-weight: 600; background: transparent; cursor: pointer; font: inherit; }
.xds-buton--plin { background: var(--xd-accent); border-color: var(--xd-accent); color: #fff; }

.xds-brief { max-width: 720px; margin: 0 auto; }
.xds-pasi { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: p; }
.xds-pasi li { flex: 1; height: 4px; border-radius: 4px; background: var(--xd-line); font-size: 0; }
.xds-pasi li.is-gata, .xds-pasi li.is-activ { background: var(--xd-accent); }
.xds-pas { border: 0; padding: 0; margin: 0; }
.xds-pas legend { font-size: 1.4em; font-weight: 700; margin-bottom: 16px; }
.xds-camp { margin: 0 0 18px; }
.xds-camp label, .xds-eticheta { display: block; font-weight: 600; margin-bottom: 6px; }
.xds-camp input[type=text], .xds-camp input[type=email], .xds-camp input[type=url], .xds-camp input[type=number], .xds-camp input[type=date], .xds-camp textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--xd-line); border-radius: 10px; font: inherit; }
.xds-optiuni { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.xds-optiuni label { font-weight: 400; border: 1px solid var(--xd-line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.xds-optiuni label:has(input:checked) { border-color: var(--xd-accent); box-shadow: 0 0 0 1px var(--xd-accent) inset; }
.xds-optiuni.is-eroare { outline: 2px solid #d64545; outline-offset: 4px; border-radius: 10px; }
.xds-camp--consent label { font-weight: 400; }
.xds-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.xds-nav .xds-inapoi { background: none; border: 0; color: var(--xd-muted); cursor: pointer; font: inherit; }
.xds-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.xds-brief--ok { padding: 32px; border: 1px solid var(--xd-line); border-radius: var(--xd-radius); }

@media (prefers-reduced-motion: reduce) { .xds-card a { transition: none; } }

.xds-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0f1a; }
.xds-hero img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; }
.xds-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.xds-hero.is-3d .xds-hero__canvas { opacity: 1; }
.xds-hero.is-3d img { opacity: 0; }
@media (max-width: 767px) { .xds-hero { aspect-ratio: 4 / 5; } }
.xds-eroare { max-width: 720px; margin: 0 auto 16px; padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #8a1f1f; }

.xds-ajutor { display: block; margin-top: 6px; font-size: .88em; color: var(--xd-muted); }
.xds-camp--text[data-cond] .xds-anaf-btn, .xds-anaf-btn { margin-top: 8px; min-height: 44px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--xd-line); background: transparent; color: var(--xd-text); font: inherit; cursor: pointer; }
.xds-anaf-stare { margin: 8px 0 0; font-size: .92em; color: var(--xd-muted); min-height: 1.2em; }
.xds-anaf-stare.is-ok { color: var(--xd-accent); }
.xds-anaf-stare.is-eroare { color: #f59e0b; }
