/* m.a.photography — „camera obscură”: un singur câmp întunecat, fotografiile ca printuri luminate.
   Culori luate din lumina de apus a fotografiilor lui Mihai. Toate valorile trec prin tokenii de mai jos. */

@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/bodoni-moda-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/bodoni-moda-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jost-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jost-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #0d0b09;          /* negrul camerei, ușor cald */
  --surface: #1a1611;
  --ink: #ecebe8;         /* os, nu alb pur */
  --muted: #b5ab9e;
  --stair-2: #d9c3a3;     /* a doua cerneală a scării */
  --accent: #e8a64b;      /* lumina de apus: doar pe acțiune și pe cupon */
  --accent-ink: #0d0b09;
  --accent-soft: #f2c784; /* câmpurile de pe cupon */

  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-text: "Jost", "Futura", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-title: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: 12.4vw;

  --margin: clamp(1rem, 2.1vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);
  --radius: 0px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
  --t-reveal: 900ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.6; letter-spacing: 0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 0.95; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.head { font-size: var(--step-head); }
.small { font-size: var(--step-small); line-height: 1.5; }
.muted { color: var(--muted); }
.wrap { padding-inline: var(--margin); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1.3rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); text-decoration: none; white-space: nowrap; font-weight: 500; font-size: var(--step-small); letter-spacing: 0.02em; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button-ghost { background: var(--surface); color: var(--ink); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--accent); }
  .button:hover { background: var(--ink); color: var(--bg); }
  .button-ghost:hover { background: var(--ink); color: var(--bg); }
}

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem); padding-top: clamp(1rem, 2.1vw, 1.9rem); font-size: var(--step-small); }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 500; letter-spacing: 0.02em; }
.brand img { width: 46px; height: auto; background: none; }
.nav-list { display: flex; gap: clamp(1rem, 2vw, 1.75rem); }
.nav-list a { text-decoration-color: transparent; padding-block: 0.6rem; display: inline-block; }
.nav-toggle { display: none; }
.top-action { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.print { position: absolute; overflow: hidden; background: var(--surface); }
.print img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.print img.is-on { opacity: 1; }
.print-big { left: calc(var(--margin) + (100% - 2 * var(--margin) + var(--gutter)) / 12 * 6); height: 88svh; aspect-ratio: 4 / 5; top: 6svh; }
.print-big img { filter: brightness(0.92) contrast(1.04); }
.print-small { left: calc(var(--margin) + (100% - 2 * var(--margin) + var(--gutter)) / 12 * 1); width: min(20vw, 46svh * 0.667); aspect-ratio: 2 / 3; top: 13svh; }
.print-small img { filter: brightness(0.85); }
.hero-title { grid-column: 1 / span 6; grid-row: 1; align-self: end; margin-bottom: 7.5rem; position: relative; z-index: 2; font-size: var(--step-head); padding-bottom: clamp(1.25rem, 2.1vw, 1.9rem); }
.hero-title span { display: block; white-space: nowrap; }
.hero-note { grid-column: 1 / span 4; grid-row: 1; align-self: end; position: relative; z-index: 2; color: var(--muted); max-width: 26ch; padding-bottom: clamp(1.25rem, 2.1vw, 1.9rem); }
.hero-cta { position: absolute; right: var(--margin); bottom: clamp(1.25rem, 2.1vw, 1.9rem); z-index: 2; }

/* ---------- video ---------- */
.video { padding-block: clamp(4rem, 7vw, 7rem) 0; }
.video-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.video-head p { color: var(--muted); max-width: 34ch; }
.reel { margin: 0; min-width: 0; }
.reel-main { margin-top: 2rem; }
.reel-box { position: relative; background: var(--surface); overflow: hidden; }
.reel-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--surface); }
.reel-main .reel-video { aspect-ratio: 16 / 9; }
.reel figcaption { font-size: var(--step-small); color: var(--muted); padding-top: 0.6rem; }
.reels-bar { margin-top: 1.5rem; }
.reels-panel { scroll-margin-top: 1.5rem; }
.reels-toggle { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .reels-toggle:hover { background: var(--accent); color: var(--accent-ink); } }
.js .reels-panel:not(.is-open) { display: none; }
.reels-panel.is-open .reel { animation: tile-in 700ms var(--ease-out) both; }
.reels-panel.is-open .reel:nth-child(2) { animation-delay: 90ms; }
.reels-panel.is-open .reel:nth-child(3) { animation-delay: 180ms; }
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: 1.5rem; }
.reel-btn { position: absolute; left: clamp(0.75rem, 1.6vw, 1.5rem); bottom: clamp(0.75rem, 1.6vw, 1.5rem); display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.9rem; padding: 0 1.1rem; background: var(--ink); color: var(--bg); font-weight: 500; font-size: var(--step-small); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, opacity 300ms ease; }
.reel-btn:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .reel-btn:hover { background: var(--accent); color: var(--accent-ink); } }
.reel.is-playing .reel-btn { opacity: 0; pointer-events: none; }
.reel.is-failed .reel-btn:not(.reel-fallback) { display: none; }
.reel.is-failed .reel-fallback { opacity: 1; pointer-events: auto; text-decoration: none; }

/* ---------- intro: scara ---------- */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: var(--gutter); padding-block: var(--section) calc(var(--section) * 0.45); align-items: start; }
.stair { grid-column: 1 / span 8; font-family: var(--font-display); font-size: var(--step-title); line-height: 1.12; letter-spacing: -0.015em; max-width: none; padding-left: 4vw; }
.stair span { display: block; }
.stair .s1 { padding-left: 0; }
.stair .s2 { padding-left: 8vw; color: var(--stair-2); }
.stair .s3 { padding-left: 16vw; }
.intro-pics { grid-column: 9 / span 4; grid-row: 1 / span 2; display: grid; gap: 1rem; }
.intro-pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: brightness(0.9); }
.intro-note { grid-column: 1 / span 6; grid-row: 2; margin-top: clamp(2.5rem, 5vw, 4.5rem); color: var(--muted); padding-left: 4vw; max-width: 46ch; }
.intro-note a { color: var(--ink); }

/* ---------- servicii ---------- */
.services { position: relative; }
.services-stage { position: relative; overflow: hidden; }
.services-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; filter: brightness(0.5) blur(6px); transform: scale(1.08); }
.services-track { position: relative; display: flex; align-items: center; gap: 40px; padding-inline: var(--margin); }
.services-head { flex: 0 0 auto; width: min(26rem, 30vw); align-self: flex-start; padding-top: clamp(3rem, 9svh, 6rem); }
.services-head p { margin-top: 1.25rem; max-width: 24ch; }
.services-window { position: relative; height: 100%; clip-path: inset(-100vh var(--margin)); }
.card { flex: 0 0 auto; width: min(640px, 44vw); aspect-ratio: 720 / 560; display: grid; grid-template-rows: 68% 32%; background: var(--tone); }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.card-body, .services-head { transition: opacity 450ms ease, visibility 0s linear 0s; }
.card-body.is-out, .services-head.is-out { opacity: 0; visibility: hidden; transition: opacity 450ms ease, visibility 0s linear 450ms; }
.card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding: clamp(1rem, 2vw, 1.75rem); }
.card h3 { font-size: var(--step-title); line-height: 1; max-width: 9ch; }
.card p { font-size: var(--step-body); line-height: 1.45; max-width: 27ch; text-align: right; color: var(--ink); }

@media (min-width: 64em) {
  .services { height: 300svh; }
  .services-stage { position: sticky; top: 0; height: 100svh; }
  .services-track { height: 100%; will-change: transform; }
}

/* ---------- portofoliu ---------- */
.work { padding-top: var(--section); padding-bottom: calc(var(--section) * 0.6); }
.work-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.work-title { margin: 0; }
.work-ig { display: inline-block; margin-top: 2rem; font-size: var(--step-body); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.filter { min-height: 2.75rem; padding: 0 1rem; background: var(--surface); color: var(--muted); font-size: var(--step-small); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.filter span { opacity: .7; margin-left: .35em; font-variant-numeric: tabular-nums; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.filter:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .filter:hover { color: var(--ink); } .filter[aria-pressed="true"]:hover { color: var(--bg); } }
.wall { margin-top: 2rem; display: flex; flex-direction: column; gap: 8px; min-height: 60svh; }
.wall-row { display: flex; gap: 8px; }
.tile { position: relative; margin: 0; flex: 0 0 auto; transition: opacity 400ms ease; }
.tile button { display: block; width: 100%; height: var(--h); overflow: hidden; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft), opacity 500ms ease; }
.tile figcaption { font-size: var(--step-small); color: var(--muted); padding-top: 0.35rem; line-height: 1.3; }
.wall.is-hovering .tile:not(:hover) { opacity: 0.45; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.035); } }
.wall-more { margin-top: 2.5rem; }
.tile.enter { animation: tile-in 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes tile-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- prețuri ---------- */
.prices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: var(--section); }
.prices-side { grid-column: 1 / span 3; }
.prices-side img { margin-top: 2.5rem; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.prices-foot { margin-top: 1.25rem; max-width: 30ch; }
.prices-cols { grid-column: 5 / span 8; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.group + .group { margin-top: 48px; }
.group h3 { font-family: var(--font-text); font-weight: 500; font-size: var(--step-lead); letter-spacing: 0; line-height: 1.2; margin-bottom: 1.25rem; }
.group dl { display: grid; gap: 22px; }
.group-note { margin-top: 1.25rem; font-size: var(--step-small); color: var(--muted); max-width: 40ch; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; font-size: var(--step-body); line-height: 1.3; }
.row dt span { display: block; font-size: var(--step-small); color: var(--muted); max-width: 36ch; margin-top: 0.2rem; line-height: 1.4; }
.row dd { font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

/* ---------- despre ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: clamp(6rem, 10vw, 9rem); }
.about-title { grid-column: 1 / -1; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.facts { grid-column: 1 / span 2; display: grid; align-content: start; gap: 1rem; color: var(--muted); padding-top: 0.4rem; }
.bio { grid-column: 3 / span 10; display: grid; grid-template-columns: 1fr; column-gap: calc(var(--gutter) * 2); row-gap: 2.5rem; }
.bio .bio-lead { grid-column: 1 / -1; font-family: var(--font-display); font-size: var(--step-title); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); max-width: 40ch; min-height: 3.5em; }
.bio p { font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 40ch; }
.bio strong { font-weight: 400; color: var(--ink); }
.bio a { color: var(--ink); }
.dropcap { float: left; width: 5.2em; height: auto; aspect-ratio: 900 / 1124; object-fit: cover; margin: 0.18em 0.6em 0.3em 0; }

/* ---------- cum lucrez ---------- */
.steps { position: relative; }
.steps-title { position: absolute; top: clamp(1.25rem, 3vw, 2.5rem); left: var(--margin); z-index: 3; font-size: var(--step-title); }
.step { position: relative; height: 100svh; overflow: hidden; }
.step > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: brightness(0.5) saturate(0.95); }
.verb-wrap { position: sticky; top: 50%; transform: translateY(-50%); z-index: 2; text-align: center; padding-inline: var(--margin); }
.verb { font-size: var(--step-display); line-height: 1; padding-block: 0.08em; color: var(--ink); }
.step-note { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 3rem var(--margin) clamp(1.5rem, 3vw, 2.5rem); max-width: 34rem; font-size: var(--step-body); background: rgb(13 11 9 / 0.55); }

/* ---------- contact: cuponul ---------- */
.contact { padding-block: var(--section) calc(var(--section) * 0.7); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.coupon { grid-column: 2 / span 10; display: grid; grid-template-columns: 46fr 54fr; background: var(--accent); color: var(--accent-ink); min-height: 34rem; position: relative; }
.coupon::before, .coupon::after { content: ""; position: absolute; left: calc(46% - 14px); width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.coupon::before { top: -14px; }
.coupon::after { bottom: -14px; }
.stub { padding: 48px; display: flex; flex-direction: column; gap: 2rem; border-right: 5px dotted var(--bg); }
.stub-title { font-size: var(--step-title); max-width: 9ch; line-height: 0.98; }
.ticket { margin-top: auto; }
.ticket p { max-width: 30ch; font-size: var(--step-body); line-height: 1.45; }
.ticket .ticket-big { font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.15; margin-bottom: 0.5rem; }
.ticket.is-set { animation: stamp 520ms var(--ease-out); }
@keyframes stamp { from { opacity: 0.2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stub-note { font-size: var(--step-small); line-height: 1.45; max-width: 34ch; }
.fields { padding: 48px; display: flex; flex-direction: column; gap: 10px; }
.coupon .field { width: 100%; min-height: 52px; padding: 0.8rem 1rem; background: var(--accent-soft); border: 0; border-radius: 0; color: var(--accent-ink); font-size: var(--step-body); appearance: none; -webkit-appearance: none; }
.coupon .field::placeholder { color: rgb(13 11 9 / 0.72); opacity: 1; }
.coupon select.field { background-image: none; cursor: pointer; }
.coupon textarea.field { resize: vertical; min-height: 4.5rem; line-height: 1.4; }
.coupon .field:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 0; }
.submit { margin-top: 6px; min-height: 56px; background: var(--accent-ink); color: var(--accent); font-weight: 500; letter-spacing: 0.02em; transition: transform var(--t-press) var(--ease-out), color var(--t-hover) ease; }
.submit:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .submit:hover { color: var(--ink); } .coupon .link-plain:hover { color: var(--bg); } }
.wa-alt { align-self: center; padding-block: 0.6rem; font-size: var(--step-small); }
.form-status { font-size: var(--step-small); min-height: 1.4em; }
.hp { display: none; }

.reach { grid-column: 2 / span 10; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: clamp(3rem, 6vw, 5rem); }
.reach-link { text-decoration: none; font-size: var(--step-lead); line-height: 1.2; overflow-wrap: break-word; transition: color var(--t-hover) ease, transform var(--t-hover) var(--ease-out); display: block; }
.reach-link span { display: block; font-size: var(--step-small); color: var(--muted); margin-bottom: 0.35rem; }
@media (hover: hover) and (pointer: fine) { .reach-link:hover { color: var(--accent); transform: translateY(-2px); } }
.reach-note { grid-column: 2 / span 10; margin-top: 2rem; }

/* ---------- footer ---------- */
.foot { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.foot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: brightness(0.62); }
.foot-top, .foot-bottom { position: relative; z-index: 1; }
.foot-top { display: flex; justify-content: space-between; gap: 2rem; padding-top: 32px; }
.foot-links, .foot-contact { display: grid; gap: 0.35rem; }
.foot-contact { text-align: right; }
.foot a { text-decoration-color: transparent; }
.foot-bottom { padding-bottom: 1.5rem; }
.wordmark { font-family: var(--font-display); font-size: var(--step-display); line-height: 1.12; letter-spacing: -0.04em; white-space: nowrap; max-width: none; margin-left: -0.04em; }
.legal { font-size: var(--step-small); margin-top: 0.5rem; color: var(--ink); }

/* ---------- WhatsApp plutitor ---------- */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3.25rem; padding: 0 1.1rem; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; font-size: var(--step-small); transform: translateY(160%); transition: transform 500ms var(--ease-out), background-color var(--t-hover) ease; }
.wa-float.is-shown { transform: none; }
.no-js .wa-float, html:not(.js) .wa-float { transform: none; }
.wa-float:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--ink); } }

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 7 6 / 0.97); color: var(--ink); }
.lightbox::backdrop { background: rgb(8 7 6 / 0.9); }
.lightbox figure { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4.5rem var(--margin) 1.5rem; gap: 0.75rem; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 8rem); width: auto; height: auto; object-fit: contain; background: none; }
.lightbox figcaption { font-size: var(--step-small); color: var(--muted); }
.lb-btn { position: absolute; min-width: 3rem; min-height: 3rem; padding: 0 1rem; background: var(--surface); color: var(--ink); font-size: var(--step-small); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.lb-btn:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: var(--ink); color: var(--bg); } }
.lb-close { top: 1rem; right: var(--margin); }
.lb-prev { left: var(--margin); top: 50%; translate: 0 -50%; }
.lb-next { right: var(--margin); top: 50%; translate: 0 -50%; }

/* ---------- tabletă ---------- */
@media (max-width: 63.99em) {
  .hero { display: flex; flex-direction: column; justify-content: flex-end; }
  .print-big { left: auto; right: var(--margin); height: auto; width: 62%; top: 10svh; }
  .print-small { left: var(--margin); width: 28%; top: 10svh; aspect-ratio: 2 / 3; }
  .services-bg { display: block; position: sticky; top: 0; order: 0; width: 100%; height: 100svh; margin-bottom: -100svh; object-position: 50% 78%; filter: brightness(0.45) blur(3px); transform: none !important; z-index: 0; }
  .services-stage { overflow: clip; }
    .services-head, .card { position: relative; z-index: 1; }
  .hero-title, .hero-note { align-self: flex-start; margin-bottom: 0; }
  .hero-note { padding-bottom: 1.75rem; max-width: 34ch; }
  .stair { grid-column: 1 / -1; }
  .intro-pics { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr 1fr; margin-top: 3rem; }
  .intro-note { grid-column: 1 / -1; grid-row: auto; }
  .services-stage { display: flex; flex-direction: column; padding-bottom: var(--section); }
  .services-window, .services-track { display: contents; }
  .services-head { order: 1; padding-inline: var(--margin); }
    .card { order: 3; margin: 0 var(--margin) 24px; width: auto !important; }
  .services-head { width: auto; padding-top: calc(var(--section) * 0.35); padding-bottom: 1.5rem; }
  .card { aspect-ratio: auto; grid-template-rows: auto auto; }
  .card img { aspect-ratio: 4 / 3; height: auto; }
  .card .card-portret-img { object-position: 50% 38%; }
  .card-body { min-height: 140px; }
  .prices-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); align-items: end; margin-bottom: 3rem; }
  .prices-side h2 { grid-column: 1 / -1; }
  .prices-cols { grid-column: 1 / -1; }
  .coupon { grid-column: 1 / -1; }
  .reach { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .reach-note { grid-column: 1 / -1; }
}

/* ---------- telefon ---------- */
@media (max-width: 47.99em) {
  :root { --section: 5.5rem; }
  .top { gap: 1rem; }
  .brand span { display: none; }
  .brand img { width: 50px; }
  .top { flex-wrap: wrap; row-gap: 0.25rem; }
  .nav { order: 3; width: 100%; }
  .nav-list { justify-content: space-between; gap: 0.5rem; }
  .nav-list a { padding-block: 0.65rem; text-decoration: underline; text-decoration-color: rgb(236 235 232 / 0.35); text-underline-offset: 0.3em; }
  .top-action { order: 2; margin-left: auto; min-height: 2.6rem; padding: 0 0.9rem; }

  .hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .print-big { left: auto; right: var(--margin); width: calc((100% - 2 * var(--margin)) * 0.57); top: 8.25rem; aspect-ratio: 2 / 3; }
  .print-small { left: var(--margin); width: calc((100% - 2 * var(--margin)) * 0.405); top: 8.25rem; height: calc((100vw - 2 * var(--margin)) * 0.57 * 1.5); aspect-ratio: auto; }
  .hero-title { align-self: flex-start; padding-bottom: 0.75rem; }
  .hero-title span { white-space: normal; }
  .hero-note { align-self: flex-start; padding-bottom: 1.5rem; max-width: 30ch; }
  .print-big { height: auto; }

  .intro { display: block; }
  .reels { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .reels .reel:first-child { grid-column: 1 / -1; }
  .reels .reel:not(:first-child) .reel-btn { padding: 0 0.8rem; }
  .video-head { gap: 0.75rem; }
  .stair { padding-left: 0; }
  .stair .s2 { padding-left: 6vw; } .stair .s3 { padding-left: 12vw; }
  .intro-pics { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2.5rem; }
  .intro-note { padding-left: 0; margin-top: 2rem; }

  .card-body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.5rem; padding: 1rem; }
  .card p { text-align: left; }

  .work-head { flex-direction: column; gap: 0.5rem; }
  .filters { gap: 6px; }
  .filter { padding: 0 0.8rem; }
  .wall, .wall-row { gap: 6px; }

  .prices-side { grid-template-columns: 1fr; }
  .prices-side img { width: 60%; }
  .prices-cols { grid-template-columns: 1fr; }
  .prices-cols > div + div { margin-top: 40px; }
  .group + .group { margin-top: 40px; }

  .about { display: flex; flex-direction: column; gap: 2.5rem; }
  .about-title { margin-bottom: -0.5rem; }
  .facts { order: 2; }
  .bio { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .dropcap { float: none; display: block; width: 62%; height: auto; margin: 0 0 1.25rem; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

  .verb { font-size: 18vw; }
  .step-note { max-width: none; width: 100%; padding-top: 2rem; }

  .coupon { grid-template-columns: 1fr; margin-inline: calc(12px - var(--margin)); }
  .coupon::before, .coupon::after { left: auto; top: calc(var(--stub-h, 44%) - 14px); bottom: auto; }
  .coupon::before { left: -14px; }
  .coupon::after { right: -14px; }
  .stub { border-right: 0; border-bottom: 5px dotted var(--bg); padding: 28px 22px; gap: 1.5rem; }
  .fields { padding: 28px 22px; }
  .coupon .field { min-height: 54px; }
  .reach { grid-template-columns: 1fr; }

  .foot { min-height: 88svh; }
  .foot-top { flex-direction: column; gap: 1.25rem; }
  .foot-contact { text-align: left; }
  .wa-float { padding: 0; width: 3.4rem; height: 3.4rem; justify-content: center; }
  .wa-float span { display: none; }
  .lightbox figure { padding: 4.5rem 0.5rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
}

/* ---------- mișcare (conținutul rămâne vizibil fără JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .stair[data-reveal] span { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }
  .js .stair[data-reveal] { opacity: 1; transform: none; }
  .js .stair.is-in span { opacity: 1; transform: none; }
  .js .stair.is-in .s2 { transition-delay: 90ms; } .js .stair.is-in .s3 { transition-delay: 180ms; } .js .stair.is-in .s4 { transition-delay: 270ms; } .js .stair.is-in .s5 { transition-delay: 360ms; }
  .print-big { animation: print-in 1400ms var(--ease-expo) both; }
  .print-small { animation: print-in 1400ms var(--ease-expo) 250ms both; }
  .foot-bg { animation: drift 24s var(--ease-soft) infinite alternate; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 47.99em) {
  /* pe telefon, textul nu pornește niciodată complet ascuns */
  .js [data-reveal]:not(.is-in) { opacity: 0.3; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes print-in { from { opacity: 0; transform: translateY(28px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.06) translateY(-1.5%); } to { transform: scale(1.0) translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .print img { transition: none; }
  .wa-float { transition: none; }
}

/* câmpul de dată, cu eticheta vizibilă */
.coupon .field-date { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0; cursor: text; }
.field-date span { color: rgb(13 11 9 / 0.72); white-space: nowrap; }
.field-date input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; color: var(--accent-ink); text-align: right; font-size: var(--step-body); }
.field-date input:focus-visible { outline: none; }
.field-date:focus-within { outline: 2px solid var(--accent-ink); }
