:root {
  --bg: #f5f5f5;
  --dark: #121212;
  --gold: #d8aa45;
  --text: #222;
  --muted: #5f5f5f;
  --white: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 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(7,12,20,.65), rgba(7,12,20,.65)),
    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(24, 18, 15, 0.78);
}

.hero-showcase {
  min-height: 700px;
  /* Imagine fundal + strat negru semitransparent deasupra (ordonare: gradient primul, sub el poza) */
  background:
    linear-gradient(110deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .58) 100%),
    url("/assets/img/hero-justice-scales.png") center 40% / cover no-repeat;
  color: #fff;
  background-color: #0a0a0a;
}
.hero.hero-light {
  background: #f2f4f6;
  min-height: auto;
  padding-bottom: 38px;
}
.top-strip {
  background: #fff;
  border-bottom: 1px solid #ececec;
  font-size: .85rem;
}
.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
}
.top-strip p { margin: 0; color: #1f2b2f; }
.top-strip a { color: #0d2b32; font-weight: 700; text-decoration: none; }
.top-strip-dark {
  background: rgba(24, 18, 15, .68);
  border-bottom: 1px solid rgba(231, 210, 182, .22);
}
.top-strip-dark p,
.top-strip-dark a {
  color: rgba(245, 232, 215, .88);
}
.top-sep {
  margin: 0 8px;
  opacity: .45;
}

.nav-shell {
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.nav-shell-dark {
  background: rgba(26, 20, 16, .56);
  border-bottom: 1px solid rgba(231, 210, 182, .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;
}
.menu-icon { font-size: 1.2rem; color: #1f2b2f; }
.logo-text {
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  color: #18272d;
}
.logo-text small {
  display: block;
  font-size: .7rem;
  letter-spacing: .28em;
}
.logo-box-dark .logo-text {
  color: #f5e7d8;
  font-size: 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
.logo-box-dark .logo-text small {
  color: rgba(226, 196, 162, .9);
  letter-spacing: .2em;
}
.main-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.main-nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  color: #172529;
}
/* 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;
}
.phone-pill {
  color: #f7ecdf;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 15px;
  border: 1px solid rgba(223, 191, 156, .35);
  background: rgba(223, 191, 156, .1);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
.cta-hero {
  text-decoration: none;
  color: #2a1e12;
  background: linear-gradient(180deg, #ead0b2 0%, #dbb590 100%);
  border-radius: 4px;
  padding: 10px 18px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.cta-green {
  background: #163f37;
  color: #fff;
  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(231, 206, 177, .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: #f8ecdf;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.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(244, 231, 216, .86);
}
.hero-lead {
  line-height: 1.72;
  font-size: .98rem;
}
.hero-primary-btn {
  display: inline-block;
  margin-top: 26px;
  text-decoration: none;
  color: #2a1e12;
  background: linear-gradient(180deg, #ead0b2 0%, #dbb590 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: nowrap;
}
@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;
}
.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: 10px 12px;
  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;
}
.hero-contact-form input::placeholder,
.hero-contact-form textarea::placeholder {
  color: #8f8576;
  opacity: 1;
}
.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: #b8956a;
  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;
}
.hero-contact-submit {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid #c9a26e;
  background: linear-gradient(180deg, #edd4b4 0%, #d4ad82 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(223, 191, 156, .45);
  background: rgba(223, 191, 156, .08);
  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, #faf8f5 0%, #f5f2ed 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 #e7ddd0;
  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: #8b7355;
  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, #fbf9f6 0%, #f5f2ed 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-title { margin-top: 28px; }
.blog-page-lead { color: #555; margin: 0 0 18px; font-size: 1rem; }
.blog-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}
.blog-latest-list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e5e0d8;
}
.blog-latest-list li:last-child {
  border-bottom: none;
}
.blog-latest-link {
  display: block;
  padding: 14px 4px 14px 0;
  color: #1c1c1c;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.blog-latest-link:hover {
  color: #8b7355;
}
.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: #163f37;
  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;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f8f6f2 0%, #f3f1ed 100%);
  color: #1f1f1f;
  border: 1px solid #e7ddd0;
  border-radius: 20px;
  padding: 26px 22px 24px;
  min-height: 360px;
  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: #d9c9b6;
  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: #9f8468;
  font-weight: 700;
}
.card-cta {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  color: #9f8468;
  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: #ad9072;
}
.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(212, 183, 141, 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: 0 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: 8px 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: 8px 10px;
  font: inherit;
  box-sizing: border-box;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.inner-contact-form input:focus,
.inner-contact-form textarea:focus {
  outline: none;
  border-color: #b8956a;
  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;
}
.contacte-form-submit {
  border: 1px solid #cfad87;
  background: linear-gradient(180deg, #ead0b2 0%, #dbb590 100%);
  color: #2a1e12;
  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: 480px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.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;
}
.legislation-table td:nth-child(2) {
  text-align: center;
  white-space: nowrap;
}
.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;
}

.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 #cfad87;
  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-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.sidebar-contact-form {
  display: grid;
  gap: 10px;
}
.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: 8px 10px;
  font: inherit;
  box-sizing: border-box;
}
.sidebar-contact-form textarea {
  min-height: 88px;
  resize: vertical;
}
.sidebar-contact-submit {
  border: 1px solid #cfad87;
  background: linear-gradient(180deg, #ead0b2 0%, #dbb590 100%);
  color: #2a1e12;
  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: linear-gradient(180deg, #c4a14a 0%, #a8832e 100%);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(50, 40, 20, .12);
}
.sidebar-categories-widget-title {
  margin: 0;
  background: #fff;
  color: #1a2a4a;
  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, .06);
}
.sidebar-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-categories-list li {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.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: #fff;
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s ease;
}
.sidebar-categories-link:hover {
  background: rgba(0, 0, 0, .1);
  color: #fff;
}
.sidebar-categories-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  font-size: .85rem;
  flex-shrink: 0;
}
.sidebar-site-banner {
  background: linear-gradient(180deg, #1f1713 0%, #2a1f1a 100%);
  color: #f4e6d7;
  border: 1px solid rgba(223, 191, 156, .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, #1a1511 0%, #0e0b09 42%, #14110e 100%);
  color: #e4dcd2;
  padding: 0;
  border-top: 1px solid rgba(200, 165, 110, 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(222, 185, 130, 0.55) 20%, rgba(250, 220, 180, 0.35) 50%, rgba(222, 185, 130, 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(48, 40, 32, 0.55) 0%, rgba(12, 10, 8, 0.92) 100%);
  border: 1px solid rgba(200, 168, 118, 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;
}
.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: #f8f0e4;
  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(220, 190, 150, 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(201, 168, 120, 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(201, 168, 120, 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(201, 168, 120, 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;
}
@media (max-width: 900px) {
  .footer-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .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%;
  }
}

/* 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, #c9a25e 0%, #8b6a35 100%);
  color: #1a1208;
  border-color: rgba(0, 0, 0, 0.12);
}
.fab-call:hover {
  color: #1a1208;
  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: #1a1208;
  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(201, 168, 120, 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(201, 168, 120, 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(201, 168, 120, 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, #c9a25e 0%, #8b6a35 100%);
  color: #1a1208;
  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(201, 168, 120, 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 { grid-template-columns: 1fr; padding: 12px 0; justify-items: center; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
  .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;
  }
  .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;
  }
}

@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 #cfad87;
  background: linear-gradient(180deg, #ead0b2 0%, #dbb590 100%);
  color: #2a1e12;
  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: #2a1e12;
  border: 1px solid #cfad87;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8f1e8;
}
.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, #1f1713 0%, #191310 100%);
  color: #f4e6d7;
  padding: 22px 16px;
  border-right: 1px solid rgba(223, 191, 156, .22);
}
.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(223, 191, 156, .35);
  background: rgba(223, 191, 156, .08);
}
.admin-nav-link.is-active {
  background: rgba(223, 191, 156, .16);
  border-color: rgba(223, 191, 156, .5);
}
.admin-main {
  padding: 26px 22px 42px;
}
.admin-logout-side {
  margin-top: 16px;
  display: inline-block;
}
.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;
}

@media (max-width: 1000px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(223, 191, 156, .22);
  }
}
.admin-form-section-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.admin-field-hint {
  display: block;
  font-size: .82rem;
  color: #6b5e52;
  font-weight: 400;
  margin-bottom: 4px;
}
#editor-service-content {
  min-height: 320px;
}
.tox.tox-silver {
  z-index: 3;
}
.service-admin-bar {
  background: linear-gradient(90deg, #1f1713 0%, #2a1f1a 100%);
  color: #f4e6d7;
  border-bottom: 1px solid rgba(223, 191, 156, .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 #cfad87;
  background: linear-gradient(180deg, #ead0b2 0%, #dbb590 100%);
  color: #2a1e12;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  justify-self: start;
}
