/**
 * style.css - Stiluri personalizate XPeak
 * ------------------------------------------------------------------
 * Completeaza utilitarele Tailwind compilate (tailwind.css) cu:
 *   - variabile de tema
 *   - familii de fonturi (font-sans / font-display)
 *   - animatii de aparitie (.reveal)
 *   - animatia de marquee pentru logo-urile clientilor
 *   - bara de scroll personalizata
 */

:root {
  --color-accent: #a3e635;      /* lime-400 */
  --color-bg: #000000;
  --color-bg-soft: #09090b;     /* zinc-950 */
}

/* ============ Fonturi ============ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-sans {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

.font-display {
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* ============ Animatii de aparitie la scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Respecta preferinta utilizatorului pentru miscare redusa */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ Marquee logo-uri clienti ============ */
@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.animate-marquee-left {
  animation: marquee-left 40s linear infinite;
}

.animate-marquee-right {
  animation: marquee-right 40s linear infinite;
}

/* Carousel-ul clientilor nu se opreste niciodata, inclusiv la hover */
.marquee-pause:hover .animate-marquee-left,
.marquee-pause:hover .animate-marquee-right,
.animate-marquee-left:hover,
.animate-marquee-right:hover {
  animation-play-state: running !important;
}

/* ============ Bara de scroll personalizata ============ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* ============ Diverse ============ */
/* Ascunde eventuale erori de hidratare (compatibilitate) */
[data-hydration-error] {
  display: none !important;
}

/* Selectie text */
::selection {
  background: rgba(163, 230, 53, 0.3);
  color: #ffffff;
}


/* ============ Protecție scroll lateral + interacțiuni premium ============ */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  position: relative;
}

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

img,
video,
iframe,
svg {
  max-width: 100%;
}

section,
header,
footer,
main {
  max-width: 100vw;
}

/* tranziții fluide, fără să forțăm proprietăți costisitoare pe elementele animate critic */
a,
button,
.service-card,
.process-card,
.testimonial-card,
.portfolio-card,
[class*="rounded-"] {
  transition: all 0.3s ease;
}

.reveal-title {
  transform: translateY(34px);
}

.reveal-title.in-view,
.reveal.in-view .reveal-title {
  transform: translateY(0);
}

.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px) scale(1.05);
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(0, 255, 0, 0.72), 0 0 35px rgba(0, 255, 0, 0.16);
}

.btn-glow:hover,
button:hover {
  box-shadow: 0 0 28px rgba(0, 255, 0, 0.55), 0 0 60px rgba(0, 255, 0, 0.22);
}

.section-light ::selection {
  color: #0a0a0a;
  background: rgba(0, 255, 0, 0.35);
}

.sticky-safe {
  top: 7rem;
}

@media (min-width: 1024px) {
  .sticky-safe {
    position: sticky;
  }
}

@media (max-width: 767px) {
  .service-card:hover,
  .portfolio-card:hover,
  .testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .animate-marquee-left,
  .animate-marquee-right {
    animation-duration: 55s;
  }
}

.service-card:hover {
  box-shadow: 0 18px 60px rgba(0, 255, 0, 0.16), 0 0 0 1px rgba(0, 255, 0, 0.22);
}

.portfolio-card:hover {
  box-shadow: 0 24px 70px rgba(0, 255, 0, 0.16), 0 0 0 1px rgba(0, 255, 0, 0.20);
}

.testimonial-card:hover {
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 255, 0, 0.45);
}


/* ============ Highlight verde strict pentru titluri ============ */
.highlight-green {
  display: inline-block;
  color: #0a0a0a !important;
  background: #B2E458 !important;
  font-weight: 800;
  line-height: 1.1 !important;
  border-radius: 8px;
  padding: 2px 12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  vertical-align: baseline;
}

.section-light,
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6,
.section-light p,
.section-light li,
.section-light span:not(.highlight-green),
.section-light div:not(.testimonial-card):not(.testimonial-card *) {
  color: #0a0a0a;
}

.section-light p,
.section-light li {
  color: #1a1a1a;
}

.section-light .text-zinc-500:not(.testimonial-card *),
.section-light .text-zinc-600:not(.testimonial-card *),
.section-light .text-zinc-700:not(.testimonial-card *),
.section-light .text-white:not(.testimonial-card *),
.section-light .text-white\/50:not(.testimonial-card *),
.section-light .text-white\/60:not(.testimonial-card *),
.section-light .text-white\/70:not(.testimonial-card *),
.section-light .text-white\/80:not(.testimonial-card *) {
  color: #1a1a1a !important;
}

.section-light .text-lime-400,
.section-light .text-lime-500,
.section-light .text-lime-600 {
  color: #16a34a !important;
}

.testimonial-card,
.section-light .testimonial-card,
.testimonial-card h1,
.testimonial-card h2,
.testimonial-card h3,
.testimonial-card h4,
.testimonial-card h5,
.testimonial-card h6,
.testimonial-card p,
.testimonial-card span:not(.highlight-green),
.testimonial-card div {
  color: rgba(255, 255, 255, 0.82) !important;
}

.testimonial-card .font-semibold,
.testimonial-card .text-white {
  color: #ffffff !important;
}

.testimonial-card .text-white\/55 {
  color: rgba(255, 255, 255, 0.55) !important;
}

.process-section h1,
.process-section h2,
.process-section h3,
.process-section p,
.process-section span:not(.highlight-green),
.process-section div {
  color: inherit;
}


/* Fix robust pentru cardurile testimonials - nu depinde de clase Tailwind arbitrare */
.testimonial-card {
  background-color: #0a0a0a !important;
  border-color: #27272a !important;
  color: #ffffff !important;
}
.testimonial-card p {
  color: rgba(255, 255, 255, 0.82) !important;
}
.testimonial-card .text-left p:first-child {
  color: #ffffff !important;
}
.testimonial-card .text-left p:last-child {
  color: rgba(255, 255, 255, 0.58) !important;
}
.testimonial-card svg,
.testimonial-card .text-lime-400,
.testimonial-card .text-lime-500\/40 {
  color: #22c55e !important;
}

/* Override final pentru textul din cardurile testimonials */
.section-light .testimonial-card p.text-white\/80,
.section-light .testimonial-card p.italic,
.section-light .testimonial-card .text-white\/80 {
  color: rgba(255, 255, 255, 0.88) !important;
}
.section-light .testimonial-card .text-white\/55 {
  color: rgba(255, 255, 255, 0.58) !important;
}


/* ============ Fixuri design 2026-07-03: header, highlight, servicii ============ */
#site-header {
  background: rgba(0, 0, 0, 0.82) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#site-header a,
#site-header button {
  color: rgba(255, 255, 255, 0.78);
}

#site-header a:hover,
#site-header button:hover {
  color: #ffffff;
}

#site-header .text-lime-400,
#site-header .btn-glow {
  color: #0a0a0a !important;
}

#site-header nav .text-lime-400 {
  color: #B2E458 !important;
}

#site-header nav .text-lime-400:hover {
  color: #c5f06e !important;
}

.service-card-overlay {
  isolation: isolate;
  min-height: 430px !important;
  height: auto;
  display: block;
}

.service-card-overlay img {
  min-width: 100%;
  min-height: 100%;
}

.service-card-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 34%, rgba(0, 0, 0, 0.16) 68%, rgba(0, 0, 0, 0.06) 100%);
  z-index: 1;
}

.service-card-overlay > div:last-child {
  z-index: 2;
}

@media (max-width: 767px) {
  .highlight-green {
    padding: 2px 10px;
    border-radius: 7px;
  }

  .service-card-overlay {
    min-height: 380px;
  }
}


/* Override final highlight verde */
.highlight-green,
.section-light .highlight-green,
h1 .highlight-green,
h2 .highlight-green,
h3 .highlight-green {
  color: #0a0a0a !important;
  background-color: #B2E458 !important;
  -webkit-text-fill-color: #0a0a0a !important;
}


/* Override absolut final designfix carduri/highlight */
.highlight-green {
  display: inline-block !important;
  line-height: 1.1 !important;
  padding: 2px 12px !important;
  border-radius: 8px !important;
  background-color: #B2E458 !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
  vertical-align: baseline !important;
  white-space: nowrap !important;
  margin: 2px 0 !important;
}

.service-card-overlay {
  min-height: 430px !important;
  height: auto !important;
  display: block !important;
}

.service-card-overlay > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}


.service-card-overlay .service-card-content {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 3 !important;
  padding: 1.75rem !important;
}

.service-card-overlay .service-card-content p {
  color: rgba(255, 255, 255, 0.82) !important;
}


/* ============ Update 2026-07-03: hero split, cookies, carduri servicii, logo-uri ============ */
.hero-split-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-split-bg,
.hero-split-bg::before {
  position: absolute;
  inset: 0;
}

.hero-split-bg {
  overflow: hidden;
}

.hero-split-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
  transform: none !important;
}

.hero-split-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.86) 28%, rgba(0,0,0,0.48) 54%, rgba(0,0,0,0.16) 82%, rgba(0,0,0,0.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.46) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.86) 100%);
}

.hero-split-glow {
  position: absolute;
  left: 8%;
  top: 22%;
  width: 460px;
  height: 460px;
  border-radius: 9999px;
  background: rgba(163, 230, 53, 0.10);
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
}

.hero-split-inner {
  width: 100%;
}

.hero-split-copy {
  max-width: 610px;
  text-align: left;
  padding-top: 3rem;
}

.hero-showreel-link svg {
  color: currentColor;
}

@media (min-width: 1024px) {
  .hero-split-section {
    min-height: 810px;
  }

  .hero-split-image {
    object-position: center center;
  }
}

@media (max-width: 767px) {
  .hero-split-section {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 7.5rem;
  }

  .hero-split-image {
    object-position: 58% center;
    opacity: 0.72;
  }

  .hero-split-overlay {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.74) 62%, rgba(0,0,0,0.42) 100%),
      linear-gradient(180deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.28) 42%, rgba(0,0,0,0.92) 100%);
  }

  .hero-split-copy {
    max-width: 100%;
    padding-top: 0;
  }
}

#cookie-consent-banner {
  position: fixed !important;
  z-index: 999999 !important;
  background: rgba(10, 10, 10, 0.97) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(178, 228, 88, 0.30) !important;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.70), 0 0 0 1px rgba(255,255,255,0.06) inset !important;
  color: #ffffff !important;
}

#cookie-consent-banner p,
#cookie-consent-banner a,
#cookie-consent-banner button {
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor !important;
}

#cookie-consent-banner a {
  color: #a3e635 !important;
}

#cookie-accept {
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a !important;
}

.service-card-overlay > img.service-card-image-web-design,
.service-card-overlay > img.service-card-image-seo-bucuresti,
.service-card-overlay > img.service-card-image-social-media {
  object-position: center 74% !important;
}

.service-card-overlay > img.service-card-image-web-design {
  object-position: center 72% !important;
}

.service-card-overlay > img.service-card-image-social-media {
  object-position: center 70% !important;
}

.client-logo-card {
  height: 96px !important;
  width: 190px !important;
  padding: 14px 18px !important;
}

.client-logo-img {
  display: block !important;
  height: 60px !important;
  width: auto !important;
  max-width: 154px !important;
  object-fit: contain !important;
}

/* Ajustare finală: ridicăm efectiv imaginile verticale din cardurile unde overlay-ul acoperea subiectul */
.service-card-overlay > img.service-card-image-web-design,
.service-card-overlay > img.service-card-image-seo-bucuresti,
.service-card-overlay > img.service-card-image-social-media {
  top: -64px !important;
  height: calc(100% + 64px) !important;
  object-fit: cover !important;
}

.service-card-overlay > img.service-card-image-social-media {
  top: -78px !important;
  height: calc(100% + 78px) !important;
}

@media (max-width: 767px) {
  .service-card-overlay > img.service-card-image-web-design,
  .service-card-overlay > img.service-card-image-seo-bucuresti,
  .service-card-overlay > img.service-card-image-social-media {
    top: -46px !important;
    height: calc(100% + 46px) !important;
  }

  .highlight-green {
    padding: 2px 10px !important;
    border-radius: 7px !important;
    font-size: 0.92em !important;
  }
}


/* ============ Nav active link - branding XPeak #B2E458 ============ */
.xpeak-nav-active {
  color: #B2E458 !important;
  -webkit-text-fill-color: #B2E458 !important;
}

.xpeak-nav-active:hover {
  color: #c5f06e !important;
  -webkit-text-fill-color: #c5f06e !important;
}

#site-header .xpeak-nav-active {
  color: #B2E458 !important;
  -webkit-text-fill-color: #B2E458 !important;
}

#mobile-menu .xpeak-nav-active {
  color: #B2E458 !important;
  -webkit-text-fill-color: #B2E458 !important;
}


/* ============ Despre Noi - Redesign 2026 v3 ============ */

/* About page background */
.about-page {
  background: #0B0F18;
}

/* Gradient block: each section gets its own gradient reset */
.about-gradient-block {
  background: linear-gradient(180deg, #0B0F18 0%, #101A23 100%);
}

/* Generic section base */
.about-section {
  position: relative;
}

/* ─── Typography classes ─── */
.about-h1 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-h2 {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.about-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-body-text {
  color: rgba(255,255,255,0.6);
  font-size: clamp(0.975rem, 1.4vw, 1.125rem);
  line-height: 1.7;
}

/* ─── Spacing variants ─── */
.about-hero-section {
  padding-top: 140px;
  padding-bottom: 0;
}

.about-section-top-only {
  padding-top: 90px;
  padding-bottom: 0;
}

.about-cta-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.about-team-section {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* ─── Hero Grid: 50/50 ─── */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Secțiunea 2 – text stânga: spațiere verticală */
.about-grid-text {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Photo wrapper for transparent PNG images – scale up for person-size parity */
.about-photo-wrapper {
  position: relative;
  transform: scale(1.15);
  transform-origin: center center;
}

.about-photo-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Bullet list alignment ─── */
.about-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-bullet-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.about-bullet-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #B2E458;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

/* ─── CTA Buttons ─── */
.about-cta-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 9999px;
  min-width: 220px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.about-cta-btn-primary {
  background: #B2E458;
  color: #000;
}
.about-cta-btn-primary:hover {
  background: #c4f06a;
  box-shadow: 0 0 30px rgba(178, 228, 88, 0.3);
}

.about-cta-btn-secondary {
  background: transparent;
  color: #B2E458;
  border: 1px solid rgba(178, 228, 88, 0.3);
}
.about-cta-btn-secondary:hover {
  background: rgba(178, 228, 88, 0.1);
}

/* ─── Team Cards Container (flexbox centrat) ─── */
.about-team-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.about-team-cards-container .team-card-wrapper {
  flex: 0 1 420px;
}

/* ─── Team Cards: zoom + glow hover (koldercreative style) ─── */
.team-card-wrapper {
  perspective: 1200px;
}

.team-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 3.8;
  max-height: 480px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(178, 228, 88, 0.25),
    0 0 50px rgba(178, 228, 88, 0.12),
    0 0 100px rgba(178, 228, 88, 0.06),
    0 25px 70px rgba(0, 0, 0, 0.5);
}

.team-card-image-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0d1520 0%, #162030 100%);
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.7s ease;
}

.team-card:hover .team-card-img {
  transform: scale(1.06);
}

/* Overlay gradient — tall enough to cover name/role/focus text */
.team-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.75rem 1.75rem;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 10, 0.98) 0%,
    rgba(10, 10, 10, 0.92) 35%,
    rgba(10, 10, 10, 0.70) 55%,
    rgba(10, 10, 10, 0.35) 75%,
    transparent 100%
  );
  max-height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

/* Team card text — larger for desktop readability */
.team-card-name {
  font-family: var(--font-display, 'Inter', sans-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.team-card-role {
  color: #B2E458;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.team-card-focus {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.5;
}

/* Valorile noastre – spațiere jos */
.about-values-section {
  padding-bottom: 90px !important;
}

/* ─── Flush photo sections (poze lipite de jos) ─── */
.about-flush-section {
  padding-bottom: 0 !important;
}

/* Hero grid: photo flush to bottom */
.about-flush-section .about-hero-grid {
  align-items: stretch;
}

.about-flush-section .about-hero-image {
  display: flex;
  align-items: flex-end;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.about-flush-section .about-hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Section 2 flush grid */
.about-flush-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.about-flush-grid .about-grid-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.about-flush-grid .about-grid-image {
  display: flex;
  align-items: flex-end;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.about-flush-grid .about-photo-wrapper {
  width: 100%;
  transform: none;
}

.about-flush-grid .about-photo-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem 1rem 0 0;
}

/* ─── Mobile: tablet ─── */
@media (max-width: 1023px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-hero-section {
    padding-top: 110px;
  }

  .about-hero-text {
    padding-top: 0;
    padding-bottom: 0;
  }

  .about-grid-text {
    padding-top: 0;
    padding-bottom: 0;
  }

  .about-section-top-only {
    padding-top: 60px;
  }

  .about-cta-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about-team-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Photo wrapper: no scale on mobile (already good) */
  .about-photo-wrapper {
    transform: scale(1);
  }

  .about-values-section {
    padding-bottom: 60px !important;
  }

  /* Force image first on mobile for all grid sections */
  .about-grid-image {
    order: -1 !important;
  }
  .about-grid-text {
    order: 1 !important;
  }

  /* Flush grid: single column on tablet */
  .about-flush-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-flush-grid .about-grid-text {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .about-flush-grid .about-photo-wrapper img {
    height: auto;
    border-radius: 1rem;
  }

  .about-flush-section .about-hero-image img {
    height: auto;
    object-fit: contain;
  }
}

/* ─── Mobile: phone ─── */
@media (max-width: 767px) {
  .about-hero-section {
    padding-top: 100px;
  }

  .about-section-top-only {
    padding-top: 50px;
  }

  .about-cta-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-team-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-cta-buttons {
    flex-direction: column;
  }

  .about-cta-btn {
    width: 100%;
    max-width: 320px;
  }

  .team-card {
    aspect-ratio: 3 / 4.2;
    max-width: 380px;
    margin: 0 auto;
  }

  .team-card:hover {
    transform: scale(1.02);
  }

  .team-card-overlay {
    max-height: 55%;
  }

  .about-team-cards-container .team-card-wrapper {
    flex: 0 1 380px;
  }
}



/* ============ Fotografie de Produs - Pagina dedicată ============ */

/* Page background */
.fp-page {
  background: #0a0a0a;
}

/* ─── Hero Section ─── */
.fp-hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 0;
  text-align: center;
  background: #0a0a0a;
  overflow: hidden;
}

.fp-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 2;
}

.fp-h1 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3.24rem); /* 10% smaller */
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}

.fp-hero-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* CTA Buttons */
.fp-hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.fp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.fp-cta-btn-primary {
  background: #B2E458;
  color: #000;
}
.fp-cta-btn-primary:hover {
  background: #c4f06a;
  box-shadow: 0 0 30px rgba(178, 228, 88, 0.4);
  transform: translateY(-2px);
}

.fp-cta-btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.fp-cta-btn-secondary:hover {
  border-color: #B2E458;
  color: #B2E458;
  transform: translateY(-2px);
}

/* Hero Image */
.fp-hero-image-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%),
                      linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 95%, rgba(0,0,0,0) 100%),
              linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
}

.fp-hero-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.1s linear;
  will-change: transform;
}

.fp-hero-image-wrap:hover .fp-hero-img {
  transform: scale(1.03);
}

/* ─── Section base ─── */
.fp-section {
  position: relative;
}

/* ─── Typography ─── */
/* H2 uniform: matches "Gata să-ți transformi..." (text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight) */
.fp-h2 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.fp-body-text {
  color: rgba(255,255,255,0.6);
  font-size: clamp(0.975rem, 1.4vw, 1.125rem);
  line-height: 1.7;
}

/* ─── NEW: Intro Section (Poză stânga, text dreapta) ─── */
.fp-intro-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #101A23 100%);
  padding-top: 80px;
  padding-bottom: 0;
  overflow: hidden;
}

.fp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.fp-intro-image {
  display: flex;
  align-items: flex-end;
}

.fp-intro-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

.fp-intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ─── Section: Creative / Hero Shot ─── */
.fp-creative-section {
  background: linear-gradient(180deg, #0B0F18 0%, #101A23 100%);
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.fp-creative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  align-items: stretch;
}

.fp-creative-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.fp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.975rem;
  line-height: 1.6;
}

.fp-feature-list li strong {
  color: #fff;
}

.fp-bullet {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: #B2E458;
  flex-shrink: 0;
  margin-top: 0.55em; /* align with first line of text */
}

.fp-creative-image {
  display: flex;
  align-items: stretch;
  padding: 0;
  margin: 0;
}

.fp-creative-image picture {
  display: flex;
  width: 100%;
  height: 100%;
}

.fp-creative-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

/* ─── Section: Packages / Pricing cards (PDF design) ─── */
.fp-packages-section {
  background: linear-gradient(180deg, #0B0F18 0%, #101A23 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.fp-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.fp-package-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.fp-package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(178, 228, 88, 0.45), 0 20px 60px rgba(0,0,0,0.4);
}

/* Card header - white top section */
.fp-package-header {
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  text-align: center;
}

.fp-package-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
}

.fp-package-name {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.92rem; /* 20% bigger */
  font-weight: 800;
  margin: 0;
}

.fp-package-nickname {
  font-size: 0.85rem;
  color: #888;
  margin: 0.35rem 0 0;
  font-weight: 400;
}

/* Card color themes matching PDF exactly */
.fp-package-basic .fp-package-label { color: #8B5CF6; }
.fp-package-basic .fp-package-name { color: #7C3AED; }

.fp-package-optim .fp-package-label { color: #10B981; }
.fp-package-optim .fp-package-name { color: #059669; }

.fp-package-plus .fp-package-label { color: #F97316; }
.fp-package-plus .fp-package-name { color: #EA580C; }

/* Card body gradients – 20% darker */
.fp-package-basic .fp-package-body {
  background: linear-gradient(180deg, #8B6FD6 0%, #6322C5 100%);
}
.fp-package-optim .fp-package-body {
  background: linear-gradient(180deg, #4FD09A 0%, #047857 100%);
}
.fp-package-plus .fp-package-body {
  background: linear-gradient(180deg, #E8993E 0%, #C2410C 100%);
}

.fp-package-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.fp-package-desc {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fp-package-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  margin: 0.75rem 0;
}

.fp-package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fp-package-features li {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.fp-package-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.fp-package-features li strong {
  color: #fff;
}

.fp-package-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fp-package-cta:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* ─── Section: Gallery ─── */
.fp-gallery-section {
  background: #ffffff;
  padding: 80px 24px 60px;
}

.fp-gallery-title {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  text-align: center;
}

.fp-paragraph-spaced {
  margin-bottom: 1.5rem !important;
}

.fp-gallery-grid {
  column-count: 3;
  column-gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.fp-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
  break-inside: avoid;
  margin-bottom: 16px;
}

.fp-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-gallery-item:hover img {
  transform: scale(1.05);
}

/* Video items — poster-first approach */
.fp-gallery-video-wrap {
  position: relative;
  cursor: default;
  overflow: hidden;
  background: #1a1a1a;
}

/* Poster image: always visible first, fades out when video plays */
.fp-gallery-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.5s ease;
  z-index: 2;
  position: relative;
}

/* Video: positioned on top of poster, natural size without cropping */
.fp-gallery-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* LEGACY — kept for backward compat, no longer used in new HTML */
.fp-gallery-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.fp-gallery-video-wrap:hover .fp-gallery-poster,
.fp-gallery-video-wrap:hover .fp-gallery-video {
  transform: scale(1.05);
}

/* ─── Section: FAQ ─── */
.fp-faq-section {
  background: linear-gradient(180deg, #0B0F18 0%, #101A23 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.fp-faq-list {
  max-width: 800px;
}

.fp-faq-item {
  border: 2px solid transparent;
  border-radius: 12px;
  margin-bottom: 8px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover (desktop) - lumină verde permanentă */
.fp-faq-item:hover {
  box-shadow: 0 0 15px rgba(178, 228, 88, 0.4),
              0 0 35px rgba(178, 228, 88, 0.2);
  border-color: rgba(178, 228, 88, 0.6);
}

/* Click - lumină verde temporară (2.5s) */
.fp-faq-item.faq-glow {
  box-shadow: 0 0 15px rgba(178, 228, 88, 0.5),
              0 0 40px rgba(178, 228, 88, 0.3);
  border-color: #B2E458;
  animation: faqGlowFade 2.5s ease-out forwards;
}

@keyframes faqGlowFade {
  0% {
    box-shadow: 0 0 15px rgba(178, 228, 88, 0.5),
                0 0 40px rgba(178, 228, 88, 0.3);
    border-color: #B2E458;
  }
  70% {
    box-shadow: 0 0 10px rgba(178, 228, 88, 0.3),
                0 0 25px rgba(178, 228, 88, 0.15);
    border-color: rgba(178, 228, 88, 0.4);
  }
  100% {
    box-shadow: none;
    border-color: transparent;
  }
}

.fp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 25px;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
}

.fp-faq-question:hover {
  color: #B2E458;
}

.fp-faq-question:focus,
.fp-faq-question:focus-visible,
.fp-faq-question:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent;
}

.fp-faq-chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.fp-faq-open .fp-faq-chevron {
  transform: rotate(180deg);
  color: #B2E458;
}

.fp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
  padding: 0 25px;
}

.fp-faq-open .fp-faq-answer {
  max-height: 300px;
  padding: 0 25px 1.25rem;
}

.fp-faq-answer p {
  color: rgba(255,255,255,0.55);
  font-size: 0.975rem;
  line-height: 1.7;
  margin: 0;
}

/* ─── Mobile responsive ─── */
@media (max-width: 1023px) {
  .fp-intro-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fp-intro-image {
    order: -1;
  }

  .fp-intro-image img {
    max-height: 450px;
    object-fit: cover;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
  }

  .fp-intro-text {
    padding: 2rem 0;
  }

  .fp-creative-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .fp-creative-image {
    order: -1;
    margin-bottom: 0;
  }

  .fp-creative-image img {
    border-radius: 0;
    max-height: 450px;
    object-fit: cover;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
  }

  .fp-creative-text {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .fp-creative-section {
    padding-bottom: 40px;
  }

  .fp-packages-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    gap: 1.5rem;
  }

  .fp-gallery-grid {
    column-count: 2;
    column-gap: 8px;
  }

  .fp-gallery-item {
    margin-bottom: 8px;
  }
}

@media (max-width: 767px) {
  .fp-hero {
    padding-top: 110px;
  }

  .fp-h1 {
    white-space: normal; /* allow wrapping on mobile */
  }

  .fp-hero-content {
    padding: 0 1rem 2rem;
  }

  .fp-hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .fp-hero-image-wrap {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    overflow: hidden;
  }

  .fp-hero-img {
    transform: scale(1.3) !important;
    transform-origin: center center;
  }

  .fp-intro-section {
    padding-top: 50px;
  }

  .fp-packages-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .fp-faq-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .fp-gallery-section {
    padding: 40px 12px 30px;
  }

  .fp-gallery-title {
    margin-bottom: 1.5rem;
  }

  .fp-gallery-grid {
    column-count: 2;
    column-gap: 6px;
  }

  .fp-gallery-item {
    margin-bottom: 6px;
  }

  .fp-faq-question {
    font-size: 0.95rem;
    padding: 1.25rem 15px;
    /* Fix lumină dublă pe mobil - elimină orice efect vizual pe butonul întrebării */
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .fp-faq-question:focus,
  .fp-faq-question:active,
  .fp-faq-question:hover,
  .fp-faq-question.clicked,
  .fp-faq-question:focus-visible {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
  }

  .fp-faq-question::before,
  .fp-faq-question::after {
    box-shadow: none !important;
    border: none !important;
    display: none !important;
  }

  /* Păstrează efectul DOAR pe containerul FAQ item */
  .fp-faq-item.faq-glow {
    box-shadow: 0 0 20px rgba(178, 228, 88, 0.6),
                0 0 40px rgba(178, 228, 88, 0.4) !important;
    border-color: #B2E458 !important;
  }

  .fp-faq-answer {
    padding: 0 15px;
  }

  .fp-faq-open .fp-faq-answer {
    padding: 0 15px 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   FILMARE DRONA PAGE (.fd-)
   ═══════════════════════════════════════════════════════════ */

.fd-page { background: #0B0F18; color: #fff; }
.fd-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.fd-gradient-block { background: linear-gradient(180deg, #0B0F18 0%, #101A23 100%); }
.fd-section { padding: 5rem 0; }
@media (max-width: 768px) { .fd-section { padding: 3.5rem 0; } }

/* Headings */
.fd-h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  overflow: visible;
  padding-top: 0.15em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fd-h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 1.25rem;
  overflow: visible;
  padding-top: 0.15em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fd-body { font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }

/* ── HERO ── */
.fd-hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fd-hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.fd-hero-video { width: 100%; height: 100%; object-fit: cover; }
.fd-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.fd-hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 2rem 1.5rem; }
.fd-hero-subtitle { font-size: 1.1rem; line-height: 1.8; color: rgba(255,255,255,0.85); margin: 1.5rem 0 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.fd-hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CTA Buttons */
.fd-cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease; }
.fd-cta-primary { background: #B2E458; color: #000; }
.fd-cta-primary:hover { background: #c5f06a; box-shadow: 0 0 30px rgba(178,228,88,0.4); transform: translateY(-2px); }
.fd-cta-secondary { border: 1px solid rgba(178,228,88,0.3); color: #B2E458; background: transparent; }
.fd-cta-secondary:hover { background: rgba(178,228,88,0.1); border-color: rgba(178,228,88,0.5); }
.fd-cta-large { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ── GRID LAYOUT (text + image) ── */
.fd-grid { display: grid; gap: 3rem; align-items: center; }
.fd-grid-text-img { grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) {
    .fd-grid-text-img { grid-template-columns: 1fr; }
    .fd-img-col { order: -1; } /* Image first on mobile */
}
.fd-img-col img { width: 100%; height: auto; border-radius: 12px; }

/* ── ALTERNATING IMAGE-TEXT ROWS ── */
.fd-alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.fd-alt-row:last-child { margin-bottom: 0; }
.fd-alt-row.fd-alt-row-reverse { direction: rtl; }
.fd-alt-row.fd-alt-row-reverse > * { direction: ltr; }
.fd-alt-img { border-radius: 14px; overflow: hidden; }
.fd-alt-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; aspect-ratio: 4/3; }
.fd-alt-text h3 { font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; line-height: 1.4; overflow: visible; padding-top: 0.1em; text-rendering: optimizeLegibility; }
.fd-alt-text p { font-size: 0.975rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
@media (max-width: 768px) {
  .fd-alt-row { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2.5rem; }
  .fd-alt-row.fd-alt-row-reverse { direction: ltr; }
  .fd-alt-img { order: -1; }
  .fd-alt-text h3 { font-size: 1.15rem; }
}
.fd-visual-text h3 { font-family: 'DM Sans', sans-serif; font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.fd-visual-text p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.85); }
@media (max-width: 768px) {
    .fd-visual-text { padding: 1.5rem; max-width: 100%; }
    .fd-visual-text-right, .fd-visual-text-left { text-align: left; left: 0; right: auto; }
    .fd-visual-text h3 { font-size: 1.15rem; }
    .fd-visual-text p { font-size: 0.875rem; }
}

/* ── CHECKLIST ── */
.fd-check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.fd-check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.5; }
.fd-check-icon { width: 20px; height: 20px; min-width: 20px; stroke: #B2E458; margin-top: 2px; }

/* ── ADVANTAGES CARDS ── */
.fd-advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .fd-advantages-grid { grid-template-columns: 1fr; } }
.fd-advantage-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.fd-advantage-card:hover { transform: translateY(-4px); border-color: rgba(178,228,88,0.2); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
.fd-advantage-img { height: 200px; overflow: hidden; }
.fd-advantage-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.fd-advantage-card:hover .fd-advantage-img img { transform: scale(1.05); }
.fd-advantage-body { padding: 1.5rem; }
.fd-advantage-body h3 { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.fd-advantage-body p { font-size: 0.9rem; line-height: 1.65; color: rgba(255,255,255,0.65); }

/* ── TIMELINE ── */
.fd-timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 3rem; }
.fd-timeline-line { position: absolute; left: 1.1rem; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #B2E458 0%, rgba(178,228,88,0.1) 100%); }
.fd-timeline-step { position: relative; margin-bottom: 2.5rem; }
.fd-timeline-step:last-child { margin-bottom: 0; }
.fd-timeline-number { position: absolute; left: -3rem; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #B2E458; color: #000; font-weight: 800; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; z-index: 2; }
.fd-timeline-content h3 { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.fd-timeline-content p { font-size: 0.95rem; line-height: 1.65; color: rgba(255,255,255,0.7); }

/* ── FEATURES GRID ── */
.fd-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .fd-features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .fd-features-grid { grid-template-columns: 1fr; } }
.fd-feature-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.5rem; transition: border-color 0.3s, transform 0.3s; }
.fd-feature-item:hover { border-color: rgba(178,228,88,0.2); transform: translateY(-3px); }
.fd-feature-icon { width: 32px; height: 32px; stroke: #B2E458; margin-bottom: 0.75rem; }
.fd-feature-item h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.35rem; }
.fd-feature-item p { font-size: 0.85rem; line-height: 1.55; color: rgba(255,255,255,0.6); }

/* ── MAP (interactive) ── */
.fd-map-wrap { max-width: 840px; margin: 0 auto; }
.fd-interactive-map { position: relative; }
.fd-interactive-map svg { width: 100%; height: auto; }
.fd-interactive-map .map-geography {
  fill: #1a1f2e;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 0.6;
  transition: fill 0.25s ease, stroke 0.25s ease, stroke-width 0.25s ease;
  cursor: pointer;
  vector-effect: non-scaling-stroke;
}
.fd-interactive-map .map-geography:hover {
  fill: rgba(178,228,88,0.2);
  stroke: #B2E458;
  stroke-width: 1.5;
}
.fd-interactive-map .map-geography:focus {
  outline: none;
  fill: rgba(178,228,88,0.2);
  stroke: #B2E458;
  stroke-width: 1.5;
}
.fd-interactive-map .city-label {
  fill: rgba(255,255,255,0.8);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke fill;
  stroke: #0B0F18;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.fd-interactive-map .city-dot { fill: #B2E458; }
#fd-map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(11,15,24,0.92);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(178,228,88,0.35);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  white-space: nowrap;
}
#fd-map-tooltip.visible { opacity: 1; }

/* ── PLANNING GRID ── */
.fd-planning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .fd-planning-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fd-planning-grid { grid-template-columns: 1fr; } }
.fd-planning-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 1.25rem; display: flex; align-items: center; gap: 0.75rem; transition: border-color 0.3s; }
.fd-planning-item:hover { border-color: rgba(178,228,88,0.2); }
.fd-planning-icon { width: 24px; height: 24px; min-width: 24px; stroke: #B2E458; }
.fd-planning-item span { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ── COST SECTION ── */
.fd-cost-factors { max-width: 700px; margin: 0 auto; }
.fd-cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; }
@media (max-width: 480px) { .fd-cost-grid { grid-template-columns: 1fr; } }
.fd-cost-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: rgba(255,255,255,0.75); padding: 0.4rem 0; }
.fd-cost-dot { width: 6px; height: 6px; min-width: 6px; border-radius: 50%; background: #B2E458; }

/* ── FAQ (uses shared fp-faq classes from fotografie-produs) ── */

/* ── CTA FINAL ── */
.fd-cta-final { position: relative; padding: 6rem 0; overflow: hidden; }
.fd-cta-final-bg { position: absolute; inset: 0; z-index: 0; }
.fd-cta-final-bg img { width: 100%; height: 100%; object-fit: cover; }
.fd-cta-final-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); z-index: 1; }
.fd-cta-final-content { position: relative; z-index: 2; }
.fd-cta-final-sub { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 550px; margin-left: auto; margin-right: auto; }




/* ============================================================================
 *  RESTRUCTURARE 2026 v2: Dropdown Menu 3 Nivele – Flyout LA DREAPTA
 *  Fix: suprapunere conținut, submeniuri deschid la dreapta (not below)
 * ============================================================================ */

/* --- Header z-index & spacing --- */
#site-header {
    z-index: 9999 !important;
    position: fixed !important;
}

/* Ensure body content starts below fixed header */
body > main,
body > section,
body > .main-content,
#site-header + main,
#site-header + section,
#site-header ~ main {
    position: relative;
    z-index: 1;
}

/* ============================================================
   MEGA MENU — UN SINGUR PANEL (v4 – 2026-08-19)
   Toate serviciile vizibile dintr-o privire, 3 coloane,
   tree view cu linii pentru ierarhie.
   ============================================================ */

/* --- Container & overflow --- */
.xpeak-mega-parent {
    position: relative;
    overflow: visible !important;
}

nav[aria-label] {
    overflow: visible !important;
}

/* --- Trigger button arrow --- */
.xpeak-mega-parent:hover .xpeak-mega-arrow {
    transform: rotate(180deg);
}

/* --- Mega Menu Panel --- */
.xpeak-mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 780px;
    background: rgba(24, 27, 38, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(163, 230, 53, 0.12);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* Bridge invizibil între buton și panel */
.xpeak-mega-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 14px;
}

.xpeak-mega-parent:hover > .xpeak-mega-panel,
.xpeak-mega-parent:focus-within > .xpeak-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* --- Grid 3 coloane --- */
.xpeak-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- Coloană categorie --- */
.xpeak-mega-col {}

/* --- Header categorie --- */
.xpeak-mega-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid rgba(163, 230, 53, 0.18);
}

.xpeak-mega-header .xpeak-mega-icon {
    color: #a3e635;
    flex-shrink: 0;
}

.xpeak-mega-header h3 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a3e635;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
    line-height: 1.2;
}

/* --- Lista de servicii --- */
.xpeak-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.xpeak-mega-list > li {
    margin-bottom: 2px;
}

/* --- Link serviciu --- */
.xpeak-mega-list > li > a {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.3;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.xpeak-mega-list > li > a:hover {
    background: rgba(163, 230, 53, 0.1);
    color: #a3e635;
    border-left-color: #a3e635;
    padding-left: 1rem;
}

/* --- Tree lines (removed) --- */
.tree-line,
.tree-line-deep {
    display: none;
}

/* --- Nested group (Servicii SEO) --- */
.xpeak-mega-nested-group {
    margin-bottom: 2px;
}

.xpeak-mega-nested-label {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* --- Nested list --- */
.xpeak-mega-nested {
    list-style: none;
    margin: 2px 0 0 0;
    padding: 0;
}

.xpeak-mega-nested li {
    margin-bottom: 2px;
}

.xpeak-mega-nested li a {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.45rem 0.75rem;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.3;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.xpeak-mega-nested li a:hover {
    background: rgba(163, 230, 53, 0.08);
    color: #a3e635;
    border-left-color: #a3e635;
    padding-left: 1.75rem;
}

/* --- Mobile: Accordion (fără mega panel) --- */
.xpeak-accordion-arrow {
    transition: transform 0.2s ease;
}

.xpeak-accordion-open .xpeak-accordion-arrow {
    transform: rotate(180deg);
}

@media (max-width: 1023px) {
    .xpeak-mega-panel {
        position: static !important;
        transform: none !important;
        min-width: auto;
        width: 100%;
        margin-top: 0.5rem;
        border-radius: 12px;
        padding: 1.25rem;
        box-shadow: none;
        border: 1px solid rgba(163, 230, 53, 0.1);
    }

    .xpeak-mega-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .xpeak-accordion-content {
        border-left: 2px solid rgba(163, 230, 53, 0.3);
        padding-left: 0.5rem;
    }
}
