/* ==========================================================================
   Manta Photo — stiluri globale (mobile-first)
   ========================================================================== */

:root {
  --c-black: #0a0a0a;
  --c-ink: #161616;
  --c-graphite: #262626;
  --c-gray-700: #3d3d3d;
  --c-gray-600: #5c5c5c;
  --c-gray-400: #a3a3a3;
  --c-gray-300: #c9c9c7;
  --c-gray-200: #e4e4e1;
  --c-gray-100: #f1f1ee;
  --c-white: #fafaf8;

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 72rem;
  --gutter: 1rem;
  --header-h: 4rem;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-y: clamp(4.5rem, 12vw, 8.5rem);
}

@media (min-width: 48em) {
  :root { --gutter: 2rem; --header-h: 5rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: .5rem; left: .5rem;
  z-index: 200;
  padding: .75rem 1rem;
  background: var(--c-white);
  color: var(--c-black);
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--dark { background: var(--c-black); color: var(--c-white); }
.section--muted { background: var(--c-gray-100); }

.eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gray-600);
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--c-gray-300); }

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-head h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
.section-head p:not(.eyebrow) { max-width: 38rem; color: var(--c-gray-600); }
.section--dark .section-head p:not(.eyebrow) { color: var(--c-gray-400); }

@media (min-width: 60em) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    column-gap: 4rem;
  }
  .section-head--split .eyebrow { grid-column: 1 / -1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .8rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--light { background: var(--c-white); color: var(--c-black); }
.btn--light:hover { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.btn--ghost { color: var(--c-white); border-color: rgba(250, 250, 248, .45); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.btn--dark { background: var(--c-black); color: var(--c-white); }
.btn--dark:hover { background: transparent; color: var(--c-black); border-color: var(--c-black); }
.btn--outline { color: var(--c-black); border-color: var(--c-black); }
.btn--outline:hover { background: var(--c-black); color: var(--c-white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .35rem;
}
.link-arrow svg { width: 1.1rem; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(.3rem); }

/* ==========================================================================
   Header & navigație
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--c-white);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid,
.site-header--solid {
  background: rgba(10, 10, 10, .92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid,
  .site-header--solid {
    background: rgba(10, 10, 10, .78);
    backdrop-filter: saturate(140%) blur(14px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: .02em;
}
.brand span {
  margin-left: .35rem;
  font-family: var(--font-sans);
  font-size: .6875rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-gray-300);
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -.6rem;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), background-color .2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { transform: translateY(-7px); }
.nav-toggle-bar::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--c-black);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.site-nav.is-open { opacity: 1; visibility: visible; }
.site-nav ul { display: grid; gap: 1.75rem; text-align: center; }
.site-nav a {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--c-gray-400);
  transition: color .25s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--c-white); }

@media (min-width: 48em) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    background: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul { display: flex; gap: 2.5rem; }
  .site-nav a {
    position: relative;
    font-family: var(--font-sans);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-gray-300);
    padding-block: .5rem;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
}

/* ==========================================================================
   Hero video (index)
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 2rem) clamp(5rem, 14vh, 8rem);
  overflow: hidden;
  background: var(--c-black);
  color: var(--c-white);
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Voal uniform (clipul e luminos) + gradient mai dens jos, unde stă textul.
     Pentru mai întunecat/mai luminos, modifică --hero-dim. */
  --hero-dim: .42;
  background:
    linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,.3) 55%, rgba(10,10,10,.85) 100%),
    rgba(10, 10, 10, var(--hero-dim));
}
.hero-content { text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }
.hero-content { display: grid; gap: 1.5rem; }
.hero-title {
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.03em;
}
.hero-title em { font-style: italic; color: var(--c-gray-300); }
.hero-lead {
  max-width: 32rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--c-gray-200);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

.hero-anim {
  animation: hero-in 1.1s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(1.75rem); }
  to { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: none;
  width: 1.5rem;
  height: 2.5rem;
  margin-left: -.75rem;
  border: 1px solid rgba(250, 250, 248, .5);
  border-radius: 1rem;
}
.scroll-cue span {
  position: absolute;
  top: .45rem;
  left: 50%;
  width: 2px;
  height: .45rem;
  margin-left: -1px;
  background: var(--c-white);
  border-radius: 1px;
  animation: scroll-cue 2s var(--ease) infinite;
}
@keyframes scroll-cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(.9rem); }
}
@media (min-width: 48em) {
  .scroll-cue { display: block; }
}

/* ==========================================================================
   Efecte de scroll (Intersection Observer)
   Ascunse doar dacă JS rulează — conținutul rămâne vizibil fără JS.
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}
.js .reveal--up { transform: translateY(2.5rem); }
.js .reveal--left { transform: translateX(-2.5rem); }
.js .reveal--right { transform: translateX(2.5rem); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Despre (index)
   ========================================================================== */
.about {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-text { display: grid; gap: 1.5rem; }
.about-text h2 { font-size: clamp(2rem, 6vw, 3.25rem); }
.about-text p:not(.eyebrow) { color: var(--c-gray-600); max-width: 34rem; }
.about-sign {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--c-ink) !important;
}

.about-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 26rem;
  width: 100%;
  margin-inline: auto;
}
.about-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid var(--c-gray-200);
  border-radius: 50%;
}
.about-art svg { width: 72%; color: var(--c-ink); }

/* Desen „linie cu linie” la apariție */
.draw path,
.draw circle,
.draw rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .draw [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease);
  transition-delay: calc(var(--i, 0) * .18s);
}
.js .is-visible .draw [pathLength],
.js .draw.is-visible [pathLength] { stroke-dashoffset: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-gray-200);
}
.about-stats dt { order: 2; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gray-600); }
.about-stats dd { margin: 0; font-family: var(--font-serif); font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.1; }
.about-stats div { display: flex; flex-direction: column-reverse; gap: .25rem; }

@media (min-width: 60em) {
  .about { grid-template-columns: 1.1fr .9fr; gap: 5rem; }
}

/* ==========================================================================
   Servicii + iconițe animate
   ========================================================================== */
.services { display: grid; gap: 1px; background: var(--c-gray-700); border: 1px solid var(--c-gray-700); }
.service {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 2.5rem 1.75rem;
  background: var(--c-black);
  transition: background-color .4s var(--ease);
}
.service:hover { background: var(--c-ink); }
.service h3 { font-size: 1.625rem; }
.service p { color: var(--c-gray-400); font-size: .9375rem; }

@media (min-width: 48em) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service { padding: 3rem 2.25rem; }
}

.icon-anim {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: .5rem;
  color: var(--c-white);
  overflow: visible;
}
.icon-anim * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Aparat foto: blițul clipește, obiectivul „focalizează” */
.icon-camera .flash {
  fill: currentColor;
  stroke: none;
  opacity: 0;
  animation: cam-flash 3.2s infinite;
}
.icon-camera .flash-ray { opacity: 0; animation: cam-ray 3.2s infinite; }
.icon-camera .lens-inner {
  transform-box: fill-box;
  transform-origin: center;
  animation: cam-focus 3.2s var(--ease) infinite;
}
@keyframes cam-flash { 0%, 58%, 72%, 100% { opacity: 0; } 62% { opacity: 1; } }
@keyframes cam-ray { 0%, 58%, 76%, 100% { opacity: 0; } 62% { opacity: 1; } }
@keyframes cam-focus { 0%, 100% { transform: scale(1); } 40% { transform: scale(.6); } 55% { transform: scale(1.08); } }

/* Obiectiv: lamelele diafragmei se rotesc */
.icon-aperture .blades {
  transform-box: view-box;
  transform-origin: 32px 32px;
  animation: aperture-spin 9s linear infinite;
}
.icon-aperture .ring {
  transform-box: view-box;
  transform-origin: 32px 32px;
  stroke-dasharray: 3 5;
  animation: aperture-spin 24s linear infinite reverse;
}
@keyframes aperture-spin { to { transform: rotate(360deg); } }

/* Cadru de focus: colțurile „prind” subiectul */
.icon-focus .corners {
  transform-box: view-box;
  transform-origin: 32px 32px;
  animation: focus-lock 2.8s var(--ease) infinite;
}
.icon-focus .dot {
  fill: currentColor;
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: focus-dot 2.8s var(--ease) infinite;
}
@keyframes focus-lock { 0%, 100% { transform: scale(1.18); opacity: .5; } 45%, 75% { transform: scale(1); opacity: 1; } }
@keyframes focus-dot { 0%, 35%, 100% { transform: scale(0); } 50%, 75% { transform: scale(1); } }

/* ==========================================================================
   Lucrări recente (index)
   ========================================================================== */
.featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.featured li:nth-child(1) { grid-column: span 2; }
.featured li:nth-child(1) .photo { aspect-ratio: 4 / 3; }
.featured li:nth-child(6) { grid-column: span 2; }
.featured li:nth-child(6) .photo { aspect-ratio: 2 / 1; }

/* Desktop: [1 1 2 3] / [1 1 4 4] / [5 5 6 6] */
@media (min-width: 48em) {
  .featured { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .featured li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .featured li:nth-child(1) .photo { aspect-ratio: auto; height: 100%; }
  .featured li:nth-child(n + 4) { grid-column: span 2; }
  .featured li:nth-child(n + 4) .photo { aspect-ratio: 2 / 1; }
}

.featured-foot { margin-top: 3rem; text-align: center; }

/* ---------- Fotografie în grilă (comun) ---------- */
.photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-gray-200);
  cursor: zoom-in;
}
.section--dark .photo { background: var(--c-graphite); }
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .6s var(--ease);
}
.js .photo img[loading="lazy"] { opacity: 0; }
.js .photo img.is-loaded { opacity: 1; }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0);
  transition: background-color .5s var(--ease);
}
.photo:hover img { transform: scale(1.045); }
.photo:hover::after { background: rgba(10, 10, 10, .12); }
.photo:focus-visible { outline-offset: -4px; outline-color: var(--c-white); }

/* ==========================================================================
   Proces + citat
   ========================================================================== */
.steps { display: grid; gap: 2.5rem; counter-reset: step; }
.step { display: grid; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--c-gray-300); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-size: .9375rem;
  color: var(--c-gray-600);
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--c-gray-600); }

@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.quote { max-width: 52rem; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  line-height: 1.3;
}
.quote figcaption {
  margin-top: 2rem;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gray-400);
}

/* ---------- CTA ---------- */
.cta { display: grid; gap: 2rem; justify-items: start; }
.cta h2 { font-size: clamp(2.25rem, 7vw, 4.5rem); max-width: 14ch; }
@media (min-width: 60em) {
  .cta { grid-template-columns: 1fr auto; align-items: end; }
}

/* ==========================================================================
   Antet pagină (portofoliu, contact)
   ========================================================================== */
.page-hero {
  padding-block: calc(var(--header-h) + clamp(3.5rem, 10vw, 6.5rem)) clamp(2.5rem, 7vw, 4.5rem);
  background: var(--c-black);
  color: var(--c-white);
}
.page-hero .container { display: grid; gap: 1.25rem; }
.page-hero h1 { font-size: clamp(2.75rem, 10vw, 5.5rem); letter-spacing: -.02em; }
.page-hero p:not(.eyebrow) { max-width: 36rem; color: var(--c-gray-400); }

/* ==========================================================================
   Portofoliu — albume
   ========================================================================== */
.albums { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 40em) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .albums { grid-template-columns: repeat(3, 1fr); } }

.album-card a { display: grid; gap: 1.1rem; }
.album-card .photo { aspect-ratio: 4 / 5; cursor: pointer; }
.album-card .photo::after {
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.55));
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.album-card a:hover .photo::after { opacity: 1; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.55)); }
.album-card a:hover .photo img { transform: scale(1.045); }
.album-open {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-white);
  opacity: 0;
  transform: translateY(.5rem);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.album-card a:hover .album-open,
.album-card a:focus-visible .album-open { opacity: 1; transform: none; }

.album-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.album-meta h2 { font-size: 1.5rem; }
.album-meta span {
  flex-shrink: 0;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gray-600);
}
.album-card .album-cat {
  margin-top: -.75rem;
  font-size: .875rem;
  color: var(--c-gray-600);
}

/* ---------- Vizualizare album ---------- */
.album-view[hidden],
.albums-index[hidden] { display: none; }

.album-view-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
}
.album-back {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  justify-self: start;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gray-600);
  transition: color .25s;
}
.album-back svg { width: 1.1rem; transition: transform .3s var(--ease); }
.album-back:hover { color: var(--c-black); }
.album-back:hover svg { transform: translateX(-.3rem); }
.album-view-head h2 { font-size: clamp(2.25rem, 7vw, 4rem); }
.album-view-head p { max-width: 40rem; color: var(--c-gray-600); }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
@media (min-width: 48em) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 75em) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery .photo { aspect-ratio: 3 / 4; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 6, 6, .97);
  color: var(--c-white);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(6, 6, 6, .9); }
.lightbox[open] { display: grid; animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem .75rem 5.5rem;
  touch-action: pan-y;
}
@media (min-width: 48em) {
  .lightbox-stage { padding: 4.5rem 6rem 5rem; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox-img.is-loading { opacity: 0; transform: scale(.985); }

.lightbox-spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 2rem; height: 2rem;
  margin: -1rem 0 0 -1rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-top-color: var(--c-white);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s;
  animation: spin .9s linear infinite;
  pointer-events: none;
}
.lightbox.is-busy .lightbox-spinner { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.lightbox-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--c-white);
  background: rgba(255, 255, 255, .06);
  transition: background-color .25s, transform .25s var(--ease);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox-btn[hidden] { display: none; }
.lightbox-btn svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-btn:focus-visible { outline: 1px solid var(--c-white); outline-offset: 2px; }

.lightbox-close { top: .75rem; right: .75rem; }
.lightbox-prev,
.lightbox-next { bottom: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (min-width: 48em) {
  .lightbox-close { top: 1.25rem; right: 1.5rem; }
  .lightbox-prev,
  .lightbox-next { top: 50%; bottom: auto; width: 3.5rem; height: 3.5rem; margin-top: -1.75rem; }
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
  .lightbox-prev:hover { transform: translateX(-3px); }
  .lightbox-next:hover { transform: translateX(3px); }
}

.lightbox-bar {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  display: grid;
  justify-items: center;
  gap: .25rem;
  width: calc(100% - 9rem);
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
.lightbox-top {
  position: absolute;
  top: 1.35rem;
  left: 1.25rem;
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--c-gray-400);
}
@media (min-width: 48em) {
  .lightbox-top { top: 2rem; left: 2rem; }
  .lightbox-bar { bottom: 1.75rem; }
}
.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--c-gray-200);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.lightbox-credit { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gray-400); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; gap: 4rem; }
@media (min-width: 60em) {
  .contact { grid-template-columns: .85fr 1.15fr; gap: 6rem; }
}

.contact-info { display: grid; gap: 2.5rem; align-content: start; }
.contact-info h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.contact-info > p { color: var(--c-gray-600); }

.contact-list { display: grid; gap: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.contact-list .ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--c-gray-300);
  border-radius: 50%;
}
.contact-list .ico svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-list h3 {
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gray-600);
  margin-bottom: .2rem;
}
.contact-list a,
.contact-list p { font-size: 1.0625rem; }
.contact-list a { border-bottom: 1px solid var(--c-gray-300); transition: border-color .25s; }
.contact-list a:hover { border-color: var(--c-black); }

.socials { display: flex; flex-wrap: wrap; gap: .75rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .75;
  transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.socials a:hover { opacity: 1; background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.site-footer .socials a:hover { background: var(--c-white); color: var(--c-black); border-color: var(--c-white); }
.socials svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Formular ---------- */
.form {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 1.25rem;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
}
@media (min-width: 48em) {
  .form { grid-template-columns: 1fr 1fr; gap: 2rem 1.75rem; padding: 3rem; }
  .field--full { grid-column: 1 / -1; }
}

.field { position: relative; display: grid; gap: .5rem; }
.field label,
.field legend {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gray-600);
}
.field .req { color: var(--c-ink); }

.input {
  width: 100%;
  min-height: 3rem;
  padding: .7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-gray-300);
  border-radius: 0;
  font-size: 1rem;
  transition: border-color .3s var(--ease);
  appearance: none;
}
.input::placeholder { color: var(--c-gray-400); }
.input:hover { border-color: var(--c-gray-600); }
.input:focus { outline: none; border-color: var(--c-black); box-shadow: 0 1px 0 var(--c-black); }
textarea.input { min-height: 8rem; resize: vertical; line-height: 1.6; }
select.input {
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

.field.is-invalid .input { border-color: #9b1c1c; box-shadow: 0 1px 0 #9b1c1c; }
.field-error {
  min-height: 1.1em;
  font-size: .8125rem;
  color: #9b1c1c;
}
.field-error:empty { min-height: 0; }

.check {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: .75rem;
  align-items: start;
  font-size: .875rem;
  color: var(--c-gray-600);
  cursor: pointer;
}
.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: .15rem 0 0;
  accent-color: var(--c-black);
}
.check a { color: var(--c-ink); border-bottom: 1px solid currentColor; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.form-foot .btn { min-width: 12rem; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .6; }

.form-status {
  font-size: .9375rem;
  color: var(--c-gray-600);
}
.form-status.is-success {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--c-ink);
}
.form-status.is-success::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--c-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / .8rem no-repeat;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: 4rem 2rem;
  background: var(--c-black);
  color: var(--c-gray-400);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.footer-grid { display: grid; gap: 2.5rem; }
.footer-grid .brand { color: var(--c-white); }
.footer-about { display: grid; gap: 1rem; max-width: 22rem; font-size: .9375rem; }
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-white);
}
.footer-links { display: grid; gap: .5rem; font-size: .9375rem; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--c-white); }
.site-footer .socials { color: var(--c-gray-300); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem;
}
@media (min-width: 48em) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; }
}

/* ==========================================================================
   Buton WhatsApp flotant (fix, rămâne vizibil la scroll)
   ========================================================================== */
.wa-float {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--c-white);
  animation: wa-in .7s var(--ease) 1.2s both;
}
.wa-float-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transition: transform .3s var(--ease), background-color .3s;
}
.wa-float-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.8s var(--ease) 2s infinite;
}
.wa-float-icon svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.wa-float-label {
  order: -1;
  padding: .55rem .9rem;
  border-radius: 2rem;
  background: var(--c-black);
  font-size: .8125rem;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  opacity: 0;
  transform: translateX(.5rem);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-float:hover .wa-float-icon,
.wa-float:focus-visible .wa-float-icon { transform: scale(1.07); background: #1ebe5b; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float-icon { outline: 2px solid var(--c-black); outline-offset: 3px; }
@media (hover: hover) and (min-width: 48em) {
  .wa-float { right: 1.75rem; bottom: 1.75rem; }
  .wa-float:hover .wa-float-label,
  .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
}
@keyframes wa-in { from { opacity: 0; transform: translateY(1.5rem) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

.btn--whatsapp { background: #25d366; color: var(--c-black); }
.btn--whatsapp:hover { background: #1ebe5b; }
.btn--whatsapp svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }

/* ==========================================================================
   Accesibilitate: mișcare redusă
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .draw [pathLength] { stroke-dashoffset: 0; }
}
