/* =========================================================
   Studio Detailing — stiluri
   Paletă: grafit profund + accent "signal orange" + crom
   ========================================================= */

:root {
  color-scheme: dark;

  /* Culori */
  --bg: #0a0b0d;
  --surface: #111317;
  --surface-2: #171a1f;
  --surface-3: #1f232a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --muted: #a4abb6;
  --muted-2: #7d8591;
  --accent: #ff5a1f;
  --accent-hover: #ff7340;
  --on-accent: #0a0b0d;
  --accent-soft: rgba(255, 90, 31, 0.12);
  --success: #3ddc97;
  --danger: #ff6b6b;
  --chrome: linear-gradient(100deg, #ffffff 0%, #b9c0c9 28%, #ffffff 48%, #8e959f 70%, #e8ebee 100%);

  /* Tipografie */
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  /* Spațiere (bază 8px, generoasă) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1240px;
  --header-h: 72px;

  /* Mișcare */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 700ms;

  /* z-index */
  --z-header: 40;
  --z-mobile-bar: 50;
  --z-dialog: 100;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.chrome {
  background: var(--chrome);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Butoane ---------- */
.btn {
  --btn-h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.975rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease,
              color var(--t-fast) ease, transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-med) ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { --btn-h: 42px; padding: 0 16px; font-size: 0.9rem; }
.btn-lg { --btn-h: 56px; padding: 0 28px; font-size: 1.025rem; }
.btn-block { width: 100%; }

.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 24px -10px rgba(255, 90, 31, 0.7);
}
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 12px 32px -10px rgba(255, 90, 31, 0.85); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--t-med) ease, border-color var(--t-med) ease, backdrop-filter var(--t-med) ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 11, 13, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: var(--s-5);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
  margin-top: 4px;
}

.nav { margin-left: auto; display: flex; align-items: center; }
.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}
.nav-toggle .icon { width: 22px; height: 22px; }

.nav-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: rgba(10, 11, 13, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 20px var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-1);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.nav-menu.is-open {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s;
}
.nav-menu a:not(.btn) {
  display: flex; align-items: center;
  min-height: 52px;
  padding: 0 4px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.nav-menu-cta { margin-top: var(--s-4); }
.nav-menu-cta .btn { width: 100%; --btn-h: 56px; }

.header-cta { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; inset: auto;
    flex-direction: row; align-items: center; gap: var(--s-1);
    background: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    border: 0; padding: 0;
    opacity: 1; transform: none; visibility: visible;
  }
  .nav-menu a:not(.btn) {
    min-height: 44px; padding: 0 14px;
    font-family: var(--font-body); font-stretch: 100%;
    font-size: 0.95rem; font-weight: 600;
    color: var(--muted);
    border: 0; border-radius: 999px;
    transition: color var(--t-fast) ease, background-color var(--t-fast) ease;
  }
  .nav-menu a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
  .nav-menu a.is-active { color: var(--text); }
  .nav-menu-cta { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-9);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  transform: scale(1.08);
  animation: hero-settle 2.4s var(--ease-out) forwards;
}
@keyframes hero-settle { to { transform: scale(1); } }

.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.5) 0%, rgba(10, 11, 13, 0) 30%, rgba(10, 11, 13, 0.55) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 11, 13, 0.8) 0%, rgba(10, 11, 13, 0.1) 70%);
}
/* Reflexie de lumină care traversează ecranul — ca pe un lac proaspăt lustruit */
.hero-light {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.07) 48%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.07) 52%, transparent 60%);
  background-size: 250% 100%;
  background-position: 120% 0;
  animation: sweep 2.6s var(--ease-out) 0.6s forwards;
  pointer-events: none;
}
@keyframes sweep { to { background-position: -20% 0; } }

.hero-inner { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: var(--s-5);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.5rem, 8.2vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero-title .chrome { animation: chrome-shift 6s ease-in-out 1.2s infinite alternate; }
@keyframes chrome-shift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.hero-lead {
  margin-top: var(--s-5);
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #d5d9df;
}
.hero-actions {
  margin-top: var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-3);
}
.hero-tags {
  margin-top: var(--s-7);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags .icon { color: var(--accent); width: 18px; height: 18px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  display: none;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--text);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 768px) and (min-height: 700px) { .scroll-cue { display: block; } }

/* ---------- Value strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.strip-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: var(--s-5) var(--s-3);
}
.strip-item .icon { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.strip-item strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.strip-item span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.strip-item:nth-child(odd) { padding-left: 0; }
.strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .strip-item { padding: var(--s-6) var(--s-5); border-bottom: 0 !important; }
  .strip-item + .strip-item { border-left: 1px solid var(--line); }
  .strip-item:first-child { padding-left: 0; }
}

/* ---------- Secțiuni ---------- */
.section { padding: var(--s-9) 0; }
@media (min-width: 1024px) { .section { padding: var(--s-10) 0; } }
.section-alt {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(255, 90, 31, 0.06), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 40rem; margin-bottom: var(--s-7); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-row {
  max-width: none;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4) var(--s-7);
}
.section-head-row .section-lead { max-width: 24rem; margin: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-4);
}
.kicker span {
  color: var(--accent);
  padding-right: 12px;
  border-right: 1px solid var(--line-strong);
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.section-lead {
  margin-top: var(--s-4);
  color: var(--muted);
  font-size: 1.075rem;
  max-width: 38rem;
}
.section-head-center .section-lead { margin-inline: auto; }

/* ---------- Servicii ---------- */
.services {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
  .service-featured { grid-column: span 2; grid-row: span 1; }
}

.service {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-med) ease, transform var(--t-med) var(--ease-out), box-shadow var(--t-med) ease;
}
.service:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
}
.service-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.service:hover .service-media img { transform: scale(1.05); }
.service-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17, 19, 23, 0.9));
}
.service-body {
  position: relative;
  padding: 0 var(--s-5) var(--s-5);
  margin-top: -26px;
  display: flex; flex-direction: column; gap: var(--s-3);
  flex: 1;
}
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.8);
}
.service-icon .icon { width: 24px; height: 24px; }
.service h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 1.35rem;
  margin-top: var(--s-2);
}
.service p { color: var(--muted); font-size: 0.975rem; }
.service-price {
  margin-top: auto;
  padding-top: var(--s-3);
  font-family: var(--font-mono);
  font-size: 0.85rem !important;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
}
.service-price strong {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-size: 1.35rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.service-list { display: grid; gap: 8px; margin-top: var(--s-1); }
.service-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: #d5d9df; }
.service-list .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }

@media (min-width: 1024px) {
  .service-featured { flex-direction: row; }
  .service-featured .service-media { aspect-ratio: auto; flex: 1.15; }
  .service-featured .service-media::after { background: linear-gradient(90deg, transparent 55%, rgba(17, 19, 23, 1)); }
  .service-featured .service-body { flex: 1; margin-top: 0; padding: var(--s-6); justify-content: center; }
  .service-featured h3 { font-size: 1.75rem; }
}

.extras {
  margin-top: var(--s-5);
  padding: var(--s-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6);
}
.extras-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.extras-list { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.extras-list li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.extras-list .icon { color: var(--accent); width: 18px; height: 18px; }

/* ---------- Înainte / După ---------- */
.ba-wrap {
  display: grid; gap: var(--s-7);
  align-items: center;
}
@media (min-width: 1024px) {
  .ba-wrap { grid-template-columns: 0.85fr 1.15fr; }
  .ba-wrap .section-head { margin-bottom: 0; }
}
.ba-points { margin-top: var(--s-5); display: grid; gap: 10px; }
.ba-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ba-points .icon { color: var(--accent); }

.ba { position: relative; }
.ba-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  user-select: none;
  touch-action: pan-y;
}
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
/* „Înainte” simulat: far oxidat, mat și îngălbenit */
.ba-before img { filter: sepia(0.75) saturate(0.55) contrast(0.72) brightness(0.82) blur(1.6px); }
.ba-before::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 40% 45%, rgba(214, 180, 90, 0.38), transparent 70%),
    rgba(180, 160, 110, 0.18);
  mix-blend-mode: screen;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px; margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%;
  width: 0; height: 0;
  border-block: 6px solid transparent;
  transform: translateY(-50%);
}
.ba-handle span::before { left: 13px; border-right: 8px solid var(--bg); }
.ba-handle span::after { right: 13px; border-left: 8px solid var(--bg); }
.ba-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-range:focus-visible ~ .ba-handle span,
.ba-stage:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba-label {
  position: absolute; top: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.7);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.ba figcaption {
  margin-top: var(--s-3);
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: right;
}

/* ---------- Pachete ---------- */
.packages {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .packages { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; } }

.package {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.package h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.package-desc { color: var(--muted); margin-top: var(--s-2); font-size: 0.95rem; }
.package-price {
  margin: var(--s-5) 0;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.package-price strong {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.package ul { display: grid; gap: 12px; margin-bottom: var(--s-6); flex: 1; }
.package li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.975rem; }
.package li .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }

.package-pop {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 90, 31, 0.16), transparent 70%),
    var(--surface-2);
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 30px 60px -30px rgba(255, 90, 31, 0.35);
}
@media (min-width: 900px) { .package-pop { transform: translateY(-12px); } }
.package-badge {
  position: absolute; top: -13px; left: var(--s-6);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Calculator ---------- */
.calc {
  margin-top: var(--s-8);
  display: grid; gap: var(--s-6);
  padding: var(--s-6) var(--s-5);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .calc { padding: var(--s-7); } }
@media (min-width: 1024px) { .calc { grid-template-columns: 0.7fr 1.3fr; gap: var(--s-7); } }
.calc-intro h3 {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.calc-intro p { color: var(--muted); margin-top: var(--s-3); }

.calc-form { display: grid; gap: var(--s-6); }
.calc-form fieldset { border: 0; padding: 0; min-width: 0; }
.calc-form legend {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
@media (max-width: 479px) { .seg { grid-template-columns: 1fr; } }
.seg label, .chip { position: relative; cursor: pointer; }
.seg input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.seg small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.seg label:hover span { border-color: rgba(255, 255, 255, 0.3); }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip > span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  font-size: 0.925rem;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.chip .tick {
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.chip .tick .icon { width: 12px; height: 12px; stroke-width: 3; opacity: 0; transition: opacity var(--t-fast) ease; }
.chip small { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); font-weight: 400; }
.chip:hover > span { border-color: rgba(255, 255, 255, 0.3); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.chip input:checked + span .tick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:checked + span .tick .icon { opacity: 1; }

.calc-result {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.calc-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.calc-total { display: flex; align-items: baseline; gap: 8px; color: var(--muted); }
.calc-total strong {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 900;
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.calc-note { font-size: 0.875rem; color: var(--muted); min-height: 1.4em; }
.calc-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 479px) { .calc-actions, .calc-actions .btn { width: 100%; } }

.fine-print { margin-top: var(--s-4); text-align: center; font-size: 0.85rem; color: var(--muted-2); }

/* ---------- Pași ---------- */
.steps {
  display: grid; gap: var(--s-4);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.step {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step-num {
  position: absolute; right: 16px; top: 4px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}
.step > .icon {
  width: 28px; height: 28px;
  color: var(--accent);
  margin-bottom: var(--s-6);
}
.step h3 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 1.3rem;
}
.step p { margin-top: var(--s-2); color: var(--muted); font-size: 0.975rem; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: var(--s-4); } }
@media (min-width: 1024px) { .gallery { grid-auto-rows: 260px; } }
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0;
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-med) ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-zoom {
  position: absolute; right: 12px; bottom: 12px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t-med) ease, transform var(--t-med) var(--ease-out);
}
.g-zoom .icon { width: 18px; height: 18px; }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { opacity: 1; transform: none; }
@media (hover: none) { .g-zoom { opacity: 1; transform: none; } }

.lightbox {
  width: min(1200px, 94vw);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  overflow: visible;
  margin: auto;
}
.lightbox::backdrop { background: rgba(5, 6, 8, 0.9); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in var(--t-med) var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox img { width: 100%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -56px; right: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: var(--s-8); align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}
.faq-wrap .section-head .btn { margin-top: var(--s-5); }
.faq { display: grid; gap: var(--s-3); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--t-med) ease, background-color var(--t-med) ease;
}
.faq details[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 64px;
  padding: var(--s-4) var(--s-5);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t-med) var(--ease-out); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.faq details p { padding: 0 var(--s-5) var(--s-5); color: var(--muted); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--s-8); }
.contact-grid { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; } }

.contact-info h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
.contact-phone {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 900;
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  transition: color var(--t-fast) ease;
}
.contact-phone .icon { width: 0.8em; height: 0.8em; color: var(--accent); stroke-width: 2; }
.contact-phone:hover { color: var(--accent); }
.contact-list { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon {
  width: 44px; height: 44px; padding: 11px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
}
.contact-list strong { display: block; }
.contact-list span { color: var(--muted); }

.booking {
  padding: var(--s-6) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  display: grid; gap: var(--s-4);
}
@media (min-width: 768px) { .booking { padding: var(--s-7); } }
.booking h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 1.6rem; }
.booking-sub { color: var(--muted); margin-top: calc(-1 * var(--s-2)); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-weight: 600; font-size: 0.925rem; }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.28); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.25);
}
.field input[type="date"] { color-scheme: dark; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-err { color: var(--danger); font-size: 0.85rem; min-height: 0; }
.field-err:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.booking-alt { text-align: center; color: var(--muted); font-size: 0.925rem; }
.booking-alt a { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.map {
  margin-top: var(--s-8);
}
.map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s-7) 0 calc(var(--s-7) + 80px);
  background: var(--surface);
}
@media (min-width: 768px) { .site-footer { padding-bottom: var(--s-7); } }
.footer-inner {
  display: grid; gap: var(--s-5);
  justify-items: start;
}
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-nav { justify-self: end; }
  .footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; width: 100%; padding-top: var(--s-5); border-top: 1px solid var(--line); }
}
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); }
.footer-nav a {
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 10px; color: var(--muted); font-weight: 600;
  border-radius: 8px;
}
.footer-nav a:first-child { padding-left: 0; }
.footer-nav a:hover { color: var(--text); }
.footer-meta { color: var(--muted-2); font-size: 0.875rem; display: grid; gap: 6px; }
.footer-meta a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bară mobilă ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-mobile-bar);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-2);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 11, 13, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t-med) var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { --btn-h: 50px; padding: 0 12px; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Apariție la scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-media img { transform: none; }
  .hero-light { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
