/* ==========================================================================
   Azja Motors design layer — 55 CONTACT, the owner-picked "Salon" design (site change set 2026-10-25 item 6;
   prototype impl/SITE/design/contact/v-salon, src/salon/salon.css + src/common.css). Loaded on /kontakt only
   (views/contact.ejs amStyles), after 50-pages.css; plain unlayered rules scoped to .ct--salon.
   The family of the configurator's "Salon" studio (owner pick 2026-10-25 ~12:15): the site's beige page, a salon stage
   as the hero (greige cyclorama wall, the dark Azja Motors logo back-lit high on the wall, the light stone podium with
   the champagne-bronze ring, the car-only Zeekr 9X on it), white tiles, the booking app with a warm stone meta column
   instead of black, bronze and #422E15 accents. The booking calendar and the contact form keep their partials, hooks
   and states (50-pages.css); only colours change here.
   ========================================================================== */
.ct--salon {
  --sa-wall-1: #D3CBC0; --sa-wall-2: #DDD6CC; --sa-wall-3: #E7E1D8; --sa-wall-4: #E9E4DC;
  --sa-muted: #4F4A44;           /* 5.46:1 on the darkest wall #D3CBC0 */
  --sa-stone: #EEEAE3; --sa-stone-2: #E8E3DB; --sa-stone-3: #E0DAD1;
  --sa-ring-a: #DCCDB2; --sa-ring-b: #9E8A6B; --sa-side-a: #CBBB9F; --sa-side-b: #7A6A52;
  --sa-logo: #5A4630;
  --sa-champagne: #EFE7DA;       /* = --cherry-soft */
}
.ct--salon svg.ct-ico { width: 20px; height: 20px; flex: none; }
.ct-sa-top { padding-top: clamp(20px, 2.4vw, 32px); }

/* ---------- hero: the salon stage ---------- */
.ct-sa-stage { margin-top: 18px; }
.ct-sa-stage__frame { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); align-items: center;
  min-height: clamp(560px, 44vw, 660px); border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(46% 22% at 66% 77%, rgb(255 249 238 / .70) 0%, rgb(255 249 238 / 0) 72%),
    radial-gradient(64% 42% at 66% 88%, rgb(255 253 249 / .55) 0%, rgb(255 253 249 / 0) 70%),
    radial-gradient(40% 50% at 66% 30%, rgb(255 250 242 / .38) 0%, rgb(255 250 242 / 0) 70%),
    linear-gradient(180deg, var(--sa-wall-1) 0%, var(--sa-wall-2) 50%, var(--sa-wall-3) 66%, var(--sa-wall-4) 100%); }
/* the logo: halo-lit lettering high on the wall (the white logo blurred behind, the dark logo in bronze at 30 %) */
.ct-sa-stage__logo { position: absolute; left: 50%; bottom: 100%; z-index: 0; width: clamp(150px, 19vw, 290px); aspect-ratio: 1211 / 312; transform: translate(-50%, -18%); pointer-events: none; }
.ct-sa-stage__logo::before, .ct-sa-stage__logo::after { content: ""; position: absolute; inset: 0; }
.ct-sa-stage__logo::before { background: url('/azja-motors-logo-biale.svg') center / contain no-repeat; filter: blur(16px); opacity: .8; transform: scale(1.05); }
.ct-sa-stage__logo::after { background: var(--sa-logo); -webkit-mask: url('/azja-motors-logo-czarne.svg') center / contain no-repeat; mask: url('/azja-motors-logo-czarne.svg') center / contain no-repeat; opacity: .30; }
.ct-sa-stage__copy { position: relative; z-index: 2; padding: clamp(28px, 4vw, 64px); }
.ct-sa-stage__copy .eyebrow { color: var(--sa-muted); }
.ct-sa-stage__copy h1 { margin-top: 18px; font-size: clamp(2.5rem, 1.25rem + 3.4vw, 4.25rem); overflow-wrap: normal; text-wrap: balance; }
.ct-sa-stage__lead { margin-top: 18px; max-width: 42ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--body); }
.ct-sa-stage__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* the car on its podium (the hero car keeps the salon stage, owner ~15:10: only cards show the car alone) */
.ct-sa-stage__car { position: relative; align-self: end; margin: 0 clamp(8px, 2vw, 32px) clamp(28px, 3vw, 48px) 0; }
.ct-sa-stage__car img { position: relative; z-index: 1; width: 100%; height: auto; margin-bottom: -2%; }
.ct-sa-podium { position: absolute; left: 3%; right: 3%; bottom: 3%; aspect-ratio: 5.4 / 1; z-index: 0; }
.ct-sa-podium::before { content: ""; position: absolute; inset: 12% 0 -12%; border-radius: 50%;
  background: linear-gradient(180deg, var(--sa-side-a) 0%, var(--sa-side-b) 100%);
  box-shadow: 0 26px 42px -16px rgb(58 46 32 / .38); }
.ct-sa-podium::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--sa-stone) 0%, var(--sa-stone-2) 58%, var(--sa-stone-3) 93.6%, #FFFDF8 94.4%, var(--sa-ring-a) 95.4%, #BBA886 98%, var(--sa-ring-b) 100%); }

/* ---------- three ways in: white tiles ---------- */
.ct-sa-cards__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-sa-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--surface); }
.ct-sa-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(145deg, #F4ECDD 0%, var(--sa-ring-a) 100%); color: var(--cherry); }
.ct-sa-card__label { margin-top: 20px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ct-sa-card__value { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 400; font-stretch: 75%; font-style: normal;
  font-size: clamp(1.625rem, 1.25rem + .9vw, 2.125rem); line-height: 1.12; color: var(--ink); overflow-wrap: anywhere; }
a.ct-sa-card__value { transition: color var(--t-color) var(--ease-out); }
a.ct-sa-card__value:hover { color: var(--cherry); }
.ct-sa-card__mail { font-size: clamp(1.375rem, 1.05rem + .8vw, 1.875rem); }
.ct-sa-card p { margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.ct-sa-card__note { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: var(--pill); background: var(--sa-champagne); color: #5A4630 !important; font-weight: 600; font-size: .875rem !important; }
.ct-sa-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; padding-top: 22px; }

/* ---------- booking: the lounge (warm stone meta column, champagne days, #422E15 picks) ---------- */
.ct--salon .booking { box-shadow: 0 1px 2px rgb(58 46 32 / .06), 0 30px 60px -40px rgb(58 46 32 / .40); }
.ct--salon .booking__meta { background: linear-gradient(180deg, #ECE5D9 0%, #E2D9CB 100%); color: var(--sa-muted); }
.ct--salon .booking__logo img { filter: none; }
.ct--salon .booking__facts div { border-top-color: rgb(66 46 21 / .16); }
.ct--salon .booking__facts svg, .ct--salon .booking__quick svg { color: var(--cherry); }
.ct--salon .booking__facts dt { color: var(--sa-muted); }
.ct--salon .booking__facts dd, .ct--salon .booking__quick p { color: var(--ink); }
.ct--salon .booking__note { border-top-color: rgb(66 46 21 / .16); color: var(--sa-muted); }
.ct--salon .booking__quick a { background: rgb(255 255 255 / .62); box-shadow: inset 0 0 0 1px rgb(66 46 21 / .14); color: var(--ink); }
.ct--salon .booking__quick a:hover { background: #FFFFFF; }
.ct--salon .booking__quick small { color: var(--sa-muted); }
.ct--salon .booking__meta :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 5px rgb(255 255 255 / .9); }
.ct--salon .zd-booking-day { background: var(--sa-champagne); }
.ct--salon .zd-booking-day:hover { background: #E4D7C1; }
.ct--salon .zd-booking-day:disabled { background: transparent; color: #8A847B; }
.ct--salon .zd-booking-day:is(.is-selected, [aria-pressed="true"], .is-pending) { background: var(--cherry); color: #fff; }
.ct--salon .cal__days:has(.is-pending) .zd-booking-day:is(.is-selected, [aria-pressed="true"]):not(.is-pending) { background: var(--sa-champagne); color: var(--ink); }
.ct--salon .cal__legend .is-free { background: var(--sa-champagne); box-shadow: inset 0 0 0 1px var(--sa-side-a); }
.ct--salon .zd-booking-slot { box-shadow: inset 0 0 0 1px var(--sa-side-a); }
.ct--salon .zd-booking-slot:hover { box-shadow: inset 0 0 0 2px var(--cherry); }
.ct--salon .zd-booking-slot:is(.is-selected, [aria-pressed="true"]) { background: var(--cherry); color: #fff; box-shadow: none; }
.ct--salon .slots-empty { background: var(--sa-champagne); }

/* ---------- form: copy + champagne-numbered steps | white card ---------- */
.ct--salon .spec-steps li { background: var(--surface); }
.ct--salon .spec-steps .contact-steps__num { background: linear-gradient(145deg, #F1E7D6 0%, var(--sa-ring-a) 55%, #BBA886 100%); color: var(--ink); }
.ct--salon .spec-form-card { border-radius: var(--r-lg); box-shadow: 0 1px 2px rgb(58 46 32 / .05), 0 30px 60px -44px rgb(58 46 32 / .38); }

/* ---------- breakpoints ---------- */
@media (max-width: 1099px) {
  .ct-sa-stage__frame { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ct-sa-stage__copy { padding-bottom: 8px; }
  .ct-sa-stage__logo { bottom: auto; top: 28px; transform: translateX(-50%); width: clamp(130px, 30vw, 240px); }
  .ct-sa-stage__car { margin: 0 auto 28px; width: min(100%, 720px); padding-top: clamp(96px, 16vw, 140px); }
  .ct-sa-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-sa-card--visit { grid-column: 1 / -1; }
}
/* phones held sideways (844 x 390): the stage stays two columns, so the copy and the car share one short screen */
@media (max-width: 1099px) and (orientation: landscape) and (max-height: 520px) {
  .ct-sa-stage__frame { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ct-sa-stage__copy { padding: 24px 0 24px 28px; }
  .ct-sa-stage__copy h1 { font-size: 2.25rem; }
  .ct-sa-stage__lead { font-size: 1rem; }
  .ct-sa-stage__logo { top: 22px; left: 50%; width: 140px; }
  .ct-sa-stage__car { width: auto; margin: 0 16px 20px 0; padding-top: 72px; }
}
@media (max-width: 767px) {
  .ct-sa-stage { margin-top: 12px; }
  .ct-sa-stage .wrap { padding-inline: 0; }
  .ct-sa-stage__frame { border-radius: 0; }
  .ct-sa-stage__copy { padding: 28px var(--margin) 4px; }
  .ct-sa-stage__actions .btn { flex: 1 1 100%; }
  .ct-sa-stage__logo { width: 150px; top: 40px; }
  .ct-sa-stage__car { width: auto; margin: 0 12px 20px; padding-top: 108px; }
  .ct-sa-cards__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- motion (am-contact.js sets html.ct-motion; never with reduced motion) ---------- */
html.ct-motion .ct-sa-stage__car img { opacity: 0; transform: translateX(7%); transition: opacity 900ms var(--ease-out), transform 1200ms var(--ease-settle); }
html.ct-motion .ct-sa-stage__logo { opacity: 0; transition: opacity 1400ms var(--ease-out) 350ms; }
html.ct-motion .ct-sa-podium::after { filter: brightness(.94); transition: filter 1400ms var(--ease-out) 200ms; }
html.ct-motion .ct-sa-stage__frame.is-in .ct-sa-stage__car img { opacity: 1; transform: none; }
html.ct-motion .ct-sa-stage__frame.is-in .ct-sa-stage__logo { opacity: 1; }
html.ct-motion .ct-sa-stage__frame.is-in .ct-sa-podium::after { filter: none; }
html.ct-motion .ct-sa-card { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-settle); }
html.ct-motion .ct-sa-card.is-in { opacity: 1; transform: none; }
html.ct-motion .ct-sa-card:nth-child(2) { transition-delay: 90ms; }
html.ct-motion .ct-sa-card:nth-child(3) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .ct--salon [data-ct-reveal], .ct--salon .ct-sa-stage__car img, .ct--salon .ct-sa-stage__logo { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  .ct--salon [data-ct-reveal], .ct--salon .ct-sa-stage__car img, .ct--salon .ct-sa-stage__logo { opacity: 1 !important; transform: none !important; }
}
@media (forced-colors: active) {
  .ct-sa-card { border: 1px solid CanvasText; }
  .ct-sa-podium, .ct-sa-stage__logo { display: none; }
}
