
:root {
  --red: #F42026;
  --red-dark: #C01018;
  --red-light: #FDE8E9;
  --navy: #1A1F3C;
  --navy-mid: #2E3560;
  --forest: #1C4A38;
  --forest-light: #E6F2EC;
  --gold: #C8922A;
  --gold-light: #FDF3E0;
  --off-white: #FAF9F7;
  --gray-light: #F0EEE9;
  --gray-mid: #8A8880;
  --text: #1A1A1A;
  --text-muted: #5A5855;
  --border: rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: white;
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand-text {}
.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.nav-tagline {
  font-size: 10.5px;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

/* ─── COMUTATOR DE LIMBĂ ─── */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 8px 13px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  font-family: inherit;
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: var(--red);
  background: var(--red-light);
  border-color: transparent;
}
.lang-btn svg { flex-shrink: 0; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
  min-width: 150px;
  overflow: hidden;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: var(--red-light); color: var(--red); }
.lang-option.active { color: var(--red); background: var(--red-light); }

/* Google Translate — folosim doar motorul, nu widgetul vizual al lor */
.translate-hidden { display: none !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body { top: 0 !important; position: static !important; }

/* ─── BUTON HAMBURGER (ascuns pe desktop) ─── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  flex-shrink: 0;
}
.nav-toggle svg { transition: transform 0.2s; }
.nav-toggle.open svg { transform: rotate(90deg); }

.nav-links a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--red);
  background: var(--red-light);
}
.nav-links .nav-cta {
  background: var(--red);
  color: white;
  padding: 9px 20px;
  border-radius: 5px;
  margin-left: 6px;
}
.nav-links .nav-cta:hover {
  background: var(--red-dark);
  color: white;
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  overflow: hidden;
}

.hero-left {
  background: var(--navy);
  padding: 80px 56px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1.06;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.hero-title .accent {
  color: var(--red);
  display: block;
}
.hero-title .sub-accent {
  font-style: italic;
  font-weight: 400;
  font-size: 46px;
  color: rgba(255,255,255,0.75);
  display: block;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 400px;
  margin-top: 20px;
  margin-bottom: 32px;
}

.hero-pillars {
  display: flex;
  gap: 22px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pillar-label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: white;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: white; }
.btn-ghost::after { content: '→'; font-size: 15px; }

.hero-right {
  background: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 56px 48px 56px 64px;
  position: relative;
}

.hero-fox {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(244,32,38,0.15));
  animation: fox-float 5s ease-in-out infinite;
}
@keyframes fox-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.trigen-card {
  background: white;
  border-radius: 14px;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 290px;
}
.trigen-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.trigen-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-light);
}
.trigen-row:last-child { border-bottom: none; }
.trigen-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trigen-text {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  flex: 1;
}
.trigen-val {
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 700;
}

/* ─── ID STRIP ─── */
.id-strip {
  background: var(--navy-mid);
  padding: 12px 48px;
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
}
.id-item {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding: 4px 24px 4px 0;
  margin-right: 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.id-item:last-child { border-right: none; }
.id-item strong { color: rgba(255,255,255,0.82); font-weight: 600; }

/* ─── VISION SECTION ─── */
.vision-section {
  background: var(--forest);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.vision-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4DB889;
  margin-bottom: 12px;
}
.vision-title {
  font-size: 34px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vision-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 12px;
  padding: 24px 20px;
  transition: background 0.2s;
}
.vision-card:hover { background: rgba(255,255,255,0.11); }
.vision-card-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}
.vision-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
}
.vision-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  line-height: 1.65;
}

/* ─── SECTION COMMON ─── */
.section {
  padding: 80px 48px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-mid);
  text-decoration: none;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.section-link:hover { color: var(--red); }

/* ─── SERVICES ─── */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.service-card {
  background: white;
  padding: 36px 26px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.et::before { background: var(--red); }
.service-card.ee::before { background: var(--gold); }
.service-card.ec::before { background: #2196F3; }
.service-card.ret::before { background: var(--forest); }

.service-code {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--gray-light);
  line-height: 1;
  margin-bottom: 18px;
  user-select: none;
}
.service-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon-wrap.red { background: var(--red-light); }
.service-icon-wrap.gold { background: var(--gold-light); }
.service-icon-wrap.blue { background: #E3F2FD; }
.service-icon-wrap.green { background: var(--forest-light); }

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.service-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.service-badge {
  display: inline-block;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.service-badge.live { background: #E8F5EE; color: #1A6B3C; }
.service-badge.build { background: var(--gold-light); color: #7A4E0A; }
.service-badge.future { background: #EBF3FD; color: #1255A0; }

/* ─── DE INTERES (prima secțiune a paginii) ─── */
.interes-section {
  background: var(--navy-mid);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
  border-bottom: 3px solid var(--red);
}
.interes-section .section-label { color: var(--gold); margin-bottom: 8px; }
.interes-title {
  font-size: 30px;
  font-weight: 700;
  color: white;
  line-height: 1.15;
}
.interes-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 380px;
}
/* rândurile de documente refolosesc stilurile .gov-doc-* (aspect identic) */

/* ─── GOVERNANCE BANNER ─── */
.gov-section {
  background: var(--navy);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.gov-section .section-label { color: var(--gold); }
.gov-section .section-title { color: white; }
.gov-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 28px;
  max-width: 440px;
}
.gov-docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gov-doc-row {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px;
  padding: 13px 16px;
  transition: background 0.2s;
}
.gov-doc-row:hover { background: rgba(255,255,255,0.08); }
.gov-doc-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.gov-doc-top > div:first-child {
  min-width: 0;
  overflow: hidden;
}
.gov-doc-name {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gov-doc-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gov-doc-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.gov-doc-file-link {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  padding: 7px 12px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.gov-doc-file-link:visited { color: rgba(255,255,255,0.75); }
.gov-doc-file-link:hover { background: var(--red); color: white; }
.gov-doc-file-link:hover svg { color: #2196F3; }
.gov-doc-dropdown.open .gov-doc-dropdown-trigger {
  background: var(--red);
  color: white;
}
.gov-doc-dropdown {
  position: relative;
}
.gov-doc-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: #1B2436;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 20;
}
.gov-doc-dropdown.open .gov-doc-dropdown-menu,
.gov-doc-dropdown:focus-within .gov-doc-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gov-doc-dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.gov-doc-dropdown-menu a:hover { background: var(--red); color: white; }
.gov-doc-dropdown-menu-wide { min-width: 280px; }
/* numele documentului din meniu — se scurtează cu „...” dacă e prea lung */
.doc-menu-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* butonul „Descarcă” din dreptul fiecărui document */
.doc-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.10);
  border-radius: 5px;
  padding: 4px 8px;
  transition: background 0.15s, color 0.15s;
}
.gov-doc-dropdown-menu a:hover .doc-menu-btn { background: rgba(255,255,255,0.22); color: white; }
/* eticheta tipului de fișier (PDF / DOCX / XLSX ...) din meniuri */
.doc-file-ext {
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  padding: 1px 4px;
}
.gov-doc-dropdown-menu a:hover .doc-file-ext { color: white; border-color: rgba(255,255,255,0.5); }
.doc-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.doc-badge.ok { background: rgba(77,184,137,0.2); color: #5DD4B0; }
.doc-badge.pending { background: rgba(244,32,38,0.22); color: #FF8A8D; }
.doc-badge.wip { background: rgba(200,146,42,0.22); color: #F5C06A; }

/* ─── CA SECTION ─── */
.ca-section {
  background: var(--gray-light);
  padding: 80px 48px;
}
.ca-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.ca-card {
  background: white;
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ca-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.ca-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.ca-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.ca-role {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.ca-basis {
  font-size: 12px;
  color: var(--gray-mid);
  border-top: 1px solid var(--gray-light);
  padding-top: 12px;
  line-height: 1.6;
}
.ca-cv-link,
.ca-cv-link:visited {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 16px auto 0;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--gray-light);
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ca-cv-link:hover {
  background: var(--red-light);
  color: var(--red);
}
.ca-cv-link:hover svg {
  color: #2196F3;
}

/* ─── CONTACT BAR ─── */
.contact-bar {
  background: white;
  border-top: 1px solid var(--border);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}
.contact-val {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
}
.contact-sub {
  font-size: 13px;
  color: var(--gray-mid);
  margin-top: 2px;
}
.contact-email { color: var(--red); text-decoration: none; }
.contact-email:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.9;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
}
.footer-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
  font-style: italic;
}
.footer-right {
  text-align: right;
  font-size: 12px;
  color: rgba(255,255,255,0.32);
  line-height: 1.7;
}
.footer-legal-links { display: inline-block; margin-top: 4px; }
.footer-legal-links a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-legal-links a:hover { color: white; text-decoration: underline; }

/* ─── BANNER COOKIE-URI ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  padding: 18px 28px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.15);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.6; flex: 1; min-width: 240px; }
.cookie-banner a { color: white; text-decoration: underline; }
.cookie-accept-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 11px 22px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cookie-accept-btn:hover { background: #C01018; }

/* ─── FORMULAR DE CONTACT ─── */
.contact-form-section { background: var(--gray-light); }
.contact-form-section.hidden { display: none; }
.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.contact-form { margin-top: 28px; background: white; border-radius: 14px; padding: 32px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.char-counter { font-size: 11px; font-weight: 500; color: var(--gray-mid); }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.form-group input[type="file"] { font-size: 13px; width: 100%; }
.form-group textarea { resize: vertical; }
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-flash {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 20px;
  text-align: center;
}
.form-flash.success { background: #E6F4EA; color: #1C4A38; }
.form-flash.error { background: #FDE8E9; color: #C01018; }

/* ─── ANUNȚURI ─── */
.anunturi-section { background: white; }
.anunturi-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.anunt-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gray-mid);
  border-radius: 10px;
  padding: 20px 24px;
  background: var(--gray-light);
}
.anunt-card.urgent { border-left-color: var(--red); background: var(--red-light); }
.anunt-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.anunt-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--gray-mid);
  color: white;
}
.anunt-badge.urgent { background: var(--red); }
.anunt-badge.info { background: var(--navy); }
.anunt-date { font-size: 12px; color: var(--gray-mid); }
.anunt-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.anunt-text { font-size: 14px; color: var(--text); line-height: 1.6; margin: 0; }

/* ─── PAGINI LEGALE (accesibilitate, cookie-uri) ─── */
.legal-page { max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--navy); margin-bottom: 4px; }
.legal-updated { font-size: 13px; color: var(--gray-mid); margin-bottom: 28px; }
.legal-page h2 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--navy); margin-top: 32px; margin-bottom: 12px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.7; color: var(--text); }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--red); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); }
.legal-table th { background: var(--gray-light); font-weight: 700; color: var(--navy); }
.legal-table code { background: var(--gray-light); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }

/* ─── ANIMATIONS ─── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * {
  animation: fade-up 0.6s ease both;
}
.hero-eyebrow { animation-delay: 0.1s; }
.hero-title   { animation-delay: 0.2s; }
.hero-sub     { animation-delay: 0.3s; }
.hero-pillars { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.5s; }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLETĂ (≤ 900px)
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 0 20px; }

  /* meniul devine un sertar (drawer) full-screen, deschis cu hamburger */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 16px 20px 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 199;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 16px 14px;
    font-size: 14.5px;
    text-align: left;
    border-radius: 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
    border-radius: 6px;
    border-bottom: none;
  }

  .lang-btn span { display: inline; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { clip-path: none; padding: 56px 24px; }
  .hero-title { font-size: 38px; }
  .hero-title .sub-accent { font-size: 32px; }
  .hero-right { padding: 40px 24px; }
  .vision-section { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
  .vision-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gov-section { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .interes-section { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px; }
  .interes-text { max-width: none; }
  .ca-grid { grid-template-columns: 1fr; }
  .contact-bar { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .section { padding: 56px 24px; }
  .id-strip { padding: 12px 24px; gap: 8px; }
  footer { padding: 24px; flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TELEFON (≤ 600px)
   ══════════════════════════════════════════════ */
@media (max-width: 600px) {
  nav { padding: 0 16px; height: 64px; }
  .nav-links { top: 64px; }
  .nav-tagline { display: none; }
  .nav-logo { width: 36px; height: 36px; }
  .nav-name { font-size: 16px; }

  .lang-btn span { display: none; } /* pe telefon rămâne doar iconița de glob, ca să nu aglomerăm bara */
  .lang-btn { padding: 8px 10px; }
  .lang-dropdown { right: -8px; }

  .hero-eyebrow { font-size: 10px; }
  .hero-title { font-size: 30px; }
  .hero-title .sub-accent { font-size: 25px; }
  .hero-sub { font-size: 14.5px; max-width: none; }
  .hero-left { padding: 40px 20px; }
  .hero-right { padding: 32px 20px; }
  .hero-fox { width: 130px; height: 130px; }
  .hero-pillars { gap: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-primary { text-align: center; }
  .btn-ghost { justify-content: center; }

  .id-strip { flex-direction: column; align-items: flex-start; gap: 2px; }
  .id-item { border-right: none; padding: 4px 0; margin-right: 0; width: 100%; }

  .vision-title { font-size: 26px; }
  .section-title { font-size: 26px; }
  .section { padding: 40px 16px; }
  .vision-section { padding: 40px 16px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }

  .gov-section { padding: 40px 16px; }
  .interes-section { padding: 28px 16px; }
  .interes-title { font-size: 24px; }

  /* pe telefon, numele documentului trece pe un rând, butoanele pe rândul următor */
  .gov-doc-top { flex-wrap: wrap; }
  .gov-doc-name { white-space: normal; }
  .gov-doc-meta { white-space: normal; }
  .gov-doc-right { flex-wrap: wrap; gap: 8px; }
  .gov-doc-dropdown-menu { right: auto; left: 0; min-width: 200px; max-width: calc(100vw - 48px); }
  .gov-doc-dropdown-menu a { white-space: normal; }

  .ca-section { padding: 40px 16px; }
  .contact-bar { grid-template-columns: 1fr; padding: 28px 16px; gap: 20px; }

  .contact-form-section { padding: 40px 16px; }
  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .anunt-card { padding: 16px 18px; }
  .cookie-banner { padding: 16px; flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-accept-btn { width: 100%; }
  .legal-page h1 { font-size: 26px; }

  footer { padding: 20px 16px; }
}
