:root {
  --bg: #e8eef7;
  --surface: #ffffff;
  --dark: #020617;
  --dark-soft: #0f172a;
  --gold: #38bdf8;
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --text: #0f172a;
  --muted: #475569;
  --white: #fff;
  --border-cool: #cbd5e1;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container {
  width: min(1160px, 92%);
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
main.container {
  width: min(1260px, 95%);
  padding-left: 18px;
  padding-right: 18px;
}
.hero {
  min-height: 460px;
  background: linear-gradient(rgba(2, 6, 23, 0.72), rgba(15, 23, 42, 0.68)),
    url("https://images.unsplash.com/photo-1589394815804-964ed0be2eb5?auto=format&fit=crop&w=1600&q=80") center/cover;
}
/* Header fără hero mare (listă blog, articol) */
.hero-showcase.hero-nav-only {
  min-height: 0;
  padding-bottom: 0;
}
.hero-nav-only .top-strip-dark,
.hero-nav-only .nav-shell-dark {
  background: rgba(15, 23, 42, 0.92);
}

.hero-showcase {
  min-height: 700px;
  /* fundal + gradient albastru‑închis */
  background:
    linear-gradient(115deg, rgba(2, 6, 23, 0.78) 0%, rgba(15, 23, 42, 0.62) 42%, rgba(2, 6, 23, 0.82) 100%),
    url("/assets/img/hero-justice-scales.png") center 40% / cover no-repeat;
  color: #fff;
  background-color: #020617;
}
.hero.hero-light {
  background: #e8eef7;
  min-height: auto;
  padding-bottom: 38px;
}
.top-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border-cool);
  font-size: .85rem;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
}
.top-strip p { margin: 0; color: var(--text); }
.top-strip a { color: var(--accent-deep); font-weight: 700; text-decoration: none; }
.top-strip-dark {
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
}
.top-strip-dark p,
.top-strip-dark a {
  color: rgba(226, 232, 240, 0.92);
}
.top-sep {
  margin: 0 8px;
  opacity: .45;
}
.top-strip-contact {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.top-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 4px;
  font-weight: 700;
  letter-spacing: .04em;
}
.top-lang-switch a {
  opacity: .75;
}
.top-lang-switch a.is-active {
  opacity: 1;
  text-decoration: underline;
}
.top-social-link {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: rgba(37, 99, 235, 0.12);
  color: rgba(226, 232, 240, 0.92);
}
.top-social-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.top-social-link:hover {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(37, 99, 235, 0.2);
}

.nav-shell {
  background: var(--surface);
  border-bottom: 1px solid var(--border-cool);
}
.nav-shell-dark {
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}
.nav-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-box-dark {
  text-decoration: none;
}
.site-logo-img {
  display: block;
  max-width: 240px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.menu-icon { font-size: 1.2rem; color: var(--text); }
.logo-text {
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--dark-soft);
}
.logo-text small {
  display: block;
  font-size: .7rem;
  letter-spacing: .28em;
}
.logo-box-dark .logo-text {
  color: #f1f5f9;
  font-size: 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
.logo-box-dark .logo-text small {
  color: rgba(56, 189, 248, 0.95);
  letter-spacing: .2em;
}
.main-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.nav-mobile-social {
  display: none;
}
.main-nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark-soft);
}
/* Dark header: place after .main-nav a so it wins (same specificity, later in cascade). */
.main-nav.main-nav-dark a {
  color: #fff;
}
.main-nav.main-nav-dark a:hover {
  color: rgba(255, 255, 255, 0.88);
}
.nav-row-dark {
  min-height: 82px;
}
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-trailing {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.nav-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.55);
}
.nav-menu-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: rgba(245, 231, 216, 0.95);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-shell.is-nav-open .nav-menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-shell.is-nav-open .nav-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-shell.is-nav-open .nav-menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-mobile-backdrop {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--site-header-bar-height, 118px);
  bottom: 0;
  z-index: 9988;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.62);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-backdrop[hidden] {
  display: none !important;
}
body.nav-no-scroll {
  overflow: hidden;
}
@media (min-width: 901px) {
  .nav-menu-toggle {
    display: none !important;
  }
}
.phone-pill {
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 15px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(37, 99, 235, 0.18);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
.cta-hero {
  text-decoration: none;
  color: #f8fafc;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 4px;
  padding: 10px 18px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 1px solid rgba(15, 23, 42, 0.35);
}
.cta-green {
  background: linear-gradient(180deg, #1e40af 0%, #172554 100%);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.25);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .9rem;
}

.hero-two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 20px;
  padding-top: 30px;
}
.hero-showcase-content {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 32px 18px 20px;
  box-sizing: border-box;
  text-align: center;
}
/* Forțează centrare: deasupra .hero-content generic (lățime 760 + margin 90) */
.hero-showcase .hero-content.hero-content-showcase {
  display: block;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  margin-top: 0;
  color: #fff;
  text-align: center;
  padding: 0 8px;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-self: center;
}
.hero-content-showcase {
  margin: 0 auto;
  width: 100%;
  max-width: 1040px;
  color: #fff;
  text-align: center;
  padding: 0;
}
.hero-script {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: rgba(125, 211, 252, 0.95);
  letter-spacing: .03em;
}
.hero-showcase .hero-content-showcase h1,
.hero-content-showcase h1 {
  font-size: clamp(2rem, 5.2vw, 4rem);
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.02;
  max-width: 100%;
  color: #f1f5f9;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  text-shadow: 0 10px 30px rgba(2, 6, 23, 0.55);
}
.hero-title-line {
  display: block;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}
.hero-showcase .hero-content-showcase .hero-script {
  text-align: center;
  width: 100%;
  display: block;
}
.hero-showcase .hero-content-showcase p.hero-lead,
.hero-content-showcase p {
  display: block;
  margin: 16px auto 0;
  max-width: min(790px, 100%);
  text-align: center;
  color: rgba(226, 232, 240, 0.9);
}
.hero-lead {
  line-height: 1.72;
  font-size: .98rem;
}
.hero-primary-btn {
  display: inline-block;
  margin-top: 26px;
  text-decoration: none;
  color: #f8fafc;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  border: 1px solid #d6b18b;
  border-radius: 6px;
  padding: 11px 20px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(14, 11, 8, .35);
}
.hero-primary-btn:hover {
  filter: brightness(1.04);
}

/* Home hero: desktop — text stânga; formular contact dreapta. Centrare doar pe mobil (vezi 900px). */
.hero-showcase-content.hero-home-hero {
  display: block;
  text-align: left;
  max-width: min(1200px, 100%);
  min-height: min(78vh, 640px);
  padding-top: 28px;
  padding-bottom: 8px;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
.hero-home-two-col {
  width: 100%;
  display: grid;
  /* Col. 1: text — minmax(0) evită depășirea în grilă; col. 2: formular spre dreapta */
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  align-items: start;
  padding-top: 8px;
  column-gap: clamp(40px, 5.5vw, 80px);
  row-gap: 28px;
}
.hero-home-copy {
  padding-top: 8px;
  padding-bottom: 12px;
  min-width: 0; /* Necesar ca textul din grid să poată fă segmentat / wrap, nu overflow */
  max-width: 100%;
  padding-right: min(2vw, 16px);
}
.hero-home-hero .hero-content.hero-content-showcase {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 38rem; /* rămâne în coloană, nu pătrunde în a doua */
  padding: 0 4px 0 0;
}
.hero-home-hero .hero-content-showcase h1,
.hero-home-hero .hero-title-line {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  letter-spacing: 0.04em;
  line-height: 1.08;
}
/* Titlul nu mai folosește un singur rând: altfel suprapune formularul din col. 2 */
.hero-home-hero .hero-content-showcase h1 {
  max-width: 100%;
}
.hero-home-hero .hero-title-line {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Primul rând rămâne pe o singură linie (desktop); al doilea se poate împărți */
.hero-home-hero .hero-title-line-first {
  white-space: normal;
}
@media (max-width: 480px) {
  .hero-home-hero .hero-title-line-first {
    white-space: normal;
  }
}
.hero-home-hero .hero-content-showcase p.hero-lead,
.hero-home-hero .hero-content-showcase p {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 34em;
}
body[data-lang="ru"] .hero-home-hero .hero-content-showcase h1 {
  font-size: clamp(1.7rem, 4.1vw, 3.35rem);
  line-height: 1.06;
}
.hero-home-hero .hero-content-showcase p.hero-lead {
  font-size: 1.01rem;
  line-height: 1.75;
}
.hero-home-hero .hero-content-showcase p.hero-lead-secondary {
  margin-top: 12px;
  color: rgba(240, 228, 210, 0.78);
  font-size: 0.95rem;
  line-height: 1.7;
}
.hero-home-hero .hero-content-showcase .hero-script {
  text-align: left;
}
.hero-home-script {
  position: relative;
  display: inline-block;
  padding: 0 0 0 14px;
  margin: 0 0 14px;
  border-left: 3px solid rgba(201, 162, 107, 0.85);
  border-bottom: none;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-home-cta {
  margin-top: 26px;
  border-radius: 8px;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.hero-home-cta:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.hero-home-cta:active {
  transform: translateY(1px);
}
.hero-home-two-col > .hero-home-contact {
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 400px;
  margin-left: auto; /* aliniază formularul la marginea dreaptă a coloanei 2 */
  display: grid;
  gap: 12px;
  align-content: start;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}
.hero-home-hero .hero-home-contact .sidebar-notice-ok,
.hero-home-hero .hero-home-contact .sidebar-notice-err {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 10px;
}
.hero-contact-notice {
  margin: 0;
}
.hero-contact-card {
  background: #fefdfb;
  border: 1px solid rgba(230, 222, 210, 0.95);
  border-radius: 16px;
  padding: 0;
  color: #1a1816;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 20px 50px -12px rgba(0, 0, 0, 0.28),
    0 8px 16px -8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.hero-contact-card-head {
  padding: 22px 22px 16px;
  background: linear-gradient(180deg, #fff 0%, #fbf8f3 100%);
  border-bottom: 1px solid #efe8de;
  text-align: center;
}
.hero-contact-heading {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #141210;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero-contact-lead {
  margin: 0;
  font-size: 0.92rem;
  color: #4a443c;
  line-height: 1.45;
  font-weight: 400;
}
.hero-contact-form {
  display: grid;
  gap: 13px;
  position: relative;
  padding: 18px 22px 22px;
  background: #fff;
}
.hero-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #3d3730;
  letter-spacing: 0.01em;
}
.hero-contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}
@media (max-width: 420px) {
  .hero-contact-field-row {
    grid-template-columns: 1fr;
  }
}
.hero-contact-form input,
.hero-contact-form textarea {
  width: 100%;
  border: 1px solid #d9cfc2;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.94rem;
  color: #1a1816;
  box-sizing: border-box;
  background: #faf9f6;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.45;
}
.hero-contact-form input::placeholder,
.hero-contact-form textarea::placeholder {
  color: #8f8576;
  opacity: 1;
  text-align: center;
}
.hero-contact-form input:hover,
.hero-contact-form textarea:hover {
  background: #fff;
  border-color: #c9baaa;
}
.hero-contact-form input:focus,
.hero-contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.22);
}
.hero-contact-form textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 14px;
  padding-bottom: 14px;
}
.hero-contact-submit {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #c9a26e;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #1f150c;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.35) inset, 0 4px 14px rgba(40, 28, 16, 0.18);
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.hero-contact-submit:hover {
  filter: brightness(1.02);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.4) inset, 0 6px 18px rgba(40, 28, 16, 0.22);
}
.hero-contact-submit:active {
  transform: translateY(1px);
  filter: brightness(0.98);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  border-top: 1px solid rgba(225, 197, 164, .24);
  padding: 22px 0 30px;
  max-width: 1040px;
  margin: 0 auto;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.highlight-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: rgba(37, 99, 235, 0.12);
  color: #e6c19a;
  line-height: 1;
  margin-top: 2px;
  flex: 0 0 auto;
}
.highlight-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.highlight-icon-emoji {
  font-size: 1.1rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.highlight-item h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #f7ecdf;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
}
.highlight-item p {
  margin: 8px 0 0;
  color: rgba(241, 225, 204, .72);
  font-size: .88rem;
  max-width: 320px;
}
.hero-content.hero-dark { color: #163036; margin: 0; width: auto; }
.badge {
  display: inline-block;
  background: #153e36;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.hero-content.hero-dark h1 {
  font-size: clamp(2rem, 4.7vw, 4.1rem);
  margin: 18px 0 4px;
  max-width: 580px;
}
.hero-note {
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: #17343a;
}
.outline-btn {
  display: inline-block;
  margin-top: 12px;
  border: 1px solid #17343a;
  color: #17343a;
  border-radius: 999px;
  text-decoration: none;
  padding: 8px 14px;
  font-size: .92rem;
}
.hero-image-wrap {
  display: flex;
  justify-content: flex-end;
}
.hero-image {
  width: 100%;
  max-width: 510px;
  border-radius: 30px 30px 0 0;
  object-fit: cover;
}
.overlay { padding: 20px 0 80px; }
.top-nav {
  width: min(1160px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand { color: var(--white); font-size: 1.4rem; font-weight: bold; }
.hero-content {
  width: min(760px, 92%);
  margin: 90px auto 0;
  color: var(--white);
}
.kicker { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
h1 { font-size: clamp(1.8rem, 3.8vw, 3rem); margin: 0 0 10px; line-height: 1.2; }
h2 { margin: 0 0 18px; font-size: clamp(1.25rem, 2.6vw, 1.8rem); }

.call-btn {
  background: var(--gold);
  color: #000;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
}
.call-btn.block { width: 100%; text-align: center; }

.categories { margin: 48px 0; }
.testimonials {
  margin: 56px 0 48px;
  padding: 40px 0 48px;
  border-top: 1px solid #e5e0d8;
  border-bottom: 1px solid #e5e0d8;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}
.testimonials-fullwidth {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.testimonials-fullwidth-head h2,
.testimonials h2 {
  text-align: center;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  color: #1c1c1c;
}
.testimonials-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.testimonials-marquee:hover .testimonials-marquee-track {
  animation-play-state: paused;
}
.testimonials-marquee-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  gap: 22px;
  animation: testimonials-marquee var(--marquee-sec, 45s) linear infinite;
  will-change: transform;
}
/* Bandă duplicată: de la -50% la 0, banda alunecă spre dreapta (sens citire) */
@keyframes testimonials-marquee {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
.testimonial-card {
  margin: 0;
  padding: 22px 18px 20px;
  background: #fff;
  border: 1px solid var(--border-cool);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(31, 26, 19, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  width: min(100%, 300px);
  max-width: 300px;
  min-height: 100%;
  box-sizing: border-box;
}
.testimonial-photo-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 0 14px;
  border: 3px solid rgba(159, 132, 104, 0.35);
  flex-shrink: 0;
}
.testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-text {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: #4a4540;
  flex: 1 1 auto;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1c1c1c;
  letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
  }
  .testimonials-marquee-track {
    animation: none;
    flex-wrap: nowrap;
  }
  .testimonial-card {
    scroll-snap-align: start;
  }
}

.blog-home-section { scroll-margin-top: 24px; }
.blog-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 8px;
}
.blog-see-all {
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 115, 85, 0.35);
}
.blog-see-all:hover { color: #5c4a36; border-color: #5c4a36; }
.blog-empty { color: #666; margin-top: 8px; }
/* Blog pe pagina principală: full width, carduri mai mari */
.blog-home-fullwidth {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 44px 0 52px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef7 100%);
  border-top: 1px solid #ebe4da;
  border-bottom: 1px solid #ebe4da;
}
.blog-home-fullwidth .blog-section-head {
  margin-bottom: 22px;
}
.blog-home-fullwidth .blog-section-head h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}
.blog-home-grid-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(16px, 3.5vw);
  box-sizing: border-box;
}
.blog-grid--home {
  align-items: stretch;
  gap: clamp(20px, 2.2vw, 32px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.blog-card--home {
  border-radius: 16px;
  border: 1px solid #e0d8cc;
  box-shadow: 0 8px 28px rgba(31, 26, 19, 0.08);
}
.blog-card--home .blog-card-image-wrap {
  aspect-ratio: 16 / 10;
  min-height: 200px;
}
.blog-card--home .blog-card-image {
  transition: transform 0.35s ease;
}
.blog-card--home:hover .blog-card-image {
  transform: scale(1.04);
}
.blog-card--home .blog-card-title {
  padding: 20px 22px 26px;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.32;
  letter-spacing: 0.01em;
}
.blog-grid { align-items: stretch; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(31, 26, 19, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover {
  box-shadow: 0 12px 28px rgba(31, 26, 19, 0.1);
  transform: translateY(-2px);
}
.blog-card.blog-card--home:hover {
  box-shadow: 0 16px 40px rgba(31, 26, 19, 0.12);
  transform: translateY(-4px);
}
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-image-wrap {
  aspect-ratio: 5 / 3;
  background: #e8e4dc;
  overflow: hidden;
}
.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-title {
  margin: 0;
  padding: 16px 18px 20px;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1c1c1c;
}
.blog-page-main {
  padding-top: 28px;
  padding-bottom: 56px;
}
/* ——— Blog: articol principal + grilă ——— */
.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(224, 212, 196, 0.9);
  box-shadow:
    0 4px 6px rgba(18, 14, 10, 0.04),
    0 22px 50px rgba(25, 21, 18, 0.08);
  margin-bottom: 40px;
  transition: box-shadow 0.25s ease, transform 0.22s ease, border-color 0.2s ease;
}
.blog-feature:hover {
  border-color: rgba(216, 170, 69, 0.55);
  box-shadow:
    0 8px 12px rgba(18, 14, 10, 0.06),
    0 32px 64px rgba(25, 21, 18, 0.12);
  transform: translateY(-3px);
}
.blog-feature-media {
  margin: 0;
  position: relative;
  min-height: 280px;
  background: linear-gradient(145deg, #2a2420 0%, #1a1714 100%);
  overflow: hidden;
}
.blog-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(10, 8, 6, 0.25) 100%);
  pointer-events: none;
}
.blog-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
.blog-feature:hover .blog-feature-media img {
  transform: scale(1.06);
}
.blog-feature-panel {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #fffefb 0%, #faf7f2 100%);
}
.blog-feature-meta {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7d7165;
  letter-spacing: 0.04em;
}
.blog-feature-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 800;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  color: #141a1e;
  letter-spacing: -0.02em;
}
.blog-feature:hover .blog-feature-title {
  color: #4a3a22;
}
.blog-feature-excerpt {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: #4a5459;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-feature-cta {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #a67c32;
  letter-spacing: 0.06em;
}
.blog-feature:hover .blog-feature-cta {
  color: #7a5a1e;
}
.blog-grid-heading {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a6f62;
}
.blog-index-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}
.blog-index-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8e2d8;
  box-shadow: 0 8px 28px rgba(25, 21, 18, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.2s ease;
}
.blog-index-card:hover {
  border-color: rgba(216, 170, 69, 0.4);
  box-shadow: 0 14px 40px rgba(25, 21, 18, 0.1);
  transform: translateY(-4px);
}
.blog-index-card-media {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #ebe6df;
  overflow: hidden;
}
.blog-index-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.blog-index-card:hover .blog-index-card-media img {
  transform: scale(1.05);
}
.blog-index-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-index-card-meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #918578;
}
.blog-index-card-title {
  margin: 0;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.28;
  color: #1a1f24;
}
.blog-index-card:hover .blog-index-card-title {
  color: #5c4728;
}
.blog-index-card-excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5a6366;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-empty-state {
  margin: 32px 0 0;
  padding: 28px 24px;
  text-align: center;
  font-size: 1.05rem;
  color: #5a6366;
  background: #f1f5f9;
  border: 1px dashed #dcd4c8;
  border-radius: 14px;
}
.blog-pagination {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid #e8e2d8;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
}
.blog-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}
.blog-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #3d3428;
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.blog-pagination-link:hover {
  border-color: rgba(216, 170, 69, 0.55);
  color: #5c4728;
  background: #fffefb;
}
.blog-pagination-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fffefb;
  background: linear-gradient(165deg, #3d3428 0%, #2a2420 100%);
  border-radius: 10px;
  border: 1px solid #2a2420;
}
.blog-pagination-prev,
.blog-pagination-next {
  padding: 0 16px;
}
@media (max-width: 1100px) {
  .blog-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .blog-feature {
    grid-template-columns: 1fr;
  }
  .blog-feature-media {
    min-height: 220px;
    max-height: 280px;
  }
  .blog-feature-media img {
    min-height: 220px;
    max-height: 280px;
  }
  .blog-index-grid {
    grid-template-columns: 1fr;
  }
}
.blog-breadcrumb { font-size: 0.9rem; margin: 20px 0 8px; }
.blog-breadcrumb a { color: #0d2b32; }
.blog-breadcrumb-sep { margin: 0 8px; opacity: 0.5; }
.blog-article-figure { margin: 0 0 24px; }
.blog-article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.admin-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-nav-top {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.admin-btn-primary:hover { filter: brightness(1.08); }
.admin-btn-danger-sm {
  background: transparent;
  color: #8b2e2e;
  border: 1px solid #c99;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
}
.admin-btn-danger-sm:hover { background: #fff5f5; }
.admin-blog-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}
.admin-blog-row:last-child { border-bottom: 0; }
.admin-inline-delete { margin: 0; }
.admin-sub { margin: 4px 0 0; font-size: 0.92rem; }
.admin-label-block { display: block; margin: 0 0 16px; font-weight: 600; }
.admin-input, .admin-textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  box-sizing: border-box;
}
.admin-textarea-tall { min-height: 200px; font-family: ui-monospace, monospace; }
.admin-check { display: block; margin: 16px 0; font-weight: 600; }
.admin-form-actions { margin-top: 8px; }
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--home .blog-card-image-wrap {
    min-height: 200px;
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.categories .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-categories-wrap {
  width: min(1560px, 96%);
}
.home-categories-wrap .categories .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-categories-wrap .categories .home-services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .home-categories-wrap .categories .home-services-grid {
    grid-template-columns: 1fr !important;
  }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f8f6f2 0%, #f3f1ed 100%);
  color: #1f1f1f;
  border: 1px solid var(--border-cool);
  border-radius: 24px;
  padding: 30px 24px 28px;
  min-height: 390px;
  box-shadow: 0 8px 24px rgba(31, 26, 19, .05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 18px 34px rgba(31, 26, 19, .1);
}
.card h3 {
  margin: 14px 0 10px;
  font-size: 1.7rem;
  line-height: 1.22;
  color: #1c1c1c;
  font-weight: 500;
  font-family: Georgia, "Times New Roman", serif;
}
.card-subtitle {
  margin: 2px 0 10px;
  color: #3f3a34;
  font-size: .97rem;
  font-weight: 600;
}
.card-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.card-points li {
  position: relative;
  color: #5f5952;
  font-size: .88rem;
  line-height: 1.55;
  padding-left: 18px;
}
.card-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-deep);
  font-weight: 700;
}
.card-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-deep);
  font-size: .82rem;
  letter-spacing: .07em;
  font-weight: 700;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fff 0%, #f8f5f0 100%);
  border: 1px solid #e7dccc;
  color: var(--accent-deep);
}
.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.link-overlay { position: absolute; inset: 0; }

.list {
  display: grid;
  gap: 12px;
}
.list-item {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}
.list-category { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.list-item strong { display: block; margin-top: 4px; }
.list-item p { margin: 4px 0 0; color: var(--muted); }

.subheader {
  background: var(--dark);
  color: var(--white);
  padding: 44px 0;
}
/* Breadcrumb: link « înapoi » + etichetă pe un singur rând */
.subheader-breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  min-width: 0;
  width: 100%;
  line-height: 1.3;
  font-size: 0.95rem;
}
.subheader-breadcrumb .back-link {
  flex: 0 0 auto;
  white-space: nowrap;
}
.subheader .subheader-breadcrumb .kicker {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.subheader-breadcrumb-sep {
  color: rgba(56, 189, 248, 0.55);
  font-size: 0.7rem;
  font-weight: 300;
  flex: 0 0 auto;
  line-height: 1;
  user-select: none;
}

/* ——— Pagină /contacte ——— */
main .contacte-page {
  padding: clamp(28px, 5vw, 48px) 0 8px;
}
.contacte-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 40px);
  /* Date de contact (coloana mai joasă) aliniate la mijlocul vertical față de formular */
  align-items: center;
  padding: clamp(12px, 2vw, 20px) 0 32px;
}
.contacte-h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: #17343a;
  font-family: Georgia, "Times New Roman", serif;
}
.contacte-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contacte-list-item {
  margin: 0;
  padding: 0;
  border: 0;
}
.contacte-list-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a625a;
  margin-bottom: 4px;
}
.contacte-list-link {
  color: #0d2b32;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.02rem;
  word-break: break-word;
}
.contacte-list-link:hover {
  text-decoration: underline;
}
.contacte-list-value,
.contacte-list-address {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2c2c2c;
}
.contacte-list-address {
  display: block;
  max-width: 36em;
}
.contacte-details {
  background: #fff;
  border: 1px solid #e7e2da;
  border-radius: 10px;
  padding: 22px 20px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  min-width: 0;
}
.contacte-form-block {
  min-width: 0;
  display: grid;
  gap: 12px;
}
.contacte-form-block .contacte-notice {
  margin: 0;
}
.contacte-form-card {
  background: #fff;
  border: 1px solid #e7e2da;
  border-radius: 10px;
  padding: 22px 20px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.contacte-form-lead {
  margin: 0 0 12px;
  color: #5f5f5f;
  font-size: 0.92rem;
  line-height: 1.45;
}
.inner-contact-form {
  display: grid;
  gap: 10px;
  position: relative;
}
.inner-contact-form label {
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
  color: #3f3a34;
  font-weight: 600;
}
.inner-contact-form input,
.inner-contact-form textarea {
  width: 100%;
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  box-sizing: border-box;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.45;
}
.inner-contact-form input::placeholder,
.inner-contact-form textarea::placeholder {
  text-align: center;
}
.inner-contact-form input:focus,
.inner-contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(184, 149, 106, 0.2);
}
.inner-contact-form textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 16px;
  padding-bottom: 16px;
}
.contacte-form-submit {
  border: 1px solid #2563eb;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #f8fafc;
  border-radius: 8px;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-size: 0.95rem;
  margin-top: 4px;
  font-family: inherit;
}
.contacte-form-submit:hover {
  filter: brightness(1.03);
}
/* Hartă: lățime totală viewport, sub conținutul principal */
.contacte-map-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #e8e4de;
  border-top: 1px solid #d5cec4;
  box-sizing: border-box;
}
.contacte-map-h {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a2e33;
  margin: 0;
  padding: 28px 16px 14px;
  background: #f0eeea;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #ddd8d0;
}
.contacte-map-frame {
  position: relative;
  width: 100%;
  height: min(56vh, 480px);
  min-height: 280px;
  background: #c8c4bc;
  overflow: hidden;
}
.contacte-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .contacte-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .contacte-map-frame {
    min-height: 240px;
    height: min(50vh, 400px);
  }
}

/* ——— /legislatia ——— */
.legislation-page {
  padding: 20px 0 48px; /* spațiu sub header până la tabel */
}
.legislation-table-wrap {
  background: #fff;
  border: 1px solid #e0dcd4;
  border-radius: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.legislation-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.legislation-table thead th:first-child,
.legislation-table tbody td:first-child {
  width: 58%;
}
.legislation-table thead th:nth-child(2),
.legislation-table tbody td:nth-child(2) {
  width: 42%;
}
.legislation-table thead th {
  background: #1a1f24;
  color: #f5f0e8;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legislation-table thead th:nth-child(2) {
  text-align: center;
  vertical-align: middle;
}
.legislation-table tbody tr {
  border-top: 1px solid #ece8e0;
}
.legislation-table tbody tr:hover {
  background: #fbf9f5;
}
.legislation-table td {
  padding: 14px 16px;
  vertical-align: middle;
}
.legislation-name {
  color: #1f2b2f;
  font-weight: 500;
  line-height: 1.45;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.legislation-table td:nth-child(2) {
  text-align: center;
  white-space: normal;
}
.legislation-link {
  display: inline-block;
  background: #fff;
  color: #1a2e33;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #c4b8a8;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  vertical-align: middle;
  line-height: 1.25;
}
.legislation-link:hover {
  text-decoration: none;
  color: #0d2b32;
  background: #faf8f4;
  border-color: #a89478;
}
.legislation-link:active {
  background: #f0ece4;
}

@media (max-width: 900px) {
  .legislation-table-wrap {
    overflow: visible;
  }
  .legislation-table {
    min-width: 0;
    width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
  }
  .legislation-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .legislation-table tbody tr {
    display: block;
    padding: 12px 14px 14px;
    border-top: 1px solid #ece8e0;
  }
  .legislation-table tbody tr:first-child {
    border-top: 0;
    padding-top: 10px;
  }
  .legislation-table tbody td {
    display: block;
    width: 100% !important;
    padding: 0;
    border: 0;
    text-align: left !important;
    vertical-align: top;
  }
  .legislation-table tbody td:first-child {
    padding-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
  }
  .legislation-table tbody td:nth-child(2) {
    padding-top: 0;
  }
  .legislation-table tbody td[colspan] {
    padding: 16px 14px;
    text-align: center !important;
  }
  .legislation-link {
    padding: 7px 14px;
    font-size: 0.85rem;
  }
}

.back-link {
  color: var(--gold);
  text-decoration: none;
}
.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  margin: 28px auto 56px;
}
.service-content {
  background: var(--white);
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 22px;
  white-space: normal;
  overflow-wrap: break-word;
}
.service-content p {
  margin: 0 0 1em;
  line-height: 1.65;
}
.service-content p:last-child {
  margin-bottom: 0;
}
.service-content h1,
.service-content h2,
.service-content h3 {
  margin: 1.1em 0 0.5em;
  font-family: Georgia, "Times New Roman", serif;
}
.service-content ul,
.service-content ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}
.service-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
  font-size: .95rem;
}
.service-content th,
.service-content td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.service-content pre,
.service-content code {
  background: #f4f1ec;
  border-radius: 4px;
  font-size: .92em;
}
.service-content pre {
  padding: 12px 14px;
  overflow-x: auto;
}
.service-content a {
  color: #2c5282;
  text-decoration: underline;
}
.service-content blockquote {
  margin: 0 0 1em;
  padding-left: 1em;
  border-left: 3px solid #2563eb;
  color: #4a4a4a;
}
.service-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
.sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
}
.contact-box, .related-box {
  background: var(--white);
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 16px;
}
.sidebar-contact-box h3 {
  margin-top: 0;
  text-align: center;
}
.sidebar-contact-box {
  padding: 0;
  overflow: hidden;
}
.sidebar-contact-box-head {
  background: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sidebar-contact-box-head h3 {
  margin: 0;
  color: #fff;
}
.sidebar-contact-lead {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: .9rem;
  text-align: center;
}
.sidebar-contact-form {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
  background: #fff;
}
.sidebar-contact-form label {
  display: grid;
  gap: 4px;
  font-size: .85rem;
  color: #3f3a34;
}
.sidebar-contact-form input,
.sidebar-contact-form textarea {
  width: 100%;
  border: 1px solid #d8d0c4;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.45;
  font-size: 0.95rem;
}
.sidebar-contact-form input::placeholder,
.sidebar-contact-form textarea::placeholder {
  text-align: center;
}
.sidebar-contact-form textarea {
  min-height: 88px;
  resize: vertical;
  padding-top: 16px;
  padding-bottom: 16px;
}
.sidebar-contact-submit {
  border: 1px solid #2563eb;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.sidebar-notice-ok {
  color: #1a3d24;
  background: #e9f7ee;
  border: 1px solid #9ed5ad;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .9rem;
  margin: 0 0 8px;
}
.sidebar-notice-err {
  color: #5c1a1a;
  background: #fdeaea;
  border: 1px solid #e7aaaa;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .9rem;
  margin: 0 0 8px;
}
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sidebar-categories-widget {
  background: #fff;
  border: 1px solid #e7e0d4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(50, 40, 20, .12);
}
.sidebar-categories-widget-title {
  margin: 0;
  background: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.sidebar-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-categories-list li {
  border-bottom: 1px solid #efe9df;
}
.sidebar-categories-list li:last-child {
  border-bottom: 0;
}
.sidebar-categories-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: #2b2b2b;
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s ease;
}
.sidebar-categories-link:hover {
  background: #faf7f2;
  color: #1d1d1d;
}
.sidebar-categories-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(168, 131, 46, .15);
  color: #8f6c2a;
  font-size: .85rem;
  flex-shrink: 0;
}
.sidebar-site-banner {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f4e6d7;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: center;
}
.sidebar-site-banner-name {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .02em;
}
.sidebar-site-banner-phone {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}
.sidebar-site-banner-phone a {
  color: #e6c7a0;
  text-decoration: none;
}
.sidebar-site-banner-phone a:hover {
  text-decoration: underline;
}
.sidebar-site-banner-address {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(244, 230, 215, .88);
}
.related-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
  border-top: 1px solid #ededed;
}
.related-item:first-of-type { border-top: 0; }
.related-item p { margin: 3px 0 0; color: var(--muted); font-size: .9rem; }

/* ——— Footer (general) ——— */
.footer {
  color: #ddd;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

/* ——— Premium footer: 3 coloane egale (lățime + înălțime) ——— */
.footer.footer-premium {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(168deg, #0f172a 0%, #020617 42%, #0c1222 100%);
  color: #e4dcd2;
  padding: 0;
  border-top: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.06);
  overflow: hidden;
  box-sizing: border-box;
}
.footer-premium .footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 48px max(20px, 3vw) 52px;
}
.footer-premium-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55) 20%, rgba(56, 189, 248, 0.4) 50%, rgba(59, 130, 246, 0.55) 80%, transparent);
  pointer-events: none;
  opacity: 0.85;
}
.footer-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.footer-premium .footer-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}
.footer-panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 28px 22px 30px;
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(30, 58, 138, 0.35) 0%, rgba(2, 6, 23, 0.94) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.07),
    0 18px 44px rgba(0, 0, 0, 0.45);
}
.footer-panel .footer-logo {
  margin-bottom: 2px;
}
.footer-logo {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.site-logo-img-footer {
  max-width: 300px;
  max-height: 92px;
}
.footer-logo:hover {
  opacity: 0.9;
}
.footer-logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
  color: #f8fafc;
  letter-spacing: 0.02em;
}
.footer-logo-text small {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(56, 189, 248, 0.95);
  margin-top: 6px;
}
.footer-tagline {
  margin: 18px 0 0;
  max-width: none;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #b5aa9c;
  letter-spacing: 0.01em;
  flex: 0 0 auto;
}
.footer-body {
  margin: 14px 0 0;
  max-width: none;
  font-size: 0.86rem;
  line-height: 1.58;
  color: #9a9085;
  letter-spacing: 0.01em;
  flex: 1 1 auto;
}
.footer-heading {
  margin: 0 0 18px;
  padding: 0;
  font-size: 0;
}
.footer-heading-line {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d4b78d;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.45);
  margin-bottom: 2px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  flex: 1 1 auto;
  columns: 1;
  column-gap: 1.5rem;
}
@media (min-width: 600px) {
  .footer-panel .footer-links {
    columns: 2;
  }
}
.footer-links li {
  break-inside: avoid;
  margin-bottom: 9px;
}
.footer-links a {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #d5cdc2;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-links a:hover {
  color: #f5eadc;
  border-bottom-color: rgba(56, 189, 248, 0.45);
}
.footer .footer-panel a[href^="mailto"],
.footer .footer-panel a[href^="tel"] {
  color: #efe6da;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer .footer-panel a[href^="mailto"]:hover,
.footer .footer-panel a[href^="tel"]:hover {
  color: #fff;
  border-bottom-color: rgba(56, 189, 248, 0.5);
  text-decoration: none;
}
.footer-muted { margin: 0; font-size: 0.9rem; color: #8f8680; }
.footer-muted a { color: #d4b896; }
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
}
.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-contact-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7d6d;
}
.footer-contact a {
  font-size: 0.95rem;
  color: #f2ebe3;
  word-break: break-word;
  text-decoration: none;
}
.footer-address {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #c4bbb0;
}
.footer-social-links {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(201, 168, 120, 0.08);
  color: #f1e8db;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-social-link:hover {
  color: #fff;
  border-color: rgba(230, 196, 146, 0.86);
  background: rgba(201, 168, 120, 0.24);
}
@media (max-width: 900px) {
  .footer-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-panel .footer-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .footer-logo-text {
    text-align: center;
  }
  .site-logo-img-footer {
    margin-left: auto;
    margin-right: auto;
    max-width: 270px;
    max-height: 84px;
  }
  .footer-panel .footer-links {
    columns: 1;
  }
}
@media (min-width: 901px) {
  .footer-premium .footer-col > .footer-panel,
  .footer-premium .footer-col > nav.footer-panel {
    min-height: 100%;
  }
}

.footer-premium-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(200, 168, 118, 0.14);
  background: rgba(0, 0, 0, 0.22);
}
.footer-premium-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 22px max(20px, 3vw) 28px;
  box-sizing: border-box;
}
.footer-copyright,
.footer-crafted {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #7a7168;
  letter-spacing: 0.02em;
}
.footer-crafted {
  text-align: right;
}
.footer-crafted a {
  color: #c9a574;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-left: 0.25em;
}
.footer-crafted a:hover {
  color: #e8d4b0;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .footer-premium-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-crafted {
    text-align: center;
  }
}

/* Butoane fixe: Viber, WhatsApp, Solicită apel */
.fab-contact {
  position: fixed;
  z-index: 10050;
  right: max(12px, 2.5vw);
  bottom: max(16px, 3vh);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: Arial, sans-serif;
}
.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
}
.fab-viber {
  background: linear-gradient(180deg, #7b67b3 0%, #554a8a 100%);
}
.fab-whatsapp {
  background: linear-gradient(180deg, #2fc064 0%, #1e8a45 100%);
}
.fab-call {
  background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
  color: #f8fafc;
  border-color: rgba(15, 23, 42, 0.35);
}
.fab-call:hover {
  color: #f8fafc;
  filter: brightness(1.08);
}
.fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.12);
}
.fab-icon-wa {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.fab-icon-viber {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.fab-icon-viber svg {
  display: block;
  flex-shrink: 0;
}
.fab-icon-phone {
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
}
.fab-label {
  white-space: nowrap;
  max-width: 34vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 400px) {
  .fab-label {
    display: none;
  }
  .fab-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
  }
  .fab-icon,
  .fab-icon-wa {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fab-btn:hover {
    transform: none;
  }
}

.fab-open-callback {
  cursor: pointer;
  font: inherit;
  border: none;
}
.fab-open-callback.fab-btn {
  color: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-align: left;
  display: inline-flex;
}
.fab-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10060;
  background: rgba(8, 6, 4, 0.62);
  backdrop-filter: blur(4px);
}
.fab-modal {
  position: fixed;
  z-index: 10061;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  max-height: min(90vh, 560px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 6px;
  background: linear-gradient(175deg, #2a2320 0%, #14110f 100%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}
.fab-modal[hidden],
.fab-modal-backdrop[hidden] {
  display: none;
}
.fab-modal-inner {
  position: relative;
  padding: 24px 22px 22px;
  color: #e8e0d8;
}
.fab-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #b0a99a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}
.fab-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.fab-modal-title {
  margin: 0 28px 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #f5ebe0;
}
.fab-modal-lead {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #9d948a;
}
.fab-modal-label {
  display: block;
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b5a99a;
}
.fab-modal-label input {
  display: block;
  width: 100%;
  margin-top: 6px;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #f2ede6;
  font-family: inherit;
}
.fab-modal-label input::placeholder {
  color: #6d6660;
}
.fab-modal-label input:focus {
  outline: 2px solid rgba(56, 189, 248, 0.45);
  outline-offset: 1px;
}
.fab-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin: 8px 0 0;
}
.fab-modal-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.fab-modal-btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
  color: #f8fafc;
  border-color: rgba(0, 0, 0, 0.12);
}
.fab-modal-btn-primary:hover {
  filter: brightness(1.05);
}
.fab-modal-btn-secondary {
  background: transparent;
  color: #c4b8ab;
  border-color: rgba(56, 189, 248, 0.35);
}
.fab-modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.not-found { text-align: center; padding: 80px 0; }

@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; }
  .nav-row.nav-row-dark {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    min-height: 64px;
  }
  .nav-row.nav-row-dark .logo-box-dark {
    flex: 0 1 auto;
    min-width: 0;
  }
  .nav-row.nav-row-dark .main-nav.main-nav-dark {
    display: none;
  }
  .nav-shell.is-nav-open .nav-row.nav-row-dark .main-nav.main-nav-dark {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--site-header-bar-height, 118px);
    bottom: 0;
    z-index: 9992;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(22, 17, 14, 0.98) 0%, rgba(14, 11, 9, 0.99) 100%);
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
  }
  .nav-shell.is-nav-open .main-nav.main-nav-dark a {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-shell.is-nav-open .main-nav.main-nav-dark a:hover {
    color: rgba(255, 232, 200, 0.95);
  }
  .nav-shell.is-nav-open .main-nav.main-nav-dark .nav-mobile-social {
    margin-top: auto;
    padding: 18px 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .nav-shell.is-nav-open .main-nav.main-nav-dark .nav-mobile-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(37, 99, 235, 0.14);
    color: #f5e7d8;
    text-decoration: none;
  }
  .nav-shell.is-nav-open .main-nav.main-nav-dark .nav-mobile-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  .nav-trailing {
    flex-shrink: 0;
    position: relative;
    z-index: 9999;
  }
  .nav-menu-toggle {
    display: inline-flex;
  }
  .phone-pill {
    font-size: 0.82rem;
    padding: 8px 12px;
    white-space: nowrap;
    max-width: min(200px, 42vw);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cta-green { justify-self: center; }
  .hero-two-col { grid-template-columns: 1fr; }
  .hero-image-wrap { justify-content: flex-start; }
  .hero-home-contact {
    justify-self: center;
    max-width: 440px;
    width: 100%;
    filter: none;
  }
  .hero-showcase-content.hero-home-hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 4px;
  }
  .hero-home-two-col {
    gap: 28px;
    padding-top: 0;
  }
  .hero-home-copy {
    max-width: 100%;
  }
  /* Home: centrat doar pe mobil (hero în o coloană) */
  .hero-showcase-content.hero-home-hero {
    text-align: center;
  }
  .hero-home-hero .hero-content.hero-content-showcase {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 8px;
  }
  .hero-home-hero .hero-content-showcase h1,
  .hero-home-hero .hero-title-line {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-home-hero .hero-content-showcase p.hero-lead,
  .hero-home-hero .hero-content-showcase p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .hero-home-hero .hero-content-showcase .hero-script {
    text-align: center;
  }
  .hero-home-hero .hero-home-script {
    padding: 0 4px 10px;
    margin: 0 auto 14px;
    border-left: none;
    border-bottom: 2px solid rgba(201, 162, 107, 0.85);
  }
  .hero-home-hero .hero-home-cta {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 26px auto 0;
    text-align: center;
    box-sizing: border-box;
  }
  .hero-showcase {
    min-height: auto;
  }
  .top-strip-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 6px 0;
  }
  .top-strip-contact {
    justify-content: center;
  }
  .top-sep-social {
    display: none;
  }
  .nav-cta-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-showcase-content {
    padding: 36px 0 10px;
    min-height: 360px;
  }
  .hero-content-showcase {
    padding: 24px 20px;
  }
  .hero-title-line {
    white-space: normal;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0 24px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .categories .grid {
    grid-template-columns: 1fr;
  }
  .home-categories-wrap .categories .home-services-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
}

.admin-body {
  background: #f2f1ee;
  color: #1f1f1f;
}
.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.admin-login-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid #e6ddd1;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(25, 21, 18, .08);
}
.admin-login-card h1 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}
.admin-login-card p {
  margin: 0 0 16px;
  color: #5f5952;
}
.admin-form {
  display: grid;
  gap: 12px;
}
.admin-form label,
.admin-card label {
  display: grid;
  gap: 6px;
  font-size: .9rem;
  color: #3f3a34;
}
.admin-form input,
.admin-card input,
.admin-card textarea {
  width: 100%;
  border: 1px solid #ddd0bf;
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
}
.admin-form button,
.admin-card button {
  border: 1px solid #2563eb;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}
.admin-page {
  padding-top: 26px;
  padding-bottom: 42px;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.admin-header h1 {
  margin: 0;
  font-size: 1.7rem;
}
.admin-logout {
  text-decoration: none;
  color: #0f172a;
  border: 1px solid var(--border-cool);
  border-radius: 999px;
  padding: 8px 12px;
  background: #e2e8f0;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
}
.admin-card {
  background: #fff;
  border: 1px solid #e6ddd1;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 9px;
}
.admin-card h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}
.admin-check {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}
.admin-check input {
  width: auto;
}
.admin-alert {
  margin: 0 0 14px;
  border-radius: 8px;
  padding: 10px 12px;
}
.admin-alert-ok {
  background: #e9f7ee;
  border: 1px solid #9ed5ad;
}
.admin-alert-error {
  background: #fdeaea;
  border: 1px solid #e7aaaa;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
}
.admin-sidebar {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #f4e6d7;
  padding: 22px 16px;
  border-right: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-sidebar .admin-logout-side {
  margin-top: 14px;
  padding-top: 0;
  align-self: center;
  width: 100%;
  max-width: 220px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(37, 99, 235, 0.14);
  color: #f0ddc5;
  font-weight: 700;
}
.admin-sidebar .admin-logout-side:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
}
.admin-sidebar h2 {
  margin: 0;
  font-size: 1.4rem;
}
.admin-sidebar-subtitle {
  margin: 4px 0 14px;
  color: rgba(244, 230, 215, .75);
  font-size: .88rem;
}
.admin-nav {
  display: grid;
  gap: 6px;
}
.admin-nav-link {
  text-decoration: none;
  color: #ecd9c1;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: .92rem;
}
.admin-nav-link:hover {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(37, 99, 235, 0.12);
}
.admin-nav-link.is-active {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(56, 189, 248, 0.45);
}
.admin-main {
  padding: 26px 22px 42px;
  min-width: 0; /* permite scroll orizontal în interiorul coloanei grid (tabel legislație) */
}
.admin-logout-side {
  margin-top: 16px;
  display: inline-block;
}
.admin-sidebar-cats {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.admin-sidebar-cats-heading {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 230, 215, 0.55);
}
.admin-sidebar-cats-empty {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(244, 230, 215, 0.55);
  line-height: 1.45;
}
.admin-cat-pick {
  max-height: min(60vh, 480px);
  overflow-y: auto;
  padding-right: 4px;
  gap: 4px;
}
.admin-cat-pick .admin-nav-link {
  line-height: 1.3;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}
.admin-cat-pick-meta {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(244, 230, 215, 0.45);
  text-transform: lowercase;
  letter-spacing: 0;
}
.admin-card-wide {
  max-width: 900px;
}
.admin-services-list {
  display: grid;
  gap: 8px;
}
.admin-service-link {
  text-decoration: none;
  color: #2f2a24;
  background: #f8f4ee;
  border: 1px solid #e6d9c9;
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
}
.admin-service-link span {
  color: #7d6b59;
  font-size: .85rem;
}
.admin-service-link.is-active {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 1px #2563eb;
}

@media (max-width: 1000px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.22);
    min-height: 0;
  }
  .admin-sidebar .admin-logout-side {
    margin-top: 16px;
    padding-top: 0;
  }
}
.admin-form-section-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.admin-form-subsection {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a241c;
}
.admin-sidebar-back {
  margin-top: 12px;
}
.admin-sidebar-back .admin-nav-link {
  display: block;
}
.admin-service-category-form {
  margin-bottom: 18px;
}
.admin-service-body-form {
  margin-top: 0;
}
.admin-services-table-card {
  padding: 0;
  overflow: hidden;
}
.admin-services-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-services-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-services-table th,
.admin-services-table td {
  border-bottom: 1px solid #e6ddd1;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}
.admin-services-table thead th {
  background: #f4ece3;
  font-weight: 600;
  color: #3a322a;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.admin-services-table tbody tr:hover {
  background: #fbf9f5;
}
.admin-code-slug {
  font-size: 0.82rem;
  color: #5a5248;
}
.admin-btn-table {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}
.admin-services-empty {
  margin: 0;
  padding: 16px 14px;
  color: #6b5e52;
}
.admin-field-hint {
  display: block;
  font-size: .82rem;
  color: #6b5e52;
  font-weight: 400;
  margin-bottom: 4px;
}
#editor-service-content {
  min-height: 320px;
}
.admin-legislation-form.admin-card-wide {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.admin-legislation-form .admin-form-section-title {
  margin-top: 18px;
}
.admin-legislation-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0 6px;
  width: 100%;
  max-width: 100%;
}
.admin-legislation-table {
  width: max(100%, 1090px);
  min-width: 1090px;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-legislation-table th,
.admin-legislation-table td {
  border: 1px solid #e6d9c9;
  padding: 8px 10px;
  vertical-align: top;
  text-align: left;
}
.admin-legislation-table th {
  background: #f4ece3;
  font-weight: 600;
  color: #3a322a;
}
.admin-legislation-table th:nth-child(1),
.admin-legislation-table td:nth-child(1) {
  min-width: 420px;
  width: 47%;
}
.admin-legislation-table th:nth-child(2),
.admin-legislation-table td:nth-child(2) {
  min-width: 527px; /* ~15% mai îngust decât 620px */
  width: 53%;
}
.admin-legislation-table input[type="text"],
.admin-legislation-table input[type="url"] {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 12em;
  box-sizing: border-box;
  border: 1px solid #ddd0bf;
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}
.admin-legislation-table input[type="url"] {
  font-size: 0.88rem;
}
.admin-legislation-col-action {
  width: 52px;
  min-width: 52px;
  max-width: 52px;
  text-align: center;
}
.tox.tox-silver {
  z-index: 3;
}
.service-admin-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #f4e6d7;
  border-bottom: 1px solid rgba(56, 189, 248, 0.28);
  font-size: .9rem;
}
.service-admin-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 10px 0;
}
.service-admin-label {
  font-weight: 600;
}
.service-admin-bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.service-admin-bar-links a {
  color: #e6c7a0;
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 199, 160, .45);
}
.service-admin-bar-links a:hover {
  color: #fff3e6;
}
.service-admin-panel {
  margin: 16px auto 0;
  max-width: 1160px;
  padding: 0 18px 18px;
}
.service-admin-summary {
  cursor: pointer;
  font-weight: 600;
  color: #3a322a;
  padding: 6px 0 12px;
  list-style: none;
  font-size: .95rem;
}
.service-admin-summary::-webkit-details-marker {
  display: none;
}
.service-admin-form {
  margin-top: 4px;
  max-width: 900px;
  padding: 16px 18px;
  border: 1px solid #e6ddd1;
  border-radius: 14px;
  background: #fcfaf7;
  display: grid;
  gap: 9px;
}
.service-admin-form .admin-check {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}
.service-admin-form label {
  display: grid;
  gap: 6px;
  font-size: .9rem;
  color: #3f3a34;
}
.service-admin-form input,
.service-admin-form textarea {
  width: 100%;
  border: 1px solid #ddd0bf;
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
}
.service-admin-saved {
  margin: 12px auto 0;
  max-width: 1160px;
  padding: 10px 18px;
  background: #e9f7ee;
  border: 1px solid #9ed5ad;
  border-radius: 8px;
  color: #1a3d24;
  font-size: .92rem;
}
.service-admin-form button {
  border: 1px solid #2563eb;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  justify-self: start;
}

/* ——— Hero pagini interior (Despre noi, Blog, Legislație, Contacte) ——— */
.page-hero-visual {
  position: relative;
  min-height: min(32vh, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
.page-hero-visual-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 22px 18px 28px;
  text-align: center;
}
.page-hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(232, 210, 176, 0.95);
}
.page-hero-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.page-hero-lead {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.55;
  color: rgba(255, 248, 238, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.page-subheader-narrow {
  padding: 18px 0 0;
}
.page-subheader-narrow .subheader-breadcrumb {
  margin-bottom: 0;
}
/* Breadcrumb doar pe pagină serviciu (subheader după hero) */
.service-page-breadcrumb-bar {
  background: var(--dark);
  color: var(--white);
  padding: 14px 0 16px;
}
.service-page-breadcrumb-bar .subheader-breadcrumb {
  margin: 0;
}
.service-page-breadcrumb-bar .back-link {
  color: var(--gold);
}
.service-page-breadcrumb-bar .subheader-breadcrumb-sep,
.service-page-breadcrumb-bar .kicker {
  color: rgba(255, 255, 255, 0.88);
}
.about-cms-prose {
  padding-top: 8px;
  padding-bottom: 8px;
}
.about-page {
  padding: 28px 0 56px;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 32px 40px;
  align-items: start;
  margin-bottom: 48px;
}
.about-section-title {
  margin: 0 0 14px;
  font-size: 1.55rem;
  font-weight: 800;
  color: #1a1f24;
  letter-spacing: -0.02em;
}
.about-section-title-center {
  text-align: center;
  margin-bottom: 22px;
}
.about-intro-copy .about-lead {
  font-size: 1.12rem;
  color: #2c3538;
  line-height: 1.65;
  margin: 0 0 16px;
}
.about-intro-copy p {
  margin: 0 0 14px;
  color: #3d4548;
  line-height: 1.65;
}
.about-intro-aside {
  display: grid;
  gap: 14px;
}
.about-stat-card {
  background: #fff;
  border: 1px solid #e4dcd2;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 10px 32px rgba(25, 21, 18, 0.06);
}
.about-stat-card-accent {
  border-color: rgba(216, 170, 69, 0.45);
  background: linear-gradient(165deg, #fffefb 0%, #faf6f0 100%);
}
.about-stat-value {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: #c9973c;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6366;
  margin-bottom: 8px;
}
.about-stat-text {
  margin: 0;
  font-size: 0.92rem;
  color: #4a5255;
  line-height: 1.5;
}
.about-prose-section {
  margin-bottom: 44px;
  max-width: 920px;
}
.about-prose-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}
.about-prose-columns p {
  margin: 0;
  color: #3d4548;
  line-height: 1.68;
  font-size: 0.98rem;
}
.about-process-section--highlight {
  position: relative;
  margin-bottom: 52px;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 36px) clamp(32px, 4vw, 44px);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(152deg, #1e252c 0%, #14191e 42%, #0f1216 100%);
  border: 1px solid rgba(210, 175, 120, 0.28);
  box-shadow:
    0 4px 0 rgba(255, 248, 235, 0.04) inset,
    0 24px 56px rgba(0, 0, 0, 0.18);
}
/* Bandă edge-to-edge: iese din .container pe /despre-noi */
.about-process-section--highlight.about-process-fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding-left: max(18px, 4vw, env(safe-area-inset-left, 0px));
  padding-right: max(18px, 4vw, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
.about-process-section-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 200, 130, 0.65) 22%,
    rgba(250, 228, 190, 0.45) 50%,
    rgba(232, 200, 130, 0.65) 78%,
    transparent
  );
  pointer-events: none;
  opacity: 0.95;
}
.about-process-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
}
.about-process-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 190, 140, 0.88);
}
.about-process-title {
  margin: 0 0 26px;
  color: #faf6f0;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.35);
}
.about-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 16px);
  align-items: stretch;
}
.about-process-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 10px 18px;
  min-width: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.about-process-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 185, 120, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
.about-step-body {
  min-width: 0;
  width: 100%;
}
.about-step-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  background: linear-gradient(165deg, #f0d58c 0%, #d4a84a 55%, #c49438 100%);
  border: 1px solid rgba(255, 235, 190, 0.45);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.35) inset,
    0 6px 20px rgba(200, 150, 60, 0.35);
  flex-shrink: 0;
}
.about-step-body strong {
  display: block;
  font-size: clamp(0.92rem, 1.1vw, 1.02rem);
  color: #fffefb;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.about-step-body p {
  margin: 0;
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
  color: rgba(236, 228, 216, 0.88);
  line-height: 1.5;
}
.about-step-body a {
  color: #f0d080;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(240, 208, 128, 0.45);
}
.about-step-body a:hover {
  color: #ffe9a8;
  text-decoration-color: rgba(255, 233, 168, 0.7);
}
@media (max-width: 1024px) {
  .about-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-step-body strong {
    font-size: 1.02rem;
  }
  .about-step-body p {
    font-size: 0.9rem;
  }
}
@media (max-width: 560px) {
  .about-process-list {
    grid-template-columns: 1fr;
  }
}
.about-digital-section {
  margin-bottom: 44px;
}
.about-digital-lead {
  margin: -6px auto 22px;
  max-width: 560px;
  text-align: center;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #4d5558;
}
.about-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 1100px) {
  .about-tiles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.about-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 20px 22px;
  background: #fff;
  border: 1px solid #e4dcd2;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(25, 21, 18, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.about-tile:hover {
  border-color: rgba(216, 170, 69, 0.45);
  box-shadow: 0 12px 36px rgba(25, 21, 18, 0.08);
  transform: translateY(-2px);
}
.about-tile-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a67c32;
  margin-bottom: 8px;
}
.about-tile-title {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #1f2b2f;
  font-family: Georgia, "Times New Roman", serif;
}
.about-tile-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5a6366;
}
.about-practical--highlight {
  position: relative;
  margin: 0 auto 40px;
  max-width: min(960px, 100%);
  padding: clamp(26px, 3.5vw, 38px) clamp(18px, 3vw, 32px) clamp(28px, 3.5vw, 40px);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(158deg, #222a32 0%, #171c22 45%, #12161b 100%);
  border: 1px solid rgba(210, 175, 120, 0.26);
  box-shadow:
    0 4px 0 rgba(255, 248, 235, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.14);
}
.about-practical-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 200, 130, 0.55) 25%,
    rgba(250, 228, 190, 0.4) 50%,
    rgba(232, 200, 130, 0.55) 75%,
    transparent
  );
  pointer-events: none;
  opacity: 0.9;
}
.about-practical-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}
.about-practical-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(220, 190, 140, 0.88);
}
.about-practical-title {
  margin: 0 0 22px;
  color: #faf6f0;
  text-align: center;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
}
.about-practical-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 16px);
  text-align: center;
}
.about-practical-item--row-full {
  grid-column: 1 / -1;
}
.about-practical-item--email {
  justify-self: center;
  width: min(100%, 440px);
  max-width: 100%;
}
.about-practical-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 16px 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.about-practical-item:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 185, 120, 0.32);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}
.about-practical-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 235, 215, 0.92);
  text-align: center;
  width: 100%;
}
.about-practical-value {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(0.86rem, 1.05vw, 0.95rem);
  color: #fffefb;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a.about-practical-link {
  display: inline-block;
  max-width: 100%;
  text-align: center;
  color: #f0d080;
  font-weight: 600;
  text-decoration: none;
  border-bottom: none;
  box-sizing: border-box;
  margin: 0 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a.about-practical-link:hover {
  color: #ffe9a8;
}
.about-practical-foot {
  margin: 22px 0 0;
  padding: 0;
}
.about-practical-map-link {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(245, 228, 200, 0.92);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(220, 185, 120, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.about-practical-map-link:hover {
  color: #fff;
  border-bottom-color: rgba(255, 235, 200, 0.65);
}
@media (max-width: 440px) {
  .about-practical-list {
    grid-template-columns: 1fr;
  }
  .about-practical-item--row-full {
    grid-column: 1;
  }
  .about-practical-item--email {
    width: 100%;
    justify-self: stretch;
  }
}
.legal-disclaimer {
  position: relative;
  margin: 0 auto 32px;
  max-width: 46rem;
  padding: 16px 22px 18px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.58;
  color: #4a5258;
  background: linear-gradient(165deg, #faf7f1 0%, #f4efe6 100%);
  border: 1px solid rgba(200, 170, 120, 0.4);
  border-left: 4px solid #c9a574;
  border-radius: 12px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 6px 20px rgba(25, 21, 18, 0.06);
}
.legal-disclaimer::before {
  content: "Notă juridică";
  display: block;
  margin-bottom: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a6d38;
}
.legal-disclaimer-body {
  display: block;
  text-align: center;
}
.legal-disclaimer-body--second {
  margin-top: 8px;
}
.legal-disclaimer--article {
  margin: 28px 0 18px;
  padding: 16px 18px 18px;
  max-width: none;
  text-align: center;
}
.about-values {
  margin-bottom: 44px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.about-value-card {
  background: #fff;
  border: 1px solid #e6e0d6;
  border-radius: 14px;
  padding: 22px 20px 24px;
  box-shadow: 0 6px 22px rgba(25, 21, 18, 0.05);
}
.about-value-card h3 {
  margin: 10px 0 8px;
  font-size: 1.08rem;
  color: #1f2b2f;
}
.about-value-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #555e61;
  line-height: 1.55;
}
.about-value-icon {
  font-size: 1.6rem;
  line-height: 1;
}
.cta-hai-sa-vorbim-wrap {
  margin-top: 36px;
  margin-bottom: 48px;
}
.about-cta-panel {
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1f24 0%, #252b31 55%, #1e2328 100%);
  color: #f5f0e8;
  padding: 36px 28px 40px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
.about-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}
.about-cta-title {
  margin: 0 0 10px;
  font-size: 1.45rem;
  font-weight: 800;
}
.about-cta-text {
  margin: 0 0 22px;
  color: rgba(245, 240, 232, 0.82);
  font-size: 1rem;
}
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.about-cta-btn:hover {
  transform: translateY(-1px);
}
.about-cta-btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #f8fafc;
  box-shadow: 0 4px 18px rgba(2, 6, 23, 0.35);
}
.about-cta-btn-secondary {
  border: 1px solid rgba(245, 232, 215, 0.35);
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}
.footer-about-more {
  margin: 12px 0 0;
  font-size: 0.9rem;
}
.footer-about-more a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 189, 248, 0.45);
}
.footer-about-more a:hover {
  color: #bae6fd;
  border-bottom-color: rgba(56, 189, 248, 0.55);
}
@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-prose-columns {
    grid-template-columns: 1fr;
  }
  .about-tiles-grid {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-visual {
    min-height: 28vh;
  }
  .page-hero-visual-inner {
    padding: 22px 18px 28px;
  }
}
