/* AutoSVF.ro — baza comuna (fonturi, culori, butoane, header, footer) */
@font-face { font-family: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/fonts/bricolage-grotesque-latin-standard-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: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/fonts/bricolage-grotesque-latin-ext-standard-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: 'Plex'; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');
  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: 'Plex'; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2');
  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: 'Plex'; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2');
  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: 'Plex'; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2');
  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: 'Plex'; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2');
  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: 'Plex'; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2');
  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: 'Plex Mono'; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
  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: 'Plex Mono'; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');
  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: 'Plex Mono'; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
  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; }

:root {
  --ink: #0c1f1b;        /* fundal: jad intunecat */
  --deep: #071512;       /* terminal / zone adanci */
  --surface: #112c26;
  --surface-2: #163830;
  --line: #234a40;
  --text: #e8f0eb;
  --soft: #c3d4cb;
  --muted: #93aea2;
  --gold: #e7b74a;       /* accent: aur imperial */
  --gold-hi: #f2cb6e;
  --gold-ink: #231902;
  --mint: #7ddcaa;       /* reusit */
  --amber: #f29d4b;      /* atentie */
  --cinnabar: #ef6a52;   /* pericol */
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  --display: 'Bricolage', 'Plex', system-ui, sans-serif;
  --body: 'Plex', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--text); font: 16px/1.6 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff3cf; }
code { font-family: var(--mono); font-size: .88em; background: rgba(231,183,74,.09); color: #f6dfa4; padding: .08em .38em; border-radius: 5px; }
small { font-size: .84em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Butoane */
.btn { font: 600 1rem/1.2 var(--body); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover:not(:disabled) { background: var(--gold-hi); color: var(--gold-ink); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line); }
.btn-line:hover:not(:disabled) { border-color: #3c6e60; background: rgba(255,255,255,.03); color: var(--text); }
.btn-danger { background: transparent; color: var(--cinnabar); border-color: rgba(239,106,82,.4); }
.btn-danger:hover:not(:disabled) { background: rgba(239,106,82,.08); }
.btn-sm { padding: .42rem .8rem; font-size: .88rem; border-radius: var(--r-sm); }
.btn-lg { padding: .95rem 1.45rem; font-size: 1.05rem; }

/* Formulare */
input:not([type=radio]):not([type=checkbox]), textarea, select { width: 100%; font: inherit; color: var(--text); background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-md); padding: .7rem .85rem; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { font-family: var(--mono); font-size: .86rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #5f7d72; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,183,74,.18); }
label { display: block; font-size: .92rem; font-weight: 500; color: var(--soft); }
label > input, label > textarea { margin-top: .35rem; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font: 700 1.28rem/1 var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .tld { color: var(--muted); font-weight: 500; }

/* Header site */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(12,31,27,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(35,74,64,.7); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.site-nav .btn-gold { color: var(--gold-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: var(--r-sm); padding: .45rem .7rem; font: 500 .95rem var(--body); cursor: pointer; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 48px 0 40px; color: var(--muted); font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font: 600 .95rem var(--body); color: var(--text); margin: 0 0 .8em; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-foot a { color: var(--soft); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.site-foot .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(35,74,64,.6); font-size: .84rem; line-height: 1.7; }
.site-foot .about { max-width: 30ch; margin-top: .9rem; }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 16px 18px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid rgba(35,74,64,.5); }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--gold-hi); }
  .site-nav .btn { margin-top: 14px; border-bottom: 1px solid transparent; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .site-foot .cols > :first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
