:root {
  --logo-black: #000000;
  --bg: #0a0b10;
  --bg-soft: #11131b;
  --navy: #0d1630;
  --navy-2: #152344;
  --white: #ffffff;
  --text: #f5f7fb;
  --text-soft: rgba(234, 239, 248, 0.78);
  --text-dim: rgba(255, 255, 255, 0.60);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #c08329;
  --gold-2: #eabe81;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.22);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1280px;
}

/* =========================================================
   RESET ȘI ELEMENTE DE BAZĂ
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  height: 100dvh;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
}

.container {
  width: min(calc(100% - 120px), var(--container));
  margin: 0 auto;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(234, 190, 129, 0.92);
  outline-offset: 3px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}

.site-header.scrolled {
  background: rgba(8, 10, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 24px;
}

.brand {
  position: relative;
  z-index: 260;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  padding: 5px;
  border: 1px solid rgba(234, 190, 129, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(234, 190, 129, 0.30) 0%,
      rgba(192, 131, 41, 0.18) 45%,
      rgba(10, 11, 16, 0.10) 72%
    );
  box-shadow:
    0 0 18px rgba(192, 131, 41, 0.18),
    inset 0 0 18px rgba(234, 190, 129, 0.08);
}

.brand-logo {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 50%;
  filter:
    brightness(1.08)
    contrast(1.10)
    drop-shadow(0 0 8px rgba(192, 131, 41, 0.25));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    background 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  position: relative;
  z-index: 260;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-link {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.lang-link:hover,
.lang-link.is-active {
  color: #ffffff;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
}

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #29cc62 0%, #1faa4e 100%);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(31, 170, 78, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.header-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(31, 170, 78, 0.34);
  filter: brightness(1.03);
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.50);
  opacity: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* =========================================================
   BUTOANE COMUNE
   ========================================================= */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

/* =========================================================
   ELEMENTE COMUNE ALE SECȚIUNILOR
   ========================================================= */

.page-section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #0b0d13 0%, #111522 100%);
}

.section-box {
  max-width: 980px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-box h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-box p {
  max-width: 700px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

/* =========================================================
   FOOTER
   ========================================================= */

.af-footer {
  position: relative;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(192, 131, 41, 0.08), transparent 22%),
    linear-gradient(180deg, #0a0d14 0%, #0d121d 100%);
}

.af-footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 0.9fr;
  align-items: start;
  gap: 34px;
}

.af-footer-brand {
  max-width: 360px;
}

.af-footer-logo {
  display: block;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  padding: 5px;
  border: 1px solid rgba(234, 190, 129, 0.34);
  border-radius: 50%;
  object-fit: contain;
  background:
    radial-gradient(
      circle at center,
      rgba(234, 190, 129, 0.30) 0%,
      rgba(192, 131, 41, 0.18) 45%,
      rgba(10, 13, 20, 0.10) 72%
    );
  box-shadow:
    0 0 18px rgba(192, 131, 41, 0.18),
    inset 0 0 18px rgba(234, 190, 129, 0.08);
  filter:
    brightness(1.08)
    contrast(1.10)
    drop-shadow(0 0 8px rgba(192, 131, 41, 0.20));
}

.af-footer-text {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.af-footer-contact {
  display: grid;
  gap: 10px;
}

.af-footer-contact a,
.af-footer-col a,
.af-footer-anpc a,
.af-back-top {
  color: rgba(255, 255, 255, 0.76);
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.af-footer-contact a:hover,
.af-footer-col a:hover,
.af-footer-anpc a:hover,
.af-back-top:hover {
  color: #ffffff;
}

.af-footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.af-footer-col h3,
.af-footer-col h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

.af-footer-col a,
.af-footer-anpc a {
  font-size: 14px;
  line-height: 1.6;
}

.af-footer-anpc {
  display: grid;
  gap: 12px;
}

.af-footer-top {
  justify-items: start;
}

.af-back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.af-footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.af-footer-bottom .container {
  padding: 20px 0;
}

.af-footer-bottom p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

/* =========================================================
   ANIMAȚII DE APARIȚIE
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
