:root {
  --primary: #ff4d00; /* sau #ED4D20 dacă vrei mai mult spre roșu-portocaliu */
  --primary-soft: rgba(255, 142, 1, 0.18);

  /* FUNDALURI MAI ÎNCHISE, NEUTRE (NU ALBASTRU) */
  --bg: #050505;
  --bg-alt: #111111;
  --card: #18181b;

  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.9);
}


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

html {
  scroll-behavior: smooth;
  border-top: none;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  border-top: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111111 0, #050505 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.5;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER / NAVBAR */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;              /* 100% transparent la început */
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent; /* fără linie jos la început */
  transition: background 0.25s ease, border-bottom-color 0.25s ease;
}

/* când am dat scroll */
.top-bar-scrolled {
  background: rgba(5, 5, 5, 0.95);      /* ~95% opac, 5% transparent */
  border-bottom-color: rgba(31, 41, 55, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 90px;
  width: auto;
}

/* NAV LINKS */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: #f9fafb;
}

.nav-links a.active {
  color: #f9fafb;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-cta {
  flex-shrink: 0;
  padding-inline: 1.6rem;
  margin-left: auto;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #0b1120;
  box-shadow: 0 1px 10px #ff4d00;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px #ff4d00;
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.7);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: #fff;
}

.btn-ghost {
  border-color: transparent;
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--text-main);
}

.btn.full-width {
  width: 100%;
}

/* HERO */

.hero {
  padding: 4rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 3rem;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-text::before {
  content: "";
  position: absolute;
  inset: -40px -60px auto auto;
  background: radial-gradient(circle at top, var(--primary-soft), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
}

.highlight {
  color: var(--primary);
}

.hero-subtitle {
  max-width: 34rem;
  color: var(--text-muted);
  margin-bottom: 1.7rem;
  position: relative;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.meta-item {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at left top, var(--primary-soft), #020617);
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.92rem;
  font-weight: 500;
}

/* HERO CARD */

.hero-card {
  display: flex;
  justify-content: center;
}

.hero-card-inner {
  width: 100%;
  max-width: 360px;
  padding: 1.7rem 1.6rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(15, 118, 110, 0.18), var(--card));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.hero-card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-list li + li {
  margin-top: 0.4rem;
}

.hero-contact-box {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: #020617;
  border: 1px dashed rgba(148, 163, 184, 0.75);
}

.small-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.hero-phone {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
}

.small-muted {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* HERO VIDEO */

.hero.hero-video {
  position: relative;
  min-height: 88vh;
  padding: 2rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.9));
}

.hero-video-inner {
  position: relative;
  z-index: 1;
}

.hero-video-inner .eyebrow {
  margin: 0 auto 0.6rem;
  text-align: center;
}

.hero-video-inner h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 4.2vw, 3.8rem);
  line-height: 1.05;
}

.hero-subtitle-center {
  max-width: 38rem;          /* lățimea textului (ca să nu fie prea lung pe un rând) */
  margin: 0.5rem auto 2.2rem;  /* sus | stânga/dreapta | jos */
  text-align: center;        /* CENTRARE text */
  color: var(--text-muted);  /* culoare mai discretă decât titlul */
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-secondary {
  border-width: 2px;
}

/* SECTIONS GENERALE */

.section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #050505, #050505);
}

.section-alt {
  background: radial-gradient(circle at top, #111111, #050505 55%, #000 100%);
}

/* lărgim toate titlurile de secțiune + textul lor */
.section-header {
  text-align: center;
  max-width: 60rem;         /* poți pune și 70rem sau 'none' dacă vrei full */
  margin: 0 auto 2rem;      /* centrat, cu spațiu jos */
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

/* paragraful din secțiune – ușor mai aerisit */
.section-header p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.card {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, #111111, #18181b);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.03rem;
}

.card-price {
  margin: 0 0 0.6rem;
  font-weight: 600;
  color: #f9fafb;
}

.card-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list li + li {
  margin-top: 0.25rem;
}

/* SERVICII – CARDURI CU IMAGINE */

.section-services {
  background: radial-gradient(circle at top, #131313, #050505 55%, #000 100%);
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-tag {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 142, 1, 0.5);
  color: var(--primary);
}

/* PRICING */

/* PRICING – PACHETE */

.section-pricing {
  background: radial-gradient(circle at top, #050505, #050505 50%, #000 100%);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* 4 carduri pe rând pe ecrane mari */
@media (min-width: 1200px) {
  .pricing-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pricing-card {
  border-radius: 26px;
  padding: 2rem 2.2rem 2rem;
  background: #050505;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

/* efect când treci cu mouse-ul peste card */
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  background: radial-gradient(circle at top,
              rgba(255, 142, 1, 0.16),
              #050505 55%);
  box-shadow: 0 26px 60px rgba(0,0,0,0.95);
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 24px 55px #ff4d00;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--primary);
}

/* poți șterge COMPLET blocul de mai jos dacă nu mai vrei glow permanent */
 /* .pricing-card-featured::before { ... } */

.pricing-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
}

.badge-highlight {
  color: var(--primary);
}

.pricing-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.pricing-card .card-text {
  margin-bottom: 0.6rem;
}

.pricing-from {
  margin-top: 1.8rem;      /* spațiu față de conținut */
  font-size: 1rem;      /* puțin mai mare */
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-align: center;      /* centrat */
}

.pricing-from span {
  color: var(--primary);
  font-weight: 600;
}


/* textul "Pentru cine este" puțin mai jos */
.pricing-audience-label {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.pricing-audience-list {
  color: var(--text-muted);
  padding-left: 1.1rem;   /* aceeași indentare pentru toate bullet-urile */
}

/* WHY SECTION */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.why-item {
  padding: 1.3rem 1.2rem;
  border-radius: var(--radius-md);
  background: #050505;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;


  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  }

/* efect când treci cu mouse-ul peste card */
.why-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  background: radial-gradient(circle at top,
              rgba(255, 142, 1, 0.16),
              #050505 55%);
  box-shadow: 0 26px 60px rgba(0,0,0,0.95);
}

.why-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #f9fafb;
  text-align: center;
}

/* STEPS */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.step {
  position: relative;
  padding: 1.4rem 1.2rem 1.2rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at top left, var(--primary-soft), #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.9rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary);
  color: #020617;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
}

/* === GALERIE SIMPLĂ – GRID DE POZE === */

.gallery-grid-simple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  /* păstrează aprox. același raport de aspect la toate pozele */
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efect mic la hover – zoom + puțină lumină */
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(1.05);
}

/* CTA sub galerie */
.gallery-cta {
  margin-top: 3rem;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.gallery-cta p {
  margin-bottom: 1.5rem;
  color: var(--text-muted, #9ca3af);
}

/* === LIGHTBOX IMAGINE === */

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

/* Buton X de închidere */
.image-lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: scale(1.05);
}


/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.faq-item {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  background: #111111;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: #f9fafb;
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.7fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.contact-link {
  font-weight: 600;
  color: #f9fafb;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-form {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-md);
  background: #111111;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: #020617;
  padding: 0.55rem 0.75rem;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #050505;
  padding: 1.5rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-secondary {
  opacity: 0.9;
}

/* ===== ANPC bannere ===== */

.anpc-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;            /* distanța între bannere */
  margin-top: 2rem;
  flex-wrap: wrap;        /* pe ecrane mici, trec unul sub altul frumos */
}

.anpc-banners img {
  width: 200px;           /* aici controlezi DIMENSIUNEA bannerului */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 40px;    /* colțuri rotunjite, dacă vrei */
}

/* RESPONSIVE */

@media (max-width: 900px) {
  :root {
    --header-h: 82px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-inner {
    background: radial-gradient(circle at top, rgba(255, 142, 1, 0.18), #111111);
  }

  .contact-layout,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .logo-img {
    height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    flex: initial;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    justify-content: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  }

  .top-bar.nav-open .main-nav {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.85rem;
  }

  .nav-social {
    display: none;
  }

  .nav-cta {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    padding: 0.35rem 0 0.35rem 0.9rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-submenu a {
    padding: 0.35rem 0;
    color: var(--text-muted);
    white-space: normal;
  }

  .nav-submenu a:hover {
    background: transparent;
    color: var(--primary);
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #d1d5db;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social a:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(-1px);
}

/* SERVICII – CARDURI MARI PE HOME */

.service-grid-home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* responsive */
@media (max-width: 1024px) {
  .service-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CARDUL ÎN SINE */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: 420px;                 /* le face înalte */
  text-decoration: none;
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: flex-end;
}

/* imaginea de fundal */
.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.75s ease-out, filter 0.75s ease-out;
}

/* gradientul de jos în sus */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    transparent 100%
  );
  opacity: 0.9;
  transition: background 0.3s ease, opacity 0.3s ease;
}

/* glow portocaliu jos */
.service-card::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -35%;
  top: 40%;
  background: radial-gradient(
    circle at bottom,
    #ff4d00,
    transparent 80%
  );
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


/* conținutul text */
.service-card-inner {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.6rem 1.9rem;
}

.service-card-inner h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.05;
}

/* descrierea – ascunsă inițial */
.service-card-inner p {
  margin-top: 0.6rem;
  max-width: 18rem;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, max-height 0.5s ease-out;
}

/* efect la hover */
.service-card:hover .service-card-bg {
  transform: scale(1.18);          /* se apropie mai mult */
  filter: brightness(0.9);
}

.service-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 45%,
    transparent 100%
  );
}

.service-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}


.service-card:hover .service-card-inner p {
  opacity: 1;
  transform: translateY(0);
  max-height: 10em; /* suficient pentru 2–3 linii de text */
}

@media (max-width: 640px) {
  .hero.hero-video {
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: 70vh;
  }

  .section {
    padding: 2.7rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .logo-img {
    height: 75px;
  }

  .card,
  .contact-form {
    padding: 1.1rem 1rem;
  }

  .legal-badge {
    min-width: 100%;
  }

  .service-grid-home {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 320px;
  }
}
/* NAV – DROPDOWN SERVICII */

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.4rem 0;
}

.nav-has-submenu > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-caret {
  font-size: 0.7rem;
  transform: translateY(1px);
}

/* meniul derulant */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.6rem 0;
  background: #111111;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);

  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 50;
}

.nav-submenu a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
}

.nav-submenu a:hover {
  background: rgba(15, 23, 42, 0.95);
  color: var(--primary);
}

/* afișare la hover */
.nav-has-submenu:hover .nav-submenu,
.nav-submenu:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* HEADER LAYOUT */

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

/* logo puțin mai în stânga (≈ 10mm) */
.brand {
  margin-left: -2.4rem; /* ~ 10mm la 16px font-size; ajustează după gust */
}

/* meniul mai spre dreapta */
.main-nav {
  flex: 1;
  margin-left: 2.5rem;
}

/* grupul din dreapta: social + buton */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

/* iconițe social în top-bar */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #e5e7eb;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-social a:hover {
  opacity: 1;
  color: var(--primary);
  transform: translateY(-1px);
}


/* SCROLLBAR GLOBAL – CHROME / EDGE / SAFARI */
html::-webkit-scrollbar {
  width: 10px;              /* grosimea scrollbarului */
}

html::-webkit-scrollbar-track {
  background: #050505;      /* fundalul – negru închis */
}

html::-webkit-scrollbar-thumb {
  background: var(--primary);   /* portocaliul tău */
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 142, 1, 0.6); /* glow subtil */
}

html::-webkit-scrollbar-thumb:hover {
  background: #ff9a1f;      /* puțin mai deschis la hover */
}

/* FIREFOX */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #050505;  /* thumb | track */
}

/* ===== TOP BAR – TRANSPARENT SUS, NEGRU DUPĂ SCROLL ===== */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;

  /* SUS DE TOT: complet transparent, fără blur */
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;

  transition: background 0.25s ease, border-bottom-color 0.25s ease;
}

/* DUPĂ PRIMUL SCROLL */
.top-bar-scrolled {
  /* negru aproape plin (5% transparență) */
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: none;  /* fără efect sticlă mată */
  border-bottom-color: rgba(0, 0, 0, 0.95);
}

/* HERO – centrat pe înălțime și full screen */

.hero {
  position: relative;
}

.hero .container {
  min-height: 100vh;              /* acoperă toată înălțimea ecranului */
  display: flex;
  flex-direction: column;
  justify-content: center;        /* textul la mijloc pe verticală */
}

.hero-overlap {
  position: relative;
  margin-top: -90px;   /* urcă secțiunea sub top-bar */
  padding-top: 15px;   /* aduce conținutul la loc */
  padding-bottom: 0rem;/* spațiu jos ca să nu „urce” cardurile peste video */
}

/* HERO TITLE – două rânduri, centru ecran */

.hero-title {
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  text-align: center;      /* text centrat */
  margin: 0 auto 1.8rem;   /* centrat ca bloc */
  max-width: 30ch;         /* lățime plăcută vizual */
}

.hero-title-line {
  display: block;          /* fiecare pe rândul lui */
}

.hero-title-highlight {
  color: var(--primary);   /* portocaliul tău */
}

/* Prima secțiune de pe paginile interne (Despre, Galerie, Întrebări, Contact etc.) */
.section-top-tight {
  margin-top: -150px;                 /* înălțimea aproximativă a top-barului */
  padding-top: calc(150px + 2.5rem);    /* 80px (compensăm margin-top) + spațiul pe care îl aveai deja */
}

/* ca siguranță, eliminăm eventuale margini mari de sus */
.section-top-tight .section-header {
  margin-top: 0;
}

.section-top-tight .section-header h1,
.section-top-tight .section-header h2 {
  margin-top: 10px;
}

/* ===== COOKIE BANNER ===== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none; /* ascuns implicit, îl arătăm din JS dacă nu e setat consimțământul */

  padding: 1.2rem 1.5rem;
  background: rgba(5, 5, 5, 0.97);
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
  color: var(--text-muted, #d1d5db);
  font-size: 0.9rem;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner__content {
  flex: 1;
  max-width: 900px;
}

.cookie-banner__content p {
  margin: 0;
}

.cookie-banner__content a {
  color: var(--primary, #ff4d00);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-left: 1.5rem;
  align-items: center;
  justify-content: flex-end;
}

/* Butoane cookie */
.btn-cookie {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.btn-cookie-primary {
  background: var(--primary, #ff4d00);
  color: #fff;
  box-shadow: 0 0 25px rgba(255, 77, 0, 0.6);
}

.btn-cookie-primary:hover {
  filter: brightness(1.03);
}

.btn-cookie-secondary {
  background: transparent;
  color: var(--text-muted, #d1d5db);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-cookie-secondary:hover {
  border-color: var(--primary, #ff4d00);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .cookie-banner__actions {
    margin-left: 0;
    justify-content: flex-start;
  }

  .site-header-inner {
    padding: 0.4rem 0.75rem;
    gap: 0.75rem;
  }

  .site-logo img {
    height: 34px;
  }

  .main-nav {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
  }

  .hero-inner,
  .hero-content {
    padding-inline: 1.25rem;
  }
}

/* Pagini cu text legal / informativ */

.section-header--center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header--center p {
  margin-bottom: 0.75rem;
}

.legal-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-muted, #d1d5db);
  line-height: 1.7;
}

.legal-text h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.legal-text h3 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.legal-text ul {
  padding-left: 1.3rem;
  margin: 0.3rem 0 1rem;
}

.legal-text li {
  margin-bottom: 0.25rem;
}

/* Tabel pentru cookie-uri */

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: #0b0b0b;
  color: #e5e7eb;
  font-weight: 600;
}

.cookie-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
}

.footer-legal {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted, #9ca3af);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--primary, #ff4d00);
  text-decoration: underline;
}

/* ===== NAV RESPONSIVE PENTRU MOBIL ===== */

/* HEADER – stil general, valabil pentru toate device-urile */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;           /* folosește 100% din lățimea paginii, nu 100vw */
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

/* Containerul interior al header-ului */
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo-ul */
.site-logo img {
  display: block;
  height: 40px;
}

/* Meniul principal + CTA */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: #e5e7eb;
}

.main-nav a:hover {
  color: #ffffff;
}

.hero-section {      /* înlocuiește cu clasa ta: .hero, .hero-wrap etc. */
  padding-top: 90px; /* ajustează dacă headerul e mai înalt sau mai mic */
}

:root { --header-h: 96px; }

.brand { margin-left: 0 !important; }

.nav-container{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:0.25rem 0;
}

.main-nav{
  flex:1;
  display:flex;
  justify-content:center;
  margin-left:0 !important;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:1rem;
}

.nav-toggle{
  display:none;
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.55);
  background:rgba(0,0,0,.55);
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:18px;height:2px;
  margin:0 auto;
  background:#e5e7eb;
  border-radius:999px;
}
.nav-toggle span+span{ margin-top:4px; }
.nav-toggle:hover{ border-color: var(--primary); }


.hero-overlap{ margin-top: calc(-1 * var(--header-h)); }

@media (hover:none){
  .service-card-inner p{
    opacity:1;
    transform:none;
    max-height:10em;
  }
}

/* Force mobile menu to be hidden by default */
@media (max-width: 900px) {
  .top-bar .main-nav { 
    display: none !important; 
  }

  .top-bar.nav-open .main-nav { 
    display: block !important; 
  }

  .nav-toggle {
    display: inline-flex !important;
  }
}

/* Hamburger: 3 linii una sub alta */
.nav-toggle{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;              /* distanța dintre linii */
}

.nav-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
}

/* Default: pe desktop butonul NU apare */
.nav-toggle { display: none !important; }

/* Pe mobil apare */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex !important; }
}
