/* GENERATED by redesign-taste/v4/tools/sync-theme-css.mjs from redesign-taste/v4/canvas/src/V4-konsultacja/extra.css - do not edit here, edit the source and run the tool. */
/* DBIJOU v4 - consultation landing page (/konsultacja/) for ad traffic: hero with the two actions (WhatsApp, phone) and
   one workshop film, the making of the oval 1.48 ct (six vertical loops), the five steps of the home page with the
   actions, closing block with the actions and the facts, action bar on the phone.
   Shared components live in system/system.css (steps, figure, caption). Order: hero, film, making band, process,
   closing block, phone bar, tablet, phone. */

/* ------------------------------------------------------------------ hero
   Text in the left half, one vertical workshop film in the right half. The two actions sit in the first screen on
   every width; the film never pushes them down. */
.kons{padding-block:clamp(32px,5vw,72px) var(--sec-y)}
.kons__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--gap);align-items:center}
.kons__txt{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-5);max-width:640px}
.kons__h{font-size:clamp(40px,6vw,88px)}
.kons__lead{max-width:34em}
/* Christmas order deadline: one line with a gold dot, shown until the date (server and script). */
.kons__xmas{display:flex;align-items:baseline;gap:var(--sp-2);margin:0;font-size:var(--fs-ui);font-weight:500;line-height:1.4;color:var(--fg)}
.kons__xmas::before{content:"";flex:0 0 auto;width:6px;height:6px;border-radius:50%;background:var(--accent);transform:translateY(-2px)}
.kons__act{display:flex;flex-wrap:wrap;gap:var(--sp-3)}
.kons__note{margin:0;font-size:var(--fs-small);line-height:1.5;color:var(--fg-2)}

/* ------------------------------------------------------------------ film
   A vertical loop over its poster (img first, then video; the system loader of dbj.js starts it in view). */
.kons__film{position:relative;justify-self:end;margin:0;height:min(72svh,720px);aspect-ratio:9 / 16;overflow:hidden;background:var(--film)}
.kons__film img,
.kons__film video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* The caption sits on a soft dark foot, so it reads on a bright frame too. */
.kons__cap{position:absolute;left:0;right:0;bottom:0;z-index:var(--z-raise);padding:var(--sp-8) var(--sp-4) var(--sp-4);color:var(--cream);background:linear-gradient(to top,rgba(12,11,10,.78),rgba(12,11,10,0))}

/* ------------------------------------------------------------------ making band (2026-12-01)
   The workshop band of the home page (inc/v4-work-band.php, same .work__* rules as V4-home): six 9:16 cards in one
   row, three by two on tablets, one side-scrolling rail on phones. One card has no film (casting): "wosk", a thin
   arrow down, "złoto" on the film ground in place of the picture. */
.work__lead{padding-bottom:.35em;text-wrap:pretty}
.work__rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-7);margin:0;padding:0;list-style:none}
.work__fig .fig__media{aspect-ratio:9 / 16}
.work__fig .fig__media img,
.work__fig .fig__media video{left:0;top:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transform:none}
/* Stage with the 3D model (owner 2026-12-01, konsultacja.js part 5): everywhere the film and the link to the live
   model; on a desktop (mouse, 1025 px and up) the viewer frame over the film once the model is in, and the line
   "drag to turn" instead of the link. */
.work__try{display:block;margin-top:var(--sp-2)}
.work__drag{display:none}
@media (hover:hover) and (pointer:fine) and (min-width:1025px){.work__drag{display:inline}.work__live{display:none}}
.work__3d{position:absolute;inset:0;opacity:0;transition:opacity .6s var(--ease-out)}
.work__3d.is-ready{opacity:1}
.work__3d iframe{display:block;width:100%;height:100%;border:0;background:transparent}
.work__stage .cap{padding-top:var(--sp-3)}
.work__n{margin-bottom:var(--sp-1);color:var(--fg-3)}
.work__fig--card .fig__media{display:flex;align-items:center;justify-content:center;border:1px solid var(--line)}
.work__card{display:flex;flex-direction:column;align-items:center;gap:var(--sp-3);color:var(--fg-2)}
.work__card-w{font-family:var(--ff-display);font-size:clamp(22px,2vw,30px);line-height:1}
.work__card svg{display:block;width:12px;height:40px;fill:none;stroke:var(--fg-3);stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}

/* ------------------------------------------------------------------ process (the five steps of the home page)
   Sticky intro with the actions on the left, the system steps on the right. */
.proc__split{align-items:start}
.proc__intro{position:sticky;top:calc(var(--h-hdr) + var(--sp-6));display:flex;flex-direction:column;align-items:flex-start}
.proc__h{margin-top:var(--sp-5)}
.proc__lead{margin-top:var(--sp-5);max-width:40ch}
.proc__act{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-3);margin-top:var(--sp-6)}

/* ------------------------------------------------------------------ closing block */
.kons-end__split{align-items:center}
.kons__film--end{justify-self:start;height:min(64svh,620px)}
.kons-end__side{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-5)}
.kons-end__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-5) var(--gap);width:100%;max-width:520px;margin:var(--sp-4) 0 0;padding-top:var(--sp-6);border-top:1px solid var(--line)}
.kons-end__facts .fact__v{font-size:clamp(22px,2vw,30px)}

/* ------------------------------------------------------------------ phone bar
   The two actions again, fixed to the bottom edge, only on the phone and only while the hero actions are out of view
   (the script adds .is-on): one gold action per screen. */
.kons-bar{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-banner);display:none;gap:var(--sp-2);padding:var(--sp-3) var(--gutter) calc(var(--sp-3) + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line)}
.kons-bar .btn{flex:1 1 0;min-width:0;padding:0 var(--sp-3)}

/* ------------------------------------------------------------------ tablet */
@media (max-width:1024px){
  .kons__film{height:min(60svh,560px)}
  .work__rail{grid-template-columns:repeat(3,minmax(0,1fr))}
  /* The intro dissolves into the single column so the actions follow the steps. */
  .proc__split{row-gap:0}
  .proc__intro{display:contents}
  .proc__steps{order:2;margin-top:var(--block-y)}
  .proc__act{order:3;margin-top:var(--sp-7)}
}

/* ------------------------------------------------------------------ phone */
@media (max-width:767px){
  .kons{padding-top:var(--sp-6)}
  .kons__in{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-7)}
  .kons__txt{gap:var(--sp-4);max-width:none}
  .kons__act{flex-direction:column;align-items:stretch;width:100%}
  .kons__act .btn{width:100%;padding:0 var(--sp-4)}
  .kons__film{justify-self:stretch;width:100%;height:auto;aspect-ratio:4 / 5}
  .proc__act{align-items:stretch;margin-top:var(--sp-6)}
  .kons-end__split{grid-template-columns:minmax(0,1fr)}
  .kons__film--end{order:2;justify-self:stretch;height:auto}
  .kons-end__facts{max-width:none}
  .kons-bar.is-on{display:flex}
  /* room for the bar under the footer, so its last line is never covered */
  .dbijou-konsultacja .ftr{padding-bottom:calc(var(--h-btn) + var(--sp-8))}
}

/* ------------------------------------------------------------------ making band on phones (same break as V4-home) */
@media (max-width:640px){
  .work__rail{display:flex;gap:var(--sp-3);overflow-x:auto;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter);scroll-padding-inline:var(--gutter);scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none}
  .work__rail::-webkit-scrollbar{display:none}
  .work__stage{flex:none;width:62%;scroll-snap-align:start}
}
