/* =========================================================
   Epic Foto — tema „Aperture”
   Fundal: hârtie de studio (seamless) · Accent: lamela portocalie din logo
   Display: Michroma (lat, ca logo-ul) · Text: Instrument Sans
   ========================================================= */

:root {
  --backdrop: #ECEEF1;      /* fundal seamless de studio */
  --paper: #FAFAFB;         /* hârtie foto */
  --ink: #1B1C24;           /* grafit */
  --slate: #626674;         /* text secundar */
  --line: rgba(27, 28, 36, .13);
  --line-strong: rgba(27, 28, 36, .28);
  --accent: #F39200;        /* lamela portocalie */
  --accent-ink: #1B1C24;
  --darkroom: #1B1C24;
  --darkroom-text: #E6E8EC;
  --glass: rgba(250, 250, 251, .72);
  --shadow: 0 1px 2px rgba(27, 28, 36, .06), 0 18px 40px -22px rgba(27, 28, 36, .35);

  --f-display: "Michroma", "Eurostile", "Arial", sans-serif;
  --f-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-md: 1.0625rem;  /* 17 */
  --t-lg: 1.25rem;    /* 20 */
  --t-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  --t-2xl: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem);
  --t-hero: clamp(1.9rem, 1rem + 3.9vw, 4.6rem);

  --r-photo: 6px;
  --r-panel: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --backdrop: #15161D;
  --paper: #1E1F28;
  --ink: #ECEEF1;
  --slate: #A2A6B2;
  --line: rgba(236, 238, 241, .12);
  --line-strong: rgba(236, 238, 241, .3);
  --glass: rgba(30, 31, 40, .72);
  --darkroom: #0F1016;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -22px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 var(--t-md)/1.6 var(--f-text);
  color: var(--ink);
  background: var(--backdrop);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #1B1C24; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; }
h1, h2, .display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 68ch; }

/* ---------- Butoane ---------- */
.btn, .btn-ghost, .btn-light {
  --b: var(--ink); --c: var(--paper);
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em .95em 1.2em; border-radius: 999px;
  font: 600 var(--t-sm)/1 var(--f-text); text-decoration: none;
  background: var(--b); color: var(--c); border: 1px solid var(--b);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn-ghost { --b: transparent; --c: var(--ink); border-color: var(--line-strong); }
.btn-light { --b: #FAFAFB; --c: #1B1C24; }
.btn-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none;
  transition: transform .35s var(--ease);
}
.btn:hover, .btn-ghost:hover, .btn-light:hover { color: var(--c); }
.btn:hover .btn-dot, .btn-ghost:hover .btn-dot, .btn-light:hover .btn-dot { transform: scale(1.9); }
.btn:hover { background: color-mix(in srgb, var(--b) 88%, var(--accent)); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 12px 12px auto; z-index: 60;
  height: calc(var(--header-h) - 12px);
  display: flex; align-items: center; gap: 24px;
  padding: 0 12px 0 22px;
  background: var(--glass); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line); border-radius: 14px;
  transition: transform .4s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.brand img { height: 22px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: block; }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 10px 13px; border-radius: 8px;
  font-size: var(--t-sm); font-weight: 500; text-decoration: none;
}
.nav > ul > li > a[aria-current="page"], .nav > ul > li.is-active > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav > ul > li > a:hover { color: var(--accent); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.subnav {
  position: absolute; left: -20px; top: calc(100% + 10px);
  width: 560px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease);
  list-style: none; margin: 0;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; text-decoration: none; font-size: var(--t-sm); }
.subnav a:hover { background: var(--backdrop); color: var(--ink); }
.subnav img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; flex: none; }
.subnav small { display: block; color: var(--slate); font-size: var(--t-xs); }

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid transparent; background: transparent; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { border-color: var(--line); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.header-cta { padding-block: .8em; }
.burger { display: none; }
.burger svg { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
}
/* meniul nu încape pe bară (ex. multe elemente) -> trece automat pe burger */
.site-header.nav-collapsed .nav, .site-header.nav-collapsed .header-cta { display: none; }
.site-header.nav-collapsed .burger { display: grid; }
.site-header.nav-collapsed .header-actions { margin-left: auto; }
@media (max-width: 560px) {
  .site-header { inset: 8px 8px auto; gap: 10px; padding: 0 6px 0 14px; }
  .brand img { height: 17px; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 359px) {
  .header-actions .icon-btn[href^="tel:"] { display: none; }
}

/* meniu mobil */
.mnav {
  position: fixed; inset: 0; z-index: 80; background: var(--paper);
  display: flex; flex-direction: column; padding: 90px var(--gutter) 30px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); overflow-y: auto;
}
.mnav.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.mnav-close { position: absolute; right: 18px; top: 18px; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > ul > li > a { display: block; font: 400 clamp(1.3rem, 6vw, 2rem)/1.2 var(--f-display); padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mnav .sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 6px; }
.mnav .sub a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-sm); text-decoration: none; }
.mnav-foot { margin-top: auto; padding-top: 24px; display: grid; gap: 6px; color: var(--slate); }
.mnav-foot a { text-decoration: none; color: var(--ink); font-weight: 600; }

/* ---------- Secțiuni ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec:not([class*="bg-"]) + .sec:not([class*="bg-"]) { padding-top: 0; }
.bg-soft { background: var(--paper); }
.bg-dark { background: var(--darkroom); color: var(--darkroom-text); --ink: var(--darkroom-text); --slate: #A2A6B2; --line: rgba(236, 238, 241, .14); --line-strong: rgba(236, 238, 241, .3); --paper: #262733; }
.bg-aurora { background: radial-gradient(60% 80% at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--paper); }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 860px; }
.sec-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-head.row .sec-head { margin-bottom: 0; }
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: var(--t-sm); font-weight: 600; color: var(--slate);
}
.kicker::before {
  content: ""; width: 16px; height: 16px; flex: none;
  background: var(--accent);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);   /* lamela din logo */
  transform: rotate(-20deg);
}
.sec-title { font-size: var(--t-2xl); margin: 0; }
.sec-lead { color: var(--slate); font-size: var(--t-lg); max-width: 60ch; margin-top: 18px; }
.prose { font-size: var(--t-md); }
.prose h2 { font-size: var(--t-xl); margin-top: 1.6em; }
.prose h3 { font-size: var(--t-lg); font-family: var(--f-text); font-weight: 700; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose a:not(.btn):not(.btn-ghost):not(.btn-light):not(.chip):not(.icon-btn) { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose .btn, .prose .btn-ghost, .prose .btn-light { text-decoration: none; }
.prose img { border-radius: var(--r-photo); margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-size: var(--t-lg); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: var(--t-sm); }
@media (max-width: 620px) { .prose table { display: block; overflow-x: auto; white-space: normal; } .prose th, .prose td { min-width: 110px; } }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--r-photo); }
.text-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); }
.text-cols .sec-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
@media (max-width: 860px) { .text-cols { grid-template-columns: 1fr; } .text-cols .sec-head { position: static; } }

/* =========================================================
   HERO — vizor + diafragmă
   ========================================================= */
.hero {
  position: relative; height: 100svh; min-height: 620px; max-height: 1100px;
  background: var(--darkroom); color: #FAFAFB; overflow: hidden; isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.hero-slide.is-active, .hero-slide.is-prev { visibility: visible; }
.hero-slide.is-active { z-index: 2; }
.hero-slide.is-prev { z-index: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active img, .hero-slide.is-active video { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 16, 22, .72) 0%, rgba(15, 16, 22, .25) 55%, rgba(15, 16, 22, .05) 100%),
              linear-gradient(0deg, rgba(15, 16, 22, .55), transparent 45%); }

/* lamelele diafragmei (SVG generat din JS) */
.iris { position: absolute; inset: 0; z-index: 4; pointer-events: none; width: 100%; height: 100%; }
.iris path { fill: #15161D; stroke: rgba(255, 255, 255, .08); stroke-width: .5; }
.iris path.blade-accent { fill: var(--accent); }

/* vizor */
.viewfinder { position: absolute; inset: calc(var(--header-h) + 20px) var(--gutter) 28px; z-index: 5; pointer-events: none; }
.vf-corner { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .85); }
.vf-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf-focus {
  position: absolute; width: 64px; height: 64px; left: 62%; top: 42%;
  border: 1.5px solid var(--accent); border-radius: 2px; translate: -50% -50%;
  transition: left .9s var(--ease), top .9s var(--ease), opacity .3s;
}
.vf-focus::before, .vf-focus::after { content: ""; position: absolute; background: var(--accent); }
.vf-focus::before { width: 1.5px; height: 10px; left: 50%; top: -6px; box-shadow: 0 68px 0 var(--accent); }
.vf-focus::after { height: 1.5px; width: 10px; top: 50%; left: -6px; box-shadow: 68px 0 0 var(--accent); }
.vf-exposure {
  position: absolute; top: 14px; right: 18px; display: flex; gap: 1px;
  font: 600 var(--t-xs)/1 var(--f-text); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.vf-exposure span { padding: 7px 10px; background: rgba(15, 16, 22, .45); backdrop-filter: blur(6px); }
.vf-exposure span:first-child { border-radius: 6px 0 0 6px; }
.vf-exposure span:last-child { border-radius: 0 6px 6px 0; }
.vf-exposure .rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #FF3B30; margin-right: 6px; vertical-align: 1px; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

.hero-copy {
  position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); bottom: clamp(90px, 13vh, 150px);
  max-width: 820px;
}
.hero-h1 { font: 600 var(--t-sm)/1.3 var(--f-text); color: rgba(250, 250, 251, .85); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.hero-h1::before { content: ""; width: 14px; height: 14px; background: var(--accent); clip-path: polygon(0 50%, 100% 0, 100% 100%); transform: rotate(-20deg); }
.hero-text { display: grid; }
.hero-text > div { grid-area: 1 / 1; transition: opacity .6s, transform .8s var(--ease); }
.hero-text > div:not(.is-active) { opacity: 0; transform: translateY(18px); pointer-events: none; }
.hero-title { font-size: var(--t-hero); line-height: 1.04; margin: 0 0 18px; color: #FAFAFB; }
.hero-sub { font-size: var(--t-lg); max-width: 52ch; color: rgba(250, 250, 251, .86); margin: 0; }
.hero .btn-ghost { --c: #FAFAFB; border-color: rgba(250, 250, 251, .45); }
.hero .btn-ghost:hover { border-color: #FAFAFB; }
.hero .btn { --b: #FAFAFB; --c: #1B1C24; }

.hero-ctrl {
  position: absolute; z-index: 7; right: var(--gutter); bottom: 46px;
  display: flex; align-items: center; gap: 18px;
}
.hero-count { font: 400 var(--t-sm)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.hero-count b { color: var(--accent); font-weight: 400; }
.hero-thumbs { display: flex; gap: 8px; }
.hero-thumbs button {
  width: 54px; height: 38px; padding: 0; border: 1px solid rgba(250, 250, 251, .35); border-radius: 4px; overflow: hidden; cursor: pointer; opacity: .6;
  transition: opacity .3s, border-color .3s, width .5s var(--ease);
}
.hero-thumbs button.is-active { opacity: 1; border-color: var(--accent); width: 82px; }
.hero-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.hero-progress { position: absolute; z-index: 7; left: 0; bottom: 0; height: 3px; background: var(--accent); width: 0; }
@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .hero-thumbs { display: none; }
  .vf-exposure span:nth-child(n+3) { display: none; }
  .hero-ctrl { bottom: 28px; }
  .hero-copy { bottom: 84px; }
  .vf-focus { display: none; }
}

/* ---------- Antet pagină ---------- */
.phero { position: relative; padding: calc(var(--header-h) + clamp(48px, 9vw, 120px)) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.phero.has-img { color: #FAFAFB; min-height: 62vh; display: flex; align-items: flex-end; background: var(--darkroom); }
.phero.h-lg.has-img { min-height: 86vh; }
.phero.h-sm.has-img { min-height: 48vh; }
.phero-bg { position: absolute; inset: 0; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 16, 22, .8), rgba(15, 16, 22, .2) 70%); }
.phero .wrap { position: relative; }
.phero h1 { font-size: var(--t-hero); margin: 0; max-width: 18ch; }
.phero.has-img .kicker { color: rgba(250, 250, 251, .8); }
.phero-sub { font-size: var(--t-lg); max-width: 56ch; margin: 20px 0 0; color: var(--slate); }
.phero.has-img .phero-sub { color: rgba(250, 250, 251, .85); }
.phero .crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: var(--t-xs); color: var(--slate); }
.phero.has-img .crumbs ol { color: rgba(250, 250, 251, .7); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }

/* ---------- Bandă text ---------- */
.marquee { overflow: hidden; padding-block: clamp(22px, 3vw, 36px); border-block: 1px solid var(--line); background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font: 400 clamp(1.6rem, 4.4vw, 4rem)/1 var(--f-display); white-space: nowrap; }
.marquee.outline .marquee-item span:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee-item i { width: .5em; height: .5em; background: var(--accent); clip-path: polygon(0 50%, 100% 0, 100% 100%); flex: none; }
.marquee.accent { background: var(--accent); border: 0; color: #1B1C24; }
.marquee.accent .marquee-item i { background: #1B1C24; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Despre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-media { position: relative; padding: 0 12% 18% 0; }
.about-media .m1 { border-radius: var(--r-photo); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-media .m2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-photo); border: 8px solid var(--backdrop); }
.bg-soft .about-media .m2 { border-color: var(--paper); }
.about-stat { position: absolute; left: 18px; bottom: 6%; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); max-width: 200px; }
.about-stat b { display: block; font: 400 2.2rem/1 var(--f-display); color: var(--accent); }
.about-stat span { font-size: var(--t-xs); color: var(--slate); }
.values { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.values b { font-weight: 700; }
.values span { color: var(--slate); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .values li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Imagine + text ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.img-right .split-media { order: 2; }
.split-media { position: relative; }
.split-media > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-photo); }
.split-media .m2 { position: absolute; width: 42%; right: -6%; bottom: -8%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-photo); border: 6px solid var(--backdrop); }
.split-badge { position: absolute; top: 18px; left: 18px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: var(--t-xs); font-weight: 700; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.img-right .split-media { order: 0; } }

/* ---------- Servicii: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.svc {
  position: relative; grid-column: span var(--span, 4); min-height: 380px; overflow: hidden; border-radius: var(--r-photo);
  color: #FAFAFB; text-decoration: none; isolation: isolate; background: var(--darkroom);
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15, 16, 22, .85) 0%, rgba(15, 16, 22, .1) 60%); }
.svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.svc h3 { font: 400 var(--t-xl)/1.1 var(--f-display); margin: 0 0 8px; }
.svc p { margin: 0; font-size: var(--t-sm); color: rgba(250, 250, 251, .82); max-width: 46ch; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.svc-price { position: absolute; top: 18px; right: 18px; padding: 7px 12px; border-radius: 999px; font-size: var(--t-xs); font-weight: 700; background: rgba(250, 250, 251, .92); color: #1B1C24; }
.svc:hover { color: #FAFAFB; }
.svc:hover img, .svc:focus-visible img { transform: scale(1.06); }
.svc:hover p, .svc:focus-visible p { max-height: 8em; opacity: 1; margin-top: 4px; }
.svc-shutter { position: absolute; left: 24px; top: 22px; width: 30px; height: 30px; }
.svc-shutter svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.svc:hover .svc-shutter svg { transform: rotate(60deg); }
@media (max-width: 980px) { .svc, .bento .svc:nth-child(n) { grid-column: span 6; min-height: 320px; } .bento .svc:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .svc, .bento .svc:nth-child(n) { grid-column: 1 / -1; } .svc p { max-height: none; opacity: 1; } }

/* ---------- Servicii: listă ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { position: relative; border-bottom: 1px solid var(--line); }
.svc-row a { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 24px; align-items: center; padding: 26px 0; text-decoration: none; }
.svc-row img.ico { width: 46px; height: 46px; object-fit: contain; }
:root[data-theme="dark"] .svc-row img.ico, .bg-dark .svc-row img.ico { filter: invert(1); }
.svc-row h3 { font: 400 var(--t-xl)/1.1 var(--f-display); margin: 0; transition: transform .5s var(--ease); }
.svc-row p { margin: 0; color: var(--slate); font-size: var(--t-sm); }
.svc-row .from { font-weight: 700; white-space: nowrap; }
.svc-row a:hover h3 { transform: translateX(10px); color: var(--accent); }
.svc-float { position: fixed; z-index: 30; width: 260px; aspect-ratio: 4/5; pointer-events: none; border-radius: var(--r-photo); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .3s, transform .4s var(--ease); }
.svc-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .svc-row a { grid-template-columns: 46px 1fr; } .svc-row p { grid-column: 2; } .svc-row .from { grid-column: 2; } .svc-float { display: none; } }

/* ---------- Prețuri ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 36px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: var(--t-sm); font-weight: 600; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab-panel[hidden] { display: none; }
.pkg-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.pkg-head h3 { font: 400 var(--t-xl)/1.15 var(--f-display); margin: 0; }
.pkg-ideal { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-size: var(--t-sm); margin-top: 10px; }
.pkg-ideal::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-panel);
  background: var(--paper); border: 1px solid var(--line);
}
.bg-soft .pkg { background: var(--backdrop); }
.pkg.is-featured { background: var(--darkroom); color: var(--darkroom-text); border-color: var(--darkroom); --slate: #A2A6B2; --line: rgba(236, 238, 241, .14); }
.pkg-badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #1B1C24; font-size: var(--t-xs); font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.pkg-name { font-weight: 700; font-size: var(--t-lg); margin: 0 0 14px; }
.pkg-price { font: 400 clamp(2rem, 1.4rem + 2vw, 2.8rem)/1 var(--f-display); margin-bottom: 4px; }
.pkg-price small { font: 600 var(--t-sm) var(--f-text); color: var(--slate); margin-left: 4px; }
.pkg-note { color: var(--slate); font-size: var(--t-xs); min-height: 1.2em; }
.pkg ul { list-style: none; padding: 20px 0 0; margin: 20px 0 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: var(--t-sm); }
.pkg li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.pkg li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; background: var(--accent); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.pkg .btn, .pkg .btn-ghost { margin-top: auto; justify-content: center; }
.pkg.is-featured .btn { --b: #FAFAFB; --c: #1B1C24; }
.pkg-notes { margin-top: 26px; color: var(--slate); font-size: var(--t-sm); }
.pkg-notes p { margin: 0 0 .4em; }

/* ---------- Portofoliu ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: var(--t-sm); font-weight: 600; }
.filter.is-on { background: var(--accent); border-color: var(--accent); color: #1B1C24; }
.pf-grid { columns: 3 300px; column-gap: 14px; }
.pf-item { break-inside: avoid; margin: 0 0 14px; display: block; vertical-align: top; position: relative; overflow: hidden; border-radius: var(--r-photo); text-decoration: none; color: #FAFAFB; background: var(--darkroom); }
.pf-item[hidden] { display: none; }
.pf-item img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.pf-item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(0deg, rgba(15, 16, 22, .82), transparent); transform: translateY(30%); opacity: 0; transition: .5s var(--ease); }
.pf-item figcaption b { display: block; font-weight: 700; }
.pf-item figcaption span { font-size: var(--t-xs); opacity: .8; }
.pf-item:hover img { transform: scale(1.04); }
.pf-item:hover figcaption, .pf-item:focus-visible figcaption { transform: none; opacity: 1; }
@media (hover: none) { .pf-item figcaption { transform: none; opacity: 1; } }

/* ---------- Galerie ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gal-grid a { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-photo); }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gal-grid a:hover img { transform: scale(1.05); }
.gal-masonry { columns: 3 260px; column-gap: 12px; }
.gal-masonry a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r-photo); overflow: hidden; }
.gal-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.gal-strip a { flex: 0 0 min(78vw, 460px); aspect-ratio: 4/3; scroll-snap-align: start; border-radius: var(--r-photo); overflow: hidden; }
.gal-strip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Carduri ---------- */
.cards { display: grid; gap: 16px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; text-decoration: none; }
.bg-soft .card { background: var(--backdrop); }
.bg-dark .card { background: transparent; }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.card:hover .card-media img { transform: scale(1.05); }
a.card:hover { color: inherit; border-color: var(--line-strong); }
.card-body { padding: 24px 24px 26px; }
.card h3 { font-size: var(--t-lg); font-weight: 700; margin: 0 0 8px; }
.card p { color: var(--slate); margin: 0; font-size: var(--t-sm); }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: var(--t-sm); }
.card li { padding-left: 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--accent); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.cards.c1 { gap: clamp(40px, 6vw, 80px); }
.cards.c1 .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: transparent; border: 0; border-radius: 0; gap: clamp(24px, 5vw, 72px); align-items: center; }
.cards.c1 .card:nth-child(even) .card-media { order: 2; }
.cards.c1 .card-media { aspect-ratio: 4/3; border-radius: var(--r-photo); }
.cards.c1 .card-body { padding: 0; }
.cards.c1 h3 { font: 400 var(--t-xl)/1.15 var(--f-display); margin-bottom: 14px; }
.cards.c1 p { font-size: var(--t-md); }
.cards.c1 ul { grid-template-columns: 1fr 1fr; gap: 8px 22px; margin-top: 22px; }
@media (max-width: 980px) { .cards.c3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards.c2, .cards.c3 { grid-template-columns: 1fr; } .cards.c1 .card { grid-template-columns: 1fr; } .cards.c1 .card:nth-child(even) .card-media { order: 0; } .cards.c1 ul { grid-template-columns: 1fr; } }

/* ---------- Cifre ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; }
.stat { padding: 10px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 400 clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--accent); }
.stat > span { color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 620px) { .stat { border-left: 0; padding: 18px 0; border-top: 1px solid var(--line); } }

/* ---------- Testimoniale ---------- */
.tst { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.tst-stage { display: grid; overflow: hidden; }
.tst-item { grid-area: 1/1; transition: opacity .6s, transform .6s var(--ease); margin: 0; }
.tst-item:not(.is-active) { opacity: 0; transform: translateX(20px); pointer-events: none; }
.tst-item blockquote { margin: 0; font: 400 clamp(1.2rem, .9rem + 1.3vw, 1.9rem)/1.4 var(--f-text); font-weight: 500; text-wrap: pretty; }
.tst-item figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.tst-item figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tst-item figcaption b { display: block; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: var(--t-sm); }
.tst-nav { display: flex; gap: 8px; margin-top: 30px; }
.tst-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
.tst-nav button:hover { border-color: var(--ink); }
@media (max-width: 860px) { .tst { grid-template-columns: 1fr; } }

/* ---------- Citat ---------- */
.bigquote { margin: 0; max-width: 1000px; }
.bigquote p { font: 400 clamp(1.4rem, 1rem + 2vw, 2.6rem)/1.3 var(--f-display); margin: 0; text-wrap: balance; }
.bigquote cite { display: block; margin-top: 22px; font-style: normal; color: var(--slate); }

/* ---------- Articole ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 18px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post-media { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-photo); background: var(--line); margin-bottom: 18px; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-media img { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--t-xs); color: var(--slate); margin-bottom: 8px; }
.post-meta .cat { color: var(--ink); font-weight: 700; }
.post h3 { font-size: var(--t-lg); font-weight: 700; line-height: 1.3; margin: 0 0 8px; text-wrap: pretty; }
.post p { color: var(--slate); font-size: var(--t-sm); margin: 0; }
.post:hover h3 { color: var(--accent); }
.post-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--line-strong); }
.post-ph svg { width: 64px; height: 64px; }
.posts.featured-first .post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.posts.featured-first .post:first-child .post-media { margin: 0; aspect-ratio: 16/10; }
.posts.featured-first .post:first-child h3 { font: 400 var(--t-xl)/1.2 var(--f-display); }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts, .posts.featured-first .post:first-child { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: var(--t-sm); font-weight: 600; }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip small { color: var(--slate); font-weight: 500; margin-left: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager .cur { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* articol */
.art-hero { padding: calc(var(--header-h) + 64px) 0 40px; }
.art-hero h1 { font-size: var(--t-2xl); max-width: 22ch; margin: 18px 0 22px; }
.art-cover { width: min(100% - 2 * var(--gutter), 1120px); margin: 0 auto; aspect-ratio: 16/8; border-radius: var(--r-photo); overflow: hidden; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; padding-block: 56px 80px; }
.art-body { max-width: 72ch; font-size: 1.125rem; line-height: 1.75; }
.art-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; font-size: var(--t-sm); }
.toc { border-left: 1px solid var(--line); padding-left: 18px; }
.toc b { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--slate); text-decoration: none; }
.toc a.lv3 { padding-left: 12px; }
.toc a:hover, .toc a.is-on { color: var(--ink); }
.toc a.is-on { box-shadow: -19px 0 0 -17px var(--accent); }
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.share { display: flex; gap: 8px; margin-top: 26px; }
.read-progress { position: fixed; z-index: 70; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); }
.art-cta { margin-top: 48px; padding: 30px; border-radius: var(--r-panel); background: var(--paper); border: 1px solid var(--line); }
.art-cta h2 { font-size: var(--t-xl); }
@media (max-width: 980px) { .art-layout { grid-template-columns: 1fr; } .art-aside { position: static; order: -1; } }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: var(--t-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .ans { padding: 0 0 24px; color: var(--slate); max-width: 70ch; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-panel);
  background: var(--darkroom); color: #FAFAFB; padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 80px);
  isolation: isolate;
}
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: var(--mx, 75%); top: var(--my, 30%); translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%); filter: blur(10px); transition: left .6s var(--ease), top .6s var(--ease); }
.cta .kicker { color: rgba(250, 250, 251, .78); }
.cta h2 { font-size: var(--t-2xl); max-width: 18ch; margin: 0; }
.cta p { font-size: var(--t-lg); color: rgba(250, 250, 251, .82); max-width: 50ch; margin: 18px 0 0; }
.cta .btn { --b: #FAFAFB; --c: #1B1C24; }
.cta .btn-ghost { --c: #FAFAFB; border-color: rgba(250, 250, 251, .4); }

/* ---------- Contact & formulare ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.cinfo { display: grid; gap: 10px; align-content: start; }
.cinfo > a, .cinfo > div:not(.map) { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.cinfo svg { width: 22px; height: 22px; justify-self: center; color: var(--accent); }
.cinfo small { display: block; color: var(--slate); font-size: var(--t-xs); }
.cinfo b { font-weight: 700; word-break: break-word; }
.map { margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--paper); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--slate); font-size: var(--t-sm); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); }
.bg-soft .form { background: var(--backdrop); }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 14px 9px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; font: inherit; color: var(--ink); appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #1B1C24; }
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 16px; color: var(--slate); font-size: var(--t-sm); pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label, .field input[type="date"] + label { top: 6px; font-size: 11px; font-weight: 600; }
.field.err input, .field.err textarea, .field.err select { border-color: #D93025; }
.field .msg { color: #D93025; font-size: var(--t-xs); margin-top: 4px; display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-xs); color: var(--slate); }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.check.err { color: #D93025; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: var(--t-sm); display: none; }
.form-status.ok { display: block; background: color-mix(in srgb, #2E9E5B 14%, transparent); color: var(--ink); }
.form-status.bad { display: block; background: color-mix(in srgb, #D93025 12%, transparent); color: var(--ink); }
.form button[type="submit"] { justify-self: start; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

.pick { border: 0; padding: 0; margin: 0; grid-column: 1 / -1; }
.pick legend { font-weight: 700; font-size: var(--t-sm); margin-bottom: 10px; }
.pick-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick-opts label { position: relative; cursor: pointer; }
.pick-opts input { position: absolute; opacity: 0; }
.pick-opts span { display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--t-sm); font-weight: 600; transition: .2s; }
.pick-opts input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pick-opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.insta a { aspect-ratio: 1; overflow: hidden; position: relative; border-radius: 4px; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.insta a:hover img { transform: scale(1.08); filter: brightness(.8); }
@media (max-width: 860px) { .insta { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Video ---------- */
.video-box { position: relative; aspect-ratio: 16/9; border-radius: var(--r-panel); overflow: hidden; background: var(--darkroom); }
.video-box iframe, .video-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: transparent; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play span { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .4s var(--ease); }
.video-play span::after { content: ""; border-left: 22px solid #1B1C24; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }
.video-play:hover span { transform: scale(1.1); }

/* ---------- Pagina serviciu ---------- */
.svc-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: #FAFAFB; background: var(--darkroom); padding: calc(var(--header-h) + 60px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.svc-hero .phero-bg img { object-position: center 30%; }
.svc-hero h1 { font-size: var(--t-hero); margin: 0; }
.svc-hero p.lead { font-size: var(--t-lg); max-width: 54ch; color: rgba(250, 250, 251, .86); margin: 18px 0 0; }
.svc-hero .crumbs ol { color: rgba(250, 250, 251, .7); }
.svc-hero .from { display: inline-flex; gap: 8px; align-items: baseline; margin-top: 22px; font-weight: 600; }
.svc-hero .from b { font: 400 var(--t-xl) var(--f-display); color: var(--accent); }
.svc-hero .btn { --b: #FAFAFB; --c: #1B1C24; }
.svc-hero .btn-ghost { --c: #FAFAFB; border-color: rgba(250, 250, 251, .45); }
.svc-nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.svc-nav a { position: relative; display: block; padding: 26px; border-radius: var(--r-panel); background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.svc-nav a:last-child { text-align: right; }
.svc-nav small { color: var(--slate); display: block; }
.svc-nav b { display: block; font: 400 var(--t-lg)/1.25 var(--f-display); overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 620px) {
  .svc-nav { grid-template-columns: 1fr; gap: 10px; }
  .svc-nav a { padding: 18px 20px; }
  .svc-nav a:last-child { text-align: left; }
  .svc-nav b { font-size: 1rem; }
}

/* ---------- Portofoliu: proiect ---------- */
.proj-grid { columns: 2 380px; column-gap: 14px; }
.proj-grid a { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: var(--r-photo); overflow: hidden; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(15, 16, 22, .94); display: none; align-items: center; justify-content: center; }
.lb.is-open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.lb button { position: absolute; background: rgba(250, 250, 251, .1); color: #FAFAFB; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.lb button:hover { background: var(--accent); color: #1B1C24; }
.lb .lb-x { top: 18px; right: 18px; }
.lb .lb-p { left: 18px; top: 50%; translate: 0 -50%; }
.lb .lb-n { right: 18px; top: 50%; translate: 0 -50%; }
.lb .lb-c { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(250, 250, 251, .8); font-size: var(--t-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--darkroom); color: var(--darkroom-text); padding: clamp(64px, 8vw, 110px) 0 28px; --slate: #A2A6B2; --line: rgba(236, 238, 241, .12); position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand img { height: 92px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--slate); font-size: var(--t-sm); max-width: 40ch; }
.site-footer h3 { font-size: var(--t-sm); font-weight: 700; margin: 0 0 16px; color: #FAFAFB; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: var(--t-sm); }
.site-footer a { text-decoration: none; color: var(--slate); }
.site-footer a:hover { color: var(--accent); }
.foot-contact li { color: var(--slate); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.socials svg { width: 18px; height: 18px; }
.foot-word { margin: clamp(48px, 8vw, 96px) 0 20px; font: 400 clamp(3rem, 13.5vw, 13rem)/.85 var(--f-display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(236, 238, 241, .2); white-space: nowrap; user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--slate); }
.foot-bottom button { background: none; border: 0; color: var(--slate); cursor: pointer; padding: 0; font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom button:hover { color: var(--accent); }
.anpc { display: flex; gap: 10px; flex-wrap: wrap; }
.anpc a { display: inline-block; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Butoane plutitoare ---------- */
.fab { position: fixed; z-index: 55; right: 18px; bottom: 18px; display: grid; gap: 10px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: var(--shadow); text-decoration: none; }
.fab .wa { background: #25D366; color: #fff; }
.fab .top { background: var(--paper); color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: opacity .3s; }
.fab .top.on { opacity: 1; pointer-events: auto; }
.fab svg { width: 24px; height: 24px; }

/* ---------- Cursor: puncte de focalizare ---------- */
.cursor { position: fixed; z-index: 200; left: 0; top: 0; pointer-events: none; width: 34px; height: 34px; translate: -50% -50%; transition: width .35s var(--ease), height .35s var(--ease), opacity .3s; opacity: 0; mix-blend-mode: difference; }
.cursor i { position: absolute; width: 8px; height: 8px; border: 0 solid #fff; }
.cursor i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.cursor i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.cursor i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.cursor i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.cursor.on { opacity: 1; }
.cursor.lock { width: 64px; height: 64px; }
.cursor.lock i { border-color: var(--accent); }
.cursor.lock { mix-blend-mode: normal; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Preloader (diafragmă) ---------- */
.preloader { position: fixed; inset: 0; z-index: 300; background: var(--backdrop); display: grid; place-items: center; transition: opacity .5s .1s, visibility .5s .1s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader svg { width: 74px; height: 74px; animation: spin 1.4s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- GDPR ---------- */
.cookie {
  position: fixed; z-index: 150; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px));
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow);
  padding: 22px; display: none;
}
.cookie.is-open { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.cookie h2 { font: 700 var(--t-lg)/1.3 var(--f-text); margin: 0 0 8px; }
.cookie p { font-size: var(--t-sm); color: var(--slate); margin: 0 0 16px; }
.cookie .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn, .cookie .btn-ghost { padding: .8em 1.1em; font-size: var(--t-xs); }
.cookie-prefs { display: none; margin: 4px 0 16px; border-top: 1px solid var(--line); }
.cookie.show-prefs .cookie-prefs { display: block; }
.cprefs-row { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--t-xs); }
.cprefs-row b { display: block; font-size: var(--t-sm); }
.cprefs-row span { color: var(--slate); }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--line-strong); transition: .25s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .25s var(--ease); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:disabled + i { opacity: .55; }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- 404 & căutare ---------- */
.nf { min-height: 82vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; }
.nf .code { font: 400 clamp(5rem, 22vw, 15rem)/.9 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.nf p { color: var(--slate); }
.search-form { display: flex; gap: 8px; max-width: 620px; margin-top: 26px; }
.search-form input { flex: 1; padding: 15px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font: inherit; color: var(--ink); }
.empty { padding: 40px; border: 1px dashed var(--line-strong); border-radius: var(--r-panel); text-align: center; color: var(--slate); }

/* ---------- Spațiere ---------- */
.spacer-sm { height: 32px; } .spacer-md { height: 72px; } .spacer-lg { height: 140px; }

/* ---------- Animatie la încărcare: un singur moment, în hero ---------- */
.js .hero-copy { opacity: 0; transform: translateY(16px); transition: opacity .8s .9s, transform 1s .9s var(--ease); }
.js .hero.is-ready .hero-copy { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .iris { display: none; }
}

@media print {
  .site-header, .site-footer, .fab, .cookie, .cursor, .preloader { display: none !important; }
  body { background: #fff; }
}
:root[data-theme="dark"] .pkg.is-featured { border-color: var(--accent); }

/* ---------- Comentarii ---------- */
.comments-wrap { padding-bottom: clamp(56px, 8vw, 96px); margin-top: -24px; }
.comments { max-width: 72ch; border-top: 1px solid var(--line); padding-top: 40px; }
.comments h2 { font-size: var(--t-xl); margin: 0 0 26px; display: flex; align-items: center; gap: 12px; }
.cmt-n { font: 700 var(--t-sm)/1 var(--f-text); background: var(--accent); color: #1B1C24; padding: 6px 10px; border-radius: 99px; }
.cmt-list { display: grid; gap: 4px; margin-bottom: 40px; }
.cmt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cmt.is-reply { margin-left: 58px; grid-template-columns: 36px minmax(0, 1fr); padding: 14px 16px; border: 0; border-left: 2px solid var(--accent); background: var(--paper); border-radius: 0 12px 12px 0; }
.cmt-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: var(--t-sm); color: var(--slate); }
.cmt.is-reply .cmt-av { width: 36px; height: 36px; font-size: var(--t-xs); background: var(--backdrop); }
.cmt.is-team .cmt-av { background: var(--darkroom); border-color: var(--darkroom); color: #FAFAFB; padding: 8px; }
.cmt.is-team .cmt-av svg { width: 100%; height: 100%; }
.cmt header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 6px; }
.cmt header time { color: var(--slate); font-size: var(--t-xs); }
.cmt-badge { font-size: var(--t-xs); font-weight: 700; color: #1B1C24; background: var(--accent); padding: 2px 8px; border-radius: 99px; }
.cmt-body { overflow-wrap: anywhere; }
.cmt-body p { margin: 0 0 .6em; }
.cmt-body p:last-child { margin: 0; }
.cmt-body a { color: var(--ink); text-decoration-color: var(--accent); }
.cmt-reply { margin-top: 8px; background: none; border: 0; padding: 0; color: var(--slate); font-weight: 600; font-size: var(--t-sm); cursor: pointer; }
.cmt-reply:hover { color: var(--accent); }
.cmt-empty { color: var(--slate); margin-bottom: 26px; }
.cmt-form-head h3 { font-size: var(--t-lg); margin: 0 0 4px; }
.cmt-form-head p { color: var(--slate); font-size: var(--t-sm); margin: 0; }
.cmt-replying { margin-top: 8px !important; color: var(--ink) !important; }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 620px) { .cmt.is-reply { margin-left: 18px; } }
.art-cta h2 { margin-top: 0; }
